@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/CHANGELOG.md +16 -0
- package/dist/cards/cartesian-card.d.ts +7 -1
- package/dist/chart-context.d.ts +8 -1
- package/dist/chart.d.ts +1 -1
- package/dist/engine/decimate.d.ts +25 -0
- package/dist/finance.js +99 -98
- package/dist/index.js +642 -642
- package/dist/primitives/runoff.d.ts +6 -7
- package/dist/{report-context-Cz0AYdV2.js → report-context-CkzH-r8B.js} +130 -129
- package/dist/{skeleton-block-Uf1lywJi.js → skeleton-block-C110l-2a.js} +1811 -1669
- package/dist/types.d.ts +6 -0
- package/dist/watch.js +1 -1
- package/package.json +1 -1
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-
|
|
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";
|