@silverpoint/react 0.1.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 (275) hide show
  1. package/LICENSE +21 -0
  2. package/dist/activity-grid.d.ts +10 -0
  3. package/dist/activity-grid.js +9 -0
  4. package/dist/activity-grid.js.map +1 -0
  5. package/dist/area-chart.d.ts +10 -0
  6. package/dist/area-chart.js +9 -0
  7. package/dist/area-chart.js.map +1 -0
  8. package/dist/bar-chart.d.ts +10 -0
  9. package/dist/bar-chart.js +9 -0
  10. package/dist/bar-chart.js.map +1 -0
  11. package/dist/bubble-chart.d.ts +10 -0
  12. package/dist/bubble-chart.js +9 -0
  13. package/dist/bubble-chart.js.map +1 -0
  14. package/dist/bullet-chart.d.ts +10 -0
  15. package/dist/bullet-chart.js +9 -0
  16. package/dist/bullet-chart.js.map +1 -0
  17. package/dist/candlestick-chart.d.ts +10 -0
  18. package/dist/candlestick-chart.js +9 -0
  19. package/dist/candlestick-chart.js.map +1 -0
  20. package/dist/chord-ring.d.ts +10 -0
  21. package/dist/chord-ring.js +9 -0
  22. package/dist/chord-ring.js.map +1 -0
  23. package/dist/chunk-2JXPSUCK.js +13 -0
  24. package/dist/chunk-2JXPSUCK.js.map +1 -0
  25. package/dist/chunk-2OAPH7JN.js +13 -0
  26. package/dist/chunk-2OAPH7JN.js.map +1 -0
  27. package/dist/chunk-2Q2ZZTUW.js +13 -0
  28. package/dist/chunk-2Q2ZZTUW.js.map +1 -0
  29. package/dist/chunk-4DUH2UHE.js +13 -0
  30. package/dist/chunk-4DUH2UHE.js.map +1 -0
  31. package/dist/chunk-5LQGSI6N.js +13 -0
  32. package/dist/chunk-5LQGSI6N.js.map +1 -0
  33. package/dist/chunk-6FZO4SMF.js +13 -0
  34. package/dist/chunk-6FZO4SMF.js.map +1 -0
  35. package/dist/chunk-AQMWZQ2P.js +13 -0
  36. package/dist/chunk-AQMWZQ2P.js.map +1 -0
  37. package/dist/chunk-BHZNDYU3.js +257 -0
  38. package/dist/chunk-BHZNDYU3.js.map +1 -0
  39. package/dist/chunk-BIIINOXE.js +13 -0
  40. package/dist/chunk-BIIINOXE.js.map +1 -0
  41. package/dist/chunk-CCFFHU7V.js +13 -0
  42. package/dist/chunk-CCFFHU7V.js.map +1 -0
  43. package/dist/chunk-CI4PGKUI.js +13 -0
  44. package/dist/chunk-CI4PGKUI.js.map +1 -0
  45. package/dist/chunk-CXXCUD4B.js +13 -0
  46. package/dist/chunk-CXXCUD4B.js.map +1 -0
  47. package/dist/chunk-DYK3SUIZ.js +13 -0
  48. package/dist/chunk-DYK3SUIZ.js.map +1 -0
  49. package/dist/chunk-DZPDZGM7.js +13 -0
  50. package/dist/chunk-DZPDZGM7.js.map +1 -0
  51. package/dist/chunk-FDROMD5U.js +13 -0
  52. package/dist/chunk-FDROMD5U.js.map +1 -0
  53. package/dist/chunk-G2A5PWIR.js +13 -0
  54. package/dist/chunk-G2A5PWIR.js.map +1 -0
  55. package/dist/chunk-HH2RZCH6.js +13 -0
  56. package/dist/chunk-HH2RZCH6.js.map +1 -0
  57. package/dist/chunk-HYQLSAEO.js +13 -0
  58. package/dist/chunk-HYQLSAEO.js.map +1 -0
  59. package/dist/chunk-INZGRNO3.js +100 -0
  60. package/dist/chunk-INZGRNO3.js.map +1 -0
  61. package/dist/chunk-JCIEWEQC.js +13 -0
  62. package/dist/chunk-JCIEWEQC.js.map +1 -0
  63. package/dist/chunk-KPWHWNZH.js +13 -0
  64. package/dist/chunk-KPWHWNZH.js.map +1 -0
  65. package/dist/chunk-KTBGRGB7.js +13 -0
  66. package/dist/chunk-KTBGRGB7.js.map +1 -0
  67. package/dist/chunk-LOIVX5IV.js +13 -0
  68. package/dist/chunk-LOIVX5IV.js.map +1 -0
  69. package/dist/chunk-M3X7JONW.js +13 -0
  70. package/dist/chunk-M3X7JONW.js.map +1 -0
  71. package/dist/chunk-NAYUAF7O.js +13 -0
  72. package/dist/chunk-NAYUAF7O.js.map +1 -0
  73. package/dist/chunk-NOVLEZPR.js +13 -0
  74. package/dist/chunk-NOVLEZPR.js.map +1 -0
  75. package/dist/chunk-O2DNGRM7.js +13 -0
  76. package/dist/chunk-O2DNGRM7.js.map +1 -0
  77. package/dist/chunk-ORIH4UQP.js +13 -0
  78. package/dist/chunk-ORIH4UQP.js.map +1 -0
  79. package/dist/chunk-PBT76UXS.js +13 -0
  80. package/dist/chunk-PBT76UXS.js.map +1 -0
  81. package/dist/chunk-R6PUPQUI.js +13 -0
  82. package/dist/chunk-R6PUPQUI.js.map +1 -0
  83. package/dist/chunk-RUC577P7.js +13 -0
  84. package/dist/chunk-RUC577P7.js.map +1 -0
  85. package/dist/chunk-V3PBT4XB.js +13 -0
  86. package/dist/chunk-V3PBT4XB.js.map +1 -0
  87. package/dist/chunk-WLHXHAEV.js +13 -0
  88. package/dist/chunk-WLHXHAEV.js.map +1 -0
  89. package/dist/chunk-Y7WZS3VB.js +13 -0
  90. package/dist/chunk-Y7WZS3VB.js.map +1 -0
  91. package/dist/chunk-YS5YVHK5.js +13 -0
  92. package/dist/chunk-YS5YVHK5.js.map +1 -0
  93. package/dist/composed-chart.d.ts +10 -0
  94. package/dist/composed-chart.js +9 -0
  95. package/dist/composed-chart.js.map +1 -0
  96. package/dist/coxcomb-chart.d.ts +10 -0
  97. package/dist/coxcomb-chart.js +9 -0
  98. package/dist/coxcomb-chart.js.map +1 -0
  99. package/dist/create-chart-BIG9Wtek.d.ts +18 -0
  100. package/dist/create-server-chart-B0LbkpQP.d.ts +16 -0
  101. package/dist/donut-chart.d.ts +10 -0
  102. package/dist/donut-chart.js +9 -0
  103. package/dist/donut-chart.js.map +1 -0
  104. package/dist/funnel-chart.d.ts +10 -0
  105. package/dist/funnel-chart.js +9 -0
  106. package/dist/funnel-chart.js.map +1 -0
  107. package/dist/gauge-arc.d.ts +10 -0
  108. package/dist/gauge-arc.js +9 -0
  109. package/dist/gauge-arc.js.map +1 -0
  110. package/dist/heatmap-chart.d.ts +10 -0
  111. package/dist/heatmap-chart.js +9 -0
  112. package/dist/heatmap-chart.js.map +1 -0
  113. package/dist/index.d.ts +46 -0
  114. package/dist/index.js +146 -0
  115. package/dist/index.js.map +1 -0
  116. package/dist/kpi-card.d.ts +10 -0
  117. package/dist/kpi-card.js +9 -0
  118. package/dist/kpi-card.js.map +1 -0
  119. package/dist/line-chart.d.ts +11 -0
  120. package/dist/line-chart.js +9 -0
  121. package/dist/line-chart.js.map +1 -0
  122. package/dist/meter-chart.d.ts +10 -0
  123. package/dist/meter-chart.js +9 -0
  124. package/dist/meter-chart.js.map +1 -0
  125. package/dist/orbit-chart.d.ts +10 -0
  126. package/dist/orbit-chart.js +9 -0
  127. package/dist/orbit-chart.js.map +1 -0
  128. package/dist/polar-bar-chart.d.ts +10 -0
  129. package/dist/polar-bar-chart.js +9 -0
  130. package/dist/polar-bar-chart.js.map +1 -0
  131. package/dist/pyramid-chart.d.ts +10 -0
  132. package/dist/pyramid-chart.js +9 -0
  133. package/dist/pyramid-chart.js.map +1 -0
  134. package/dist/radar-chart.d.ts +10 -0
  135. package/dist/radar-chart.js +9 -0
  136. package/dist/radar-chart.js.map +1 -0
  137. package/dist/radial-arc-group.d.ts +10 -0
  138. package/dist/radial-arc-group.js +9 -0
  139. package/dist/radial-arc-group.js.map +1 -0
  140. package/dist/radial-rings.d.ts +10 -0
  141. package/dist/radial-rings.js +9 -0
  142. package/dist/radial-rings.js.map +1 -0
  143. package/dist/range-band-chart.d.ts +10 -0
  144. package/dist/range-band-chart.js +9 -0
  145. package/dist/range-band-chart.js.map +1 -0
  146. package/dist/sankey-chart.d.ts +10 -0
  147. package/dist/sankey-chart.js +9 -0
  148. package/dist/sankey-chart.js.map +1 -0
  149. package/dist/scatter-chart.d.ts +10 -0
  150. package/dist/scatter-chart.js +9 -0
  151. package/dist/scatter-chart.js.map +1 -0
  152. package/dist/server/activity-grid.d.ts +12 -0
  153. package/dist/server/activity-grid.js +11 -0
  154. package/dist/server/activity-grid.js.map +1 -0
  155. package/dist/server/area-chart.d.ts +12 -0
  156. package/dist/server/area-chart.js +11 -0
  157. package/dist/server/area-chart.js.map +1 -0
  158. package/dist/server/bar-chart.d.ts +12 -0
  159. package/dist/server/bar-chart.js +11 -0
  160. package/dist/server/bar-chart.js.map +1 -0
  161. package/dist/server/bubble-chart.d.ts +12 -0
  162. package/dist/server/bubble-chart.js +11 -0
  163. package/dist/server/bubble-chart.js.map +1 -0
  164. package/dist/server/bullet-chart.d.ts +12 -0
  165. package/dist/server/bullet-chart.js +11 -0
  166. package/dist/server/bullet-chart.js.map +1 -0
  167. package/dist/server/candlestick-chart.d.ts +12 -0
  168. package/dist/server/candlestick-chart.js +11 -0
  169. package/dist/server/candlestick-chart.js.map +1 -0
  170. package/dist/server/chord-ring.d.ts +12 -0
  171. package/dist/server/chord-ring.js +11 -0
  172. package/dist/server/chord-ring.js.map +1 -0
  173. package/dist/server/composed-chart.d.ts +12 -0
  174. package/dist/server/composed-chart.js +11 -0
  175. package/dist/server/composed-chart.js.map +1 -0
  176. package/dist/server/coxcomb-chart.d.ts +12 -0
  177. package/dist/server/coxcomb-chart.js +11 -0
  178. package/dist/server/coxcomb-chart.js.map +1 -0
  179. package/dist/server/donut-chart.d.ts +12 -0
  180. package/dist/server/donut-chart.js +11 -0
  181. package/dist/server/donut-chart.js.map +1 -0
  182. package/dist/server/funnel-chart.d.ts +12 -0
  183. package/dist/server/funnel-chart.js +11 -0
  184. package/dist/server/funnel-chart.js.map +1 -0
  185. package/dist/server/gauge-arc.d.ts +12 -0
  186. package/dist/server/gauge-arc.js +11 -0
  187. package/dist/server/gauge-arc.js.map +1 -0
  188. package/dist/server/heatmap-chart.d.ts +12 -0
  189. package/dist/server/heatmap-chart.js +11 -0
  190. package/dist/server/heatmap-chart.js.map +1 -0
  191. package/dist/server/kpi-card.d.ts +12 -0
  192. package/dist/server/kpi-card.js +11 -0
  193. package/dist/server/kpi-card.js.map +1 -0
  194. package/dist/server/line-chart.d.ts +12 -0
  195. package/dist/server/line-chart.js +11 -0
  196. package/dist/server/line-chart.js.map +1 -0
  197. package/dist/server/meter-chart.d.ts +12 -0
  198. package/dist/server/meter-chart.js +11 -0
  199. package/dist/server/meter-chart.js.map +1 -0
  200. package/dist/server/orbit-chart.d.ts +12 -0
  201. package/dist/server/orbit-chart.js +11 -0
  202. package/dist/server/orbit-chart.js.map +1 -0
  203. package/dist/server/polar-bar-chart.d.ts +12 -0
  204. package/dist/server/polar-bar-chart.js +11 -0
  205. package/dist/server/polar-bar-chart.js.map +1 -0
  206. package/dist/server/pyramid-chart.d.ts +12 -0
  207. package/dist/server/pyramid-chart.js +11 -0
  208. package/dist/server/pyramid-chart.js.map +1 -0
  209. package/dist/server/radar-chart.d.ts +12 -0
  210. package/dist/server/radar-chart.js +11 -0
  211. package/dist/server/radar-chart.js.map +1 -0
  212. package/dist/server/radial-arc-group.d.ts +12 -0
  213. package/dist/server/radial-arc-group.js +11 -0
  214. package/dist/server/radial-arc-group.js.map +1 -0
  215. package/dist/server/radial-rings.d.ts +12 -0
  216. package/dist/server/radial-rings.js +11 -0
  217. package/dist/server/radial-rings.js.map +1 -0
  218. package/dist/server/range-band-chart.d.ts +12 -0
  219. package/dist/server/range-band-chart.js +11 -0
  220. package/dist/server/range-band-chart.js.map +1 -0
  221. package/dist/server/sankey-chart.d.ts +12 -0
  222. package/dist/server/sankey-chart.js +11 -0
  223. package/dist/server/sankey-chart.js.map +1 -0
  224. package/dist/server/scatter-chart.d.ts +12 -0
  225. package/dist/server/scatter-chart.js +11 -0
  226. package/dist/server/scatter-chart.js.map +1 -0
  227. package/dist/server/sparkline-rows.d.ts +12 -0
  228. package/dist/server/sparkline-rows.js +11 -0
  229. package/dist/server/sparkline-rows.js.map +1 -0
  230. package/dist/server/stacked-bar-chart.d.ts +12 -0
  231. package/dist/server/stacked-bar-chart.js +11 -0
  232. package/dist/server/stacked-bar-chart.js.map +1 -0
  233. package/dist/server/step-chart.d.ts +12 -0
  234. package/dist/server/step-chart.js +11 -0
  235. package/dist/server/step-chart.js.map +1 -0
  236. package/dist/server/stream-chart.d.ts +12 -0
  237. package/dist/server/stream-chart.js +11 -0
  238. package/dist/server/stream-chart.js.map +1 -0
  239. package/dist/server/treemap-chart.d.ts +12 -0
  240. package/dist/server/treemap-chart.js +11 -0
  241. package/dist/server/treemap-chart.js.map +1 -0
  242. package/dist/server/volvelle-chart.d.ts +12 -0
  243. package/dist/server/volvelle-chart.js +11 -0
  244. package/dist/server/volvelle-chart.js.map +1 -0
  245. package/dist/server/waterfall-chart.d.ts +12 -0
  246. package/dist/server/waterfall-chart.js +11 -0
  247. package/dist/server/waterfall-chart.js.map +1 -0
  248. package/dist/server/wind-rose.d.ts +12 -0
  249. package/dist/server/wind-rose.js +11 -0
  250. package/dist/server/wind-rose.js.map +1 -0
  251. package/dist/sparkline-rows.d.ts +10 -0
  252. package/dist/sparkline-rows.js +9 -0
  253. package/dist/sparkline-rows.js.map +1 -0
  254. package/dist/stacked-bar-chart.d.ts +10 -0
  255. package/dist/stacked-bar-chart.js +9 -0
  256. package/dist/stacked-bar-chart.js.map +1 -0
  257. package/dist/step-chart.d.ts +10 -0
  258. package/dist/step-chart.js +9 -0
  259. package/dist/step-chart.js.map +1 -0
  260. package/dist/stream-chart.d.ts +10 -0
  261. package/dist/stream-chart.js +9 -0
  262. package/dist/stream-chart.js.map +1 -0
  263. package/dist/treemap-chart.d.ts +10 -0
  264. package/dist/treemap-chart.js +9 -0
  265. package/dist/treemap-chart.js.map +1 -0
  266. package/dist/volvelle-chart.d.ts +10 -0
  267. package/dist/volvelle-chart.js +9 -0
  268. package/dist/volvelle-chart.js.map +1 -0
  269. package/dist/waterfall-chart.d.ts +10 -0
  270. package/dist/waterfall-chart.js +9 -0
  271. package/dist/waterfall-chart.js.map +1 -0
  272. package/dist/wind-rose.d.ts +10 -0
  273. package/dist/wind-rose.js +9 -0
  274. package/dist/wind-rose.js.map +1 -0
  275. package/package.json +448 -0
@@ -0,0 +1,10 @@
1
+ import { I as InteractionProps, C as ClientChart } from './create-chart-BIG9Wtek.js';
2
+ import { ComposedChartProps } from '@silverpoint/core';
3
+ export { ChartHandle, ComposedChartProps } from '@silverpoint/core';
4
+ import 'react';
5
+
6
+ type ClientComposedChartProps = ComposedChartProps & InteractionProps;
7
+ /** `ComposedChart` (REQ-066): columns and a spline on one scale (API Spec §7). */
8
+ declare const ComposedChart: ClientChart<ComposedChartProps>;
9
+
10
+ export { type ClientComposedChartProps, ComposedChart, InteractionProps };
@@ -0,0 +1,9 @@
1
+ 'use client';
2
+ import {
3
+ ComposedChart
4
+ } from "./chunk-Y7WZS3VB.js";
5
+ import "./chunk-BHZNDYU3.js";
6
+ export {
7
+ ComposedChart
8
+ };
9
+ //# sourceMappingURL=composed-chart.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,10 @@
1
+ import { I as InteractionProps, C as ClientChart } from './create-chart-BIG9Wtek.js';
2
+ import { CoxcombChartProps } from '@silverpoint/core';
3
+ export { ChartHandle, CoxcombChartProps } from '@silverpoint/core';
4
+ import 'react';
5
+
6
+ type ClientCoxcombChartProps = CoxcombChartProps & InteractionProps;
7
+ /** `CoxcombChart` (REQ-088): equal angles, area ∝ value (API Spec §7). */
8
+ declare const CoxcombChart: ClientChart<CoxcombChartProps>;
9
+
10
+ export { type ClientCoxcombChartProps, CoxcombChart, InteractionProps };
@@ -0,0 +1,9 @@
1
+ 'use client';
2
+ import {
3
+ CoxcombChart
4
+ } from "./chunk-G2A5PWIR.js";
5
+ import "./chunk-BHZNDYU3.js";
6
+ export {
7
+ CoxcombChart
8
+ };
9
+ //# sourceMappingURL=coxcomb-chart.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,18 @@
1
+ import { ActiveItem, Readout, ChartHandle } from '@silverpoint/core';
2
+ import { ReactNode, ForwardRefExoticComponent, RefAttributes } from 'react';
3
+
4
+ /** A consumer-supplied readout renderer (REQ-142). */
5
+ type TooltipRenderer = (active: ActiveItem, readout: Readout) => ReactNode;
6
+
7
+ /** Interaction props of the client components (API Spec §9). */
8
+ interface InteractionProps {
9
+ /** The active item changed, or `null` when it cleared (REQ-141, REQ-143). */
10
+ onActiveChange?: (item: ActiveItem | null) => void;
11
+ /** An item was chosen by click, Enter or Space. */
12
+ onSelect?: (item: ActiveItem) => void;
13
+ /** Replaces the built-in readout (REQ-142). */
14
+ tooltip?: TooltipRenderer;
15
+ }
16
+ type ClientChart<P> = ForwardRefExoticComponent<P & InteractionProps & RefAttributes<ChartHandle>>;
17
+
18
+ export type { ClientChart as C, InteractionProps as I, TooltipRenderer as T };
@@ -0,0 +1,16 @@
1
+ import { CommonChartProps } from '@silverpoint/core';
2
+
3
+ /**
4
+ * Props of a server chart: pure SVG, no client JavaScript (REQ-104). Size is explicit because
5
+ * nothing can be measured on the server; the id is explicit because a server component has no
6
+ * mount position to derive a unique one from (TD §6); interaction props do not exist here.
7
+ */
8
+ type ServerChartProps<P extends CommonChartProps> = Omit<P, 'id' | 'width' | 'height'> & {
9
+ readonly id: string;
10
+ readonly width: number;
11
+ readonly height: number;
12
+ readonly onActiveChange?: never;
13
+ readonly onSelect?: never;
14
+ };
15
+
16
+ export type { ServerChartProps as S };
@@ -0,0 +1,10 @@
1
+ import { I as InteractionProps, C as ClientChart } from './create-chart-BIG9Wtek.js';
2
+ import { DonutChartProps } from '@silverpoint/core';
3
+ export { ChartHandle, DonutChartProps } from '@silverpoint/core';
4
+ import 'react';
5
+
6
+ type ClientDonutChartProps = DonutChartProps & InteractionProps;
7
+ /** `DonutChart` (REQ-075): sectors ∝ value around a central readout (API Spec §7). */
8
+ declare const DonutChart: ClientChart<DonutChartProps>;
9
+
10
+ export { type ClientDonutChartProps, DonutChart, InteractionProps };
@@ -0,0 +1,9 @@
1
+ 'use client';
2
+ import {
3
+ DonutChart
4
+ } from "./chunk-YS5YVHK5.js";
5
+ import "./chunk-BHZNDYU3.js";
6
+ export {
7
+ DonutChart
8
+ };
9
+ //# sourceMappingURL=donut-chart.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,10 @@
1
+ import { I as InteractionProps, C as ClientChart } from './create-chart-BIG9Wtek.js';
2
+ import { FunnelChartProps } from '@silverpoint/core';
3
+ export { ChartHandle, FunnelChartProps } from '@silverpoint/core';
4
+ import 'react';
5
+
6
+ type ClientFunnelChartProps = FunnelChartProps & InteractionProps;
7
+ /** `FunnelChart` (REQ-068): centred stages, width by value (API Spec §7). */
8
+ declare const FunnelChart: ClientChart<FunnelChartProps>;
9
+
10
+ export { type ClientFunnelChartProps, FunnelChart, InteractionProps };
@@ -0,0 +1,9 @@
1
+ 'use client';
2
+ import {
3
+ FunnelChart
4
+ } from "./chunk-R6PUPQUI.js";
5
+ import "./chunk-BHZNDYU3.js";
6
+ export {
7
+ FunnelChart
8
+ };
9
+ //# sourceMappingURL=funnel-chart.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,10 @@
1
+ import { I as InteractionProps, C as ClientChart } from './create-chart-BIG9Wtek.js';
2
+ import { GaugeArcProps } from '@silverpoint/core';
3
+ export { ChartHandle, GaugeArcProps } from '@silverpoint/core';
4
+ import 'react';
5
+
6
+ type ClientGaugeArcProps = GaugeArcProps & InteractionProps;
7
+ /** `GaugeArc` (REQ-080): a 240° arc swept to a percent (API Spec §7). */
8
+ declare const GaugeArc: ClientChart<GaugeArcProps>;
9
+
10
+ export { type ClientGaugeArcProps, GaugeArc, InteractionProps };
@@ -0,0 +1,9 @@
1
+ 'use client';
2
+ import {
3
+ GaugeArc
4
+ } from "./chunk-AQMWZQ2P.js";
5
+ import "./chunk-BHZNDYU3.js";
6
+ export {
7
+ GaugeArc
8
+ };
9
+ //# sourceMappingURL=gauge-arc.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,10 @@
1
+ import { I as InteractionProps, C as ClientChart } from './create-chart-BIG9Wtek.js';
2
+ import { HeatmapChartProps } from '@silverpoint/core';
3
+ export { ChartHandle, HeatmapChartProps } from '@silverpoint/core';
4
+ import 'react';
5
+
6
+ type ClientHeatmapChartProps = HeatmapChartProps & InteractionProps;
7
+ /** `HeatmapChart` (REQ-084): labelled rows of cells, toned by value and printed (API Spec §7). */
8
+ declare const HeatmapChart: ClientChart<HeatmapChartProps>;
9
+
10
+ export { type ClientHeatmapChartProps, HeatmapChart, InteractionProps };
@@ -0,0 +1,9 @@
1
+ 'use client';
2
+ import {
3
+ HeatmapChart
4
+ } from "./chunk-KTBGRGB7.js";
5
+ import "./chunk-BHZNDYU3.js";
6
+ export {
7
+ HeatmapChart
8
+ };
9
+ //# sourceMappingURL=heatmap-chart.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,46 @@
1
+ export { ClientLineChartProps, LineChart } from './line-chart.js';
2
+ export { BulletChart, ClientBulletChartProps } from './bullet-chart.js';
3
+ export { ClientPyramidChartProps, PyramidChart } from './pyramid-chart.js';
4
+ export { ClientHeatmapChartProps, HeatmapChart } from './heatmap-chart.js';
5
+ export { ClientTreemapChartProps, TreemapChart } from './treemap-chart.js';
6
+ export { ClientSankeyChartProps, SankeyChart } from './sankey-chart.js';
7
+ export { ActivityGrid, ClientActivityGridProps } from './activity-grid.js';
8
+ export { ClientStepChartProps, StepChart } from './step-chart.js';
9
+ export { ClientSparklineRowsProps, SparklineRows } from './sparkline-rows.js';
10
+ export { ClientKpiCardProps, KpiCard } from './kpi-card.js';
11
+ export { BarChart, ClientBarChartProps } from './bar-chart.js';
12
+ export { ClientStackedBarChartProps, StackedBarChart } from './stacked-bar-chart.js';
13
+ export { ClientComposedChartProps, ComposedChart } from './composed-chart.js';
14
+ export { ClientWaterfallChartProps, WaterfallChart } from './waterfall-chart.js';
15
+ export { ClientFunnelChartProps, FunnelChart } from './funnel-chart.js';
16
+ export { CandlestickChart, ClientCandlestickChartProps } from './candlestick-chart.js';
17
+ export { AreaChart, ClientAreaChartProps } from './area-chart.js';
18
+ export { ClientRangeBandChartProps, RangeBandChart } from './range-band-chart.js';
19
+ export { ClientStreamChartProps, StreamChart } from './stream-chart.js';
20
+ export { ClientScatterChartProps, ScatterChart } from './scatter-chart.js';
21
+ export { BubbleChart, ClientBubbleChartProps } from './bubble-chart.js';
22
+ export { ClientDonutChartProps, DonutChart } from './donut-chart.js';
23
+ export { ClientRadarChartProps, RadarChart } from './radar-chart.js';
24
+ export { ClientPolarBarChartProps, PolarBarChart } from './polar-bar-chart.js';
25
+ export { ClientRadialArcGroupProps, RadialArcGroup } from './radial-arc-group.js';
26
+ export { ClientRadialRingsProps, RadialRings } from './radial-rings.js';
27
+ export { ClientGaugeArcProps, GaugeArc } from './gauge-arc.js';
28
+ export { ClientMeterChartProps, MeterChart } from './meter-chart.js';
29
+ export { ClientCoxcombChartProps, CoxcombChart } from './coxcomb-chart.js';
30
+ export { ClientWindRoseProps, WindRose } from './wind-rose.js';
31
+ export { ClientVolvelleChartProps, VolvelleChart } from './volvelle-chart.js';
32
+ export { ChordRing, ClientChordRingProps } from './chord-ring.js';
33
+ export { ClientOrbitChartProps, OrbitChart } from './orbit-chart.js';
34
+ export { I as InteractionProps, T as TooltipRenderer } from './create-chart-BIG9Wtek.js';
35
+ import * as react from 'react';
36
+ import { ReactNode } from 'react';
37
+ import { ProviderConfig } from '@silverpoint/core';
38
+ export { ActivityGridProps, AreaChartProps, BarChartProps, BubbleChartProps, BulletChartProps, CandlestickChartProps, ChartHandle, ChordRingProps, ComposedChartProps, CoxcombChartProps, DonutChartProps, FunnelChartProps, GaugeArcProps, HeatmapChartProps, KpiCardProps, LineChartProps, MeterChartProps, OrbitChartProps, PolarBarChartProps, ProviderConfig, PyramidChartProps, RadarChartProps, RadialArcGroupProps, RadialRingsProps, RangeBandChartProps, SankeyChartProps, ScatterChartProps, SparklineRowsProps, StackedBarChartProps, StepChartProps, StreamChartProps, TreemapChartProps, VolvelleChartProps, WaterfallChartProps, WindRoseProps } from '@silverpoint/core';
39
+
40
+ interface SilverpointProviderProps extends ProviderConfig {
41
+ readonly children?: ReactNode;
42
+ }
43
+ /** Sets ground, substrate, mode and locale once for every chart below it (API Spec §8.1). */
44
+ declare function SilverpointProvider({ children, ...config }: SilverpointProviderProps): react.JSX.Element;
45
+
46
+ export { SilverpointProvider, type SilverpointProviderProps };
package/dist/index.js ADDED
@@ -0,0 +1,146 @@
1
+ 'use client';
2
+ import {
3
+ ChordRing
4
+ } from "./chunk-2OAPH7JN.js";
5
+ import {
6
+ OrbitChart
7
+ } from "./chunk-NAYUAF7O.js";
8
+ import {
9
+ PolarBarChart
10
+ } from "./chunk-5LQGSI6N.js";
11
+ import {
12
+ RadialArcGroup
13
+ } from "./chunk-WLHXHAEV.js";
14
+ import {
15
+ RadialRings
16
+ } from "./chunk-M3X7JONW.js";
17
+ import {
18
+ GaugeArc
19
+ } from "./chunk-AQMWZQ2P.js";
20
+ import {
21
+ MeterChart
22
+ } from "./chunk-LOIVX5IV.js";
23
+ import {
24
+ CoxcombChart
25
+ } from "./chunk-G2A5PWIR.js";
26
+ import {
27
+ WindRose
28
+ } from "./chunk-RUC577P7.js";
29
+ import {
30
+ VolvelleChart
31
+ } from "./chunk-HYQLSAEO.js";
32
+ import {
33
+ CandlestickChart
34
+ } from "./chunk-KPWHWNZH.js";
35
+ import {
36
+ AreaChart
37
+ } from "./chunk-ORIH4UQP.js";
38
+ import {
39
+ RangeBandChart
40
+ } from "./chunk-CI4PGKUI.js";
41
+ import {
42
+ StreamChart
43
+ } from "./chunk-BIIINOXE.js";
44
+ import {
45
+ ScatterChart
46
+ } from "./chunk-DYK3SUIZ.js";
47
+ import {
48
+ BubbleChart
49
+ } from "./chunk-6FZO4SMF.js";
50
+ import {
51
+ DonutChart
52
+ } from "./chunk-YS5YVHK5.js";
53
+ import {
54
+ RadarChart
55
+ } from "./chunk-DZPDZGM7.js";
56
+ import {
57
+ StepChart
58
+ } from "./chunk-FDROMD5U.js";
59
+ import {
60
+ SparklineRows
61
+ } from "./chunk-JCIEWEQC.js";
62
+ import {
63
+ KpiCard
64
+ } from "./chunk-CCFFHU7V.js";
65
+ import {
66
+ BarChart
67
+ } from "./chunk-4DUH2UHE.js";
68
+ import {
69
+ StackedBarChart
70
+ } from "./chunk-2JXPSUCK.js";
71
+ import {
72
+ ComposedChart
73
+ } from "./chunk-Y7WZS3VB.js";
74
+ import {
75
+ WaterfallChart
76
+ } from "./chunk-NOVLEZPR.js";
77
+ import {
78
+ FunnelChart
79
+ } from "./chunk-R6PUPQUI.js";
80
+ import {
81
+ LineChart
82
+ } from "./chunk-CXXCUD4B.js";
83
+ import {
84
+ BulletChart
85
+ } from "./chunk-O2DNGRM7.js";
86
+ import {
87
+ PyramidChart
88
+ } from "./chunk-2Q2ZZTUW.js";
89
+ import {
90
+ HeatmapChart
91
+ } from "./chunk-KTBGRGB7.js";
92
+ import {
93
+ TreemapChart
94
+ } from "./chunk-HH2RZCH6.js";
95
+ import {
96
+ SankeyChart
97
+ } from "./chunk-V3PBT4XB.js";
98
+ import {
99
+ ActivityGrid
100
+ } from "./chunk-PBT76UXS.js";
101
+ import {
102
+ SilverpointContext
103
+ } from "./chunk-BHZNDYU3.js";
104
+
105
+ // src/provider.tsx
106
+ import { jsx } from "react/jsx-runtime";
107
+ function SilverpointProvider({ children, ...config }) {
108
+ return /* @__PURE__ */ jsx(SilverpointContext.Provider, { value: config, children });
109
+ }
110
+ export {
111
+ ActivityGrid,
112
+ AreaChart,
113
+ BarChart,
114
+ BubbleChart,
115
+ BulletChart,
116
+ CandlestickChart,
117
+ ChordRing,
118
+ ComposedChart,
119
+ CoxcombChart,
120
+ DonutChart,
121
+ FunnelChart,
122
+ GaugeArc,
123
+ HeatmapChart,
124
+ KpiCard,
125
+ LineChart,
126
+ MeterChart,
127
+ OrbitChart,
128
+ PolarBarChart,
129
+ PyramidChart,
130
+ RadarChart,
131
+ RadialArcGroup,
132
+ RadialRings,
133
+ RangeBandChart,
134
+ SankeyChart,
135
+ ScatterChart,
136
+ SilverpointProvider,
137
+ SparklineRows,
138
+ StackedBarChart,
139
+ StepChart,
140
+ StreamChart,
141
+ TreemapChart,
142
+ VolvelleChart,
143
+ WaterfallChart,
144
+ WindRose
145
+ };
146
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/provider.tsx"],"sourcesContent":["import type { ProviderConfig } from '@silverpoint/core';\nimport type { ReactNode } from 'react';\nimport { SilverpointContext } from './context';\n\nexport interface SilverpointProviderProps extends ProviderConfig {\n readonly children?: ReactNode;\n}\n\n/** Sets ground, substrate, mode and locale once for every chart below it (API Spec §8.1). */\nexport function SilverpointProvider({ children, ...config }: SilverpointProviderProps) {\n return <SilverpointContext.Provider value={config}>{children}</SilverpointContext.Provider>;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAUS;AADF,SAAS,oBAAoB,EAAE,UAAU,GAAG,OAAO,GAA6B;AACrF,SAAO,oBAAC,mBAAmB,UAAnB,EAA4B,OAAO,QAAS,UAAS;AAC/D;","names":[]}
@@ -0,0 +1,10 @@
1
+ import { I as InteractionProps, C as ClientChart } from './create-chart-BIG9Wtek.js';
2
+ import { KpiCardProps } from '@silverpoint/core';
3
+ export { ChartHandle, KpiCardProps } from '@silverpoint/core';
4
+ import 'react';
5
+
6
+ type ClientKpiCardProps = KpiCardProps & InteractionProps;
7
+ /** `KpiCard` (REQ-063): a figure, its signed delta and an area sparkline (API Spec §7). */
8
+ declare const KpiCard: ClientChart<KpiCardProps>;
9
+
10
+ export { type ClientKpiCardProps, InteractionProps, KpiCard };
@@ -0,0 +1,9 @@
1
+ 'use client';
2
+ import {
3
+ KpiCard
4
+ } from "./chunk-CCFFHU7V.js";
5
+ import "./chunk-BHZNDYU3.js";
6
+ export {
7
+ KpiCard
8
+ };
9
+ //# sourceMappingURL=kpi-card.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,11 @@
1
+ import { I as InteractionProps, C as ClientChart } from './create-chart-BIG9Wtek.js';
2
+ export { T as TooltipRenderer } from './create-chart-BIG9Wtek.js';
3
+ import { LineChartProps } from '@silverpoint/core';
4
+ export { ChartHandle, LineChartProps } from '@silverpoint/core';
5
+ import 'react';
6
+
7
+ type ClientLineChartProps = LineChartProps & InteractionProps;
8
+ /** `LineChart` (REQ-060): spline with a dotted baseline series (API Spec §7). */
9
+ declare const LineChart: ClientChart<LineChartProps>;
10
+
11
+ export { type ClientLineChartProps, InteractionProps, LineChart };
@@ -0,0 +1,9 @@
1
+ 'use client';
2
+ import {
3
+ LineChart
4
+ } from "./chunk-CXXCUD4B.js";
5
+ import "./chunk-BHZNDYU3.js";
6
+ export {
7
+ LineChart
8
+ };
9
+ //# sourceMappingURL=line-chart.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,10 @@
1
+ import { I as InteractionProps, C as ClientChart } from './create-chart-BIG9Wtek.js';
2
+ import { MeterChartProps } from '@silverpoint/core';
3
+ export { ChartHandle, MeterChartProps } from '@silverpoint/core';
4
+ import 'react';
5
+
6
+ type ClientMeterChartProps = MeterChartProps & InteractionProps;
7
+ /** `MeterChart` (REQ-081): a semicircular meter with a needle (API Spec §7). */
8
+ declare const MeterChart: ClientChart<MeterChartProps>;
9
+
10
+ export { type ClientMeterChartProps, InteractionProps, MeterChart };
@@ -0,0 +1,9 @@
1
+ 'use client';
2
+ import {
3
+ MeterChart
4
+ } from "./chunk-LOIVX5IV.js";
5
+ import "./chunk-BHZNDYU3.js";
6
+ export {
7
+ MeterChart
8
+ };
9
+ //# sourceMappingURL=meter-chart.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,10 @@
1
+ import { I as InteractionProps, C as ClientChart } from './create-chart-BIG9Wtek.js';
2
+ import { OrbitChartProps } from '@silverpoint/core';
3
+ export { ChartHandle, OrbitChartProps } from '@silverpoint/core';
4
+ import 'react';
5
+
6
+ type ClientOrbitChartProps = OrbitChartProps & InteractionProps;
7
+ /** `OrbitChart` (REQ-092): nested orbits with markers along them (API Spec §7). */
8
+ declare const OrbitChart: ClientChart<OrbitChartProps>;
9
+
10
+ export { type ClientOrbitChartProps, InteractionProps, OrbitChart };
@@ -0,0 +1,9 @@
1
+ 'use client';
2
+ import {
3
+ OrbitChart
4
+ } from "./chunk-NAYUAF7O.js";
5
+ import "./chunk-BHZNDYU3.js";
6
+ export {
7
+ OrbitChart
8
+ };
9
+ //# sourceMappingURL=orbit-chart.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,10 @@
1
+ import { I as InteractionProps, C as ClientChart } from './create-chart-BIG9Wtek.js';
2
+ import { PolarBarChartProps } from '@silverpoint/core';
3
+ export { ChartHandle, PolarBarChartProps } from '@silverpoint/core';
4
+ import 'react';
5
+
6
+ type ClientPolarBarChartProps = PolarBarChartProps & InteractionProps;
7
+ /** `PolarBarChart` (REQ-077): 360° bars, length ∝ value (API Spec §7). */
8
+ declare const PolarBarChart: ClientChart<PolarBarChartProps>;
9
+
10
+ export { type ClientPolarBarChartProps, InteractionProps, PolarBarChart };
@@ -0,0 +1,9 @@
1
+ 'use client';
2
+ import {
3
+ PolarBarChart
4
+ } from "./chunk-5LQGSI6N.js";
5
+ import "./chunk-BHZNDYU3.js";
6
+ export {
7
+ PolarBarChart
8
+ };
9
+ //# sourceMappingURL=polar-bar-chart.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,10 @@
1
+ import { I as InteractionProps, C as ClientChart } from './create-chart-BIG9Wtek.js';
2
+ import { PyramidChartProps } from '@silverpoint/core';
3
+ export { ChartHandle, PyramidChartProps } from '@silverpoint/core';
4
+ import 'react';
5
+
6
+ type ClientPyramidChartProps = PyramidChartProps & InteractionProps;
7
+ /** `PyramidChart` (REQ-070): stacked, centred tiers whose width encodes the value (API Spec §7). */
8
+ declare const PyramidChart: ClientChart<PyramidChartProps>;
9
+
10
+ export { type ClientPyramidChartProps, InteractionProps, PyramidChart };
@@ -0,0 +1,9 @@
1
+ 'use client';
2
+ import {
3
+ PyramidChart
4
+ } from "./chunk-2Q2ZZTUW.js";
5
+ import "./chunk-BHZNDYU3.js";
6
+ export {
7
+ PyramidChart
8
+ };
9
+ //# sourceMappingURL=pyramid-chart.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,10 @@
1
+ import { I as InteractionProps, C as ClientChart } from './create-chart-BIG9Wtek.js';
2
+ import { RadarChartProps } from '@silverpoint/core';
3
+ export { ChartHandle, RadarChartProps } from '@silverpoint/core';
4
+ import 'react';
5
+
6
+ type ClientRadarChartProps = RadarChartProps & InteractionProps;
7
+ /** `RadarChart` (REQ-076): one spoke per subject, a closed polygon of values (API Spec §7). */
8
+ declare const RadarChart: ClientChart<RadarChartProps>;
9
+
10
+ export { type ClientRadarChartProps, InteractionProps, RadarChart };
@@ -0,0 +1,9 @@
1
+ 'use client';
2
+ import {
3
+ RadarChart
4
+ } from "./chunk-DZPDZGM7.js";
5
+ import "./chunk-BHZNDYU3.js";
6
+ export {
7
+ RadarChart
8
+ };
9
+ //# sourceMappingURL=radar-chart.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,10 @@
1
+ import { I as InteractionProps, C as ClientChart } from './create-chart-BIG9Wtek.js';
2
+ import { RadialArcGroupProps } from '@silverpoint/core';
3
+ export { ChartHandle, RadialArcGroupProps } from '@silverpoint/core';
4
+ import 'react';
5
+
6
+ type ClientRadialArcGroupProps = RadialArcGroupProps & InteractionProps;
7
+ /** `RadialArcGroup` (REQ-078): concentric 180° tracks (API Spec §7). */
8
+ declare const RadialArcGroup: ClientChart<RadialArcGroupProps>;
9
+
10
+ export { type ClientRadialArcGroupProps, InteractionProps, RadialArcGroup };
@@ -0,0 +1,9 @@
1
+ 'use client';
2
+ import {
3
+ RadialArcGroup
4
+ } from "./chunk-WLHXHAEV.js";
5
+ import "./chunk-BHZNDYU3.js";
6
+ export {
7
+ RadialArcGroup
8
+ };
9
+ //# sourceMappingURL=radial-arc-group.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,10 @@
1
+ import { I as InteractionProps, C as ClientChart } from './create-chart-BIG9Wtek.js';
2
+ import { RadialRingsProps } from '@silverpoint/core';
3
+ export { ChartHandle, RadialRingsProps } from '@silverpoint/core';
4
+ import 'react';
5
+
6
+ type ClientRadialRingsProps = RadialRingsProps & InteractionProps;
7
+ /** `RadialRings` (REQ-079): concentric progress rings (API Spec §7). */
8
+ declare const RadialRings: ClientChart<RadialRingsProps>;
9
+
10
+ export { type ClientRadialRingsProps, InteractionProps, RadialRings };
@@ -0,0 +1,9 @@
1
+ 'use client';
2
+ import {
3
+ RadialRings
4
+ } from "./chunk-M3X7JONW.js";
5
+ import "./chunk-BHZNDYU3.js";
6
+ export {
7
+ RadialRings
8
+ };
9
+ //# sourceMappingURL=radial-rings.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,10 @@
1
+ import { I as InteractionProps, C as ClientChart } from './create-chart-BIG9Wtek.js';
2
+ import { RangeBandChartProps } from '@silverpoint/core';
3
+ export { ChartHandle, RangeBandChartProps } from '@silverpoint/core';
4
+ import 'react';
5
+
6
+ type ClientRangeBandChartProps = RangeBandChartProps & InteractionProps;
7
+ /** `RangeBandChart` (REQ-073): the band between a low and a high series (API Spec §7). */
8
+ declare const RangeBandChart: ClientChart<RangeBandChartProps>;
9
+
10
+ export { type ClientRangeBandChartProps, InteractionProps, RangeBandChart };