@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.
@@ -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
- /** One continuous line path, so the extension meets the curve without a seam. */
24
- export declare function extendLinePath(segment: GeometrySegment, { left, right }: {
23
+ type Edges = {
25
24
  left?: number;
26
25
  right?: number;
27
- }): string;
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, { left, right }: {
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 {};