@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.
Files changed (68) hide show
  1. package/lib/cjs/components/MuiAppBar.js +4 -3
  2. package/lib/cjs/components/SCBottomNavigation.js +5 -4
  3. package/lib/cjs/components/SCFeed.d.ts +9 -3
  4. package/lib/cjs/components/SCFeed.js +9 -3
  5. package/lib/cjs/components/SCFeedObject.d.ts +4 -0
  6. package/lib/cjs/components/SCFeedObject.js +4 -0
  7. package/lib/cjs/components/SCFeedObjectDetailTemplate.d.ts +10 -0
  8. package/lib/cjs/components/SCFeedObjectDetailTemplate.js +10 -0
  9. package/lib/cjs/components/SCGroupActionsMenu.d.ts +26 -0
  10. package/lib/cjs/components/SCGroupActionsMenu.js +28 -0
  11. package/lib/cjs/components/SCGroupHeader.d.ts +5 -2
  12. package/lib/cjs/components/SCGroupHeader.js +5 -2
  13. package/lib/cjs/components/SCLightbox.d.ts +5 -0
  14. package/lib/cjs/components/SCLightbox.js +12 -7
  15. package/lib/cjs/components/SCMediaLink.d.ts +4 -0
  16. package/lib/cjs/components/SCMediaLink.js +4 -4
  17. package/lib/cjs/components/SCNavigationMenuDrawer.d.ts +42 -0
  18. package/lib/cjs/components/SCNavigationMenuDrawer.js +45 -0
  19. package/lib/cjs/components/SCNavigationMenuIconButton.d.ts +0 -37
  20. package/lib/cjs/components/SCNavigationMenuIconButton.js +1 -39
  21. package/lib/cjs/components/SCNavigationToolbar.d.ts +3 -1
  22. package/lib/cjs/components/SCNavigationToolbar.js +68 -62
  23. package/lib/cjs/components/SCNavigationToolbarMobile.d.ts +3 -0
  24. package/lib/cjs/components/SCNavigationToolbarMobile.js +26 -19
  25. package/lib/cjs/components/SCOnBoardingWidget.d.ts +12 -2
  26. package/lib/cjs/components/SCOnBoardingWidget.js +12 -2
  27. package/lib/cjs/components/SCSearchAutocomplete.d.ts +4 -0
  28. package/lib/cjs/components/SCSearchAutocomplete.js +29 -21
  29. package/lib/cjs/components/SCVoteButton.d.ts +5 -3
  30. package/lib/cjs/components/SCVoteButton.js +6 -5
  31. package/lib/cjs/index.d.ts +99 -16
  32. package/lib/cjs/index.js +4 -0
  33. package/lib/esm/components/MuiAppBar.js +4 -3
  34. package/lib/esm/components/SCBottomNavigation.js +5 -4
  35. package/lib/esm/components/SCFeed.d.ts +9 -3
  36. package/lib/esm/components/SCFeed.js +9 -3
  37. package/lib/esm/components/SCFeedObject.d.ts +4 -0
  38. package/lib/esm/components/SCFeedObject.js +4 -0
  39. package/lib/esm/components/SCFeedObjectDetailTemplate.d.ts +10 -0
  40. package/lib/esm/components/SCFeedObjectDetailTemplate.js +10 -0
  41. package/lib/esm/components/SCGroupActionsMenu.d.ts +26 -0
  42. package/lib/esm/components/SCGroupActionsMenu.js +26 -0
  43. package/lib/esm/components/SCGroupHeader.d.ts +5 -2
  44. package/lib/esm/components/SCGroupHeader.js +5 -2
  45. package/lib/esm/components/SCLightbox.d.ts +5 -0
  46. package/lib/esm/components/SCLightbox.js +12 -7
  47. package/lib/esm/components/SCMediaLink.d.ts +4 -0
  48. package/lib/esm/components/SCMediaLink.js +4 -4
  49. package/lib/esm/components/SCNavigationMenuDrawer.d.ts +42 -0
  50. package/lib/esm/components/SCNavigationMenuDrawer.js +43 -0
  51. package/lib/esm/components/SCNavigationMenuIconButton.d.ts +0 -37
  52. package/lib/esm/components/SCNavigationMenuIconButton.js +1 -39
  53. package/lib/esm/components/SCNavigationToolbar.d.ts +3 -1
  54. package/lib/esm/components/SCNavigationToolbar.js +68 -62
  55. package/lib/esm/components/SCNavigationToolbarMobile.d.ts +3 -0
  56. package/lib/esm/components/SCNavigationToolbarMobile.js +26 -19
  57. package/lib/esm/components/SCOnBoardingWidget.d.ts +12 -2
  58. package/lib/esm/components/SCOnBoardingWidget.js +12 -2
  59. package/lib/esm/components/SCSearchAutocomplete.d.ts +4 -0
  60. package/lib/esm/components/SCSearchAutocomplete.js +29 -21
  61. package/lib/esm/components/SCVoteButton.d.ts +5 -3
  62. package/lib/esm/components/SCVoteButton.js +6 -5
  63. package/lib/esm/index.d.ts +99 -16
  64. package/lib/esm/index.js +4 -0
  65. package/lib/umd/react-theme-default.js +2 -2
  66. package/package.json +4 -5
  67. package/lib/umd/850.js +0 -2
  68. package/lib/umd/850.js.LICENSE.txt +0 -16
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,
@@ -1,10 +1,11 @@
1
+ import { getContrastRatio } from '@mui/material/styles';
1
2
  const Component = {
2
3
  styleOverrides: {
3
4
  root: ({ theme }) => {
4
- var _a, _b;
5
+ var _a, _b, _c, _d;
5
6
  return ({
6
- color: theme.palette.text.primary,
7
- backgroundColor: (_b = (_a = theme.palette) === null || _a === void 0 ? void 0 : _a.navbar) === null || _b === void 0 ? void 0 : _b.main
7
+ 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.text.primary,
8
+ backgroundColor: (_d = (_c = theme.palette) === null || _c === void 0 ? void 0 : _c.navbar) === null || _d === void 0 ? void 0 : _d.main
8
9
  });
9
10
  }
10
11
  }
@@ -1,12 +1,13 @@
1
+ import { getContrastRatio } from '@mui/material/styles';
1
2
  const Component = {
2
3
  styleOverrides: {
3
4
  root: ({ theme }) => {
4
- var _a, _b;
5
+ var _a, _b, _c, _d;
5
6
  return ({
6
7
  backgroundColor: (_b = (_a = theme.palette) === null || _a === void 0 ? void 0 : _a.navbar) === null || _b === void 0 ? void 0 : _b.main,
7
8
  '& .SCBottomNavigation-action': {
8
9
  fontSize: '1.57rem',
9
- color: theme.palette.primary.main,
10
+ 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,
10
11
  borderTop: `1px solid transparent`,
11
12
  minWidth: 56,
12
13
  '&.Mui-selected, &:hover': {
@@ -17,8 +18,8 @@ const Component = {
17
18
  '&.Mui-selected, &:hover': {
18
19
  color: theme.palette.secondary.main,
19
20
  borderTop: '0 none'
20
- },
21
- },
21
+ }
22
+ }
22
23
  },
23
24
  '&.SCBottomNavigation-ios': {
24
25
  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
  };
@@ -31,6 +31,14 @@ const Component = {
31
31
  '& > .SCWidget-root': {
32
32
  padding: 0,
33
33
  marginBottom: theme.spacing(2)
34
+ },
35
+ '& .SCFeed-header-item': {
36
+ animation: 'pulse-animation 2s ease-in-out',
37
+ '@keyframes pulse-animation': {
38
+ '0%': {
39
+ opacity: 0
40
+ }
41
+ }
34
42
  }
35
43
  },
36
44
  '& .SCFeed-end': {
@@ -45,9 +53,7 @@ const Component = {
45
53
  padding: theme.spacing(2)
46
54
  }
47
55
  },
48
- '& .SCFeed-refresh': {
49
- textAlign: 'center'
50
- },
56
+ '& .SCFeed-refresh': {},
51
57
  '& .SCFeed-pagination-link': {
52
58
  display: 'none'
53
59
  }
@@ -295,6 +295,10 @@ declare const Component: {
295
295
  '& li': {
296
296
  margin: string;
297
297
  };
298
+ '& span span': {
299
+ display: string;
300
+ width: string;
301
+ };
298
302
  };
299
303
  '& .SCFeedObject-medias-section': {
300
304
  '& .SCFeedObjectMediaPreview-root': {
@@ -295,6 +295,10 @@ const Component = {
295
295
  },
296
296
  '& li': {
297
297
  margin: '0 32px'
298
+ },
299
+ '& span span': {
300
+ display: 'inline-block',
301
+ width: '100%'
298
302
  }
299
303
  },
300
304
  '& .SCFeedObject-medias-section': {
@@ -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;
@@ -6,6 +6,16 @@ const Component = {
6
6
  '& .SCCommentsObject-root h6': {
7
7
  paddingLeft: theme.spacing(2)
8
8
  }
9
+ },
10
+ '& .SCFeedObject-detail': {
11
+ '& .SCFeedObject-content': {
12
+ '& .SCFeedObject-text-section .SCFeedObject-text': {
13
+ '& span': {
14
+ display: 'inline-block',
15
+ width: '100%'
16
+ }
17
+ }
18
+ }
9
19
  }
10
20
  }),
11
21
  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,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
- '& .SCEditGroupButton-root': {
43
+ '& .SCGroupHeader-multi-actions': {
44
+ display: string;
44
45
  marginLeft: string;
45
46
  marginTop: any;
46
- marginRight: any;
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
- '& .SCEditGroupButton-root': {
43
+ '& .SCGroupHeader-multi-actions': {
44
+ display: 'flex',
44
45
  marginLeft: 'auto',
45
46
  marginTop: theme.spacing(-4.25),
46
- marginRight: theme.spacing(1)
47
+ '& .SCEditGroupButton-root': {
48
+ marginRight: theme.spacing(1)
49
+ }
47
50
  },
48
51
  '& .SCGroupSubscribeButton-root': {
49
52
  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;
@@ -42,7 +42,12 @@ const Component = {
42
42
  },
43
43
  ['& .PhotoView__Photo']: {
44
44
  cursor: 'grab',
45
- maxWidth: 'none'
45
+ maxWidth: 'none',
46
+ WebkitUserDrag: 'none',
47
+ userDrag: 'none',
48
+ '@-moz-document url-prefix()': {
49
+ pointerEvents: 'none'
50
+ }
46
51
  },
47
52
  ['& .PhotoView__Photo:active']: {
48
53
  cursor: 'grabbing',
@@ -159,9 +164,9 @@ const Component = {
159
164
  position: 'absolute',
160
165
  top: 0,
161
166
  transition: 'opacity .2s linear',
162
- 'WebkitUserSelect': 'none',
163
- 'MozUserSelect': 'none',
164
- 'MsUserSelect': 'none',
167
+ WebkitUserSelect: 'none',
168
+ MozUserSelect: 'none',
169
+ MsUserSelect: 'none',
165
170
  userSelect: 'none',
166
171
  width: 70,
167
172
  zIndex: 20,
@@ -190,9 +195,9 @@ const Component = {
190
195
  position: 'absolute',
191
196
  top: 0,
192
197
  transition: 'opacity .2s linear',
193
- 'WebkitUserSelect': 'none',
194
- 'MozUserSelect': 'none',
195
- 'MsUserSelect': 'none',
198
+ WebkitUserSelect: 'none',
199
+ MozUserSelect: 'none',
200
+ MsUserSelect: 'none',
196
201
  userSelect: 'none',
197
202
  width: 70,
198
203
  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;
@@ -20,7 +20,7 @@ const Component = {
20
20
  width: '100%',
21
21
  position: 'absolute',
22
22
  top: 0,
23
- // zIndex: 2,
23
+ zIndex: 2,
24
24
  '& iframe': {
25
25
  width: '100%',
26
26
  margin: '0px auto'
@@ -30,7 +30,7 @@ const Component = {
30
30
  width: '100%',
31
31
  position: 'relative',
32
32
  top: 0,
33
- // zIndex: 1,
33
+ zIndex: 1,
34
34
  '& .SCMediaLink-html-loading': {
35
35
  position: 'absolute',
36
36
  display: 'none',
@@ -83,7 +83,7 @@ const Component = {
83
83
  '& .SCMediaLink-html': {
84
84
  width: '100%',
85
85
  position: 'absolute',
86
- // zIndex: 2,
86
+ zIndex: 2,
87
87
  '& iframe': {
88
88
  width: '100%',
89
89
  margin: '0px auto'
@@ -93,7 +93,7 @@ const Component = {
93
93
  width: '100%',
94
94
  position: 'absolute',
95
95
  top: 0,
96
- // zIndex: 1,
96
+ zIndex: 1,
97
97
  '& .SCMediaLink-html-loading': {
98
98
  position: 'absolute',
99
99
  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,43 @@
1
+ import { darken } from '@mui/system';
2
+ const Component = {
3
+ styleOverrides: {
4
+ root: ({ theme }) => ({
5
+ '& .MuiDrawer-paper': {
6
+ width: '100%',
7
+ [theme.breakpoints.up('sm')]: {
8
+ width: theme.spacing(40)
9
+ }
10
+ },
11
+ '& .SCNavigationMenuDrawer-drawer-header': {
12
+ minHeight: theme.mixins.toolbar.minHeight,
13
+ padding: '1px',
14
+ display: 'flex',
15
+ justifyContent: 'space-between',
16
+ '& > a:first-of-type': {
17
+ display: 'flex',
18
+ justifyContent: 'center',
19
+ alignContent: 'center',
20
+ flexWrap: 'wrap'
21
+ },
22
+ '& img': {
23
+ maxHeight: theme.mixins.toolbar.minHeight - 20,
24
+ paddingLeft: theme.spacing(1.5)
25
+ }
26
+ },
27
+ '& .MuiTypography-subtitle1': {
28
+ fontSize: '1.286rem',
29
+ padding: theme.spacing(0, 2),
30
+ '& MuiButton-root': {
31
+ padding: theme.spacing(1, 1, 1, 2)
32
+ },
33
+ '& span:first-of-type': {
34
+ color: darken(theme.palette.text.primary, 0.5)
35
+ }
36
+ },
37
+ '& .SCBaseItemButton-text ': {
38
+ maxWidth: '80%'
39
+ }
40
+ })
41
+ }
42
+ };
43
+ export 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,44 +1,6 @@
1
- import { darken } from '@mui/system';
2
1
  const Component = {
3
2
  styleOverrides: {
4
- root: ({ theme }) => ({}),
5
- drawerRoot: ({ theme }) => ({
6
- '& .MuiDrawer-paper': {
7
- width: '100%',
8
- [theme.breakpoints.up('sm')]: {
9
- width: theme.spacing(40)
10
- }
11
- },
12
- '& .SCNavigationMenuIconButton-drawer-header': {
13
- minHeight: theme.mixins.toolbar.minHeight,
14
- padding: '1px',
15
- display: 'flex',
16
- justifyContent: 'space-between',
17
- '& > a:first-of-type': {
18
- display: 'flex',
19
- justifyContent: 'center',
20
- alignContent: 'center',
21
- flexWrap: 'wrap'
22
- },
23
- '& img': {
24
- maxHeight: theme.mixins.toolbar.minHeight - 20,
25
- paddingLeft: theme.spacing(1.5)
26
- }
27
- },
28
- '& .MuiTypography-subtitle1': {
29
- fontSize: '1.286rem',
30
- padding: theme.spacing(0, 2),
31
- '& MuiButton-root': {
32
- padding: theme.spacing(1, 1, 1, 2)
33
- },
34
- '& span:first-of-type': {
35
- color: darken(theme.palette.text.primary, 0.5)
36
- }
37
- },
38
- '& .SCBaseItemButton-text ': {
39
- maxWidth: '80%'
40
- }
41
- })
3
+ root: ({ theme }) => ({})
42
4
  }
43
5
  };
44
6
  export 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
  };