@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.
Files changed (47) hide show
  1. package/dist/axis-DXzufRRj.d.mts +116 -0
  2. package/dist/axis-PJwu5Xmo.d.ts +116 -0
  3. package/dist/bar/index.d.mts +98 -0
  4. package/dist/bar/index.d.ts +98 -0
  5. package/dist/bar/index.js +186 -0
  6. package/dist/bar/index.js.map +1 -0
  7. package/dist/chartExport-CKYpuhik.d.mts +28 -0
  8. package/dist/chartExport-CKYpuhik.d.ts +28 -0
  9. package/dist/chunk-EEVKTTT3.js +968 -0
  10. package/dist/chunk-EEVKTTT3.js.map +1 -0
  11. package/dist/chunk-JXARPHQE.js +193 -0
  12. package/dist/chunk-JXARPHQE.js.map +1 -0
  13. package/dist/chunk-VSZSIN34.js +796 -0
  14. package/dist/chunk-VSZSIN34.js.map +1 -0
  15. package/dist/esm/bar/index.js +186 -0
  16. package/dist/esm/bar/index.js.map +1 -0
  17. package/dist/esm/chunk-HQM3EIZW.js +193 -0
  18. package/dist/esm/chunk-HQM3EIZW.js.map +1 -0
  19. package/dist/esm/chunk-LC3HGWDD.js +968 -0
  20. package/dist/esm/chunk-LC3HGWDD.js.map +1 -0
  21. package/dist/esm/chunk-OAN5VC7M.js +796 -0
  22. package/dist/esm/chunk-OAN5VC7M.js.map +1 -0
  23. package/dist/esm/export/index.js +41 -0
  24. package/dist/esm/export/index.js.map +1 -0
  25. package/dist/esm/index.js +262 -1315
  26. package/dist/esm/index.js.map +1 -1
  27. package/dist/esm/line-area/index.js +151 -0
  28. package/dist/esm/line-area/index.js.map +1 -0
  29. package/dist/esm/pdfExportLibs-NWLZH5KL.js +10 -0
  30. package/dist/esm/pdfExportLibs-NWLZH5KL.js.map +1 -0
  31. package/dist/export/index.d.mts +25 -0
  32. package/dist/export/index.d.ts +25 -0
  33. package/dist/export/index.js +41 -0
  34. package/dist/export/index.js.map +1 -0
  35. package/dist/index.d.mts +56 -93
  36. package/dist/index.d.ts +56 -93
  37. package/dist/index.js +407 -1544
  38. package/dist/index.js.map +1 -1
  39. package/dist/line-area/index.d.mts +83 -0
  40. package/dist/line-area/index.d.ts +83 -0
  41. package/dist/line-area/index.js +151 -0
  42. package/dist/line-area/index.js.map +1 -0
  43. package/dist/pdfExportLibs-BZR2D3RA.js +10 -0
  44. package/dist/pdfExportLibs-BZR2D3RA.js.map +1 -0
  45. package/dist/types-B7ILUQ6_.d.mts +99 -0
  46. package/dist/types-B7ILUQ6_.d.ts +99 -0
  47. 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 };