@taruvi/navkit 0.0.45 → 0.0.46

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.
@@ -0,0 +1,198 @@
1
+ {
2
+ "languages": {
3
+ "java": {
4
+ "name": "jdtls",
5
+ "command": "jdtls",
6
+ "args": [],
7
+ "file_extensions": [
8
+ "java"
9
+ ],
10
+ "project_patterns": [
11
+ "pom.xml",
12
+ "build.gradle",
13
+ "build.gradle.kts",
14
+ ".project"
15
+ ],
16
+ "exclude_patterns": [
17
+ "**/target/**",
18
+ "**/build/**",
19
+ "**/.gradle/**"
20
+ ],
21
+ "multi_workspace": false,
22
+ "initialization_options": {
23
+ "settings": {
24
+ "java": {
25
+ "compile": {
26
+ "nullAnalysis": {
27
+ "mode": "automatic"
28
+ }
29
+ },
30
+ "configuration": {
31
+ "annotationProcessing": {
32
+ "enabled": true
33
+ }
34
+ }
35
+ }
36
+ }
37
+ },
38
+ "request_timeout_secs": 60
39
+ },
40
+ "rust": {
41
+ "name": "rust-analyzer",
42
+ "command": "rust-analyzer",
43
+ "args": [],
44
+ "file_extensions": [
45
+ "rs"
46
+ ],
47
+ "project_patterns": [
48
+ "Cargo.toml"
49
+ ],
50
+ "exclude_patterns": [
51
+ "**/target/**"
52
+ ],
53
+ "multi_workspace": false,
54
+ "initialization_options": {
55
+ "cargo": {
56
+ "buildScripts": {
57
+ "enable": true
58
+ }
59
+ },
60
+ "diagnostics": {
61
+ "enable": true,
62
+ "enableExperimental": true
63
+ },
64
+ "workspace": {
65
+ "symbol": {
66
+ "search": {
67
+ "scope": "workspace"
68
+ }
69
+ }
70
+ }
71
+ },
72
+ "request_timeout_secs": 60
73
+ },
74
+ "ruby": {
75
+ "name": "solargraph",
76
+ "command": "solargraph",
77
+ "args": [
78
+ "stdio"
79
+ ],
80
+ "file_extensions": [
81
+ "rb"
82
+ ],
83
+ "project_patterns": [
84
+ "Gemfile",
85
+ "Rakefile"
86
+ ],
87
+ "exclude_patterns": [
88
+ "**/vendor/**",
89
+ "**/tmp/**"
90
+ ],
91
+ "multi_workspace": false,
92
+ "initialization_options": {},
93
+ "request_timeout_secs": 60
94
+ },
95
+ "python": {
96
+ "name": "pyright",
97
+ "command": "pyright-langserver",
98
+ "args": [
99
+ "--stdio"
100
+ ],
101
+ "file_extensions": [
102
+ "py"
103
+ ],
104
+ "project_patterns": [
105
+ "pyproject.toml",
106
+ "setup.py",
107
+ "requirements.txt",
108
+ "pyrightconfig.json"
109
+ ],
110
+ "exclude_patterns": [
111
+ "**/__pycache__/**",
112
+ "**/venv/**",
113
+ "**/.venv/**",
114
+ "**/.pytest_cache/**"
115
+ ],
116
+ "multi_workspace": false,
117
+ "initialization_options": {},
118
+ "request_timeout_secs": 60
119
+ },
120
+ "cpp": {
121
+ "name": "clangd",
122
+ "command": "clangd",
123
+ "args": [
124
+ "--background-index"
125
+ ],
126
+ "file_extensions": [
127
+ "cpp",
128
+ "cc",
129
+ "cxx",
130
+ "c",
131
+ "h",
132
+ "hpp",
133
+ "hxx"
134
+ ],
135
+ "project_patterns": [
136
+ "CMakeLists.txt",
137
+ "compile_commands.json",
138
+ "Makefile"
139
+ ],
140
+ "exclude_patterns": [
141
+ "**/build/**",
142
+ "**/cmake-build-**/**"
143
+ ],
144
+ "multi_workspace": false,
145
+ "initialization_options": {},
146
+ "request_timeout_secs": 60
147
+ },
148
+ "typescript": {
149
+ "name": "typescript-language-server",
150
+ "command": "typescript-language-server",
151
+ "args": [
152
+ "--stdio"
153
+ ],
154
+ "file_extensions": [
155
+ "ts",
156
+ "js",
157
+ "tsx",
158
+ "jsx"
159
+ ],
160
+ "project_patterns": [
161
+ "package.json",
162
+ "tsconfig.json"
163
+ ],
164
+ "exclude_patterns": [
165
+ "**/node_modules/**",
166
+ "**/dist/**"
167
+ ],
168
+ "multi_workspace": false,
169
+ "initialization_options": {
170
+ "preferences": {
171
+ "disableSuggestions": false
172
+ }
173
+ },
174
+ "request_timeout_secs": 60
175
+ },
176
+ "go": {
177
+ "name": "gopls",
178
+ "command": "gopls",
179
+ "args": [],
180
+ "file_extensions": [
181
+ "go"
182
+ ],
183
+ "project_patterns": [
184
+ "go.mod",
185
+ "go.sum"
186
+ ],
187
+ "exclude_patterns": [
188
+ "**/vendor/**"
189
+ ],
190
+ "multi_workspace": false,
191
+ "initialization_options": {
192
+ "usePlaceholders": true,
193
+ "completeUnimported": true
194
+ },
195
+ "request_timeout_secs": 60
196
+ }
197
+ }
198
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taruvi/navkit",
3
- "version": "0.0.45",
3
+ "version": "0.0.46",
4
4
  "main": "src/App.tsx",
5
5
  "type": "module",
6
6
  "scripts": {
package/src/App.styles.ts CHANGED
@@ -82,6 +82,7 @@ export const getAppStyles = (mode: ThemeMode) => {
82
82
  justifyContent: 'space-between',
83
83
  minHeight: `${dimensions.navHeight} !important`,
84
84
  height: dimensions.navHeight,
85
+ px: '18px !important',
85
86
  },
86
87
  leftSection: {
87
88
  display: 'flex',
@@ -95,17 +95,15 @@ export const getAppLauncherStyles = (mode: ThemeMode) => {
95
95
  },
96
96
  },
97
97
  iconContainer: {
98
- width: 48,
99
- height: 48,
98
+ width: 40,
99
+ height: 40,
100
100
  display: 'flex',
101
101
  alignItems: 'center',
102
102
  justifyContent: 'center',
103
- borderRadius: borderRadius.default,
104
- border: `1px solid ${colors.border.light}`,
105
103
  mb: spacing.sm,
106
104
  },
107
105
  iconStyle: {
108
- fontSize: dimensions.iconSize.md,
106
+ fontSize: '40px',
109
107
  color: colors.text.secondary,
110
108
  },
111
109
  appName: {
@@ -38,14 +38,14 @@ const AppLauncher = () => {
38
38
  return (
39
39
  <Card sx={styles.container}>
40
40
  <Search appsList={appsList} onSearchChange={handleSearchChange} />
41
- {filteredApps.length === 0 ? (
41
+ {filteredApps.filter(app => app.url).length === 0 ? (
42
42
  <Box sx={{ display: 'flex', justifyContent: 'center', alignItems: 'center', py: 6 }}>
43
43
  <Typography sx={{ color: styles.appName.color, fontSize: typography.sizes.sm }}>No apps available</Typography>
44
44
  </Box>
45
45
  ) : (
46
46
  <Box sx={styles.scrollContainer}>
47
47
  <Grid container spacing={0}>
48
- {filteredApps.map((app) => {
48
+ {filteredApps.filter(app => app.url).map((app) => {
49
49
  return (
50
50
  <Grid size={2} key={app.id}>
51
51
  <Box
@@ -60,8 +60,8 @@ const AppLauncher = () => {
60
60
  src={app.icon}
61
61
  alt={app.appname}
62
62
  style={{
63
- width: 24,
64
- height: 24,
63
+ width: 40,
64
+ height: 40,
65
65
  objectFit: 'contain'
66
66
  }}
67
67
  />