@lilt-ui/charts 0.6.0 → 0.7.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/dist/types.d.ts CHANGED
@@ -299,6 +299,12 @@ interface ChartPlotCommonProps {
299
299
  * up with a bar or candle pane synced beside it. Ignores `axisInset`.
300
300
  */
301
301
  slots?: boolean;
302
+ /**
303
+ * When a line or area has more observations than the plot has pixels, draw only each pixel
304
+ * column's first, last, lowest and highest. The ink is the same and stays fast; hover, values
305
+ * and exports still read every observation. Defaults to true.
306
+ */
307
+ decimate?: boolean;
302
308
  /** Use 'fill' to size the plot from its flex container; otherwise use a pixel height. */
303
309
  height?: number | 'fill';
304
310
  compactHeight?: number;
package/dist/watch.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { S as e, a as t, i as n, l as r, n as i, o as a, r as o, s, t as c, y as l } from "./report-context-Cz0AYdV2.js";
2
+ import { S as e, a as t, i as n, l as r, n as i, o as a, r as o, s, t as c, y as l } from "./report-context-CkzH-r8B.js";
3
3
  import { Children as u, createContext as d, isValidElement as f, useCallback as p, useContext as m, useEffect as h, useMemo as g, useReducer as ee, useRef as _, useState as v } from "react";
4
4
  import { Fragment as y, jsx as b, jsxs as x } from "react/jsx-runtime";
5
5
  import { AnimatePresence as S, motion as te } from "motion/react";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lilt-ui/charts",
3
- "version": "0.6.0",
3
+ "version": "0.7.0",
4
4
  "description": "Beautiful, key-typed React chart cards with linked hover, targets, forecasts, finance charts, and calm motion.",
5
5
  "keywords": [
6
6
  "react",