@lilt-ui/charts 0.6.0 → 0.7.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 +22 -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 +209 -208
- package/dist/index.js +2048 -2064
- 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-DvtzSsgP.js} +1835 -1670
- package/dist/types.d.ts +6 -0
- package/dist/use-chart-width.d.ts +10 -0
- package/dist/watch.js +1 -1
- package/package.json +1 -1
|
@@ -20,19 +20,17 @@ export declare function segmentEdges(edges: RunoffEdges | null, index: number, c
|
|
|
20
20
|
left?: number;
|
|
21
21
|
right?: number;
|
|
22
22
|
};
|
|
23
|
-
|
|
24
|
-
export declare function extendLinePath(segment: GeometrySegment, { left, right }: {
|
|
23
|
+
type Edges = {
|
|
25
24
|
left?: number;
|
|
26
25
|
right?: number;
|
|
27
|
-
}
|
|
26
|
+
};
|
|
27
|
+
/** One continuous line path, so the extension meets the curve without a seam. */
|
|
28
|
+
export declare function extendLinePath(segment: GeometrySegment, edges: Edges): string;
|
|
28
29
|
/**
|
|
29
30
|
* One continuous area outline. Area paths trace the upper line forward and the lower boundary
|
|
30
31
|
* back, so the extension adds flat runs at both ends of each boundary.
|
|
31
32
|
*/
|
|
32
|
-
export declare function extendAreaPath(segment: GeometrySegment,
|
|
33
|
-
left?: number;
|
|
34
|
-
right?: number;
|
|
35
|
-
}): string;
|
|
33
|
+
export declare function extendAreaPath(segment: GeometrySegment, edges: Edges): string;
|
|
36
34
|
/**
|
|
37
35
|
* A mask ID that changes with the fade geometry. Chrome can keep painting a stale, empty mask
|
|
38
36
|
* after the gradient inside it changes; a new ID forces a fresh mask on every geometry change.
|
|
@@ -47,3 +45,4 @@ export declare function RunoffFade({ id, snapshot, edges, }: {
|
|
|
47
45
|
snapshot: ChartSnapshot<unknown>;
|
|
48
46
|
edges: RunoffEdges;
|
|
49
47
|
}): ReactElement;
|
|
48
|
+
export {};
|