@taruvi/navkit 0.0.27 → 0.0.28
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 +1 -1
- package/src/App.tsx +6 -6
- package/.kiro/settings/lsp.json +0 -198
package/package.json
CHANGED
package/src/App.tsx
CHANGED
|
@@ -37,7 +37,7 @@ const NavkitContent = () => {
|
|
|
37
37
|
{appSettings?.icon ? <Box component="img" src={appSettings?.icon} sx={styles.logo} /> : <></>}
|
|
38
38
|
{appSettings?.displayName &&
|
|
39
39
|
<Typography sx={styles.appName}>
|
|
40
|
-
{appSettings.displayName.length >
|
|
40
|
+
{appSettings.displayName.length > 40 ? `${appSettings.displayName.substring(0, 40)}...` : appSettings.displayName}
|
|
41
41
|
</Typography>
|
|
42
42
|
}
|
|
43
43
|
</Box>
|
|
@@ -46,22 +46,22 @@ const NavkitContent = () => {
|
|
|
46
46
|
{isUserAuthenticated && userData && <Profile userData={userData} onClick={() => setShowProfileMenu(!showProfileMenu)} />}
|
|
47
47
|
<Box
|
|
48
48
|
onClick={() => {
|
|
49
|
-
if (isUserAuthenticated
|
|
49
|
+
if (isUserAuthenticated) {
|
|
50
50
|
setShowAppLauncher(!showAppLauncher);
|
|
51
51
|
}
|
|
52
52
|
}}
|
|
53
53
|
onMouseEnter={() => {
|
|
54
|
-
if (isUserAuthenticated
|
|
54
|
+
if (isUserAuthenticated) {
|
|
55
55
|
setIsAppLauncherHovered(true);
|
|
56
56
|
}
|
|
57
57
|
}}
|
|
58
58
|
onMouseLeave={() => setIsAppLauncherHovered(false)}
|
|
59
59
|
sx={{
|
|
60
60
|
...styles.appLauncherContainer,
|
|
61
|
-
cursor: isUserAuthenticated
|
|
61
|
+
cursor: isUserAuthenticated ? "pointer" : "default",
|
|
62
62
|
}}
|
|
63
63
|
>
|
|
64
|
-
{(isAppLauncherHovered || showAppLauncher) && isUserAuthenticated
|
|
64
|
+
{(isAppLauncherHovered || showAppLauncher) && isUserAuthenticated ? (
|
|
65
65
|
<Box sx={styles.appLauncherHover}>
|
|
66
66
|
<FontAwesomeIcon icon={["fas", "th"]} style={styles.appLauncherIcon} />
|
|
67
67
|
<Typography sx={styles.appLauncherText}>Apps</Typography>
|
|
@@ -74,7 +74,7 @@ const NavkitContent = () => {
|
|
|
74
74
|
</Toolbar>
|
|
75
75
|
</AppBar>
|
|
76
76
|
|
|
77
|
-
{showAppLauncher && isUserAuthenticated &&
|
|
77
|
+
{showAppLauncher && isUserAuthenticated && (
|
|
78
78
|
<Box>
|
|
79
79
|
<AppLauncher />
|
|
80
80
|
</Box>
|
package/.kiro/settings/lsp.json
DELETED
|
@@ -1,198 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"languages": {
|
|
3
|
-
"cpp": {
|
|
4
|
-
"name": "clangd",
|
|
5
|
-
"command": "clangd",
|
|
6
|
-
"args": [
|
|
7
|
-
"--background-index"
|
|
8
|
-
],
|
|
9
|
-
"file_extensions": [
|
|
10
|
-
"cpp",
|
|
11
|
-
"cc",
|
|
12
|
-
"cxx",
|
|
13
|
-
"c",
|
|
14
|
-
"h",
|
|
15
|
-
"hpp",
|
|
16
|
-
"hxx"
|
|
17
|
-
],
|
|
18
|
-
"project_patterns": [
|
|
19
|
-
"CMakeLists.txt",
|
|
20
|
-
"compile_commands.json",
|
|
21
|
-
"Makefile"
|
|
22
|
-
],
|
|
23
|
-
"exclude_patterns": [
|
|
24
|
-
"**/build/**",
|
|
25
|
-
"**/cmake-build-**/**"
|
|
26
|
-
],
|
|
27
|
-
"multi_workspace": false,
|
|
28
|
-
"initialization_options": {},
|
|
29
|
-
"request_timeout_secs": 60
|
|
30
|
-
},
|
|
31
|
-
"ruby": {
|
|
32
|
-
"name": "solargraph",
|
|
33
|
-
"command": "solargraph",
|
|
34
|
-
"args": [
|
|
35
|
-
"stdio"
|
|
36
|
-
],
|
|
37
|
-
"file_extensions": [
|
|
38
|
-
"rb"
|
|
39
|
-
],
|
|
40
|
-
"project_patterns": [
|
|
41
|
-
"Gemfile",
|
|
42
|
-
"Rakefile"
|
|
43
|
-
],
|
|
44
|
-
"exclude_patterns": [
|
|
45
|
-
"**/vendor/**",
|
|
46
|
-
"**/tmp/**"
|
|
47
|
-
],
|
|
48
|
-
"multi_workspace": false,
|
|
49
|
-
"initialization_options": {},
|
|
50
|
-
"request_timeout_secs": 60
|
|
51
|
-
},
|
|
52
|
-
"typescript": {
|
|
53
|
-
"name": "typescript-language-server",
|
|
54
|
-
"command": "typescript-language-server",
|
|
55
|
-
"args": [
|
|
56
|
-
"--stdio"
|
|
57
|
-
],
|
|
58
|
-
"file_extensions": [
|
|
59
|
-
"ts",
|
|
60
|
-
"js",
|
|
61
|
-
"tsx",
|
|
62
|
-
"jsx"
|
|
63
|
-
],
|
|
64
|
-
"project_patterns": [
|
|
65
|
-
"package.json",
|
|
66
|
-
"tsconfig.json"
|
|
67
|
-
],
|
|
68
|
-
"exclude_patterns": [
|
|
69
|
-
"**/node_modules/**",
|
|
70
|
-
"**/dist/**"
|
|
71
|
-
],
|
|
72
|
-
"multi_workspace": false,
|
|
73
|
-
"initialization_options": {
|
|
74
|
-
"preferences": {
|
|
75
|
-
"disableSuggestions": false
|
|
76
|
-
}
|
|
77
|
-
},
|
|
78
|
-
"request_timeout_secs": 60
|
|
79
|
-
},
|
|
80
|
-
"python": {
|
|
81
|
-
"name": "pyright",
|
|
82
|
-
"command": "pyright-langserver",
|
|
83
|
-
"args": [
|
|
84
|
-
"--stdio"
|
|
85
|
-
],
|
|
86
|
-
"file_extensions": [
|
|
87
|
-
"py"
|
|
88
|
-
],
|
|
89
|
-
"project_patterns": [
|
|
90
|
-
"pyproject.toml",
|
|
91
|
-
"setup.py",
|
|
92
|
-
"requirements.txt",
|
|
93
|
-
"pyrightconfig.json"
|
|
94
|
-
],
|
|
95
|
-
"exclude_patterns": [
|
|
96
|
-
"**/__pycache__/**",
|
|
97
|
-
"**/venv/**",
|
|
98
|
-
"**/.venv/**",
|
|
99
|
-
"**/.pytest_cache/**"
|
|
100
|
-
],
|
|
101
|
-
"multi_workspace": false,
|
|
102
|
-
"initialization_options": {},
|
|
103
|
-
"request_timeout_secs": 60
|
|
104
|
-
},
|
|
105
|
-
"rust": {
|
|
106
|
-
"name": "rust-analyzer",
|
|
107
|
-
"command": "rust-analyzer",
|
|
108
|
-
"args": [],
|
|
109
|
-
"file_extensions": [
|
|
110
|
-
"rs"
|
|
111
|
-
],
|
|
112
|
-
"project_patterns": [
|
|
113
|
-
"Cargo.toml"
|
|
114
|
-
],
|
|
115
|
-
"exclude_patterns": [
|
|
116
|
-
"**/target/**"
|
|
117
|
-
],
|
|
118
|
-
"multi_workspace": false,
|
|
119
|
-
"initialization_options": {
|
|
120
|
-
"cargo": {
|
|
121
|
-
"buildScripts": {
|
|
122
|
-
"enable": true
|
|
123
|
-
}
|
|
124
|
-
},
|
|
125
|
-
"diagnostics": {
|
|
126
|
-
"enable": true,
|
|
127
|
-
"enableExperimental": true
|
|
128
|
-
},
|
|
129
|
-
"workspace": {
|
|
130
|
-
"symbol": {
|
|
131
|
-
"search": {
|
|
132
|
-
"scope": "workspace"
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
},
|
|
137
|
-
"request_timeout_secs": 60
|
|
138
|
-
},
|
|
139
|
-
"go": {
|
|
140
|
-
"name": "gopls",
|
|
141
|
-
"command": "gopls",
|
|
142
|
-
"args": [],
|
|
143
|
-
"file_extensions": [
|
|
144
|
-
"go"
|
|
145
|
-
],
|
|
146
|
-
"project_patterns": [
|
|
147
|
-
"go.mod",
|
|
148
|
-
"go.sum"
|
|
149
|
-
],
|
|
150
|
-
"exclude_patterns": [
|
|
151
|
-
"**/vendor/**"
|
|
152
|
-
],
|
|
153
|
-
"multi_workspace": false,
|
|
154
|
-
"initialization_options": {
|
|
155
|
-
"usePlaceholders": true,
|
|
156
|
-
"completeUnimported": true
|
|
157
|
-
},
|
|
158
|
-
"request_timeout_secs": 60
|
|
159
|
-
},
|
|
160
|
-
"java": {
|
|
161
|
-
"name": "jdtls",
|
|
162
|
-
"command": "jdtls",
|
|
163
|
-
"args": [],
|
|
164
|
-
"file_extensions": [
|
|
165
|
-
"java"
|
|
166
|
-
],
|
|
167
|
-
"project_patterns": [
|
|
168
|
-
"pom.xml",
|
|
169
|
-
"build.gradle",
|
|
170
|
-
"build.gradle.kts",
|
|
171
|
-
".project"
|
|
172
|
-
],
|
|
173
|
-
"exclude_patterns": [
|
|
174
|
-
"**/target/**",
|
|
175
|
-
"**/build/**",
|
|
176
|
-
"**/.gradle/**"
|
|
177
|
-
],
|
|
178
|
-
"multi_workspace": false,
|
|
179
|
-
"initialization_options": {
|
|
180
|
-
"settings": {
|
|
181
|
-
"java": {
|
|
182
|
-
"compile": {
|
|
183
|
-
"nullAnalysis": {
|
|
184
|
-
"mode": "automatic"
|
|
185
|
-
}
|
|
186
|
-
},
|
|
187
|
-
"configuration": {
|
|
188
|
-
"annotationProcessing": {
|
|
189
|
-
"enabled": true
|
|
190
|
-
}
|
|
191
|
-
}
|
|
192
|
-
}
|
|
193
|
-
}
|
|
194
|
-
},
|
|
195
|
-
"request_timeout_secs": 60
|
|
196
|
-
}
|
|
197
|
-
}
|
|
198
|
-
}
|