@shotleybuilder/svelte-gridlite-kit 0.4.3 → 0.4.5

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.
@@ -214,6 +214,7 @@ function cleanAgg(g) {
214
214
  };
215
215
  }
216
216
  async function rebuildGroupedQuery() {
217
+ if (validGrouping.length === 0) return;
217
218
  const querySource = query ? { source: query } : table ? { table } : null;
218
219
  if (!querySource) return;
219
220
  try {
@@ -279,6 +280,7 @@ async function rebuildGroupedQuery() {
279
280
  await fetchGroupChildren(group);
280
281
  }
281
282
  }
283
+ storeState = { ...storeState, loading: false };
282
284
  } catch (err) {
283
285
  error = err instanceof Error ? err.message : String(err);
284
286
  }
@@ -32,6 +32,7 @@
32
32
  }
33
33
 
34
34
  .gridlite-th {
35
+ position: relative;
35
36
  background: #f8f9fa;
36
37
  border-bottom: 2px solid #dee2e6;
37
38
  font-weight: 600;
@@ -752,6 +753,9 @@
752
753
 
753
754
  .gridlite-th-label {
754
755
  flex: 1;
756
+ min-width: 0;
757
+ overflow: hidden;
758
+ text-overflow: ellipsis;
755
759
  cursor: default;
756
760
  }
757
761
 
@@ -773,6 +777,7 @@
773
777
  display: inline-flex;
774
778
  align-items: center;
775
779
  justify-content: center;
780
+ flex-shrink: 0;
776
781
  padding: 2px;
777
782
  background: none;
778
783
  border: none;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shotleybuilder/svelte-gridlite-kit",
3
- "version": "0.4.3",
3
+ "version": "0.4.5",
4
4
  "description": "A SQL-native data grid component for Svelte and SvelteKit, powered by PGLite",
5
5
  "author": "Sertantai",
6
6
  "license": "MIT",