@selfcommunity/react-theme-default 0.2.0-embeds.16 → 0.2.0-live.40

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 (100) 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/SCEventForm.d.ts +8 -0
  4. package/lib/cjs/components/SCEventForm.js +8 -0
  5. package/lib/cjs/components/SCEventFormDialog.d.ts +13 -0
  6. package/lib/cjs/components/SCEventFormDialog.js +15 -0
  7. package/lib/cjs/components/SCEventMediaWidget.d.ts +120 -0
  8. package/lib/cjs/components/SCEventMediaWidget.js +115 -0
  9. package/lib/cjs/components/SCFeed.d.ts +9 -3
  10. package/lib/cjs/components/SCFeed.js +9 -3
  11. package/lib/cjs/components/SCFeedObject.d.ts +4 -0
  12. package/lib/cjs/components/SCFeedObject.js +4 -0
  13. package/lib/cjs/components/SCFeedObjectDetailTemplate.d.ts +10 -0
  14. package/lib/cjs/components/SCFeedObjectDetailTemplate.js +10 -0
  15. package/lib/cjs/components/SCGroupActionsMenu.d.ts +26 -0
  16. package/lib/cjs/components/SCGroupActionsMenu.js +28 -0
  17. package/lib/cjs/components/SCGroupHeader.d.ts +5 -2
  18. package/lib/cjs/components/SCGroupHeader.js +5 -2
  19. package/lib/cjs/components/SCLightbox.d.ts +5 -0
  20. package/lib/cjs/components/SCLightbox.js +12 -7
  21. package/lib/cjs/components/SCLiveStreamDialog.d.ts +16 -0
  22. package/lib/cjs/components/SCLiveStreamDialog.js +18 -0
  23. package/lib/cjs/components/SCLiveStreamForm.d.ts +12 -0
  24. package/lib/cjs/components/SCLiveStreamForm.js +14 -0
  25. package/lib/cjs/components/SCLiveStreamRoom.d.ts +27 -0
  26. package/lib/cjs/components/SCLiveStreamRoom.js +29 -0
  27. package/lib/cjs/components/SCLiveStreamVideoConference.d.ts +6 -0
  28. package/lib/cjs/components/SCLiveStreamVideoConference.js +8 -0
  29. package/lib/cjs/components/SCMediaLink.d.ts +4 -0
  30. package/lib/cjs/components/SCMediaLink.js +4 -4
  31. package/lib/cjs/components/SCNavigationMenuDrawer.d.ts +45 -0
  32. package/lib/cjs/components/SCNavigationMenuDrawer.js +48 -0
  33. package/lib/cjs/components/SCNavigationMenuIconButton.d.ts +0 -37
  34. package/lib/cjs/components/SCNavigationMenuIconButton.js +1 -39
  35. package/lib/cjs/components/SCNavigationSettingsIconButton.d.ts +12 -0
  36. package/lib/cjs/components/SCNavigationSettingsIconButton.js +12 -0
  37. package/lib/cjs/components/SCNavigationToolbar.d.ts +3 -1
  38. package/lib/cjs/components/SCNavigationToolbar.js +68 -62
  39. package/lib/cjs/components/SCNavigationToolbarMobile.d.ts +3 -0
  40. package/lib/cjs/components/SCNavigationToolbarMobile.js +26 -19
  41. package/lib/cjs/components/SCOnBoardingWidget.d.ts +28 -2
  42. package/lib/cjs/components/SCOnBoardingWidget.js +29 -3
  43. package/lib/cjs/components/SCSearchAutocomplete.d.ts +4 -0
  44. package/lib/cjs/components/SCSearchAutocomplete.js +29 -21
  45. package/lib/cjs/components/SCVoteButton.d.ts +5 -3
  46. package/lib/cjs/components/SCVoteButton.js +6 -5
  47. package/lib/cjs/index.d.ts +323 -16
  48. package/lib/cjs/index.js +17 -1
  49. package/lib/esm/components/MuiAppBar.js +4 -3
  50. package/lib/esm/components/SCBottomNavigation.js +5 -4
  51. package/lib/esm/components/SCEventForm.d.ts +8 -0
  52. package/lib/esm/components/SCEventForm.js +8 -0
  53. package/lib/esm/components/SCEventFormDialog.d.ts +13 -0
  54. package/lib/esm/components/SCEventFormDialog.js +13 -0
  55. package/lib/esm/components/SCEventMediaWidget.d.ts +120 -0
  56. package/lib/esm/components/SCEventMediaWidget.js +113 -0
  57. package/lib/esm/components/SCFeed.d.ts +9 -3
  58. package/lib/esm/components/SCFeed.js +9 -3
  59. package/lib/esm/components/SCFeedObject.d.ts +4 -0
  60. package/lib/esm/components/SCFeedObject.js +4 -0
  61. package/lib/esm/components/SCFeedObjectDetailTemplate.d.ts +10 -0
  62. package/lib/esm/components/SCFeedObjectDetailTemplate.js +10 -0
  63. package/lib/esm/components/SCGroupActionsMenu.d.ts +26 -0
  64. package/lib/esm/components/SCGroupActionsMenu.js +26 -0
  65. package/lib/esm/components/SCGroupHeader.d.ts +5 -2
  66. package/lib/esm/components/SCGroupHeader.js +5 -2
  67. package/lib/esm/components/SCLightbox.d.ts +5 -0
  68. package/lib/esm/components/SCLightbox.js +12 -7
  69. package/lib/esm/components/SCLiveStreamDialog.d.ts +16 -0
  70. package/lib/esm/components/SCLiveStreamDialog.js +16 -0
  71. package/lib/esm/components/SCLiveStreamForm.d.ts +12 -0
  72. package/lib/esm/components/SCLiveStreamForm.js +12 -0
  73. package/lib/esm/components/SCLiveStreamRoom.d.ts +27 -0
  74. package/lib/esm/components/SCLiveStreamRoom.js +27 -0
  75. package/lib/esm/components/SCLiveStreamVideoConference.d.ts +6 -0
  76. package/lib/esm/components/SCLiveStreamVideoConference.js +6 -0
  77. package/lib/esm/components/SCMediaLink.d.ts +4 -0
  78. package/lib/esm/components/SCMediaLink.js +4 -4
  79. package/lib/esm/components/SCNavigationMenuDrawer.d.ts +45 -0
  80. package/lib/esm/components/SCNavigationMenuDrawer.js +46 -0
  81. package/lib/esm/components/SCNavigationMenuIconButton.d.ts +0 -37
  82. package/lib/esm/components/SCNavigationMenuIconButton.js +1 -39
  83. package/lib/esm/components/SCNavigationSettingsIconButton.d.ts +12 -0
  84. package/lib/esm/components/SCNavigationSettingsIconButton.js +12 -0
  85. package/lib/esm/components/SCNavigationToolbar.d.ts +3 -1
  86. package/lib/esm/components/SCNavigationToolbar.js +68 -62
  87. package/lib/esm/components/SCNavigationToolbarMobile.d.ts +3 -0
  88. package/lib/esm/components/SCNavigationToolbarMobile.js +26 -19
  89. package/lib/esm/components/SCOnBoardingWidget.d.ts +28 -2
  90. package/lib/esm/components/SCOnBoardingWidget.js +29 -3
  91. package/lib/esm/components/SCSearchAutocomplete.d.ts +4 -0
  92. package/lib/esm/components/SCSearchAutocomplete.js +29 -21
  93. package/lib/esm/components/SCVoteButton.d.ts +5 -3
  94. package/lib/esm/components/SCVoteButton.js +6 -5
  95. package/lib/esm/index.d.ts +323 -16
  96. package/lib/esm/index.js +17 -1
  97. package/lib/umd/react-theme-default.js +1 -19
  98. package/package.json +125 -120
  99. package/lib/umd/850.js +0 -2
  100. package/lib/umd/850.js.LICENSE.txt +0 -16
@@ -0,0 +1,27 @@
1
+ declare const Component: {
2
+ styleOverrides: {
3
+ root: ({ theme }: any) => {
4
+ backgroundColor: string;
5
+ height: string;
6
+ display: string;
7
+ justifyContent: string;
8
+ alignContent: string;
9
+ "& .SCLiveStreamRoom-preJoin": {
10
+ display: string;
11
+ placeItems: string;
12
+ height: string;
13
+ };
14
+ '& .lk-form-control': {
15
+ display: string;
16
+ };
17
+ '& .lk-join-button': {
18
+ backgroundColor: any;
19
+ color: any;
20
+ '&:hover': {
21
+ backgroundColor: any;
22
+ };
23
+ };
24
+ };
25
+ };
26
+ };
27
+ export default Component;
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const Component = {
4
+ styleOverrides: {
5
+ root: ({ theme }) => ({
6
+ backgroundColor: '#111111',
7
+ height: '100vh',
8
+ display: 'flex',
9
+ justifyContent: 'center',
10
+ alignContent: 'center',
11
+ [`& .SCLiveStreamRoom-preJoin`]: {
12
+ display: 'grid',
13
+ placeItems: 'center',
14
+ height: '100%'
15
+ },
16
+ '& .lk-form-control': {
17
+ display: 'none'
18
+ },
19
+ '& .lk-join-button': {
20
+ backgroundColor: theme.palette.primary.main,
21
+ color: theme.palette.common.white,
22
+ '&:hover': {
23
+ backgroundColor: theme.palette.primary.dark
24
+ }
25
+ }
26
+ })
27
+ }
28
+ };
29
+ exports.default = Component;
@@ -0,0 +1,6 @@
1
+ declare const Component: {
2
+ styleOverrides: {
3
+ root: ({ theme }: any) => {};
4
+ };
5
+ };
6
+ export default Component;
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const Component = {
4
+ styleOverrides: {
5
+ root: ({ theme }) => ({})
6
+ }
7
+ };
8
+ exports.default = Component;
@@ -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
- // zIndex: 2,
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
- // zIndex: 1,
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
- // zIndex: 2,
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
- // zIndex: 1,
98
+ zIndex: 1,
99
99
  '& .SCMediaLink-html-loading': {
100
100
  position: 'absolute',
101
101
  display: 'none',
@@ -0,0 +1,45 @@
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
+ '& .SCNavigationMenuDrawer-drawer-footer': {
40
+ padding: any;
41
+ };
42
+ };
43
+ };
44
+ };
45
+ export default Component;
@@ -0,0 +1,48 @@
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
+ '& .SCNavigationMenuDrawer-drawer-footer': {
43
+ padding: theme.spacing(3)
44
+ }
45
+ })
46
+ }
47
+ };
48
+ 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;
@@ -8,6 +8,18 @@ declare const Component: {
8
8
  padding: number;
9
9
  };
10
10
  };
11
+ '& .SCNavigationSettingsIconButton-item .MuiListItemIcon-root': {
12
+ marginLeft: any;
13
+ marginBottom: any;
14
+ color: any;
15
+ };
16
+ };
17
+ drawerRoot: ({ theme }: any) => {
18
+ '& .SCNavigationSettingsIconButton-item .MuiListItemIcon-root': {
19
+ marginLeft: any;
20
+ marginBottom: any;
21
+ color: any;
22
+ };
11
23
  };
12
24
  };
13
25
  };
@@ -9,6 +9,18 @@ const Component = {
9
9
  '& .MuiList-root': {
10
10
  padding: 0
11
11
  }
12
+ },
13
+ '& .SCNavigationSettingsIconButton-item .MuiListItemIcon-root': {
14
+ marginLeft: theme.spacing(0.5),
15
+ marginBottom: theme.spacing(0.5),
16
+ color: theme.palette.secondary.main
17
+ }
18
+ }),
19
+ drawerRoot: ({ theme }) => ({
20
+ '& .SCNavigationSettingsIconButton-item .MuiListItemIcon-root': {
21
+ marginLeft: theme.spacing(0.5),
22
+ marginBottom: theme.spacing(0.5),
23
+ color: theme.palette.secondary.main
12
24
  }
13
25
  })
14
26
  }
@@ -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
  };
@@ -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
- padding: theme.spacing(0, 1),
7
- '& .SCNavigationToolbar-logo, & .SCNavigationToolbar-custom-item': {
8
- marginRight: theme.spacing(2),
9
- '& img': {
10
- verticalAlign: 'middle',
11
- maxHeight: theme.mixins.toolbar.minHeight - 20
12
- }
13
- },
14
- '& .SCNavigationToolbar-navigation': {
15
- flexGrow: 1,
16
- textAlign: 'center',
17
- alignSelf: 'end',
18
- '& .SCNavigationToolbar-home, & .SCNavigationToolbar-explore, & .SCNavigationToolbar-groups, & .SCNavigationToolbar-events': {
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
- paddingLeft: theme.spacing(1),
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
- '& .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': {
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,
@@ -13,6 +13,9 @@ declare const Component: {
13
13
  '& .SCNavigationToolbarMobile-logo-flex': {
14
14
  flexGrow: number;
15
15
  };
16
+ '& .MuiIconButton-root': {
17
+ color: any;
18
+ };
16
19
  '& h4': {
17
20
  fontSize: string;
18
21
  overflow: string;
@@ -1,27 +1,34 @@
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
- padding: `${theme.spacing(0, 1, 0, 1)} !important`,
7
- '& .SCNavigationToolbarMobile-logo, & .SCNavigationToolbarMobile-custom-item': {
8
- margin: theme.spacing(0.5, 2, 0.5, 0.5),
9
- flexGrow: 1,
10
- '& img': {
11
- verticalAlign: 'middle',
12
- maxHeight: `calc(${theme.mixins.toolbar.minHeight}px - ${theme.spacing(2)})`
6
+ root: ({ theme }) => {
7
+ var _a, _b;
8
+ return ({
9
+ padding: `${theme.spacing(0, 1, 0, 1)} !important`,
10
+ '& .SCNavigationToolbarMobile-logo, & .SCNavigationToolbarMobile-custom-item': {
11
+ margin: theme.spacing(0.5, 2, 0.5, 0.5),
12
+ flexGrow: 1,
13
+ '& img': {
14
+ verticalAlign: 'middle',
15
+ maxHeight: `calc(${theme.mixins.toolbar.minHeight}px - ${theme.spacing(2)})`
16
+ }
17
+ },
18
+ '& .SCNavigationToolbarMobile-logo-flex': {
19
+ flexGrow: 0
20
+ },
21
+ '& .MuiIconButton-root': {
22
+ 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
23
+ },
24
+ '& h4': {
25
+ fontSize: '1.286rem',
26
+ overflow: 'hidden',
27
+ textOverflow: 'ellipsis',
28
+ whiteSpace: 'nowrap'
13
29
  }
14
- },
15
- '& .SCNavigationToolbarMobile-logo-flex': {
16
- flexGrow: 0
17
- },
18
- '& h4': {
19
- fontSize: '1.286rem',
20
- overflow: 'hidden',
21
- textOverflow: 'ellipsis',
22
- whiteSpace: 'nowrap'
23
- }
24
- }),
30
+ });
31
+ },
25
32
  skeletonRoot: ({ theme }) => ({
26
33
  '& .SCNavigationToolbarMobile-logo': {
27
34
  width: 100,
@@ -63,6 +63,22 @@ declare const Component: {
63
63
  };
64
64
  };
65
65
  };
66
+ dialogRoot: ({ theme }: any) => {
67
+ '& .SCOnBoardingWidget-dialog-content': {
68
+ whiteSpace: string;
69
+ fontSize: string;
70
+ };
71
+ };
72
+ actionsMenuRoot: ({ theme }: any) => {
73
+ '& .SCOnBoardingWidget-actions-paper': {
74
+ maxWidth: number;
75
+ padding: any;
76
+ '& .MuiList-root': {
77
+ padding: number;
78
+ };
79
+ };
80
+ };
81
+ actionsDrawerRoot: ({ theme }: any) => {};
66
82
  accordionRoot: ({ theme, expanded }: any) => {
67
83
  boxShadow: string;
68
84
  '& .MuiAccordionDetails-root ': {
@@ -260,8 +276,18 @@ declare const Component: {
260
276
  display: string;
261
277
  flexDirection: string;
262
278
  };
263
- '& .SCOnBoardingWidget-appearance-color': {
264
- margin: any;
279
+ '& .SCOnBoardingWidget-appearance-color-container': {
280
+ position: string;
281
+ display: string;
282
+ '& .SCOnBoardingWidget-appearance-color': {
283
+ margin: any;
284
+ };
285
+ '& .SCOnBoardingWidget-appearance-color-progress': {
286
+ position: string;
287
+ top: string;
288
+ marginTop: any;
289
+ marginLeft: any;
290
+ };
265
291
  };
266
292
  '& .SCOnBoardingWidget-appearance-logo-container': {
267
293
  position: string;