@lilt-ui/charts 0.8.0 → 0.8.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.8.1
4
+
5
+ ### Fixes
6
+
7
+ - Data landing on a loading chart no longer flashes the finished chart before its entrance. The skeleton blurs away first, then the chart makes its usual entrance, so the two never share the plot. In 3D the flash showed a full chart for a frame; it is gone in every loading style.
8
+
3
9
  ## 0.8.0
4
10
 
5
11
  A new tooltip, a dotted y axis, a band that lights the hovered column, and a readout that never covers the marks.
@@ -89,7 +89,7 @@ export interface ChartContextValue<T> {
89
89
  revealProgress: number;
90
90
  reducedMotion: boolean;
91
91
  transitionDuration: number;
92
- transitionKind: 'initial' | 'handoff' | 'matched-update' | 'topology-update' | null;
92
+ transitionKind: 'initial' | 'matched-update' | 'topology-update' | null;
93
93
  axis: {
94
94
  x: readonly AxisTick[];
95
95
  y: readonly AxisTick[];
@@ -1,10 +1,10 @@
1
- export type LifecyclePhase = 'pending' | 'loading' | 'handoff' | 'revealing' | 'ready' | 'updating' | 'empty' | 'error';
1
+ export type LifecyclePhase = 'pending' | 'loading' | 'revealing' | 'ready' | 'updating' | 'empty' | 'error';
2
2
  export interface LifecycleGeneration {
3
3
  next: () => number;
4
4
  current: () => number;
5
5
  isCurrent: (generation: number) => boolean;
6
6
  }
7
7
  export declare function createLifecycleGeneration(): LifecycleGeneration;
8
- export declare function durationForPhase(phase: 'initial' | 'handoff' | 'matched-update' | 'topology-update', reducedMotion: boolean, animateIn?: boolean): number;
8
+ export declare function durationForPhase(phase: 'initial' | 'matched-update' | 'topology-update', reducedMotion: boolean, animateIn?: boolean): number;
9
9
  /** Preserve full data fidelity while avoiding repeated per-sample geometry tweens. */
10
10
  export declare function skipDataTweenForWorkload(sampleCount: number, millisecondsSinceLastUpdate: number): boolean;
package/dist/finance.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { A as e, C as t, I as n, J as r, L as i, P as a, Q as o, R as s, S as c, T as l, _ as u, a as d, b as f, f as p, ht as m, i as h, n as g, nt as _, ot as v, q as y, t as b, u as x, v as S, w as C, x as w, y as T, z as E } from "./skeleton-block-Bs6JLXVq.js";
2
+ import { A as e, C as t, I as n, J as r, L as i, P as a, Q as o, R as s, S as c, T as l, _ as u, a as d, b as f, f as p, ht as m, i as h, n as g, nt as _, ot as v, q as y, t as b, u as x, v as S, w as C, x as w, y as T, z as E } from "./skeleton-block-JtV7oz8b.js";
3
3
  import { S as D, d as O, g as k, h as A, p as j, u as ee } from "./report-context-CkzH-r8B.js";
4
4
  import { useEffect as M, useMemo as N, useRef as P, useState as F } from "react";
5
5
  import { Fragment as I, jsx as L, jsxs as R } from "react/jsx-runtime";
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { $ as e, A as t, B as n, C as r, D as i, E as a, F as o, G as s, H as c, I as l, J as u, K as d, L as f, M as p, N as m, O as h, Q as g, R as _, S as v, T as y, U as ee, V as te, W as b, X as x, Y as S, Z as C, _ as ne, _t as w, at as T, b as re, c as E, ct as D, d as ie, dt as O, et as k, f as A, ft as j, g as M, gt as N, h as P, ht as F, i as I, it as L, j as R, k as z, l as B, lt as V, m as ae, mt as H, n as U, o as oe, ot as W, p as se, pt as G, q as ce, r as le, rt as ue, s as de, st as fe, t as pe, tt as K, u as me, ut as he, v as ge, vt as _e, w as ve, x as q, y as ye, yt as be, z as J } from "./skeleton-block-Bs6JLXVq.js";
2
+ import { $ as e, A as t, B as n, C as r, D as i, E as a, F as o, G as s, H as c, I as l, J as u, K as d, L as f, M as p, N as m, O as h, Q as g, R as _, S as v, T as y, U as ee, V as te, W as b, X as x, Y as S, Z as C, _ as ne, _t as w, at as T, b as re, c as E, ct as D, d as ie, dt as O, et as k, f as A, ft as j, g as M, gt as N, h as P, ht as F, i as I, it as L, j as R, k as z, l as B, lt as V, m as ae, mt as H, n as U, o as oe, ot as W, p as se, pt as G, q as ce, r as le, rt as ue, s as de, st as fe, t as pe, tt as K, u as me, ut as he, v as ge, vt as _e, w as ve, x as q, y as ye, yt as be, z as J } from "./skeleton-block-JtV7oz8b.js";
3
3
  import { n as xe, t as Se } from "./chart-data-CCwLQeXa.js";
4
4
  import { S as Ce, _ as we, b as Te, c as Ee, d as De, f as Oe, g as ke, h as Ae, l as je, m as Me, p as Ne, u as Pe, x as Fe } from "./report-context-CkzH-r8B.js";
5
5
  import { a as Ie, i as Le, n as Re, r as ze, t as Be } from "./analysis-BJRmXHOB.js";