@geekmidas/studio 0.0.1 → 0.1.0
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/README.md +165 -0
- package/dist/server/hono.cjs +5 -5
- package/dist/server/hono.cjs.map +1 -1
- package/dist/server/hono.mjs +5 -5
- package/dist/server/hono.mjs.map +1 -1
- package/package.json +3 -3
- package/src/ui-assets.ts +5 -5
- package/ui/node_modules/.bin/tsc +2 -2
- package/ui/node_modules/.bin/tsserver +2 -2
- package/ui/node_modules/.bin/vite +2 -2
- package/ui/src/App.tsx +146 -47
- package/ui/src/components/FilterPanel.tsx +213 -0
- package/ui/src/components/RowDetail.tsx +85 -79
- package/ui/src/components/TableList.tsx +37 -30
- package/ui/src/components/TableView.tsx +374 -74
- package/ui/src/styles.css +167 -9
- package/ui/tsconfig.tsbuildinfo +1 -1
- package/ui/node_modules/.bin/browserslist +0 -21
- package/ui/node_modules/.bin/jiti +0 -21
- package/ui/node_modules/.bin/terser +0 -21
- package/ui/node_modules/.bin/tsx +0 -21
package/ui/src/styles.css
CHANGED
|
@@ -1,19 +1,34 @@
|
|
|
1
1
|
@import "tailwindcss";
|
|
2
2
|
|
|
3
3
|
@theme {
|
|
4
|
-
|
|
5
|
-
--color-bg
|
|
6
|
-
--color-
|
|
7
|
-
--color-border: #
|
|
4
|
+
/* Supabase-inspired dark theme */
|
|
5
|
+
--color-studio-bg: #171717;
|
|
6
|
+
--color-studio-surface: #1c1c1c;
|
|
7
|
+
--color-studio-border: #2e2e2e;
|
|
8
|
+
--color-studio-hover: #262626;
|
|
9
|
+
--color-studio-active: #333333;
|
|
10
|
+
--color-studio-accent: #3ecf8e;
|
|
11
|
+
--color-studio-accent-hover: #4ade94;
|
|
12
|
+
|
|
13
|
+
/* Legacy colors for compatibility */
|
|
14
|
+
--color-bg-primary: #171717;
|
|
15
|
+
--color-bg-secondary: #1c1c1c;
|
|
16
|
+
--color-bg-tertiary: #262626;
|
|
17
|
+
--color-border: #2e2e2e;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
* {
|
|
21
|
+
box-sizing: border-box;
|
|
8
22
|
}
|
|
9
23
|
|
|
10
24
|
body {
|
|
11
25
|
margin: 0;
|
|
12
26
|
padding: 0;
|
|
13
|
-
font-family:
|
|
14
|
-
"
|
|
27
|
+
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
|
|
28
|
+
"Helvetica Neue", Arial, sans-serif;
|
|
15
29
|
-webkit-font-smoothing: antialiased;
|
|
16
30
|
-moz-osx-font-smoothing: grayscale;
|
|
31
|
+
background: var(--color-studio-bg);
|
|
17
32
|
}
|
|
18
33
|
|
|
19
34
|
/* Custom scrollbar */
|
|
@@ -23,14 +38,157 @@ body {
|
|
|
23
38
|
}
|
|
24
39
|
|
|
25
40
|
::-webkit-scrollbar-track {
|
|
26
|
-
background:
|
|
41
|
+
background: transparent;
|
|
27
42
|
}
|
|
28
43
|
|
|
29
44
|
::-webkit-scrollbar-thumb {
|
|
30
|
-
background:
|
|
45
|
+
background: #404040;
|
|
31
46
|
border-radius: 4px;
|
|
32
47
|
}
|
|
33
48
|
|
|
34
49
|
::-webkit-scrollbar-thumb:hover {
|
|
35
|
-
background: #
|
|
50
|
+
background: #525252;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
/* Table styles */
|
|
54
|
+
.data-grid {
|
|
55
|
+
border-collapse: collapse;
|
|
56
|
+
width: 100%;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.data-grid th {
|
|
60
|
+
position: sticky;
|
|
61
|
+
top: 0;
|
|
62
|
+
background: var(--color-studio-surface);
|
|
63
|
+
z-index: 10;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.data-grid th,
|
|
67
|
+
.data-grid td {
|
|
68
|
+
border-bottom: 1px solid var(--color-studio-border);
|
|
69
|
+
text-align: left;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.data-grid tbody tr:hover {
|
|
73
|
+
background: var(--color-studio-hover);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
/* Row number column */
|
|
77
|
+
.row-number {
|
|
78
|
+
color: #525252;
|
|
79
|
+
font-size: 12px;
|
|
80
|
+
font-variant-numeric: tabular-nums;
|
|
81
|
+
user-select: none;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
/* NULL value styling */
|
|
85
|
+
.cell-null {
|
|
86
|
+
color: #525252;
|
|
87
|
+
font-style: italic;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
/* Filter panel animation */
|
|
91
|
+
.filter-panel {
|
|
92
|
+
animation: slideDown 0.15s ease-out;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
@keyframes slideDown {
|
|
96
|
+
from {
|
|
97
|
+
opacity: 0;
|
|
98
|
+
transform: translateY(-8px);
|
|
99
|
+
}
|
|
100
|
+
to {
|
|
101
|
+
opacity: 1;
|
|
102
|
+
transform: translateY(0);
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
/* Button styles */
|
|
107
|
+
.btn {
|
|
108
|
+
display: inline-flex;
|
|
109
|
+
align-items: center;
|
|
110
|
+
gap: 0.5rem;
|
|
111
|
+
padding: 0.375rem 0.75rem;
|
|
112
|
+
font-size: 0.875rem;
|
|
113
|
+
border-radius: 0.375rem;
|
|
114
|
+
transition: all 0.15s ease;
|
|
115
|
+
cursor: pointer;
|
|
116
|
+
border: none;
|
|
117
|
+
outline: none;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.btn-default {
|
|
121
|
+
background: var(--color-studio-hover);
|
|
122
|
+
color: #a3a3a3;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.btn-default:hover {
|
|
126
|
+
background: var(--color-studio-active);
|
|
127
|
+
color: #e5e5e5;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.btn-primary {
|
|
131
|
+
background: var(--color-studio-accent);
|
|
132
|
+
color: #000;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.btn-primary:hover {
|
|
136
|
+
background: var(--color-studio-accent-hover);
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
/* Input styles */
|
|
140
|
+
.input {
|
|
141
|
+
background: var(--color-studio-bg);
|
|
142
|
+
border: 1px solid var(--color-studio-border);
|
|
143
|
+
border-radius: 0.375rem;
|
|
144
|
+
padding: 0.375rem 0.75rem;
|
|
145
|
+
font-size: 0.875rem;
|
|
146
|
+
color: #e5e5e5;
|
|
147
|
+
outline: none;
|
|
148
|
+
transition: border-color 0.15s ease;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.input:focus {
|
|
152
|
+
border-color: var(--color-studio-accent);
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.input::placeholder {
|
|
156
|
+
color: #525252;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
/* Select styles */
|
|
160
|
+
.select {
|
|
161
|
+
background: var(--color-studio-bg);
|
|
162
|
+
border: 1px solid var(--color-studio-border);
|
|
163
|
+
border-radius: 0.375rem;
|
|
164
|
+
padding: 0.375rem 0.75rem;
|
|
165
|
+
font-size: 0.875rem;
|
|
166
|
+
color: #e5e5e5;
|
|
167
|
+
outline: none;
|
|
168
|
+
cursor: pointer;
|
|
169
|
+
appearance: none;
|
|
170
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23525252'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
|
|
171
|
+
background-repeat: no-repeat;
|
|
172
|
+
background-position: right 0.5rem center;
|
|
173
|
+
background-size: 1rem;
|
|
174
|
+
padding-right: 2rem;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
.select:focus {
|
|
178
|
+
border-color: var(--color-studio-accent);
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
/* Badge */
|
|
182
|
+
.badge {
|
|
183
|
+
display: inline-flex;
|
|
184
|
+
align-items: center;
|
|
185
|
+
justify-content: center;
|
|
186
|
+
min-width: 1.25rem;
|
|
187
|
+
height: 1.25rem;
|
|
188
|
+
padding: 0 0.375rem;
|
|
189
|
+
font-size: 0.75rem;
|
|
190
|
+
font-weight: 500;
|
|
191
|
+
border-radius: 9999px;
|
|
192
|
+
background: var(--color-studio-accent);
|
|
193
|
+
color: #000;
|
|
36
194
|
}
|
package/ui/tsconfig.tsbuildinfo
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"root":["./src/app.tsx","./src/api.ts","./src/main.tsx","./src/types.ts","./src/vite-env.d.ts","./src/components/rowdetail.tsx","./src/components/tablelist.tsx","./src/components/tableview.tsx"],"version":"5.8.2"}
|
|
1
|
+
{"root":["./src/app.tsx","./src/api.ts","./src/main.tsx","./src/types.ts","./src/vite-env.d.ts","./src/components/filterpanel.tsx","./src/components/rowdetail.tsx","./src/components/tablelist.tsx","./src/components/tableview.tsx"],"version":"5.8.2"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
#!/bin/sh
|
|
2
|
-
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
3
|
-
|
|
4
|
-
case `uname` in
|
|
5
|
-
*CYGWIN*|*MINGW*|*MSYS*)
|
|
6
|
-
if command -v cygpath > /dev/null 2>&1; then
|
|
7
|
-
basedir=`cygpath -w "$basedir"`
|
|
8
|
-
fi
|
|
9
|
-
;;
|
|
10
|
-
esac
|
|
11
|
-
|
|
12
|
-
if [ -z "$NODE_PATH" ]; then
|
|
13
|
-
export NODE_PATH="/Users/cerberus/technanimals/toolbox/node_modules/.pnpm/browserslist@4.25.2/node_modules/browserslist/node_modules:/Users/cerberus/technanimals/toolbox/node_modules/.pnpm/browserslist@4.25.2/node_modules:/Users/cerberus/technanimals/toolbox/node_modules/.pnpm/node_modules"
|
|
14
|
-
else
|
|
15
|
-
export NODE_PATH="/Users/cerberus/technanimals/toolbox/node_modules/.pnpm/browserslist@4.25.2/node_modules/browserslist/node_modules:/Users/cerberus/technanimals/toolbox/node_modules/.pnpm/browserslist@4.25.2/node_modules:/Users/cerberus/technanimals/toolbox/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
16
|
-
fi
|
|
17
|
-
if [ -x "$basedir/node" ]; then
|
|
18
|
-
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/browserslist@4.25.2/node_modules/browserslist/cli.js" "$@"
|
|
19
|
-
else
|
|
20
|
-
exec node "$basedir/../../../../../node_modules/.pnpm/browserslist@4.25.2/node_modules/browserslist/cli.js" "$@"
|
|
21
|
-
fi
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
#!/bin/sh
|
|
2
|
-
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
3
|
-
|
|
4
|
-
case `uname` in
|
|
5
|
-
*CYGWIN*|*MINGW*|*MSYS*)
|
|
6
|
-
if command -v cygpath > /dev/null 2>&1; then
|
|
7
|
-
basedir=`cygpath -w "$basedir"`
|
|
8
|
-
fi
|
|
9
|
-
;;
|
|
10
|
-
esac
|
|
11
|
-
|
|
12
|
-
if [ -z "$NODE_PATH" ]; then
|
|
13
|
-
export NODE_PATH="/Users/cerberus/technanimals/toolbox/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/lib/node_modules:/Users/cerberus/technanimals/toolbox/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/node_modules:/Users/cerberus/technanimals/toolbox/node_modules/.pnpm/jiti@2.6.1/node_modules:/Users/cerberus/technanimals/toolbox/node_modules/.pnpm/node_modules"
|
|
14
|
-
else
|
|
15
|
-
export NODE_PATH="/Users/cerberus/technanimals/toolbox/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/lib/node_modules:/Users/cerberus/technanimals/toolbox/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/node_modules:/Users/cerberus/technanimals/toolbox/node_modules/.pnpm/jiti@2.6.1/node_modules:/Users/cerberus/technanimals/toolbox/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
16
|
-
fi
|
|
17
|
-
if [ -x "$basedir/node" ]; then
|
|
18
|
-
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/lib/jiti-cli.mjs" "$@"
|
|
19
|
-
else
|
|
20
|
-
exec node "$basedir/../../../../../node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/lib/jiti-cli.mjs" "$@"
|
|
21
|
-
fi
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
#!/bin/sh
|
|
2
|
-
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
3
|
-
|
|
4
|
-
case `uname` in
|
|
5
|
-
*CYGWIN*|*MINGW*|*MSYS*)
|
|
6
|
-
if command -v cygpath > /dev/null 2>&1; then
|
|
7
|
-
basedir=`cygpath -w "$basedir"`
|
|
8
|
-
fi
|
|
9
|
-
;;
|
|
10
|
-
esac
|
|
11
|
-
|
|
12
|
-
if [ -z "$NODE_PATH" ]; then
|
|
13
|
-
export NODE_PATH="/Users/cerberus/technanimals/toolbox/node_modules/.pnpm/terser@5.43.1/node_modules/terser/bin/node_modules:/Users/cerberus/technanimals/toolbox/node_modules/.pnpm/terser@5.43.1/node_modules/terser/node_modules:/Users/cerberus/technanimals/toolbox/node_modules/.pnpm/terser@5.43.1/node_modules:/Users/cerberus/technanimals/toolbox/node_modules/.pnpm/node_modules"
|
|
14
|
-
else
|
|
15
|
-
export NODE_PATH="/Users/cerberus/technanimals/toolbox/node_modules/.pnpm/terser@5.43.1/node_modules/terser/bin/node_modules:/Users/cerberus/technanimals/toolbox/node_modules/.pnpm/terser@5.43.1/node_modules/terser/node_modules:/Users/cerberus/technanimals/toolbox/node_modules/.pnpm/terser@5.43.1/node_modules:/Users/cerberus/technanimals/toolbox/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
16
|
-
fi
|
|
17
|
-
if [ -x "$basedir/node" ]; then
|
|
18
|
-
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/terser@5.43.1/node_modules/terser/bin/terser" "$@"
|
|
19
|
-
else
|
|
20
|
-
exec node "$basedir/../../../../../node_modules/.pnpm/terser@5.43.1/node_modules/terser/bin/terser" "$@"
|
|
21
|
-
fi
|
package/ui/node_modules/.bin/tsx
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
#!/bin/sh
|
|
2
|
-
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
3
|
-
|
|
4
|
-
case `uname` in
|
|
5
|
-
*CYGWIN*|*MINGW*|*MSYS*)
|
|
6
|
-
if command -v cygpath > /dev/null 2>&1; then
|
|
7
|
-
basedir=`cygpath -w "$basedir"`
|
|
8
|
-
fi
|
|
9
|
-
;;
|
|
10
|
-
esac
|
|
11
|
-
|
|
12
|
-
if [ -z "$NODE_PATH" ]; then
|
|
13
|
-
export NODE_PATH="/Users/cerberus/technanimals/toolbox/node_modules/.pnpm/tsx@4.20.6/node_modules/tsx/dist/node_modules:/Users/cerberus/technanimals/toolbox/node_modules/.pnpm/tsx@4.20.6/node_modules/tsx/node_modules:/Users/cerberus/technanimals/toolbox/node_modules/.pnpm/tsx@4.20.6/node_modules:/Users/cerberus/technanimals/toolbox/node_modules/.pnpm/node_modules"
|
|
14
|
-
else
|
|
15
|
-
export NODE_PATH="/Users/cerberus/technanimals/toolbox/node_modules/.pnpm/tsx@4.20.6/node_modules/tsx/dist/node_modules:/Users/cerberus/technanimals/toolbox/node_modules/.pnpm/tsx@4.20.6/node_modules/tsx/node_modules:/Users/cerberus/technanimals/toolbox/node_modules/.pnpm/tsx@4.20.6/node_modules:/Users/cerberus/technanimals/toolbox/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
16
|
-
fi
|
|
17
|
-
if [ -x "$basedir/node" ]; then
|
|
18
|
-
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/tsx@4.20.6/node_modules/tsx/dist/cli.mjs" "$@"
|
|
19
|
-
else
|
|
20
|
-
exec node "$basedir/../../../../../node_modules/.pnpm/tsx@4.20.6/node_modules/tsx/dist/cli.mjs" "$@"
|
|
21
|
-
fi
|