@sproutsocial/seeds-react-data-viz 0.7.32 → 0.15.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/axis-DXzufRRj.d.mts +116 -0
- package/dist/axis-PJwu5Xmo.d.ts +116 -0
- package/dist/bar/index.d.mts +98 -0
- package/dist/bar/index.d.ts +98 -0
- package/dist/bar/index.js +186 -0
- package/dist/bar/index.js.map +1 -0
- package/dist/chartExport-CKYpuhik.d.mts +28 -0
- package/dist/chartExport-CKYpuhik.d.ts +28 -0
- package/dist/chunk-EEVKTTT3.js +968 -0
- package/dist/chunk-EEVKTTT3.js.map +1 -0
- package/dist/chunk-JXARPHQE.js +193 -0
- package/dist/chunk-JXARPHQE.js.map +1 -0
- package/dist/chunk-VSZSIN34.js +796 -0
- package/dist/chunk-VSZSIN34.js.map +1 -0
- package/dist/esm/bar/index.js +186 -0
- package/dist/esm/bar/index.js.map +1 -0
- package/dist/esm/chunk-HQM3EIZW.js +193 -0
- package/dist/esm/chunk-HQM3EIZW.js.map +1 -0
- package/dist/esm/chunk-LC3HGWDD.js +968 -0
- package/dist/esm/chunk-LC3HGWDD.js.map +1 -0
- package/dist/esm/chunk-OAN5VC7M.js +796 -0
- package/dist/esm/chunk-OAN5VC7M.js.map +1 -0
- package/dist/esm/export/index.js +41 -0
- package/dist/esm/export/index.js.map +1 -0
- package/dist/esm/index.js +262 -1315
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/line-area/index.js +151 -0
- package/dist/esm/line-area/index.js.map +1 -0
- package/dist/esm/pdfExportLibs-NWLZH5KL.js +10 -0
- package/dist/esm/pdfExportLibs-NWLZH5KL.js.map +1 -0
- package/dist/export/index.d.mts +25 -0
- package/dist/export/index.d.ts +25 -0
- package/dist/export/index.js +41 -0
- package/dist/export/index.js.map +1 -0
- package/dist/index.d.mts +56 -93
- package/dist/index.d.ts +56 -93
- package/dist/index.js +407 -1544
- package/dist/index.js.map +1 -1
- package/dist/line-area/index.d.mts +83 -0
- package/dist/line-area/index.d.ts +83 -0
- package/dist/line-area/index.js +151 -0
- package/dist/line-area/index.js.map +1 -0
- package/dist/pdfExportLibs-BZR2D3RA.js +10 -0
- package/dist/pdfExportLibs-BZR2D3RA.js.map +1 -0
- package/dist/types-B7ILUQ6_.d.mts +99 -0
- package/dist/types-B7ILUQ6_.d.ts +99 -0
- package/package.json +37 -11
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Opaque export API handed to consumers via `ChartRenderer`'s `onReady`. Each
|
|
3
|
+
* callable closes over the chart instance and triggers a client-side download;
|
|
4
|
+
* an optional `filename` overrides the generated default. No Highcharts type,
|
|
5
|
+
* ref, or method shape crosses this boundary.
|
|
6
|
+
*/
|
|
7
|
+
interface ChartExportHandle {
|
|
8
|
+
exportPNG: (opts?: {
|
|
9
|
+
filename?: string;
|
|
10
|
+
}) => Promise<void>;
|
|
11
|
+
exportSVG: (opts?: {
|
|
12
|
+
filename?: string;
|
|
13
|
+
}) => Promise<void>;
|
|
14
|
+
exportPDF: (opts?: {
|
|
15
|
+
filename?: string;
|
|
16
|
+
}) => Promise<void>;
|
|
17
|
+
exportCSV: (opts?: {
|
|
18
|
+
filename?: string;
|
|
19
|
+
}) => Promise<void>;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Canonical client-side export formats offered by `ChartExportMenu`. Co-located
|
|
23
|
+
* with `ChartExportHandle` so the format vocabulary lives next to the handle it
|
|
24
|
+
* maps onto; this leaf imports nothing, so re-exporting it carries no cycle risk.
|
|
25
|
+
*/
|
|
26
|
+
type ChartExportFormat = "png" | "svg" | "pdf" | "csv";
|
|
27
|
+
|
|
28
|
+
export type { ChartExportHandle as C, ChartExportFormat as a };
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Opaque export API handed to consumers via `ChartRenderer`'s `onReady`. Each
|
|
3
|
+
* callable closes over the chart instance and triggers a client-side download;
|
|
4
|
+
* an optional `filename` overrides the generated default. No Highcharts type,
|
|
5
|
+
* ref, or method shape crosses this boundary.
|
|
6
|
+
*/
|
|
7
|
+
interface ChartExportHandle {
|
|
8
|
+
exportPNG: (opts?: {
|
|
9
|
+
filename?: string;
|
|
10
|
+
}) => Promise<void>;
|
|
11
|
+
exportSVG: (opts?: {
|
|
12
|
+
filename?: string;
|
|
13
|
+
}) => Promise<void>;
|
|
14
|
+
exportPDF: (opts?: {
|
|
15
|
+
filename?: string;
|
|
16
|
+
}) => Promise<void>;
|
|
17
|
+
exportCSV: (opts?: {
|
|
18
|
+
filename?: string;
|
|
19
|
+
}) => Promise<void>;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Canonical client-side export formats offered by `ChartExportMenu`. Co-located
|
|
23
|
+
* with `ChartExportHandle` so the format vocabulary lives next to the handle it
|
|
24
|
+
* maps onto; this leaf imports nothing, so re-exporting it carries no cycle risk.
|
|
25
|
+
*/
|
|
26
|
+
type ChartExportFormat = "png" | "svg" | "pdf" | "csv";
|
|
27
|
+
|
|
28
|
+
export type { ChartExportHandle as C, ChartExportFormat as a };
|