@selfcommunity/react-theme-default 0.2.0-embeds.16 → 0.2.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,12 +1,13 @@
|
|
|
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
6
|
root: ({ theme }) => {
|
|
6
|
-
var _a, _b;
|
|
7
|
+
var _a, _b, _c, _d;
|
|
7
8
|
return ({
|
|
8
|
-
color: theme.palette.text.primary,
|
|
9
|
-
backgroundColor: (
|
|
9
|
+
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.text.primary,
|
|
10
|
+
backgroundColor: (_d = (_c = theme.palette) === null || _c === void 0 ? void 0 : _c.navbar) === null || _d === void 0 ? void 0 : _d.main
|
|
10
11
|
});
|
|
11
12
|
}
|
|
12
13
|
}
|
|
@@ -1,14 +1,15 @@
|
|
|
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
6
|
root: ({ theme }) => {
|
|
6
|
-
var _a, _b;
|
|
7
|
+
var _a, _b, _c, _d;
|
|
7
8
|
return ({
|
|
8
9
|
backgroundColor: (_b = (_a = theme.palette) === null || _a === void 0 ? void 0 : _a.navbar) === null || _b === void 0 ? void 0 : _b.main,
|
|
9
10
|
'& .SCBottomNavigation-action': {
|
|
10
11
|
fontSize: '1.57rem',
|
|
11
|
-
color: theme.palette.primary.main,
|
|
12
|
+
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,
|
|
12
13
|
borderTop: `1px solid transparent`,
|
|
13
14
|
minWidth: 56,
|
|
14
15
|
'&.Mui-selected, &:hover': {
|
|
@@ -19,8 +20,8 @@ const Component = {
|
|
|
19
20
|
'&.Mui-selected, &:hover': {
|
|
20
21
|
color: theme.palette.secondary.main,
|
|
21
22
|
borderTop: '0 none'
|
|
22
|
-
}
|
|
23
|
-
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
24
25
|
},
|
|
25
26
|
'&.SCBottomNavigation-ios': {
|
|
26
27
|
paddingBottom: '15px'
|
|
@@ -32,6 +32,14 @@ declare const Component: {
|
|
|
32
32
|
padding: number;
|
|
33
33
|
marginBottom: any;
|
|
34
34
|
};
|
|
35
|
+
'& .SCFeed-header-item': {
|
|
36
|
+
animation: string;
|
|
37
|
+
'@keyframes pulse-animation': {
|
|
38
|
+
'0%': {
|
|
39
|
+
opacity: number;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
};
|
|
35
43
|
};
|
|
36
44
|
'& .SCFeed-end': {
|
|
37
45
|
'& > .SCWidget-root': {
|
|
@@ -45,9 +53,7 @@ declare const Component: {
|
|
|
45
53
|
padding: any;
|
|
46
54
|
};
|
|
47
55
|
};
|
|
48
|
-
'& .SCFeed-refresh': {
|
|
49
|
-
textAlign: string;
|
|
50
|
-
};
|
|
56
|
+
'& .SCFeed-refresh': {};
|
|
51
57
|
'& .SCFeed-pagination-link': {
|
|
52
58
|
display: string;
|
|
53
59
|
};
|
|
@@ -33,6 +33,14 @@ const Component = {
|
|
|
33
33
|
'& > .SCWidget-root': {
|
|
34
34
|
padding: 0,
|
|
35
35
|
marginBottom: theme.spacing(2)
|
|
36
|
+
},
|
|
37
|
+
'& .SCFeed-header-item': {
|
|
38
|
+
animation: 'pulse-animation 2s ease-in-out',
|
|
39
|
+
'@keyframes pulse-animation': {
|
|
40
|
+
'0%': {
|
|
41
|
+
opacity: 0
|
|
42
|
+
}
|
|
43
|
+
}
|
|
36
44
|
}
|
|
37
45
|
},
|
|
38
46
|
'& .SCFeed-end': {
|
|
@@ -47,9 +55,7 @@ const Component = {
|
|
|
47
55
|
padding: theme.spacing(2)
|
|
48
56
|
}
|
|
49
57
|
},
|
|
50
|
-
'& .SCFeed-refresh': {
|
|
51
|
-
textAlign: 'center'
|
|
52
|
-
},
|
|
58
|
+
'& .SCFeed-refresh': {},
|
|
53
59
|
'& .SCFeed-pagination-link': {
|
|
54
60
|
display: 'none'
|
|
55
61
|
}
|
|
@@ -7,6 +7,16 @@ declare const Component: {
|
|
|
7
7
|
paddingLeft: any;
|
|
8
8
|
};
|
|
9
9
|
};
|
|
10
|
+
'& .SCFeedObject-detail': {
|
|
11
|
+
'& .SCFeedObject-content': {
|
|
12
|
+
'& .SCFeedObject-text-section .SCFeedObject-text': {
|
|
13
|
+
'& span': {
|
|
14
|
+
display: string;
|
|
15
|
+
width: string;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
};
|
|
10
20
|
};
|
|
11
21
|
skeletonRoot: ({ theme }: any) => {
|
|
12
22
|
marginTop: any;
|
|
@@ -8,6 +8,16 @@ const Component = {
|
|
|
8
8
|
'& .SCCommentsObject-root h6': {
|
|
9
9
|
paddingLeft: theme.spacing(2)
|
|
10
10
|
}
|
|
11
|
+
},
|
|
12
|
+
'& .SCFeedObject-detail': {
|
|
13
|
+
'& .SCFeedObject-content': {
|
|
14
|
+
'& .SCFeedObject-text-section .SCFeedObject-text': {
|
|
15
|
+
'& span': {
|
|
16
|
+
display: 'inline-block',
|
|
17
|
+
width: '100%'
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
11
21
|
}
|
|
12
22
|
}),
|
|
13
23
|
skeletonRoot: ({ theme }) => ({
|
|
@@ -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)
|
|
@@ -20,6 +20,11 @@ declare const Component: {
|
|
|
20
20
|
"& .PhotoView__Photo": {
|
|
21
21
|
cursor: string;
|
|
22
22
|
maxWidth: string;
|
|
23
|
+
WebkitUserDrag: string;
|
|
24
|
+
userDrag: string;
|
|
25
|
+
'@-moz-document url-prefix()': {
|
|
26
|
+
pointerEvents: string;
|
|
27
|
+
};
|
|
23
28
|
};
|
|
24
29
|
"& .PhotoView__Photo:active": {
|
|
25
30
|
cursor: string;
|
|
@@ -44,7 +44,12 @@ const Component = {
|
|
|
44
44
|
},
|
|
45
45
|
['& .PhotoView__Photo']: {
|
|
46
46
|
cursor: 'grab',
|
|
47
|
-
maxWidth: 'none'
|
|
47
|
+
maxWidth: 'none',
|
|
48
|
+
WebkitUserDrag: 'none',
|
|
49
|
+
userDrag: 'none',
|
|
50
|
+
'@-moz-document url-prefix()': {
|
|
51
|
+
pointerEvents: 'none'
|
|
52
|
+
}
|
|
48
53
|
},
|
|
49
54
|
['& .PhotoView__Photo:active']: {
|
|
50
55
|
cursor: 'grabbing',
|
|
@@ -161,9 +166,9 @@ const Component = {
|
|
|
161
166
|
position: 'absolute',
|
|
162
167
|
top: 0,
|
|
163
168
|
transition: 'opacity .2s linear',
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
169
|
+
WebkitUserSelect: 'none',
|
|
170
|
+
MozUserSelect: 'none',
|
|
171
|
+
MsUserSelect: 'none',
|
|
167
172
|
userSelect: 'none',
|
|
168
173
|
width: 70,
|
|
169
174
|
zIndex: 20,
|
|
@@ -192,9 +197,9 @@ const Component = {
|
|
|
192
197
|
position: 'absolute',
|
|
193
198
|
top: 0,
|
|
194
199
|
transition: 'opacity .2s linear',
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
200
|
+
WebkitUserSelect: 'none',
|
|
201
|
+
MozUserSelect: 'none',
|
|
202
|
+
MsUserSelect: 'none',
|
|
198
203
|
userSelect: 'none',
|
|
199
204
|
width: 70,
|
|
200
205
|
zIndex: 20,
|
|
@@ -19,6 +19,7 @@ declare const Component: {
|
|
|
19
19
|
width: string;
|
|
20
20
|
position: string;
|
|
21
21
|
top: number;
|
|
22
|
+
zIndex: number;
|
|
22
23
|
'& iframe': {
|
|
23
24
|
width: string;
|
|
24
25
|
margin: string;
|
|
@@ -28,6 +29,7 @@ declare const Component: {
|
|
|
28
29
|
width: string;
|
|
29
30
|
position: string;
|
|
30
31
|
top: number;
|
|
32
|
+
zIndex: number;
|
|
31
33
|
'& .SCMediaLink-html-loading': {
|
|
32
34
|
position: string;
|
|
33
35
|
display: string;
|
|
@@ -80,6 +82,7 @@ declare const Component: {
|
|
|
80
82
|
'& .SCMediaLink-html': {
|
|
81
83
|
width: string;
|
|
82
84
|
position: string;
|
|
85
|
+
zIndex: number;
|
|
83
86
|
'& iframe': {
|
|
84
87
|
width: string;
|
|
85
88
|
margin: string;
|
|
@@ -89,6 +92,7 @@ declare const Component: {
|
|
|
89
92
|
width: string;
|
|
90
93
|
position: string;
|
|
91
94
|
top: number;
|
|
95
|
+
zIndex: number;
|
|
92
96
|
'& .SCMediaLink-html-loading': {
|
|
93
97
|
position: string;
|
|
94
98
|
display: string;
|
|
@@ -22,7 +22,7 @@ const Component = {
|
|
|
22
22
|
width: '100%',
|
|
23
23
|
position: 'absolute',
|
|
24
24
|
top: 0,
|
|
25
|
-
|
|
25
|
+
zIndex: 2,
|
|
26
26
|
'& iframe': {
|
|
27
27
|
width: '100%',
|
|
28
28
|
margin: '0px auto'
|
|
@@ -32,7 +32,7 @@ const Component = {
|
|
|
32
32
|
width: '100%',
|
|
33
33
|
position: 'relative',
|
|
34
34
|
top: 0,
|
|
35
|
-
|
|
35
|
+
zIndex: 1,
|
|
36
36
|
'& .SCMediaLink-html-loading': {
|
|
37
37
|
position: 'absolute',
|
|
38
38
|
display: 'none',
|
|
@@ -85,7 +85,7 @@ const Component = {
|
|
|
85
85
|
'& .SCMediaLink-html': {
|
|
86
86
|
width: '100%',
|
|
87
87
|
position: 'absolute',
|
|
88
|
-
|
|
88
|
+
zIndex: 2,
|
|
89
89
|
'& iframe': {
|
|
90
90
|
width: '100%',
|
|
91
91
|
margin: '0px auto'
|
|
@@ -95,7 +95,7 @@ const Component = {
|
|
|
95
95
|
width: '100%',
|
|
96
96
|
position: 'absolute',
|
|
97
97
|
top: 0,
|
|
98
|
-
|
|
98
|
+
zIndex: 1,
|
|
99
99
|
'& .SCMediaLink-html-loading': {
|
|
100
100
|
position: 'absolute',
|
|
101
101
|
display: 'none',
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
declare const Component: {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme }: any) => {
|
|
4
|
+
'& .MuiDrawer-paper': {
|
|
5
|
+
[x: number]: {
|
|
6
|
+
width: any;
|
|
7
|
+
};
|
|
8
|
+
width: string;
|
|
9
|
+
};
|
|
10
|
+
'& .SCNavigationMenuDrawer-drawer-header': {
|
|
11
|
+
minHeight: any;
|
|
12
|
+
padding: string;
|
|
13
|
+
display: string;
|
|
14
|
+
justifyContent: string;
|
|
15
|
+
'& > a:first-of-type': {
|
|
16
|
+
display: string;
|
|
17
|
+
justifyContent: string;
|
|
18
|
+
alignContent: string;
|
|
19
|
+
flexWrap: string;
|
|
20
|
+
};
|
|
21
|
+
'& img': {
|
|
22
|
+
maxHeight: number;
|
|
23
|
+
paddingLeft: any;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
'& .MuiTypography-subtitle1': {
|
|
27
|
+
fontSize: string;
|
|
28
|
+
padding: any;
|
|
29
|
+
'& MuiButton-root': {
|
|
30
|
+
padding: any;
|
|
31
|
+
};
|
|
32
|
+
'& span:first-of-type': {
|
|
33
|
+
color: string;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
'& .SCBaseItemButton-text ': {
|
|
37
|
+
maxWidth: string;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
export default Component;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const system_1 = require("@mui/system");
|
|
4
|
+
const Component = {
|
|
5
|
+
styleOverrides: {
|
|
6
|
+
root: ({ theme }) => ({
|
|
7
|
+
'& .MuiDrawer-paper': {
|
|
8
|
+
width: '100%',
|
|
9
|
+
[theme.breakpoints.up('sm')]: {
|
|
10
|
+
width: theme.spacing(40)
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
'& .SCNavigationMenuDrawer-drawer-header': {
|
|
14
|
+
minHeight: theme.mixins.toolbar.minHeight,
|
|
15
|
+
padding: '1px',
|
|
16
|
+
display: 'flex',
|
|
17
|
+
justifyContent: 'space-between',
|
|
18
|
+
'& > a:first-of-type': {
|
|
19
|
+
display: 'flex',
|
|
20
|
+
justifyContent: 'center',
|
|
21
|
+
alignContent: 'center',
|
|
22
|
+
flexWrap: 'wrap'
|
|
23
|
+
},
|
|
24
|
+
'& img': {
|
|
25
|
+
maxHeight: theme.mixins.toolbar.minHeight - 20,
|
|
26
|
+
paddingLeft: theme.spacing(1.5)
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
'& .MuiTypography-subtitle1': {
|
|
30
|
+
fontSize: '1.286rem',
|
|
31
|
+
padding: theme.spacing(0, 2),
|
|
32
|
+
'& MuiButton-root': {
|
|
33
|
+
padding: theme.spacing(1, 1, 1, 2)
|
|
34
|
+
},
|
|
35
|
+
'& span:first-of-type': {
|
|
36
|
+
color: (0, system_1.darken)(theme.palette.text.primary, 0.5)
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
'& .SCBaseItemButton-text ': {
|
|
40
|
+
maxWidth: '80%'
|
|
41
|
+
}
|
|
42
|
+
})
|
|
43
|
+
}
|
|
44
|
+
};
|
|
45
|
+
exports.default = Component;
|
|
@@ -1,43 +1,6 @@
|
|
|
1
1
|
declare const Component: {
|
|
2
2
|
styleOverrides: {
|
|
3
3
|
root: ({ theme }: any) => {};
|
|
4
|
-
drawerRoot: ({ theme }: any) => {
|
|
5
|
-
'& .MuiDrawer-paper': {
|
|
6
|
-
[x: number]: {
|
|
7
|
-
width: any;
|
|
8
|
-
};
|
|
9
|
-
width: string;
|
|
10
|
-
};
|
|
11
|
-
'& .SCNavigationMenuIconButton-drawer-header': {
|
|
12
|
-
minHeight: any;
|
|
13
|
-
padding: string;
|
|
14
|
-
display: string;
|
|
15
|
-
justifyContent: string;
|
|
16
|
-
'& > a:first-of-type': {
|
|
17
|
-
display: string;
|
|
18
|
-
justifyContent: string;
|
|
19
|
-
alignContent: string;
|
|
20
|
-
flexWrap: string;
|
|
21
|
-
};
|
|
22
|
-
'& img': {
|
|
23
|
-
maxHeight: number;
|
|
24
|
-
paddingLeft: any;
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
'& .MuiTypography-subtitle1': {
|
|
28
|
-
fontSize: string;
|
|
29
|
-
padding: any;
|
|
30
|
-
'& MuiButton-root': {
|
|
31
|
-
padding: any;
|
|
32
|
-
};
|
|
33
|
-
'& span:first-of-type': {
|
|
34
|
-
color: string;
|
|
35
|
-
};
|
|
36
|
-
};
|
|
37
|
-
'& .SCBaseItemButton-text ': {
|
|
38
|
-
maxWidth: string;
|
|
39
|
-
};
|
|
40
|
-
};
|
|
41
4
|
};
|
|
42
5
|
};
|
|
43
6
|
export default Component;
|
|
@@ -1,46 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const system_1 = require("@mui/system");
|
|
4
3
|
const Component = {
|
|
5
4
|
styleOverrides: {
|
|
6
|
-
root: ({ theme }) => ({})
|
|
7
|
-
drawerRoot: ({ theme }) => ({
|
|
8
|
-
'& .MuiDrawer-paper': {
|
|
9
|
-
width: '100%',
|
|
10
|
-
[theme.breakpoints.up('sm')]: {
|
|
11
|
-
width: theme.spacing(40)
|
|
12
|
-
}
|
|
13
|
-
},
|
|
14
|
-
'& .SCNavigationMenuIconButton-drawer-header': {
|
|
15
|
-
minHeight: theme.mixins.toolbar.minHeight,
|
|
16
|
-
padding: '1px',
|
|
17
|
-
display: 'flex',
|
|
18
|
-
justifyContent: 'space-between',
|
|
19
|
-
'& > a:first-of-type': {
|
|
20
|
-
display: 'flex',
|
|
21
|
-
justifyContent: 'center',
|
|
22
|
-
alignContent: 'center',
|
|
23
|
-
flexWrap: 'wrap'
|
|
24
|
-
},
|
|
25
|
-
'& img': {
|
|
26
|
-
maxHeight: theme.mixins.toolbar.minHeight - 20,
|
|
27
|
-
paddingLeft: theme.spacing(1.5)
|
|
28
|
-
}
|
|
29
|
-
},
|
|
30
|
-
'& .MuiTypography-subtitle1': {
|
|
31
|
-
fontSize: '1.286rem',
|
|
32
|
-
padding: theme.spacing(0, 2),
|
|
33
|
-
'& MuiButton-root': {
|
|
34
|
-
padding: theme.spacing(1, 1, 1, 2)
|
|
35
|
-
},
|
|
36
|
-
'& span:first-of-type': {
|
|
37
|
-
color: (0, system_1.darken)(theme.palette.text.primary, 0.5)
|
|
38
|
-
}
|
|
39
|
-
},
|
|
40
|
-
'& .SCBaseItemButton-text ': {
|
|
41
|
-
maxWidth: '80%'
|
|
42
|
-
}
|
|
43
|
-
})
|
|
5
|
+
root: ({ theme }) => ({})
|
|
44
6
|
}
|
|
45
7
|
};
|
|
46
8
|
exports.default = Component;
|
|
@@ -27,7 +27,6 @@ declare const Component: {
|
|
|
27
27
|
paddingRight: any;
|
|
28
28
|
paddingBottom: number;
|
|
29
29
|
margin: any;
|
|
30
|
-
color: any;
|
|
31
30
|
borderRadius: number;
|
|
32
31
|
borderBottom: string;
|
|
33
32
|
'&.SCNavigationToolbar-active, &:hover': {
|
|
@@ -67,6 +66,9 @@ declare const Component: {
|
|
|
67
66
|
'& .SCNavigationToolbar-settings': {
|
|
68
67
|
marginLeft: number;
|
|
69
68
|
};
|
|
69
|
+
'& .SCNavigationToolbar-composer:hover': {
|
|
70
|
+
color: any;
|
|
71
|
+
};
|
|
70
72
|
'& .MuiIconButton-root': {
|
|
71
73
|
color: any;
|
|
72
74
|
};
|