@taruvi/navkit 0.0.33-beta.0 → 0.0.34
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/package.json
CHANGED
package/src/App.styles.ts
CHANGED
|
@@ -74,11 +74,13 @@ export const getAppStyles = (mode: ThemeMode) => {
|
|
|
74
74
|
return {
|
|
75
75
|
appBar: {
|
|
76
76
|
height: dimensions.navHeight,
|
|
77
|
+
overflow: 'hidden',
|
|
77
78
|
},
|
|
78
79
|
toolbar: {
|
|
79
80
|
backgroundColor: '#004369',
|
|
80
81
|
boxShadow: ' 0px 0px 10px 2px rgba(0, 0, 0, 0.3)',
|
|
81
82
|
justifyContent: 'space-between',
|
|
83
|
+
minHeight: dimensions.navHeight,
|
|
82
84
|
},
|
|
83
85
|
leftSection: {
|
|
84
86
|
display: 'flex',
|
package/src/App.tsx
CHANGED
|
@@ -43,7 +43,6 @@ const NavkitContent = () => {
|
|
|
43
43
|
</Box>
|
|
44
44
|
<Box component={"div"} sx={styles.rightSection}>
|
|
45
45
|
<Shortcuts showChat={setShowChat} onMenuToggle={() => setShowShortcutsMenu(!showShortcutsMenu)} />
|
|
46
|
-
{isUserAuthenticated && userData && <Profile userData={userData} onClick={() => setShowProfileMenu(!showProfileMenu)} />}
|
|
47
46
|
<Box
|
|
48
47
|
onClick={() => {
|
|
49
48
|
if (isUserAuthenticated) {
|
|
@@ -70,6 +69,7 @@ const NavkitContent = () => {
|
|
|
70
69
|
<Box component="img" src={taruviLogo} sx={styles.appLauncherLogo} />
|
|
71
70
|
)}
|
|
72
71
|
</Box>
|
|
72
|
+
{isUserAuthenticated && userData && <Profile userData={userData} onClick={() => setShowProfileMenu(!showProfileMenu)} />}
|
|
73
73
|
</Box>
|
|
74
74
|
</Toolbar>
|
|
75
75
|
</AppBar>
|
|
@@ -8,8 +8,6 @@ export const profileStyles = {
|
|
|
8
8
|
trigger: {
|
|
9
9
|
display: 'flex',
|
|
10
10
|
alignItems: 'center',
|
|
11
|
-
gap: spacing.sm,
|
|
12
|
-
ml: spacing.md,
|
|
13
11
|
cursor: 'pointer',
|
|
14
12
|
},
|
|
15
13
|
avatar: {
|
|
@@ -69,8 +67,6 @@ export const getProfileStyles = (mode: ThemeMode) => {
|
|
|
69
67
|
trigger: {
|
|
70
68
|
display: 'flex',
|
|
71
69
|
alignItems: 'center',
|
|
72
|
-
gap: spacing.sm,
|
|
73
|
-
ml: spacing.md,
|
|
74
70
|
cursor: 'pointer',
|
|
75
71
|
},
|
|
76
72
|
avatar: {
|