@selfcommunity/react-theme-default 0.2.0-embeds.17 → 0.2.0-live.41

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
@@ -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,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,46 @@
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
+ '& .SCNavigationMenuDrawer-drawer-footer': {
41
+ padding: theme.spacing(3)
42
+ }
43
+ })
44
+ }
45
+ };
46
+ 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;
@@ -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
  };
@@ -7,6 +7,18 @@ const Component = {
7
7
  '& .MuiList-root': {
8
8
  padding: 0
9
9
  }
10
+ },
11
+ '& .SCNavigationSettingsIconButton-item .MuiListItemIcon-root': {
12
+ marginLeft: theme.spacing(0.5),
13
+ marginBottom: theme.spacing(0.5),
14
+ color: theme.palette.secondary.main
15
+ }
16
+ }),
17
+ drawerRoot: ({ theme }) => ({
18
+ '& .SCNavigationSettingsIconButton-item .MuiListItemIcon-root': {
19
+ marginLeft: theme.spacing(0.5),
20
+ marginBottom: theme.spacing(0.5),
21
+ color: theme.palette.secondary.main
10
22
  }
11
23
  })
12
24
  }
@@ -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,76 +1,82 @@
1
+ import { getContrastRatio } from '@mui/material/styles';
1
2
  const Component = {
2
3
  styleOverrides: {
3
- root: ({ theme }) => ({
4
- padding: theme.spacing(0, 1),
5
- '& .SCNavigationToolbar-logo, & .SCNavigationToolbar-custom-item': {
6
- marginRight: theme.spacing(2),
7
- '& img': {
8
- verticalAlign: 'middle',
9
- maxHeight: theme.mixins.toolbar.minHeight - 20
10
- }
11
- },
12
- '& .SCNavigationToolbar-navigation': {
13
- flexGrow: 1,
14
- textAlign: 'center',
15
- alignSelf: 'end',
16
- '& .SCNavigationToolbar-home, & .SCNavigationToolbar-explore, & .SCNavigationToolbar-groups, & .SCNavigationToolbar-events': {
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
- paddingLeft: theme.spacing(1),
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
- '& .SCNavigationToolbar-search': {
32
- flexGrow: 1,
33
- textAlign: 'right',
34
- marginRight: theme.spacing(1.5),
35
- '& .MuiFormControl-root': {
36
- width: 190,
37
- [theme.breakpoints.up('lg')]: {
38
- width: 300
39
- }
40
- }
41
- },
42
- '& .SCNavigationToolbar-profile, & .SCNavigationToolbar-notification, & .SCNavigationToolbar-messages': {
43
- margin: theme.spacing(0, 0.5)
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,
@@ -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,25 +1,32 @@
1
+ import { getContrastRatio } from '@mui/material/styles';
1
2
  const Component = {
2
3
  styleOverrides: {
3
- root: ({ theme }) => ({
4
- padding: `${theme.spacing(0, 1, 0, 1)} !important`,
5
- '& .SCNavigationToolbarMobile-logo, & .SCNavigationToolbarMobile-custom-item': {
6
- margin: theme.spacing(0.5, 2, 0.5, 0.5),
7
- flexGrow: 1,
8
- '& img': {
9
- verticalAlign: 'middle',
10
- maxHeight: `calc(${theme.mixins.toolbar.minHeight}px - ${theme.spacing(2)})`
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
- '& .SCNavigationToolbarMobile-logo-flex': {
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,
@@ -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;
@@ -63,6 +63,22 @@ const Component = {
63
63
  }
64
64
  }
65
65
  }),
66
+ dialogRoot: ({ theme }) => ({
67
+ '& .SCOnBoardingWidget-dialog-content': {
68
+ whiteSpace: 'pre-line',
69
+ fontSize: '1.143rem'
70
+ }
71
+ }),
72
+ actionsMenuRoot: ({ theme }) => ({
73
+ '& .SCOnBoardingWidget-actions-paper': {
74
+ maxWidth: 400,
75
+ padding: theme.spacing(2),
76
+ '& .MuiList-root': {
77
+ padding: 0
78
+ }
79
+ }
80
+ }),
81
+ actionsDrawerRoot: ({ theme }) => ({}),
66
82
  accordionRoot: ({ theme, expanded }) => ({
67
83
  boxShadow: 'none',
68
84
  '& .MuiAccordionDetails-root ': {
@@ -133,7 +149,7 @@ const Component = {
133
149
  },
134
150
  alignItems: 'flex-start',
135
151
  '& .MuiAccordionSummary-expandIconWrapper': {
136
- marginTop: theme.spacing(1.5),
152
+ marginTop: expanded ? theme.spacing(1.5) : '6px',
137
153
  alignSelf: 'flex-start'
138
154
  }
139
155
  }
@@ -260,8 +276,18 @@ const Component = {
260
276
  display: 'flex',
261
277
  flexDirection: 'column'
262
278
  },
263
- '& .SCOnBoardingWidget-appearance-color': {
264
- margin: theme.spacing(1, 0, 2, 0)
279
+ '& .SCOnBoardingWidget-appearance-color-container': {
280
+ position: 'relative',
281
+ display: 'inline-block',
282
+ '& .SCOnBoardingWidget-appearance-color': {
283
+ margin: theme.spacing(1, 0, 2, 0)
284
+ },
285
+ '& .SCOnBoardingWidget-appearance-color-progress': {
286
+ position: 'absolute',
287
+ top: '50%',
288
+ marginTop: theme.spacing(-2),
289
+ marginLeft: theme.spacing(-4.5)
290
+ }
265
291
  },
266
292
  '& .SCOnBoardingWidget-appearance-logo-container': {
267
293
  position: 'relative',
@@ -6,9 +6,13 @@ declare const Component: {
6
6
  borderRadius: any;
7
7
  '& .MuiAutocomplete-input': {
8
8
  padding: any;
9
+ color: any;
9
10
  };
10
11
  };
11
12
  '& .MuiInputBase-root': {
13
+ '& .MuiIcon-root': {
14
+ color: any;
15
+ };
12
16
  '& fieldset': {
13
17
  borderColor: string;
14
18
  };