@spaethtech/svelte-ui 0.21.1-dev.113.5a2e853 → 0.21.1-dev.115.1af903e

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.
@@ -374,7 +374,7 @@
374
374
  </div>
375
375
  {#if hasTail}<div
376
376
  class="invisible flex shrink-0 items-center"
377
- style="width: {heightVar}"
377
+ style="width: {heightVar}; height: {heightVar}"
378
378
  aria-hidden="true"
379
379
  ></div>{/if}
380
380
  </div>
@@ -437,8 +437,10 @@ Config-driven, responsive 12-column data table over a `DataGrid`.
437
437
  standard-height row reflecting the fetch result — a **spinner + "Loading…"** while `result.loading`,
438
438
  **"No results"** once settled and empty, or the **error** (styled `--ui-color-error`) when
439
439
  `result.error` is set (a string as-is, an `Error`'s `.message`, else the localized `loadFailed`). An
440
- errored result never spins, and the row keeps its height across all three states — so you don't need
441
- a separate page banner that contradicts a "No results" table. With `localFetch`, drive this by
440
+ errored result never spins, and the row is **exactly one data row tall** in every state (its
441
+ invisible lead/tail spacers carry the control height), so the table never jumps between Loading,
442
+ rows, No results and error — and you don't need a separate page banner that contradicts a "No
443
+ results" table. (A long error wraps and grows the row; one line is the minimum, not a fixed height.) With `localFetch`, drive this by
442
444
  passing `loading`/`error` getters (below); a remote `query()` that exposes `.error` gets it for free.
443
445
  (`DataGrid.error` is the query-*parse* error surfaced by `<Query>` — a bad filter — which is distinct
444
446
  from this fetch/load error.)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spaethtech/svelte-ui",
3
- "version": "0.21.1-dev.113.5a2e853",
3
+ "version": "0.21.1-dev.115.1af903e",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/spaethtech/svelte-ui.git"