@coinbase/cds-mobile-visualization 3.4.0-beta.9 → 3.6.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 +150 -0
- package/dts/chart/CartesianChart.d.ts +92 -7
- package/dts/chart/CartesianChart.d.ts.map +1 -1
- package/dts/chart/ChartContextBridge.d.ts.map +1 -1
- package/dts/chart/ChartProvider.d.ts +3 -0
- package/dts/chart/ChartProvider.d.ts.map +1 -1
- package/dts/chart/Path.d.ts +43 -13
- package/dts/chart/Path.d.ts.map +1 -1
- package/dts/chart/PeriodSelector.d.ts +20 -5
- package/dts/chart/PeriodSelector.d.ts.map +1 -1
- package/dts/chart/area/Area.d.ts +14 -11
- package/dts/chart/area/Area.d.ts.map +1 -1
- package/dts/chart/area/AreaChart.d.ts +33 -9
- package/dts/chart/area/AreaChart.d.ts.map +1 -1
- package/dts/chart/area/DottedArea.d.ts.map +1 -1
- package/dts/chart/area/GradientArea.d.ts.map +1 -1
- package/dts/chart/area/SolidArea.d.ts.map +1 -1
- package/dts/chart/axis/Axis.d.ts +22 -42
- package/dts/chart/axis/Axis.d.ts.map +1 -1
- package/dts/chart/axis/XAxis.d.ts +6 -0
- package/dts/chart/axis/XAxis.d.ts.map +1 -1
- package/dts/chart/axis/YAxis.d.ts +1 -0
- package/dts/chart/axis/YAxis.d.ts.map +1 -1
- package/dts/chart/bar/Bar.d.ts +59 -51
- package/dts/chart/bar/Bar.d.ts.map +1 -1
- package/dts/chart/bar/BarChart.d.ts +56 -11
- package/dts/chart/bar/BarChart.d.ts.map +1 -1
- package/dts/chart/bar/BarPlot.d.ts +2 -1
- package/dts/chart/bar/BarPlot.d.ts.map +1 -1
- package/dts/chart/bar/BarStack.d.ts +45 -20
- package/dts/chart/bar/BarStack.d.ts.map +1 -1
- package/dts/chart/bar/BarStackGroup.d.ts +2 -1
- package/dts/chart/bar/BarStackGroup.d.ts.map +1 -1
- package/dts/chart/bar/DefaultBar.d.ts.map +1 -1
- package/dts/chart/bar/DefaultBarStack.d.ts.map +1 -1
- package/dts/chart/bar/PercentageBarChart.d.ts +106 -0
- package/dts/chart/bar/PercentageBarChart.d.ts.map +1 -0
- package/dts/chart/bar/index.d.ts +1 -0
- package/dts/chart/bar/index.d.ts.map +1 -1
- package/dts/chart/gradient/Gradient.d.ts +5 -0
- package/dts/chart/gradient/Gradient.d.ts.map +1 -1
- package/dts/chart/index.d.ts +1 -0
- package/dts/chart/index.d.ts.map +1 -1
- package/dts/chart/legend/DefaultLegendEntry.d.ts +5 -0
- package/dts/chart/legend/DefaultLegendEntry.d.ts.map +1 -0
- package/dts/chart/legend/DefaultLegendShape.d.ts +5 -0
- package/dts/chart/legend/DefaultLegendShape.d.ts.map +1 -0
- package/dts/chart/legend/Legend.d.ts +168 -0
- package/dts/chart/legend/Legend.d.ts.map +1 -0
- package/dts/chart/legend/index.d.ts +4 -0
- package/dts/chart/legend/index.d.ts.map +1 -0
- package/dts/chart/line/DottedLine.d.ts.map +1 -1
- package/dts/chart/line/Line.d.ts +23 -19
- package/dts/chart/line/Line.d.ts.map +1 -1
- package/dts/chart/line/LineChart.d.ts +26 -9
- package/dts/chart/line/LineChart.d.ts.map +1 -1
- package/dts/chart/line/ReferenceLine.d.ts +1 -0
- package/dts/chart/line/ReferenceLine.d.ts.map +1 -1
- package/dts/chart/line/SolidLine.d.ts.map +1 -1
- package/dts/chart/point/Point.d.ts +26 -2
- package/dts/chart/point/Point.d.ts.map +1 -1
- package/dts/chart/scrubber/DefaultScrubberBeacon.d.ts +32 -2
- package/dts/chart/scrubber/DefaultScrubberBeacon.d.ts.map +1 -1
- package/dts/chart/scrubber/DefaultScrubberLabel.d.ts +2 -1
- package/dts/chart/scrubber/DefaultScrubberLabel.d.ts.map +1 -1
- package/dts/chart/scrubber/Scrubber.d.ts +86 -17
- package/dts/chart/scrubber/Scrubber.d.ts.map +1 -1
- package/dts/chart/scrubber/ScrubberAccessibilityView.d.ts +12 -0
- package/dts/chart/scrubber/ScrubberAccessibilityView.d.ts.map +1 -0
- package/dts/chart/scrubber/ScrubberBeaconGroup.d.ts +10 -0
- package/dts/chart/scrubber/ScrubberBeaconGroup.d.ts.map +1 -1
- package/dts/chart/scrubber/ScrubberBeaconLabelGroup.d.ts +16 -1
- package/dts/chart/scrubber/ScrubberBeaconLabelGroup.d.ts.map +1 -1
- package/dts/chart/scrubber/ScrubberProvider.d.ts.map +1 -1
- package/dts/chart/utils/axis.d.ts +45 -10
- package/dts/chart/utils/axis.d.ts.map +1 -1
- package/dts/chart/utils/bar.d.ts +195 -0
- package/dts/chart/utils/bar.d.ts.map +1 -1
- package/dts/chart/utils/chart.d.ts +32 -0
- package/dts/chart/utils/chart.d.ts.map +1 -1
- package/dts/chart/utils/context.d.ts +21 -6
- package/dts/chart/utils/context.d.ts.map +1 -1
- package/dts/chart/utils/gradient.d.ts +3 -1
- package/dts/chart/utils/gradient.d.ts.map +1 -1
- package/dts/chart/utils/path.d.ts +26 -0
- package/dts/chart/utils/path.d.ts.map +1 -1
- package/dts/chart/utils/point.d.ts +24 -12
- package/dts/chart/utils/point.d.ts.map +1 -1
- package/dts/chart/utils/scale.d.ts +11 -0
- package/dts/chart/utils/scale.d.ts.map +1 -1
- package/dts/chart/utils/scrubber.d.ts +2 -1
- package/dts/chart/utils/scrubber.d.ts.map +1 -1
- package/dts/chart/utils/transition.d.ts +63 -22
- package/dts/chart/utils/transition.d.ts.map +1 -1
- package/dts/sparkline/Sparkline.d.ts +2 -1
- package/dts/sparkline/Sparkline.d.ts.map +1 -1
- package/dts/sparkline/SparklineArea.d.ts +2 -1
- package/dts/sparkline/SparklineArea.d.ts.map +1 -1
- package/dts/sparkline/SparklineGradient.d.ts +2 -1
- package/dts/sparkline/SparklineGradient.d.ts.map +1 -1
- package/dts/sparkline/sparkline-interactive/SparklineInteractive.d.ts +2 -1
- package/dts/sparkline/sparkline-interactive/SparklineInteractive.d.ts.map +1 -1
- package/esm/chart/CartesianChart.js +176 -82
- package/esm/chart/ChartContextBridge.js +14 -3
- package/esm/chart/ChartProvider.js +2 -2
- package/esm/chart/Path.js +68 -31
- package/esm/chart/PeriodSelector.js +5 -1
- package/esm/chart/__stories__/CartesianChart.stories.js +16 -80
- package/esm/chart/__stories__/ChartAccessibility.stories.js +721 -0
- package/esm/chart/__stories__/ChartTransitions.stories.js +625 -0
- package/esm/chart/__stories__/PeriodSelector.stories.js +99 -1
- package/esm/chart/area/Area.js +21 -9
- package/esm/chart/area/AreaChart.js +18 -13
- package/esm/chart/area/DottedArea.js +28 -18
- package/esm/chart/area/GradientArea.js +14 -7
- package/esm/chart/area/SolidArea.js +6 -2
- package/esm/chart/area/__stories__/AreaChart.stories.js +47 -5
- package/esm/chart/axis/Axis.js +5 -41
- package/esm/chart/axis/XAxis.js +116 -47
- package/esm/chart/axis/YAxis.js +105 -26
- package/esm/chart/axis/__stories__/Axis.stories.js +324 -48
- package/esm/chart/bar/Bar.js +17 -15
- package/esm/chart/bar/BarChart.js +38 -33
- package/esm/chart/bar/BarPlot.js +40 -45
- package/esm/chart/bar/BarStack.js +92 -475
- package/esm/chart/bar/BarStackGroup.js +37 -27
- package/esm/chart/bar/DefaultBar.js +41 -18
- package/esm/chart/bar/DefaultBarStack.js +25 -9
- package/esm/chart/bar/PercentageBarChart.js +99 -0
- package/esm/chart/bar/__stories__/BarChart.stories.js +721 -54
- package/esm/chart/bar/__stories__/PercentageBarChart.stories.js +833 -0
- package/esm/chart/bar/index.js +1 -0
- package/esm/chart/gradient/Gradient.js +2 -1
- package/esm/chart/index.js +1 -0
- package/esm/chart/legend/DefaultLegendEntry.js +42 -0
- package/esm/chart/legend/DefaultLegendShape.js +64 -0
- package/esm/chart/legend/Legend.js +59 -0
- package/esm/chart/legend/__stories__/Legend.stories.js +574 -0
- package/esm/chart/legend/index.js +3 -0
- package/esm/chart/line/DottedLine.js +6 -2
- package/esm/chart/line/Line.js +42 -38
- package/esm/chart/line/LineChart.js +36 -12
- package/esm/chart/line/SolidLine.js +6 -2
- package/esm/chart/line/__stories__/LineChart.stories.js +236 -590
- package/esm/chart/line/__stories__/ReferenceLine.stories.js +95 -1
- package/esm/chart/point/Point.js +35 -36
- package/esm/chart/scrubber/DefaultScrubberBeacon.js +41 -38
- package/esm/chart/scrubber/DefaultScrubberLabel.js +26 -10
- package/esm/chart/scrubber/Scrubber.js +67 -35
- package/esm/chart/scrubber/ScrubberAccessibilityView.js +177 -0
- package/esm/chart/scrubber/ScrubberBeaconGroup.js +30 -22
- package/esm/chart/scrubber/ScrubberBeaconLabelGroup.js +35 -8
- package/esm/chart/scrubber/ScrubberProvider.js +29 -24
- package/esm/chart/scrubber/__stories__/Scrubber.stories.js +946 -0
- package/esm/chart/utils/axis.js +88 -44
- package/esm/chart/utils/bar.js +829 -0
- package/esm/chart/utils/chart.js +34 -7
- package/esm/chart/utils/context.js +7 -0
- package/esm/chart/utils/gradient.js +8 -4
- package/esm/chart/utils/path.js +91 -61
- package/esm/chart/utils/point.js +92 -39
- package/esm/chart/utils/scale.js +13 -2
- package/esm/chart/utils/scrubber.js +12 -5
- package/esm/chart/utils/transition.js +116 -60
- package/esm/sparkline/Sparkline.js +2 -1
- package/esm/sparkline/SparklineArea.js +2 -1
- package/esm/sparkline/SparklineGradient.js +2 -1
- package/esm/sparkline/__figma__/Sparkline.figma.js +1 -1
- package/esm/sparkline/sparkline-interactive/SparklineInteractive.js +2 -1
- package/esm/sparkline/sparkline-interactive/__figma__/SparklineInteractive.figma.js +1 -1
- package/esm/sparkline/sparkline-interactive-header/__figma__/SparklineInteractiveHeader.figma.js +1 -1
- package/esm/sparkline/sparkline-interactive-header/__stories__/SparklineInteractiveHeader.stories.js +2 -0
- package/package.json +5 -6
- package/esm/chart/__stories__/Chart.stories.js +0 -77
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import type { View } from 'react-native';
|
|
2
|
+
import type { BarChartBaseProps, BarChartProps } from './BarChart';
|
|
3
|
+
import type { BarSeries } from './BarStack';
|
|
4
|
+
/** Extended series type that supports single data values. */
|
|
5
|
+
export type PercentageBarSeries = Omit<BarSeries, 'data' | 'stackId' | 'xAxisId' | 'yAxisId'> & {
|
|
6
|
+
/**
|
|
7
|
+
* Data for this series.
|
|
8
|
+
*
|
|
9
|
+
* Can be either:
|
|
10
|
+
* - Single number: `1400`
|
|
11
|
+
* - Array of numbers: `[10, 15, 20]`
|
|
12
|
+
*/
|
|
13
|
+
data: number | Array<number | null>;
|
|
14
|
+
};
|
|
15
|
+
export type PercentageBarChartBaseProps = Omit<
|
|
16
|
+
BarChartBaseProps,
|
|
17
|
+
| 'series'
|
|
18
|
+
| 'stacked'
|
|
19
|
+
| 'layout'
|
|
20
|
+
| 'roundBaseline'
|
|
21
|
+
| 'inset'
|
|
22
|
+
| 'enableScrubbing'
|
|
23
|
+
| 'onScrubberPositionChange'
|
|
24
|
+
> & {
|
|
25
|
+
/**
|
|
26
|
+
* Configuration objects that define how to visualize the data.
|
|
27
|
+
* Each series contains its own data.
|
|
28
|
+
*/
|
|
29
|
+
series?: PercentageBarSeries[];
|
|
30
|
+
/**
|
|
31
|
+
* Chart layout - describes the direction bars/areas grow.
|
|
32
|
+
* - 'vertical': Bars grow vertically. X is category axis, Y is value axis.
|
|
33
|
+
* - 'horizontal' (default): Bars grow horizontally. Y is category axis, X is value axis.
|
|
34
|
+
* @default 'horizontal'
|
|
35
|
+
*/
|
|
36
|
+
layout?: BarChartBaseProps['layout'];
|
|
37
|
+
/**
|
|
38
|
+
* Whether to round the baseline of a bar (where the value is 0).
|
|
39
|
+
* @default true
|
|
40
|
+
*/
|
|
41
|
+
roundBaseline?: BarChartBaseProps['roundBaseline'];
|
|
42
|
+
/**
|
|
43
|
+
* Inset around the entire chart (outside the axes).
|
|
44
|
+
* @default 0
|
|
45
|
+
*/
|
|
46
|
+
inset?: BarChartBaseProps['inset'];
|
|
47
|
+
};
|
|
48
|
+
export type PercentageBarChartProps = PercentageBarChartBaseProps &
|
|
49
|
+
Omit<
|
|
50
|
+
BarChartProps,
|
|
51
|
+
| 'series'
|
|
52
|
+
| 'stacked'
|
|
53
|
+
| 'layout'
|
|
54
|
+
| 'roundBaseline'
|
|
55
|
+
| 'inset'
|
|
56
|
+
| 'enableScrubbing'
|
|
57
|
+
| 'onScrubberPositionChange'
|
|
58
|
+
>;
|
|
59
|
+
export declare const PercentageBarChart: import('react').MemoExoticComponent<
|
|
60
|
+
import('react').ForwardRefExoticComponent<
|
|
61
|
+
Omit<
|
|
62
|
+
BarChartBaseProps,
|
|
63
|
+
| 'inset'
|
|
64
|
+
| 'layout'
|
|
65
|
+
| 'series'
|
|
66
|
+
| 'roundBaseline'
|
|
67
|
+
| 'enableScrubbing'
|
|
68
|
+
| 'onScrubberPositionChange'
|
|
69
|
+
| 'stacked'
|
|
70
|
+
> & {
|
|
71
|
+
/**
|
|
72
|
+
* Configuration objects that define how to visualize the data.
|
|
73
|
+
* Each series contains its own data.
|
|
74
|
+
*/
|
|
75
|
+
series?: PercentageBarSeries[];
|
|
76
|
+
/**
|
|
77
|
+
* Chart layout - describes the direction bars/areas grow.
|
|
78
|
+
* - 'vertical': Bars grow vertically. X is category axis, Y is value axis.
|
|
79
|
+
* - 'horizontal' (default): Bars grow horizontally. Y is category axis, X is value axis.
|
|
80
|
+
* @default 'horizontal'
|
|
81
|
+
*/
|
|
82
|
+
layout?: BarChartBaseProps['layout'];
|
|
83
|
+
/**
|
|
84
|
+
* Whether to round the baseline of a bar (where the value is 0).
|
|
85
|
+
* @default true
|
|
86
|
+
*/
|
|
87
|
+
roundBaseline?: BarChartBaseProps['roundBaseline'];
|
|
88
|
+
/**
|
|
89
|
+
* Inset around the entire chart (outside the axes).
|
|
90
|
+
* @default 0
|
|
91
|
+
*/
|
|
92
|
+
inset?: BarChartBaseProps['inset'];
|
|
93
|
+
} & Omit<
|
|
94
|
+
BarChartProps,
|
|
95
|
+
| 'inset'
|
|
96
|
+
| 'layout'
|
|
97
|
+
| 'series'
|
|
98
|
+
| 'roundBaseline'
|
|
99
|
+
| 'enableScrubbing'
|
|
100
|
+
| 'onScrubberPositionChange'
|
|
101
|
+
| 'stacked'
|
|
102
|
+
> &
|
|
103
|
+
import('react').RefAttributes<View>
|
|
104
|
+
>
|
|
105
|
+
>;
|
|
106
|
+
//# sourceMappingURL=PercentageBarChart.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PercentageBarChart.d.ts","sourceRoot":"","sources":["../../../src/chart/bar/PercentageBarChart.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEzC,OAAO,KAAK,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAEnE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAE5C,6DAA6D;AAC7D,MAAM,MAAM,mBAAmB,GAAG,IAAI,CAAC,SAAS,EAAE,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,CAAC,GAAG;IAC9F;;;;;;OAMG;IACH,IAAI,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;CACrC,CAAC;AAEF,MAAM,MAAM,2BAA2B,GAAG,IAAI,CAC5C,iBAAiB,EACf,QAAQ,GACR,SAAS,GACT,QAAQ,GACR,eAAe,GACf,OAAO,GACP,iBAAiB,GACjB,0BAA0B,CAC7B,GAAG;IACF;;;OAGG;IACH,MAAM,CAAC,EAAE,mBAAmB,EAAE,CAAC;IAC/B;;;;;OAKG;IACH,MAAM,CAAC,EAAE,iBAAiB,CAAC,QAAQ,CAAC,CAAC;IACrC;;;OAGG;IACH,aAAa,CAAC,EAAE,iBAAiB,CAAC,eAAe,CAAC,CAAC;IACnD;;;OAGG;IACH,KAAK,CAAC,EAAE,iBAAiB,CAAC,OAAO,CAAC,CAAC;CACpC,CAAC;AAgBF,MAAM,MAAM,uBAAuB,GAAG,2BAA2B,GAC/D,IAAI,CACF,aAAa,EACX,QAAQ,GACR,SAAS,GACT,QAAQ,GACR,eAAe,GACf,OAAO,GACP,iBAAiB,GACjB,0BAA0B,CAC7B,CAAC;AAEJ,eAAO,MAAM,kBAAkB;IAlD7B;;;OAGG;aACM,mBAAmB,EAAE;IAC9B;;;;;OAKG;aACM,iBAAiB,CAAC,QAAQ,CAAC;IACpC;;;OAGG;oBACa,iBAAiB,CAAC,eAAe,CAAC;IAClD;;;OAGG;YACK,iBAAiB,CAAC,OAAO,CAAC;6KAoGnC,CAAC"}
|
package/dts/chart/bar/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/chart/bar/index.ts"],"names":[],"mappings":"AACA,cAAc,OAAO,CAAC;AACtB,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/chart/bar/index.ts"],"names":[],"mappings":"AACA,cAAc,OAAO,CAAC;AACtB,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC"}
|
|
@@ -4,6 +4,11 @@ export type GradientBaseProps = {
|
|
|
4
4
|
* Gradient definition with stops, axis, and other configuration.
|
|
5
5
|
*/
|
|
6
6
|
gradient: GradientDefinition;
|
|
7
|
+
/**
|
|
8
|
+
* X-axis ID to use for gradient processing.
|
|
9
|
+
* When provided, the gradient will align with the specified x-axis range.
|
|
10
|
+
*/
|
|
11
|
+
xAxisId?: string;
|
|
7
12
|
/**
|
|
8
13
|
* Y-axis ID to use for gradient processing.
|
|
9
14
|
* When provided, the gradient will align with the specified y-axis range.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Gradient.d.ts","sourceRoot":"","sources":["../../../src/chart/gradient/Gradient.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAGnD,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;OAEG;IACH,QAAQ,EAAE,kBAAkB,CAAC;IAC7B;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG,iBAAiB,CAAC;AAE9C;;;;;;;;GAQG;AACH,eAAO,MAAM,QAAQ,yDA8BnB,CAAC"}
|
|
1
|
+
{"version":3,"file":"Gradient.d.ts","sourceRoot":"","sources":["../../../src/chart/gradient/Gradient.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAGnD,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;OAEG;IACH,QAAQ,EAAE,kBAAkB,CAAC;IAC7B;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG,iBAAiB,CAAC;AAE9C;;;;;;;;GAQG;AACH,eAAO,MAAM,QAAQ,yDA8BnB,CAAC"}
|
package/dts/chart/index.d.ts
CHANGED
package/dts/chart/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/chart/index.ts"],"names":[],"mappings":"AACA,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,OAAO,CAAC;AACtB,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,kBAAkB,CAAC;AACjC,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/chart/index.ts"],"names":[],"mappings":"AACA,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,OAAO,CAAC;AACtB,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,kBAAkB,CAAC;AACjC,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { type HStackProps } from '@coinbase/cds-mobile/layout';
|
|
2
|
+
import type { LegendEntryProps } from './Legend';
|
|
3
|
+
export type DefaultLegendEntryProps = LegendEntryProps & Omit<HStackProps, 'children' | 'color'>;
|
|
4
|
+
export declare const DefaultLegendEntry: import('react').NamedExoticComponent<DefaultLegendEntryProps>;
|
|
5
|
+
//# sourceMappingURL=DefaultLegendEntry.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DefaultLegendEntry.d.ts","sourceRoot":"","sources":["../../../src/chart/legend/DefaultLegendEntry.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAIvE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAQjD,MAAM,MAAM,uBAAuB,GAAG,gBAAgB,GAAG,IAAI,CAAC,WAAW,EAAE,UAAU,GAAG,OAAO,CAAC,CAAC;AAEjG,eAAO,MAAM,kBAAkB,+DA8B9B,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { type BoxProps } from '@coinbase/cds-mobile/layout';
|
|
2
|
+
import type { LegendShapeProps } from './Legend';
|
|
3
|
+
export type DefaultLegendShapeProps = LegendShapeProps & Omit<BoxProps, 'children' | 'color'>;
|
|
4
|
+
export declare const DefaultLegendShape: import('react').NamedExoticComponent<DefaultLegendShapeProps>;
|
|
5
|
+
//# sourceMappingURL=DefaultLegendShape.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DefaultLegendShape.d.ts","sourceRoot":"","sources":["../../../src/chart/legend/DefaultLegendShape.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAIjE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAwCjD,MAAM,MAAM,uBAAuB,GAAG,gBAAgB,GAAG,IAAI,CAAC,QAAQ,EAAE,UAAU,GAAG,OAAO,CAAC,CAAC;AAE9F,eAAO,MAAM,kBAAkB,+DAc9B,CAAC"}
|
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
import type { StyleProp, View, ViewStyle } from 'react-native';
|
|
2
|
+
import { type BoxBaseProps, type BoxProps } from '@coinbase/cds-mobile/layout';
|
|
3
|
+
import type { LegendShape } from '../utils';
|
|
4
|
+
export type LegendShapeProps = {
|
|
5
|
+
/**
|
|
6
|
+
* Color of the legend shape.
|
|
7
|
+
* @default theme.color.fgPrimary
|
|
8
|
+
*/
|
|
9
|
+
color?: string;
|
|
10
|
+
/**
|
|
11
|
+
* Shape to display. Can be a preset shape or a custom ReactNode.
|
|
12
|
+
* @default 'circle'
|
|
13
|
+
*/
|
|
14
|
+
shape?: LegendShape;
|
|
15
|
+
/**
|
|
16
|
+
* Custom styles for the shape element.
|
|
17
|
+
*/
|
|
18
|
+
style?: StyleProp<ViewStyle>;
|
|
19
|
+
};
|
|
20
|
+
export type LegendShapeComponent = React.FC<LegendShapeProps>;
|
|
21
|
+
export type LegendEntryProps = {
|
|
22
|
+
/**
|
|
23
|
+
* Id of the series.
|
|
24
|
+
*/
|
|
25
|
+
seriesId: string;
|
|
26
|
+
/**
|
|
27
|
+
* Label of the series.
|
|
28
|
+
* If a ReactNode is provided, it replaces the default Text component.
|
|
29
|
+
*/
|
|
30
|
+
label: React.ReactNode;
|
|
31
|
+
/**
|
|
32
|
+
* Color of the series.
|
|
33
|
+
* @default theme.color.fgPrimary
|
|
34
|
+
*/
|
|
35
|
+
color?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Shape of the series.
|
|
38
|
+
*/
|
|
39
|
+
shape?: LegendShape;
|
|
40
|
+
/**
|
|
41
|
+
* Custom component to render the legend shape.
|
|
42
|
+
* @default DefaultLegendShape
|
|
43
|
+
*/
|
|
44
|
+
ShapeComponent?: LegendShapeComponent;
|
|
45
|
+
/**
|
|
46
|
+
* Custom styles for the root element.
|
|
47
|
+
*/
|
|
48
|
+
style?: StyleProp<ViewStyle>;
|
|
49
|
+
/**
|
|
50
|
+
* Custom styles for the component parts.
|
|
51
|
+
*/
|
|
52
|
+
styles?: {
|
|
53
|
+
/**
|
|
54
|
+
* Custom styles for the root element.
|
|
55
|
+
*/
|
|
56
|
+
root?: StyleProp<ViewStyle>;
|
|
57
|
+
/**
|
|
58
|
+
* Custom styles for the shape element.
|
|
59
|
+
*/
|
|
60
|
+
shape?: StyleProp<ViewStyle>;
|
|
61
|
+
/**
|
|
62
|
+
* Custom styles for the label element.
|
|
63
|
+
* @note not applied when label is a ReactNode.
|
|
64
|
+
*/
|
|
65
|
+
label?: StyleProp<ViewStyle>;
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
export type LegendEntryComponent = React.FC<LegendEntryProps>;
|
|
69
|
+
export type LegendBaseProps = Omit<BoxBaseProps, 'children'> & {
|
|
70
|
+
/**
|
|
71
|
+
* Array of series IDs to display in the legend.
|
|
72
|
+
* By default, all series will be displayed.
|
|
73
|
+
*/
|
|
74
|
+
seriesIds?: string[];
|
|
75
|
+
/**
|
|
76
|
+
* Custom component to render each legend entry.
|
|
77
|
+
* @default DefaultLegendEntry
|
|
78
|
+
*/
|
|
79
|
+
EntryComponent?: LegendEntryComponent;
|
|
80
|
+
/**
|
|
81
|
+
* Custom component to render the legend shape within each entry.
|
|
82
|
+
* Only used when EntryComponent is not provided or is DefaultLegendEntry.
|
|
83
|
+
* @default DefaultLegendShape
|
|
84
|
+
*/
|
|
85
|
+
ShapeComponent?: LegendShapeComponent;
|
|
86
|
+
/**
|
|
87
|
+
* Accessibility label for the legend group.
|
|
88
|
+
* @default 'Legend'
|
|
89
|
+
*/
|
|
90
|
+
accessibilityLabel?: string;
|
|
91
|
+
};
|
|
92
|
+
export type LegendProps = Omit<BoxProps, 'children'> &
|
|
93
|
+
LegendBaseProps & {
|
|
94
|
+
/**
|
|
95
|
+
* Custom styles for the component parts.
|
|
96
|
+
*/
|
|
97
|
+
styles?: {
|
|
98
|
+
/**
|
|
99
|
+
* Custom styles for the root element.
|
|
100
|
+
*/
|
|
101
|
+
root?: StyleProp<ViewStyle>;
|
|
102
|
+
/**
|
|
103
|
+
* Custom styles for each entry element.
|
|
104
|
+
*/
|
|
105
|
+
entry?: StyleProp<ViewStyle>;
|
|
106
|
+
/**
|
|
107
|
+
* Custom styles for the shape element within each entry.
|
|
108
|
+
*/
|
|
109
|
+
entryShape?: StyleProp<ViewStyle>;
|
|
110
|
+
/**
|
|
111
|
+
* Custom styles for the label element within each entry.
|
|
112
|
+
* @note not applied when label is a ReactNode.
|
|
113
|
+
*/
|
|
114
|
+
entryLabel?: StyleProp<ViewStyle>;
|
|
115
|
+
};
|
|
116
|
+
};
|
|
117
|
+
export declare const Legend: import('react').MemoExoticComponent<
|
|
118
|
+
import('react').ForwardRefExoticComponent<
|
|
119
|
+
Omit<BoxProps, 'children'> &
|
|
120
|
+
Omit<BoxBaseProps, 'children'> & {
|
|
121
|
+
/**
|
|
122
|
+
* Array of series IDs to display in the legend.
|
|
123
|
+
* By default, all series will be displayed.
|
|
124
|
+
*/
|
|
125
|
+
seriesIds?: string[];
|
|
126
|
+
/**
|
|
127
|
+
* Custom component to render each legend entry.
|
|
128
|
+
* @default DefaultLegendEntry
|
|
129
|
+
*/
|
|
130
|
+
EntryComponent?: LegendEntryComponent;
|
|
131
|
+
/**
|
|
132
|
+
* Custom component to render the legend shape within each entry.
|
|
133
|
+
* Only used when EntryComponent is not provided or is DefaultLegendEntry.
|
|
134
|
+
* @default DefaultLegendShape
|
|
135
|
+
*/
|
|
136
|
+
ShapeComponent?: LegendShapeComponent;
|
|
137
|
+
/**
|
|
138
|
+
* Accessibility label for the legend group.
|
|
139
|
+
* @default 'Legend'
|
|
140
|
+
*/
|
|
141
|
+
accessibilityLabel?: string;
|
|
142
|
+
} & {
|
|
143
|
+
/**
|
|
144
|
+
* Custom styles for the component parts.
|
|
145
|
+
*/
|
|
146
|
+
styles?: {
|
|
147
|
+
/**
|
|
148
|
+
* Custom styles for the root element.
|
|
149
|
+
*/
|
|
150
|
+
root?: StyleProp<ViewStyle>;
|
|
151
|
+
/**
|
|
152
|
+
* Custom styles for each entry element.
|
|
153
|
+
*/
|
|
154
|
+
entry?: StyleProp<ViewStyle>;
|
|
155
|
+
/**
|
|
156
|
+
* Custom styles for the shape element within each entry.
|
|
157
|
+
*/
|
|
158
|
+
entryShape?: StyleProp<ViewStyle>;
|
|
159
|
+
/**
|
|
160
|
+
* Custom styles for the label element within each entry.
|
|
161
|
+
* @note not applied when label is a ReactNode.
|
|
162
|
+
*/
|
|
163
|
+
entryLabel?: StyleProp<ViewStyle>;
|
|
164
|
+
};
|
|
165
|
+
} & import('react').RefAttributes<View>
|
|
166
|
+
>
|
|
167
|
+
>;
|
|
168
|
+
//# sourceMappingURL=Legend.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"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"index.d.ts","sourceRoot":"","sources":["../../../src/chart/legend/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,UAAU,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DottedLine.d.ts","sourceRoot":"","sources":["../../../src/chart/line/DottedLine.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,SAAS,CAAC;AAE/C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,QAAQ,CAAC;AAEjD,MAAM,MAAM,eAAe,GAAG,IAAI,CAChC,SAAS,EACT,aAAa,GAAG,UAAU,GAAG,WAAW,GAAG,YAAY,GAAG,UAAU,GAAG,UAAU,GAAG,YAAY,CACjG,GACC,kBAAkB,GAAG;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;CAC1B,CAAC;AAEJ;;;GAGG;AACH,eAAO,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"DottedLine.d.ts","sourceRoot":"","sources":["../../../src/chart/line/DottedLine.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,SAAS,CAAC;AAE/C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,QAAQ,CAAC;AAEjD,MAAM,MAAM,eAAe,GAAG,IAAI,CAChC,SAAS,EACT,aAAa,GAAG,UAAU,GAAG,WAAW,GAAG,YAAY,GAAG,UAAU,GAAG,UAAU,GAAG,YAAY,CACjG,GACC,kBAAkB,GAAG;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;CAC1B,CAAC;AAEJ;;;GAGG;AACH,eAAO,MAAM,UAAU,uDAwCtB,CAAC"}
|
package/dts/chart/line/Line.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { type AnimatedProp } from '@shopify/react-native-skia';
|
|
3
3
|
import { type AreaComponent } from '../area/Area';
|
|
4
|
+
import type { PathProps } from '../Path';
|
|
4
5
|
import { type PointBaseProps, type PointProps } from '../point';
|
|
5
|
-
import { type ChartPathCurveType, type GradientDefinition
|
|
6
|
+
import { type ChartPathCurveType, type GradientDefinition } from '../utils';
|
|
6
7
|
export type LineBaseProps = {
|
|
7
8
|
/**
|
|
8
9
|
* The ID of the series to render. Will be used to find the data from the chart context.
|
|
@@ -90,26 +91,29 @@ export type LineBaseProps = {
|
|
|
90
91
|
*/
|
|
91
92
|
animate?: boolean;
|
|
92
93
|
};
|
|
93
|
-
export type LineProps = LineBaseProps &
|
|
94
|
-
/**
|
|
95
|
-
* Transition configuration for line animations.
|
|
96
|
-
*/
|
|
97
|
-
transition?: Transition;
|
|
98
|
-
};
|
|
94
|
+
export type LineProps = LineBaseProps & Pick<PathProps, 'transitions' | 'transition'>;
|
|
99
95
|
export type LineComponentProps = Pick<
|
|
100
96
|
LineProps,
|
|
101
|
-
'stroke' | 'strokeOpacity' | 'strokeWidth' | 'gradient' | 'animate' | 'transition'
|
|
102
|
-
> &
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
97
|
+
'stroke' | 'strokeOpacity' | 'strokeWidth' | 'gradient' | 'animate' | 'transitions' | 'transition'
|
|
98
|
+
> &
|
|
99
|
+
Pick<PathProps, 'clipPath' | 'strokeCap'> & {
|
|
100
|
+
/**
|
|
101
|
+
* Path of the line
|
|
102
|
+
*/
|
|
103
|
+
d: AnimatedProp<string | undefined>;
|
|
104
|
+
/**
|
|
105
|
+
* ID of the x-axis to use.
|
|
106
|
+
* If not provided, defaults to the default x-axis.
|
|
107
|
+
* @note Only used for axis selection when layout is 'horizontal'. Vertical layout uses a single x-axis.
|
|
108
|
+
*/
|
|
109
|
+
xAxisId?: string;
|
|
110
|
+
/**
|
|
111
|
+
* ID of the y-axis to use.
|
|
112
|
+
* If not provided, defaults to the default y-axis.
|
|
113
|
+
* @note Only used for axis selection when layout is 'vertical'. Horizontal layout supports a single y-axis.
|
|
114
|
+
*/
|
|
115
|
+
yAxisId?: string;
|
|
116
|
+
};
|
|
113
117
|
export type LineComponent = React.FC<LineComponentProps>;
|
|
114
118
|
export declare const Line: React.NamedExoticComponent<LineProps>;
|
|
115
119
|
//# sourceMappingURL=Line.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Line.d.ts","sourceRoot":"","sources":["../../../src/chart/line/Line.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"Line.d.ts","sourceRoot":"","sources":["../../../src/chart/line/Line.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAwB,MAAM,OAAO,CAAC;AAE7C,OAAO,EAAE,KAAK,YAAY,EAAS,MAAM,4BAA4B,CAAC;AAEtE,OAAO,EAAQ,KAAK,aAAa,EAAE,MAAM,cAAc,CAAC;AAExD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACzC,OAAO,EAAS,KAAK,cAAc,EAAE,KAAK,UAAU,EAAE,MAAM,UAAU,CAAC;AACvE,OAAO,EACL,KAAK,kBAAkB,EAGvB,KAAK,kBAAkB,EACxB,MAAM,UAAU,CAAC;AAOlB,MAAM,MAAM,aAAa,GAAG;IAC1B;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;OAGG;IACH,KAAK,CAAC,EAAE,kBAAkB,CAAC;IAC3B;;;OAGG;IACH,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC;IAC1B;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;OAGG;IACH,QAAQ,CAAC,EAAE,UAAU,GAAG,OAAO,GAAG,QAAQ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E,CAAC,kBAAkB,CAAC,CAAC;AAEzD,eAAO,MAAM,IAAI,uCAqOhB,CAAC"}
|
|
@@ -2,7 +2,7 @@ import type { View } from 'react-native';
|
|
|
2
2
|
import { type XAxisProps } from '../axis/XAxis';
|
|
3
3
|
import { type YAxisProps } from '../axis/YAxis';
|
|
4
4
|
import { type CartesianChartBaseProps, type CartesianChartProps } from '../CartesianChart';
|
|
5
|
-
import { type
|
|
5
|
+
import { type CartesianAxisConfigProps, type Series } from '../utils';
|
|
6
6
|
import { type LineProps } from './Line';
|
|
7
7
|
export type LineSeries = Series &
|
|
8
8
|
Partial<
|
|
@@ -22,6 +22,7 @@ export type LineSeries = Series &
|
|
|
22
22
|
| 'points'
|
|
23
23
|
| 'connectNulls'
|
|
24
24
|
| 'transition'
|
|
25
|
+
| 'transitions'
|
|
25
26
|
>
|
|
26
27
|
>;
|
|
27
28
|
export type LineChartBaseProps = Omit<CartesianChartBaseProps, 'xAxis' | 'yAxis' | 'series'> &
|
|
@@ -38,6 +39,7 @@ export type LineChartBaseProps = Omit<CartesianChartBaseProps, 'xAxis' | 'yAxis'
|
|
|
38
39
|
| 'strokeOpacity'
|
|
39
40
|
| 'connectNulls'
|
|
40
41
|
| 'transition'
|
|
42
|
+
| 'transitions'
|
|
41
43
|
| 'opacity'
|
|
42
44
|
> & {
|
|
43
45
|
/**
|
|
@@ -58,16 +60,22 @@ export type LineChartBaseProps = Omit<CartesianChartBaseProps, 'xAxis' | 'yAxis'
|
|
|
58
60
|
* Accepts axis config and axis props.
|
|
59
61
|
* To show the axis, set `showXAxis` to true.
|
|
60
62
|
*/
|
|
61
|
-
xAxis?: Partial<
|
|
63
|
+
xAxis?: Partial<CartesianAxisConfigProps> & XAxisProps;
|
|
62
64
|
/**
|
|
63
65
|
* Configuration for y-axis.
|
|
64
66
|
* Accepts axis config and axis props.
|
|
65
67
|
* To show the axis, set `showYAxis` to true.
|
|
66
68
|
*/
|
|
67
|
-
yAxis?: Partial<
|
|
69
|
+
yAxis?: Partial<CartesianAxisConfigProps> & YAxisProps;
|
|
68
70
|
};
|
|
69
71
|
export type LineChartProps = LineChartBaseProps &
|
|
70
|
-
Omit<CartesianChartProps, 'xAxis' | 'yAxis' | 'series'
|
|
72
|
+
Omit<CartesianChartProps, 'xAxis' | 'yAxis' | 'series' | 'scrubberAccessibilityLabelStep'> & {
|
|
73
|
+
/**
|
|
74
|
+
* Number of data points to move between screen-reader samples.
|
|
75
|
+
* @default Computed from data length (targeting 10 samples)
|
|
76
|
+
*/
|
|
77
|
+
scrubberAccessibilityLabelStep?: number;
|
|
78
|
+
};
|
|
71
79
|
export declare const LineChart: import('react').MemoExoticComponent<
|
|
72
80
|
import('react').ForwardRefExoticComponent<
|
|
73
81
|
Omit<CartesianChartBaseProps, 'series' | 'xAxis' | 'yAxis'> &
|
|
@@ -76,9 +84,10 @@ export declare const LineChart: import('react').MemoExoticComponent<
|
|
|
76
84
|
| 'type'
|
|
77
85
|
| 'opacity'
|
|
78
86
|
| 'strokeWidth'
|
|
87
|
+
| 'transitions'
|
|
88
|
+
| 'transition'
|
|
79
89
|
| 'curve'
|
|
80
90
|
| 'connectNulls'
|
|
81
|
-
| 'transition'
|
|
82
91
|
| 'strokeOpacity'
|
|
83
92
|
| 'AreaComponent'
|
|
84
93
|
| 'showArea'
|
|
@@ -104,15 +113,23 @@ export declare const LineChart: import('react').MemoExoticComponent<
|
|
|
104
113
|
* Accepts axis config and axis props.
|
|
105
114
|
* To show the axis, set `showXAxis` to true.
|
|
106
115
|
*/
|
|
107
|
-
xAxis?: Partial<
|
|
116
|
+
xAxis?: Partial<CartesianAxisConfigProps> & XAxisProps;
|
|
108
117
|
/**
|
|
109
118
|
* Configuration for y-axis.
|
|
110
119
|
* Accepts axis config and axis props.
|
|
111
120
|
* To show the axis, set `showYAxis` to true.
|
|
112
121
|
*/
|
|
113
|
-
yAxis?: Partial<
|
|
114
|
-
} & Omit<
|
|
115
|
-
|
|
122
|
+
yAxis?: Partial<CartesianAxisConfigProps> & YAxisProps;
|
|
123
|
+
} & Omit<
|
|
124
|
+
CartesianChartProps,
|
|
125
|
+
'series' | 'xAxis' | 'yAxis' | 'scrubberAccessibilityLabelStep'
|
|
126
|
+
> & {
|
|
127
|
+
/**
|
|
128
|
+
* Number of data points to move between screen-reader samples.
|
|
129
|
+
* @default Computed from data length (targeting 10 samples)
|
|
130
|
+
*/
|
|
131
|
+
scrubberAccessibilityLabelStep?: number;
|
|
132
|
+
} & import('react').RefAttributes<View>
|
|
116
133
|
>
|
|
117
134
|
>;
|
|
118
135
|
//# sourceMappingURL=LineChart.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LineChart.d.ts","sourceRoot":"","sources":["../../../src/chart/line/LineChart.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEzC,OAAO,EAAS,KAAK,UAAU,EAAE,MAAM,eAAe,CAAC;AACvD,OAAO,EAAS,KAAK,UAAU,EAAE,MAAM,eAAe,CAAC;AACvD,OAAO,EAEL,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACzB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,KAAK,
|
|
1
|
+
{"version":3,"file":"LineChart.d.ts","sourceRoot":"","sources":["../../../src/chart/line/LineChart.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEzC,OAAO,EAAS,KAAK,UAAU,EAAE,MAAM,eAAe,CAAC;AACvD,OAAO,EAAS,KAAK,UAAU,EAAE,MAAM,eAAe,CAAC;AACvD,OAAO,EAEL,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACzB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,KAAK,wBAAwB,EAAE,KAAK,MAAM,EAAE,MAAM,UAAU,CAAC;AAEtE,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,QAAQ,CAAC;AAU9C,MAAM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AAU;IACtD;;;;OAIG;YACK,OAAO,CAAC,wBAAwB,CAAC,GAAG,UAAU;;IAKtD;;;OAGG;qCAC8B,MAAM;yCA+I1C,CAAC"}
|
|
@@ -111,6 +111,7 @@ type HorizontalReferenceLineProps = ReferenceLineBaseProps & {
|
|
|
111
111
|
/**
|
|
112
112
|
* The ID of the y-axis to use for positioning.
|
|
113
113
|
* Defaults to defaultAxisId if not specified.
|
|
114
|
+
* @note Only used for axis selection when layout is 'vertical'. Horizontal layout supports a single y-axis.
|
|
114
115
|
*/
|
|
115
116
|
yAxisId?: string;
|
|
116
117
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReferenceLine.d.ts","sourceRoot":"","sources":["../../../src/chart/line/ReferenceLine.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAG/D,OAAO,KAAK,EACV,iBAAiB,EACjB,cAAc,EACd,uBAAuB,EACvB,qBAAqB,EACtB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAM3C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAE5C,MAAM,MAAM,gCAAgC,GAAG,IAAI,CACjD,cAAc,EACZ,GAAG,GACH,GAAG,GACH,UAAU,GACV,OAAO,GACP,OAAO,GACP,YAAY,GACZ,cAAc,GACd,sBAAsB,GACtB,qBAAqB,GACrB,mBAAmB,GACnB,MAAM,GACN,YAAY,GACZ,cAAc,GACd,SAAS,GACT,IAAI,GACJ,IAAI,GACJ,UAAU,GACV,oBAAoB,CACvB,GAAG;IACF;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,UAAU,CAAC;CACnC,CAAC;AAEF,MAAM,MAAM,2BAA2B,GAAG,KAAK,CAAC,EAAE,CAAC,gCAAgC,CAAC,CAAC;AAErF,MAAM,MAAM,sBAAsB,GAAG;IACnC;;;;;;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C,EAAE,uBAAuB,CAAC;IACxC,KAAK,CAAC,EAAE,KAAK,CAAC;CACf,CAAC;AAEF,KAAK,0BAA0B,GAAG,sBAAsB,GAAG;IACzD;;OAEG;IACH,KAAK,EAAE,YAAY,CAAC,MAAM,CAAC,CAAC;IAC5B;;;OAGG;IACH,aAAa,CAAC,EAAE,qBAAqB,CAAC;IACtC,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,OAAO,CAAC,EAAE,KAAK,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,4BAA4B,GAAG,0BAA0B,CAAC;AAE3F,eAAO,MAAM,aAAa,0DAiJzB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SolidLine.d.ts","sourceRoot":"","sources":["../../../src/chart/line/SolidLine.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,SAAS,CAAC;AAE/C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,QAAQ,CAAC;AAEjD,MAAM,MAAM,cAAc,GAAG,IAAI,CAC/B,SAAS,EACT,aAAa,GAAG,UAAU,GAAG,WAAW,GAAG,YAAY,GAAG,UAAU,GAAG,UAAU,GAAG,YAAY,CACjG,GACC,kBAAkB,GAAG;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEJ;;;GAGG;AACH,eAAO,MAAM,SAAS,
|
|
1
|
+
{"version":3,"file":"SolidLine.d.ts","sourceRoot":"","sources":["../../../src/chart/line/SolidLine.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,SAAS,CAAC;AAE/C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,QAAQ,CAAC;AAEjD,MAAM,MAAM,cAAc,GAAG,IAAI,CAC/B,SAAS,EACT,aAAa,GAAG,UAAU,GAAG,WAAW,GAAG,YAAY,GAAG,UAAU,GAAG,UAAU,GAAG,YAAY,CACjG,GACC,kBAAkB,GAAG;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEJ;;;GAGG;AACH,eAAO,MAAM,SAAS,sDAsCrB,CAAC"}
|
|
@@ -19,8 +19,15 @@ export type PointBaseProps = {
|
|
|
19
19
|
/**
|
|
20
20
|
* Optional Y-axis id to specify which axis to plot along.
|
|
21
21
|
* @default first y-axis defined in chart props.
|
|
22
|
+
* @note Only used for axis selection when layout is 'vertical'. Horizontal layout supports a single y-axis.
|
|
22
23
|
*/
|
|
23
24
|
yAxisId?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Optional X-axis id to specify which axis to plot along.
|
|
27
|
+
* @default first x-axis defined in chart props.
|
|
28
|
+
* @note Only used for axis selection when layout is 'horizontal'. Vertical layout uses a single x-axis.
|
|
29
|
+
*/
|
|
30
|
+
xAxisId?: string;
|
|
24
31
|
/**
|
|
25
32
|
* Radius of the point.
|
|
26
33
|
* @default 5
|
|
@@ -111,8 +118,25 @@ export type PointProps = PointBaseProps & {
|
|
|
111
118
|
*/
|
|
112
119
|
label?: ChartTextChildren;
|
|
113
120
|
/**
|
|
114
|
-
* Transition configuration for
|
|
115
|
-
*
|
|
121
|
+
* Transition configuration for enter and update animations.
|
|
122
|
+
* @note Disable an animation by passing in null.
|
|
123
|
+
*/
|
|
124
|
+
transitions?: {
|
|
125
|
+
/**
|
|
126
|
+
* Transition for the initial enter/reveal animation.
|
|
127
|
+
* Set to `null` to disable.
|
|
128
|
+
*/
|
|
129
|
+
enter?: Transition | null;
|
|
130
|
+
/**
|
|
131
|
+
* Transition for subsequent data update animations.
|
|
132
|
+
* Set to `null` to disable.
|
|
133
|
+
*/
|
|
134
|
+
update?: Transition | null;
|
|
135
|
+
};
|
|
136
|
+
/**
|
|
137
|
+
* Transition for updates.
|
|
138
|
+
* @deprecated Use `transitions.update` instead. This will be removed in a future major release.
|
|
139
|
+
* @deprecationExpectedRemoval v4
|
|
116
140
|
*/
|
|
117
141
|
transition?: Transition;
|
|
118
142
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Point.d.ts","sourceRoot":"","sources":["../../../src/chart/point/Point.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,aAAa,EAA4B,MAAM,OAAO,CAAC;AAOrE,OAAO,KAAK,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAC3E,OAAO,EAAE,KAAK,kBAAkB,EAAgB,MAAM,UAAU,CAAC;AACjE,OAAO,
|
|
1
|
+
{"version":3,"file":"Point.d.ts","sourceRoot":"","sources":["../../../src/chart/point/Point.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,aAAa,EAA4B,MAAM,OAAO,CAAC;AAOrE,OAAO,KAAK,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAC3E,OAAO,EAAE,KAAK,kBAAkB,EAAgB,MAAM,UAAU,CAAC;AACjE,OAAO,EAKL,KAAK,UAAU,EAChB,MAAM,qBAAqB,CAAC;AAI7B,MAAM,MAAM,cAAc,GAAG;IAC3B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;OAGG;IACH,cAAc,CAAC,EAAE,mBAAmB,CAAC;IACrC;;;OAGG;IACH,aAAa,CA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