@silverpoint/react 0.1.1 → 0.3.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 (309) hide show
  1. package/dist/activity-grid.js +4 -2
  2. package/dist/area-chart.js +4 -2
  3. package/dist/bar-chart.js +4 -2
  4. package/dist/base-C6zY78Va.d.ts +8 -0
  5. package/dist/bubble-chart.js +4 -2
  6. package/dist/bullet-chart.js +4 -2
  7. package/dist/candlestick-chart.js +4 -2
  8. package/dist/chord-ring.js +4 -2
  9. package/dist/chunk-2JWLXUY5.js +16 -0
  10. package/dist/chunk-2JWLXUY5.js.map +1 -0
  11. package/dist/{chunk-6FZO4SMF.js → chunk-3BREGZ7C.js} +2 -2
  12. package/dist/{chunk-LOIVX5IV.js → chunk-3U3Z5U6H.js} +2 -2
  13. package/dist/chunk-3WUPWJP2.js +17 -0
  14. package/dist/chunk-3WUPWJP2.js.map +1 -0
  15. package/dist/chunk-43AIURD6.js +21 -0
  16. package/dist/chunk-43AIURD6.js.map +1 -0
  17. package/dist/{chunk-INZGRNO3.js → chunk-46S63XYT.js} +10 -3
  18. package/dist/chunk-46S63XYT.js.map +1 -0
  19. package/dist/chunk-4GQ5X2WK.js +10 -0
  20. package/dist/chunk-4GQ5X2WK.js.map +1 -0
  21. package/dist/chunk-5FKONGCL.js +16 -0
  22. package/dist/chunk-5FKONGCL.js.map +1 -0
  23. package/dist/chunk-67FND3TB.js +26 -0
  24. package/dist/chunk-67FND3TB.js.map +1 -0
  25. package/dist/{chunk-PBT76UXS.js → chunk-6EFRIK7Q.js} +2 -2
  26. package/dist/{chunk-CXXCUD4B.js → chunk-6M4REUJE.js} +2 -2
  27. package/dist/chunk-6NXL245Z.js +16 -0
  28. package/dist/chunk-6NXL245Z.js.map +1 -0
  29. package/dist/{chunk-O2DNGRM7.js → chunk-6S6VKQ3E.js} +2 -2
  30. package/dist/{chunk-2JXPSUCK.js → chunk-AEU6UHVG.js} +2 -2
  31. package/dist/chunk-ART7CMBL.js +16 -0
  32. package/dist/chunk-ART7CMBL.js.map +1 -0
  33. package/dist/{chunk-Y7WZS3VB.js → chunk-C3NHZ4N5.js} +2 -2
  34. package/dist/chunk-CWFUPKSS.js +20 -0
  35. package/dist/chunk-CWFUPKSS.js.map +1 -0
  36. package/dist/chunk-DO4VUIUU.js +61 -0
  37. package/dist/chunk-DO4VUIUU.js.map +1 -0
  38. package/dist/{chunk-FDROMD5U.js → chunk-ESFN6FJY.js} +2 -2
  39. package/dist/{chunk-BHZNDYU3.js → chunk-FBJLA3P7.js} +32 -56
  40. package/dist/chunk-FBJLA3P7.js.map +1 -0
  41. package/dist/{chunk-NOVLEZPR.js → chunk-FHX2HWN3.js} +2 -2
  42. package/dist/{chunk-2Q2ZZTUW.js → chunk-FZ46YSJA.js} +2 -2
  43. package/dist/chunk-G7C4CH54.js +17 -0
  44. package/dist/chunk-G7C4CH54.js.map +1 -0
  45. package/dist/{chunk-KTBGRGB7.js → chunk-GSJYA76X.js} +2 -2
  46. package/dist/{chunk-DYK3SUIZ.js → chunk-GUKXFITX.js} +2 -2
  47. package/dist/{chunk-HYQLSAEO.js → chunk-I72JGA6Q.js} +2 -2
  48. package/dist/{chunk-AQMWZQ2P.js → chunk-J3E6IUUQ.js} +2 -2
  49. package/dist/{chunk-4DUH2UHE.js → chunk-JPTK2AAT.js} +2 -2
  50. package/dist/{chunk-YS5YVHK5.js → chunk-JWCVL7VE.js} +2 -2
  51. package/dist/{chunk-KPWHWNZH.js → chunk-KVOBNPDN.js} +2 -2
  52. package/dist/chunk-LSA5XU52.js +18 -0
  53. package/dist/chunk-LSA5XU52.js.map +1 -0
  54. package/dist/chunk-M56MDRNT.js +17 -0
  55. package/dist/chunk-M56MDRNT.js.map +1 -0
  56. package/dist/{chunk-HH2RZCH6.js → chunk-MC7N4KQA.js} +2 -2
  57. package/dist/{chunk-RUC577P7.js → chunk-MYKZWY2E.js} +2 -2
  58. package/dist/{chunk-5LQGSI6N.js → chunk-NA6K372D.js} +2 -2
  59. package/dist/{chunk-JCIEWEQC.js → chunk-NWK6VBCJ.js} +2 -2
  60. package/dist/{chunk-CI4PGKUI.js → chunk-NWRCFNYB.js} +2 -2
  61. package/dist/{chunk-WLHXHAEV.js → chunk-OAH7AEGE.js} +2 -2
  62. package/dist/chunk-OD6N2ATZ.js +45 -0
  63. package/dist/chunk-OD6N2ATZ.js.map +1 -0
  64. package/dist/chunk-OP2WE7MA.js +31 -0
  65. package/dist/chunk-OP2WE7MA.js.map +1 -0
  66. package/dist/{chunk-DZPDZGM7.js → chunk-PRVJKYEQ.js} +2 -2
  67. package/dist/chunk-QRYI7BEO.js +21 -0
  68. package/dist/chunk-QRYI7BEO.js.map +1 -0
  69. package/dist/{chunk-V3PBT4XB.js → chunk-RAATAHXZ.js} +2 -2
  70. package/dist/{chunk-R6PUPQUI.js → chunk-RIGQTEKW.js} +2 -2
  71. package/dist/{chunk-G2A5PWIR.js → chunk-RMIIFPXA.js} +2 -2
  72. package/dist/chunk-SQ6GWXDK.js +48 -0
  73. package/dist/chunk-SQ6GWXDK.js.map +1 -0
  74. package/dist/chunk-TH6Q4E7C.js +21 -0
  75. package/dist/chunk-TH6Q4E7C.js.map +1 -0
  76. package/dist/{chunk-NAYUAF7O.js → chunk-TSQWTDBK.js} +2 -2
  77. package/dist/{chunk-ORIH4UQP.js → chunk-U3LT444G.js} +2 -2
  78. package/dist/{chunk-BIIINOXE.js → chunk-UOOHQAJU.js} +2 -2
  79. package/dist/{chunk-CCFFHU7V.js → chunk-VKNGQ4NW.js} +2 -2
  80. package/dist/{chunk-M3X7JONW.js → chunk-WFO6BICV.js} +2 -2
  81. package/dist/chunk-WMU6O6KZ.js +21 -0
  82. package/dist/chunk-WMU6O6KZ.js.map +1 -0
  83. package/dist/chunk-WZZA2IGN.js +44 -0
  84. package/dist/chunk-WZZA2IGN.js.map +1 -0
  85. package/dist/{chunk-2OAPH7JN.js → chunk-X2F56RYM.js} +2 -2
  86. package/dist/chunk-ZBSCLF56.js +33 -0
  87. package/dist/chunk-ZBSCLF56.js.map +1 -0
  88. package/dist/chunk-ZOB6BH7H.js +21 -0
  89. package/dist/chunk-ZOB6BH7H.js.map +1 -0
  90. package/dist/composed-chart.js +4 -2
  91. package/dist/coxcomb-chart.js +4 -2
  92. package/dist/create-server-chart-DJQCtKVM.d.ts +17 -0
  93. package/dist/dashboard-link.d.ts +20 -0
  94. package/dist/dashboard-link.js +27 -0
  95. package/dist/dashboard-link.js.map +1 -0
  96. package/dist/dashboard-markup-_EoDs-s-.d.ts +21 -0
  97. package/dist/dashboard.d.ts +22 -0
  98. package/dist/dashboard.js +18 -0
  99. package/dist/dashboard.js.map +1 -0
  100. package/dist/donut-chart.js +4 -2
  101. package/dist/funnel-chart.js +4 -2
  102. package/dist/gauge-arc.js +4 -2
  103. package/dist/heatmap-chart.js +4 -2
  104. package/dist/index.js +36 -34
  105. package/dist/index.js.map +1 -1
  106. package/dist/kpi-card.js +4 -2
  107. package/dist/line-chart.js +4 -2
  108. package/dist/meter-chart.js +4 -2
  109. package/dist/orbit-chart.js +4 -2
  110. package/dist/polar-bar-chart.js +4 -2
  111. package/dist/pyramid-chart.js +4 -2
  112. package/dist/radar-chart.js +4 -2
  113. package/dist/radial-arc-group.js +4 -2
  114. package/dist/radial-rings.js +4 -2
  115. package/dist/range-band-chart.js +4 -2
  116. package/dist/sankey-chart.js +4 -2
  117. package/dist/scatter-chart.js +4 -2
  118. package/dist/server/activity-grid.d.ts +9 -2
  119. package/dist/server/activity-grid.js +1 -1
  120. package/dist/server/area-chart.d.ts +9 -2
  121. package/dist/server/area-chart.js +1 -1
  122. package/dist/server/bar-chart.d.ts +9 -2
  123. package/dist/server/bar-chart.js +1 -1
  124. package/dist/server/bubble-chart.d.ts +9 -2
  125. package/dist/server/bubble-chart.js +1 -1
  126. package/dist/server/bullet-chart.d.ts +9 -2
  127. package/dist/server/bullet-chart.js +1 -1
  128. package/dist/server/candlestick-chart.d.ts +9 -2
  129. package/dist/server/candlestick-chart.js +1 -1
  130. package/dist/server/chord-ring.d.ts +9 -2
  131. package/dist/server/chord-ring.js +1 -1
  132. package/dist/server/composed-chart.d.ts +9 -2
  133. package/dist/server/composed-chart.js +1 -1
  134. package/dist/server/coxcomb-chart.d.ts +9 -2
  135. package/dist/server/coxcomb-chart.js +1 -1
  136. package/dist/server/dashboard.d.ts +15 -0
  137. package/dist/server/dashboard.js +15 -0
  138. package/dist/server/dashboard.js.map +1 -0
  139. package/dist/server/donut-chart.d.ts +9 -2
  140. package/dist/server/donut-chart.js +1 -1
  141. package/dist/server/funnel-chart.d.ts +9 -2
  142. package/dist/server/funnel-chart.js +1 -1
  143. package/dist/server/gauge-arc.d.ts +9 -2
  144. package/dist/server/gauge-arc.js +1 -1
  145. package/dist/server/heatmap-chart.d.ts +9 -2
  146. package/dist/server/heatmap-chart.js +1 -1
  147. package/dist/server/kpi-card.d.ts +9 -2
  148. package/dist/server/kpi-card.js +1 -1
  149. package/dist/server/line-chart.d.ts +9 -2
  150. package/dist/server/line-chart.js +1 -1
  151. package/dist/server/meter-chart.d.ts +9 -2
  152. package/dist/server/meter-chart.js +1 -1
  153. package/dist/server/orbit-chart.d.ts +9 -2
  154. package/dist/server/orbit-chart.js +1 -1
  155. package/dist/server/polar-bar-chart.d.ts +9 -2
  156. package/dist/server/polar-bar-chart.js +1 -1
  157. package/dist/server/pyramid-chart.d.ts +9 -2
  158. package/dist/server/pyramid-chart.js +1 -1
  159. package/dist/server/radar-chart.d.ts +9 -2
  160. package/dist/server/radar-chart.js +1 -1
  161. package/dist/server/radial-arc-group.d.ts +9 -2
  162. package/dist/server/radial-arc-group.js +1 -1
  163. package/dist/server/radial-rings.d.ts +9 -2
  164. package/dist/server/radial-rings.js +1 -1
  165. package/dist/server/range-band-chart.d.ts +9 -2
  166. package/dist/server/range-band-chart.js +1 -1
  167. package/dist/server/sankey-chart.d.ts +9 -2
  168. package/dist/server/sankey-chart.js +1 -1
  169. package/dist/server/scatter-chart.d.ts +9 -2
  170. package/dist/server/scatter-chart.js +1 -1
  171. package/dist/server/sparkline-rows.d.ts +9 -2
  172. package/dist/server/sparkline-rows.js +1 -1
  173. package/dist/server/stacked-bar-chart.d.ts +9 -2
  174. package/dist/server/stacked-bar-chart.js +1 -1
  175. package/dist/server/step-chart.d.ts +9 -2
  176. package/dist/server/step-chart.js +1 -1
  177. package/dist/server/stream-chart.d.ts +9 -2
  178. package/dist/server/stream-chart.js +1 -1
  179. package/dist/server/treemap-chart.d.ts +9 -2
  180. package/dist/server/treemap-chart.js +1 -1
  181. package/dist/server/ui/alert.d.ts +17 -0
  182. package/dist/server/ui/alert.js +13 -0
  183. package/dist/server/ui/alert.js.map +1 -0
  184. package/dist/server/ui/badge.d.ts +15 -0
  185. package/dist/server/ui/badge.js +14 -0
  186. package/dist/server/ui/badge.js.map +1 -0
  187. package/dist/server/ui/card.d.ts +18 -0
  188. package/dist/server/ui/card.js +14 -0
  189. package/dist/server/ui/card.js.map +1 -0
  190. package/dist/server/ui/divider.d.ts +12 -0
  191. package/dist/server/ui/divider.js +13 -0
  192. package/dist/server/ui/divider.js.map +1 -0
  193. package/dist/server/ui/progress.d.ts +14 -0
  194. package/dist/server/ui/progress.js +13 -0
  195. package/dist/server/ui/progress.js.map +1 -0
  196. package/dist/server/ui/skeleton.d.ts +14 -0
  197. package/dist/server/ui/skeleton.js +13 -0
  198. package/dist/server/ui/skeleton.js.map +1 -0
  199. package/dist/server/ui/steps.d.ts +14 -0
  200. package/dist/server/ui/steps.js +13 -0
  201. package/dist/server/ui/steps.js.map +1 -0
  202. package/dist/server/ui/tag.d.ts +17 -0
  203. package/dist/server/ui/tag.js +14 -0
  204. package/dist/server/ui/tag.js.map +1 -0
  205. package/dist/server/volvelle-chart.d.ts +9 -2
  206. package/dist/server/volvelle-chart.js +1 -1
  207. package/dist/server/waterfall-chart.d.ts +9 -2
  208. package/dist/server/waterfall-chart.js +1 -1
  209. package/dist/server/wind-rose.d.ts +9 -2
  210. package/dist/server/wind-rose.js +1 -1
  211. package/dist/sparkline-rows.js +4 -2
  212. package/dist/stacked-bar-chart.js +4 -2
  213. package/dist/step-chart.js +4 -2
  214. package/dist/stream-chart.js +4 -2
  215. package/dist/treemap-chart.js +4 -2
  216. package/dist/ui/alert.d.ts +14 -0
  217. package/dist/ui/alert.js +10 -0
  218. package/dist/ui/alert.js.map +1 -0
  219. package/dist/ui/badge.d.ts +12 -0
  220. package/dist/ui/badge.js +10 -0
  221. package/dist/ui/badge.js.map +1 -0
  222. package/dist/ui/button.d.ts +14 -0
  223. package/dist/ui/button.js +10 -0
  224. package/dist/ui/button.js.map +1 -0
  225. package/dist/ui/card.d.ts +14 -0
  226. package/dist/ui/card.js +10 -0
  227. package/dist/ui/card.js.map +1 -0
  228. package/dist/ui/checkbox.d.ts +14 -0
  229. package/dist/ui/checkbox.js +10 -0
  230. package/dist/ui/checkbox.js.map +1 -0
  231. package/dist/ui/divider.d.ts +11 -0
  232. package/dist/ui/divider.js +10 -0
  233. package/dist/ui/divider.js.map +1 -0
  234. package/dist/ui/input.d.ts +19 -0
  235. package/dist/ui/input.js +10 -0
  236. package/dist/ui/input.js.map +1 -0
  237. package/dist/ui/progress.d.ts +11 -0
  238. package/dist/ui/progress.js +10 -0
  239. package/dist/ui/progress.js.map +1 -0
  240. package/dist/ui/radio-group.d.ts +16 -0
  241. package/dist/ui/radio-group.js +10 -0
  242. package/dist/ui/radio-group.js.map +1 -0
  243. package/dist/ui/rate.d.ts +15 -0
  244. package/dist/ui/rate.js +10 -0
  245. package/dist/ui/rate.js.map +1 -0
  246. package/dist/ui/segmented.d.ts +16 -0
  247. package/dist/ui/segmented.js +10 -0
  248. package/dist/ui/segmented.js.map +1 -0
  249. package/dist/ui/skeleton.d.ts +11 -0
  250. package/dist/ui/skeleton.js +10 -0
  251. package/dist/ui/skeleton.js.map +1 -0
  252. package/dist/ui/slider.d.ts +15 -0
  253. package/dist/ui/slider.js +10 -0
  254. package/dist/ui/slider.js.map +1 -0
  255. package/dist/ui/steps.d.ts +11 -0
  256. package/dist/ui/steps.js +10 -0
  257. package/dist/ui/steps.js.map +1 -0
  258. package/dist/ui/switch.d.ts +14 -0
  259. package/dist/ui/switch.js +10 -0
  260. package/dist/ui/switch.js.map +1 -0
  261. package/dist/ui/tabs.d.ts +25 -0
  262. package/dist/ui/tabs.js +12 -0
  263. package/dist/ui/tabs.js.map +1 -0
  264. package/dist/ui/tag.d.ts +14 -0
  265. package/dist/ui/tag.js +10 -0
  266. package/dist/ui/tag.js.map +1 -0
  267. package/dist/ui.d.ts +21 -0
  268. package/dist/ui.js +76 -0
  269. package/dist/ui.js.map +1 -0
  270. package/dist/volvelle-chart.js +4 -2
  271. package/dist/waterfall-chart.js +4 -2
  272. package/dist/wind-rose.js +4 -2
  273. package/package.json +177 -3
  274. package/dist/chunk-BHZNDYU3.js.map +0 -1
  275. package/dist/chunk-INZGRNO3.js.map +0 -1
  276. package/dist/create-server-chart-B0LbkpQP.d.ts +0 -16
  277. /package/dist/{chunk-6FZO4SMF.js.map → chunk-3BREGZ7C.js.map} +0 -0
  278. /package/dist/{chunk-LOIVX5IV.js.map → chunk-3U3Z5U6H.js.map} +0 -0
  279. /package/dist/{chunk-PBT76UXS.js.map → chunk-6EFRIK7Q.js.map} +0 -0
  280. /package/dist/{chunk-CXXCUD4B.js.map → chunk-6M4REUJE.js.map} +0 -0
  281. /package/dist/{chunk-O2DNGRM7.js.map → chunk-6S6VKQ3E.js.map} +0 -0
  282. /package/dist/{chunk-2JXPSUCK.js.map → chunk-AEU6UHVG.js.map} +0 -0
  283. /package/dist/{chunk-Y7WZS3VB.js.map → chunk-C3NHZ4N5.js.map} +0 -0
  284. /package/dist/{chunk-FDROMD5U.js.map → chunk-ESFN6FJY.js.map} +0 -0
  285. /package/dist/{chunk-NOVLEZPR.js.map → chunk-FHX2HWN3.js.map} +0 -0
  286. /package/dist/{chunk-2Q2ZZTUW.js.map → chunk-FZ46YSJA.js.map} +0 -0
  287. /package/dist/{chunk-KTBGRGB7.js.map → chunk-GSJYA76X.js.map} +0 -0
  288. /package/dist/{chunk-DYK3SUIZ.js.map → chunk-GUKXFITX.js.map} +0 -0
  289. /package/dist/{chunk-HYQLSAEO.js.map → chunk-I72JGA6Q.js.map} +0 -0
  290. /package/dist/{chunk-AQMWZQ2P.js.map → chunk-J3E6IUUQ.js.map} +0 -0
  291. /package/dist/{chunk-4DUH2UHE.js.map → chunk-JPTK2AAT.js.map} +0 -0
  292. /package/dist/{chunk-YS5YVHK5.js.map → chunk-JWCVL7VE.js.map} +0 -0
  293. /package/dist/{chunk-KPWHWNZH.js.map → chunk-KVOBNPDN.js.map} +0 -0
  294. /package/dist/{chunk-HH2RZCH6.js.map → chunk-MC7N4KQA.js.map} +0 -0
  295. /package/dist/{chunk-RUC577P7.js.map → chunk-MYKZWY2E.js.map} +0 -0
  296. /package/dist/{chunk-5LQGSI6N.js.map → chunk-NA6K372D.js.map} +0 -0
  297. /package/dist/{chunk-JCIEWEQC.js.map → chunk-NWK6VBCJ.js.map} +0 -0
  298. /package/dist/{chunk-CI4PGKUI.js.map → chunk-NWRCFNYB.js.map} +0 -0
  299. /package/dist/{chunk-WLHXHAEV.js.map → chunk-OAH7AEGE.js.map} +0 -0
  300. /package/dist/{chunk-DZPDZGM7.js.map → chunk-PRVJKYEQ.js.map} +0 -0
  301. /package/dist/{chunk-V3PBT4XB.js.map → chunk-RAATAHXZ.js.map} +0 -0
  302. /package/dist/{chunk-R6PUPQUI.js.map → chunk-RIGQTEKW.js.map} +0 -0
  303. /package/dist/{chunk-G2A5PWIR.js.map → chunk-RMIIFPXA.js.map} +0 -0
  304. /package/dist/{chunk-NAYUAF7O.js.map → chunk-TSQWTDBK.js.map} +0 -0
  305. /package/dist/{chunk-ORIH4UQP.js.map → chunk-U3LT444G.js.map} +0 -0
  306. /package/dist/{chunk-BIIINOXE.js.map → chunk-UOOHQAJU.js.map} +0 -0
  307. /package/dist/{chunk-CCFFHU7V.js.map → chunk-VKNGQ4NW.js.map} +0 -0
  308. /package/dist/{chunk-M3X7JONW.js.map → chunk-WFO6BICV.js.map} +0 -0
  309. /package/dist/{chunk-2OAPH7JN.js.map → chunk-X2F56RYM.js.map} +0 -0
@@ -1,8 +1,10 @@
1
1
  'use client';
2
2
  import {
3
3
  ActivityGrid
4
- } from "./chunk-PBT76UXS.js";
5
- import "./chunk-BHZNDYU3.js";
4
+ } from "./chunk-6EFRIK7Q.js";
5
+ import "./chunk-FBJLA3P7.js";
6
+ import "./chunk-4GQ5X2WK.js";
7
+ import "./chunk-SQ6GWXDK.js";
6
8
  export {
7
9
  ActivityGrid
8
10
  };
@@ -1,8 +1,10 @@
1
1
  'use client';
2
2
  import {
3
3
  AreaChart
4
- } from "./chunk-ORIH4UQP.js";
5
- import "./chunk-BHZNDYU3.js";
4
+ } from "./chunk-U3LT444G.js";
5
+ import "./chunk-FBJLA3P7.js";
6
+ import "./chunk-4GQ5X2WK.js";
7
+ import "./chunk-SQ6GWXDK.js";
6
8
  export {
7
9
  AreaChart
8
10
  };
package/dist/bar-chart.js CHANGED
@@ -1,8 +1,10 @@
1
1
  'use client';
2
2
  import {
3
3
  BarChart
4
- } from "./chunk-4DUH2UHE.js";
5
- import "./chunk-BHZNDYU3.js";
4
+ } from "./chunk-JPTK2AAT.js";
5
+ import "./chunk-FBJLA3P7.js";
6
+ import "./chunk-4GQ5X2WK.js";
7
+ import "./chunk-SQ6GWXDK.js";
6
8
  export {
7
9
  BarChart
8
10
  };
@@ -0,0 +1,8 @@
1
+ import { DashboardCellContext } from '@silverpoint/core';
2
+
3
+ /** The internal prop through which a dashboard cell hands its configuration (TD §3.3). */
4
+ interface UiCellProps {
5
+ readonly dashboardCell?: DashboardCellContext;
6
+ }
7
+
8
+ export type { UiCellProps as U };
@@ -1,8 +1,10 @@
1
1
  'use client';
2
2
  import {
3
3
  BubbleChart
4
- } from "./chunk-6FZO4SMF.js";
5
- import "./chunk-BHZNDYU3.js";
4
+ } from "./chunk-3BREGZ7C.js";
5
+ import "./chunk-FBJLA3P7.js";
6
+ import "./chunk-4GQ5X2WK.js";
7
+ import "./chunk-SQ6GWXDK.js";
6
8
  export {
7
9
  BubbleChart
8
10
  };
@@ -1,8 +1,10 @@
1
1
  'use client';
2
2
  import {
3
3
  BulletChart
4
- } from "./chunk-O2DNGRM7.js";
5
- import "./chunk-BHZNDYU3.js";
4
+ } from "./chunk-6S6VKQ3E.js";
5
+ import "./chunk-FBJLA3P7.js";
6
+ import "./chunk-4GQ5X2WK.js";
7
+ import "./chunk-SQ6GWXDK.js";
6
8
  export {
7
9
  BulletChart
8
10
  };
@@ -1,8 +1,10 @@
1
1
  'use client';
2
2
  import {
3
3
  CandlestickChart
4
- } from "./chunk-KPWHWNZH.js";
5
- import "./chunk-BHZNDYU3.js";
4
+ } from "./chunk-KVOBNPDN.js";
5
+ import "./chunk-FBJLA3P7.js";
6
+ import "./chunk-4GQ5X2WK.js";
7
+ import "./chunk-SQ6GWXDK.js";
6
8
  export {
7
9
  CandlestickChart
8
10
  };
@@ -1,8 +1,10 @@
1
1
  'use client';
2
2
  import {
3
3
  ChordRing
4
- } from "./chunk-2OAPH7JN.js";
5
- import "./chunk-BHZNDYU3.js";
4
+ } from "./chunk-X2F56RYM.js";
5
+ import "./chunk-FBJLA3P7.js";
6
+ import "./chunk-4GQ5X2WK.js";
7
+ import "./chunk-SQ6GWXDK.js";
6
8
  export {
7
9
  ChordRing
8
10
  };
@@ -0,0 +1,16 @@
1
+ 'use client';
2
+ import {
3
+ renderUi,
4
+ useUi
5
+ } from "./chunk-DO4VUIUU.js";
6
+
7
+ // src/ui/progress.tsx
8
+ import { uiProgressView } from "@silverpoint/core/ui";
9
+ function SpProgress({ dashboardCell, ...props }) {
10
+ return renderUi(uiProgressView(props, useUi(props, dashboardCell)), {});
11
+ }
12
+
13
+ export {
14
+ SpProgress
15
+ };
16
+ //# sourceMappingURL=chunk-2JWLXUY5.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/ui/progress.tsx"],"sourcesContent":["import { uiProgressView, type SpProgressProps as CoreProps } from '@silverpoint/core/ui';\nimport type { ReactElement } from 'react';\nimport { useUi, type UiCellProps } from './base';\nimport { renderUi } from './render';\n\nexport interface SpProgressProps extends CoreProps, UiCellProps {}\n\n/** `SpProgress`: a `progressbar`; without `value`, indeterminate (REQ-318). */\nexport function SpProgress({ dashboardCell, ...props }: SpProgressProps) {\n return renderUi(uiProgressView(props, useUi(props, dashboardCell)), {}) as ReactElement;\n}\n"],"mappings":";;;;;;;AAAA,SAAS,sBAAyD;AAQ3D,SAAS,WAAW,EAAE,eAAe,GAAG,MAAM,GAAoB;AACvE,SAAO,SAAS,eAAe,OAAO,MAAM,OAAO,aAAa,CAAC,GAAG,CAAC,CAAC;AACxE;","names":[]}
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
  import {
3
3
  createClientChart
4
- } from "./chunk-BHZNDYU3.js";
4
+ } from "./chunk-FBJLA3P7.js";
5
5
 
6
6
  // src/bubble-chart.tsx
7
7
  import { bubbleChart } from "@silverpoint/core";
@@ -10,4 +10,4 @@ var BubbleChart = createClientChart(bubbleChart);
10
10
  export {
11
11
  BubbleChart
12
12
  };
13
- //# sourceMappingURL=chunk-6FZO4SMF.js.map
13
+ //# sourceMappingURL=chunk-3BREGZ7C.js.map
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
  import {
3
3
  createClientChart
4
- } from "./chunk-BHZNDYU3.js";
4
+ } from "./chunk-FBJLA3P7.js";
5
5
 
6
6
  // src/meter-chart.tsx
7
7
  import { meterChart } from "@silverpoint/core";
@@ -10,4 +10,4 @@ var MeterChart = createClientChart(meterChart);
10
10
  export {
11
11
  MeterChart
12
12
  };
13
- //# sourceMappingURL=chunk-LOIVX5IV.js.map
13
+ //# sourceMappingURL=chunk-3U3Z5U6H.js.map
@@ -0,0 +1,17 @@
1
+ 'use client';
2
+ import {
3
+ renderUi,
4
+ useUi
5
+ } from "./chunk-DO4VUIUU.js";
6
+
7
+ // src/ui/card.tsx
8
+ import { uiCardView } from "@silverpoint/core/ui";
9
+ function SpCard({ children, extra, footer, dashboardCell, ...props }) {
10
+ const view = uiCardView(props, useUi(props, dashboardCell), { extra: extra != null, footer: footer != null });
11
+ return renderUi(view, { slots: { content: children, extra, footer } });
12
+ }
13
+
14
+ export {
15
+ SpCard
16
+ };
17
+ //# sourceMappingURL=chunk-3WUPWJP2.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/ui/card.tsx"],"sourcesContent":["import { uiCardView, type SpCardProps as CoreProps } from '@silverpoint/core/ui';\nimport type { ReactElement, ReactNode } from 'react';\nimport { useUi, type UiCellProps } from './base';\nimport { renderUi } from './render';\n\nexport interface SpCardProps extends CoreProps, UiCellProps {\n readonly children?: ReactNode;\n readonly extra?: ReactNode;\n readonly footer?: ReactNode;\n}\n\n/** `SpCard`: reads the provider; `@silverpoint/react/server/ui/card` renders it in a Server Component. */\nexport function SpCard({ children, extra, footer, dashboardCell, ...props }: SpCardProps) {\n const view = uiCardView(props, useUi(props, dashboardCell), { extra: extra != null, footer: footer != null });\n return renderUi(view, { slots: { content: children, extra, footer } }) as ReactElement;\n}\n"],"mappings":";;;;;;;AAAA,SAAS,kBAAiD;AAYnD,SAAS,OAAO,EAAE,UAAU,OAAO,QAAQ,eAAe,GAAG,MAAM,GAAgB;AACxF,QAAM,OAAO,WAAW,OAAO,MAAM,OAAO,aAAa,GAAG,EAAE,OAAO,SAAS,MAAM,QAAQ,UAAU,KAAK,CAAC;AAC5G,SAAO,SAAS,MAAM,EAAE,OAAO,EAAE,SAAS,UAAU,OAAO,OAAO,EAAE,CAAC;AACvE;","names":[]}
@@ -0,0 +1,21 @@
1
+ 'use client';
2
+ import {
3
+ renderUi,
4
+ useUi,
5
+ useValue
6
+ } from "./chunk-DO4VUIUU.js";
7
+
8
+ // src/ui/switch.tsx
9
+ import { uiSwitchView } from "@silverpoint/core/ui";
10
+ import { forwardRef } from "react";
11
+ var SpSwitch = forwardRef(function SpSwitch2({ checked, defaultChecked, onChange, dashboardCell, ...props }, ref) {
12
+ const [current, set] = useValue(checked, defaultChecked ?? false, onChange);
13
+ const view = uiSwitchView(props, useUi(props, dashboardCell), { checked: current });
14
+ const native = { ref, checked: current, onChange: (event) => set(event.target.checked) };
15
+ return renderUi(view, { native });
16
+ });
17
+
18
+ export {
19
+ SpSwitch
20
+ };
21
+ //# sourceMappingURL=chunk-43AIURD6.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/ui/switch.tsx"],"sourcesContent":["import { uiSwitchView, type SpSwitchProps as CoreProps } from '@silverpoint/core/ui';\nimport { forwardRef, type ChangeEvent, type ReactElement } from 'react';\nimport { useUi, useValue, type UiCellProps } from './base';\nimport { renderUi } from './render';\n\nexport interface SpSwitchProps extends CoreProps, UiCellProps {\n readonly checked?: boolean;\n readonly defaultChecked?: boolean;\n readonly onChange?: (checked: boolean) => void;\n}\n\n/** `SpSwitch`: a native checkbox with `role=\"switch\"`; its ref is the input. */\nexport const SpSwitch = forwardRef<HTMLInputElement, SpSwitchProps>(function SpSwitch({ checked, defaultChecked, onChange, dashboardCell, ...props }, ref) {\n const [current, set] = useValue(checked, defaultChecked ?? false, onChange);\n const view = uiSwitchView(props, useUi(props, dashboardCell), { checked: current });\n const native = { ref, checked: current, onChange: (event: ChangeEvent<HTMLInputElement>) => set(event.target.checked) };\n return renderUi(view, { native }) as ReactElement;\n});\n"],"mappings":";;;;;;;;AAAA,SAAS,oBAAqD;AAC9D,SAAS,kBAAuD;AAWzD,IAAM,WAAW,WAA4C,SAASA,UAAS,EAAE,SAAS,gBAAgB,UAAU,eAAe,GAAG,MAAM,GAAG,KAAK;AACzJ,QAAM,CAAC,SAAS,GAAG,IAAI,SAAS,SAAS,kBAAkB,OAAO,QAAQ;AAC1E,QAAM,OAAO,aAAa,OAAO,MAAM,OAAO,aAAa,GAAG,EAAE,SAAS,QAAQ,CAAC;AAClF,QAAM,SAAS,EAAE,KAAK,SAAS,SAAS,UAAU,CAAC,UAAyC,IAAI,MAAM,OAAO,OAAO,EAAE;AACtH,SAAO,SAAS,MAAM,EAAE,OAAO,CAAC;AAClC,CAAC;","names":["SpSwitch"]}
@@ -1,4 +1,5 @@
1
1
  // src/server/create-server-chart.tsx
2
+ import { diagnose, inCell, instanceId } from "@silverpoint/core";
2
3
  import { renderChart } from "@silverpoint/grounds";
3
4
 
4
5
  // src/chart-svg.tsx
@@ -12,6 +13,7 @@ function Path({ path }) {
12
13
  "data-role": path.role,
13
14
  "data-paint": path.paint,
14
15
  "data-dash": path.dash ?? void 0,
16
+ "data-weight": path.weight ?? void 0,
15
17
  fill: path.fill ?? void 0
16
18
  }
17
19
  );
@@ -86,8 +88,13 @@ function ChartFrame({ rendered, className, rootProps, rootRef, overlay }) {
86
88
  // src/server/create-server-chart.tsx
87
89
  import { jsx as jsx3 } from "react/jsx-runtime";
88
90
  function createServerChart(recipe) {
89
- function Chart(props) {
90
- const rendered = renderChart(recipe, props, { id: props.id });
91
+ function Chart({ dashboardCell, ...own }) {
92
+ const { props, width } = inCell(own, dashboardCell, recipe);
93
+ if (process.env.NODE_ENV !== "production") {
94
+ if (props.id === void 0) diagnose("SP002", recipe.name, { property: "id", message: "A server chart outside a Dashboard needs an `id`; a fixed one is used, which two such charts on a page would share." });
95
+ if (width === void 0) diagnose("SP003", recipe.name, { property: "width", message: "A server chart cannot be measured: pass `width`, or place it in a Dashboard." });
96
+ }
97
+ const rendered = renderChart(recipe, props, { id: props.id ?? instanceId(recipe.name, "server"), width });
91
98
  return /* @__PURE__ */ jsx3(ChartFrame, { rendered, className: props.className });
92
99
  }
93
100
  Chart.displayName = recipe.name;
@@ -97,4 +104,4 @@ function createServerChart(recipe) {
97
104
  export {
98
105
  createServerChart
99
106
  };
100
- //# sourceMappingURL=chunk-INZGRNO3.js.map
107
+ //# sourceMappingURL=chunk-46S63XYT.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/server/create-server-chart.tsx","../src/chart-svg.tsx","../src/chart-frame.tsx"],"sourcesContent":["import { diagnose, inCell, instanceId, type ChartRecipe, type CommonChartProps } from '@silverpoint/core';\nimport { renderChart } from '@silverpoint/grounds';\nimport { ChartFrame } from '../chart-frame';\nimport type { CellChartProps } from '../dashboard-markup';\n\n/**\n * Props of a server chart: pure SVG, no client JavaScript (REQ-104); interaction props do not\n * exist here. Nothing can be measured on the server and a server component has no mount position\n * to derive a unique id from (TD §6), so a chart standing alone passes `id`, `width` and `height`;\n * inside a `Dashboard` the cell supplies them (REQ-206, REQ-209).\n */\nexport type ServerChartProps<P extends CommonChartProps> = Omit<P, 'id' | 'width' | 'height'> & {\n readonly id?: string;\n readonly width?: number;\n readonly height?: number;\n readonly onActiveChange?: never;\n readonly onSelect?: never;\n};\n\n/** The server component of a recipe, for React Server Components and static rendering. */\nexport function createServerChart<P extends CommonChartProps>(recipe: ChartRecipe<P>) {\n function Chart({ dashboardCell, ...own }: ServerChartProps<P> & CellChartProps) {\n const { props, width } = inCell(own as unknown as P, dashboardCell, recipe);\n if (process.env.NODE_ENV !== 'production') {\n if (props.id === undefined) diagnose('SP002', recipe.name, { property: 'id', message: 'A server chart outside a Dashboard needs an `id`; a fixed one is used, which two such charts on a page would share.' });\n if (width === undefined) diagnose('SP003', recipe.name, { property: 'width', message: 'A server chart cannot be measured: pass `width`, or place it in a Dashboard.' });\n }\n const rendered = renderChart(recipe, props, { id: props.id ?? instanceId(recipe.name, 'server'), width });\n return <ChartFrame rendered={rendered} className={props.className} />;\n }\n Chart.displayName = recipe.name;\n return Chart;\n}\n","import type { PathView, SvgView } from '@silverpoint/core';\n\nfunction Path({ path }: { readonly path: PathView }) {\n return (\n <path\n d={path.d}\n part={path.part}\n data-role={path.role}\n data-paint={path.paint}\n data-dash={path.dash ?? undefined}\n data-weight={path.weight ?? undefined}\n fill={path.fill ?? undefined}\n />\n );\n}\n\n/** Writes the core's SVG view one field to one attribute; computes nothing (Art. 2). */\nexport function ChartSvg({ view }: { readonly view: SvgView }) {\n const { svg } = view;\n return (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox={svg.viewBox}\n width={svg.width}\n height={svg.height}\n className={svg.class}\n data-substrate={svg.substrate}\n data-mode={svg.mode}\n role={svg.role}\n aria-labelledby={svg.labelledby}\n >\n <title id={view.title.id}>{view.title.text}</title>\n <desc id={view.desc.id}>{view.desc.text}</desc>\n {view.patterns.length > 0 && (\n <defs>\n {view.patterns.map((pattern) => (\n <pattern\n key={pattern.id}\n id={pattern.id}\n width={pattern.width}\n height={pattern.height}\n patternUnits=\"userSpaceOnUse\"\n patternTransform={pattern.transform}\n >\n {pattern.paths.map((path, index) => (\n <Path key={index} path={path} />\n ))}\n </pattern>\n ))}\n </defs>\n )}\n {view.paths.map((path, index) => (\n <Path key={index} path={path} />\n ))}\n {view.texts.map((text, index) => (\n <text key={index} x={text.x} y={text.y} part={text.part} data-kind={text.kind} textAnchor={text.anchor}>\n {text.text}\n </text>\n ))}\n </svg>\n );\n}\n","import type { DataTable } from '@silverpoint/core';\nimport type { RenderedChart } from '@silverpoint/grounds';\nimport type { HTMLAttributes, ReactNode, Ref } from 'react';\nimport { ChartSvg } from './chart-svg';\n\nfunction Table({ table, id, visibility }: { readonly table: DataTable; readonly id: string; readonly visibility: string }) {\n return (\n <div className=\"sp-table-box\" data-visibility={visibility}>\n <table className=\"sp-table\" id={id} data-visibility={visibility}>\n <caption>{table.caption}</caption>\n <thead>\n <tr>\n {table.columns.map((column, index) => (\n <th key={index} scope=\"col\">\n {column}\n </th>\n ))}\n </tr>\n </thead>\n <tbody>\n {table.rows.map((row, index) => (\n <tr key={index}>\n {row.map((cell, column) =>\n column === 0 ? (\n <th key={column} scope=\"row\">\n {cell}\n </th>\n ) : (\n <td key={column}>{cell}</td>\n ),\n )}\n </tr>\n ))}\n </tbody>\n </table>\n </div>\n );\n}\n\nexport interface ChartFrameProps {\n readonly rendered: RenderedChart;\n readonly className?: string;\n /** Interaction handlers and focus attributes, supplied by the client component only. */\n readonly rootProps?: HTMLAttributes<HTMLDivElement>;\n readonly rootRef?: Ref<HTMLDivElement>;\n /** Readout and marker, drawn over the chart by the client component. */\n readonly overlay?: ReactNode;\n}\n\n/** The chart's DOM: root, SVG, overlay and tabular alternative (API Spec §10). */\nexport function ChartFrame({ rendered, className, rootProps, rootRef, overlay }: ChartFrameProps) {\n const classes = ['sp-root', `sp-ground-${rendered.ground}`, className].filter(Boolean).join(' ');\n return (\n <div\n className={classes}\n data-substrate={rendered.substrate}\n data-chrome={rendered.chrome}\n data-status={rendered.status}\n ref={rootRef}\n {...rootProps}\n >\n <ChartSvg view={rendered.view} />\n {overlay}\n {rendered.dataTable !== 'none' && (\n <Table table={rendered.table} id={rendered.ids.table} visibility={rendered.dataTable} />\n )}\n </div>\n );\n}\n"],"mappings":"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","names":["jsx","jsxs","jsx"]}
@@ -0,0 +1,10 @@
1
+ 'use client';
2
+
3
+ // src/link-context.ts
4
+ import { createContext } from "react";
5
+ var DashboardLinkContext = createContext(null);
6
+
7
+ export {
8
+ DashboardLinkContext
9
+ };
10
+ //# sourceMappingURL=chunk-4GQ5X2WK.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/link-context.ts"],"sourcesContent":["import type { LinkState } from '@silverpoint/core';\nimport { createContext } from 'react';\n\n/** A linked dashboard's one reactive value, and how a chart sets it (TD DD-016, REQ-216). */\nexport interface DashboardLinkValue {\n readonly key: string;\n readonly state: LinkState | null;\n set(next: LinkState | null): void;\n}\n\nexport const DashboardLinkContext = createContext<DashboardLinkValue | null>(null);\n"],"mappings":";;;AACA,SAAS,qBAAqB;AASvB,IAAM,uBAAuB,cAAyC,IAAI;","names":[]}
@@ -0,0 +1,16 @@
1
+ 'use client';
2
+ import {
3
+ renderUi,
4
+ useUi
5
+ } from "./chunk-DO4VUIUU.js";
6
+
7
+ // src/ui/divider.tsx
8
+ import { uiDividerView } from "@silverpoint/core/ui";
9
+ function SpDivider({ dashboardCell, ...props }) {
10
+ return renderUi(uiDividerView(props, useUi(props, dashboardCell)), {});
11
+ }
12
+
13
+ export {
14
+ SpDivider
15
+ };
16
+ //# sourceMappingURL=chunk-5FKONGCL.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/ui/divider.tsx"],"sourcesContent":["import type { ReactElement } from 'react';\nimport { uiDividerView, type SpDividerProps as CoreProps } from '@silverpoint/core/ui';\nimport { useUi, type UiCellProps } from './base';\nimport { renderUi } from './render';\n\nexport interface SpDividerProps extends CoreProps, UiCellProps {}\n\n/** `SpDivider`: reads the provider; `@silverpoint/react/server/ui/divider` renders it in a Server Component. */\nexport function SpDivider({ dashboardCell, ...props }: SpDividerProps) {\n return renderUi(uiDividerView(props, useUi(props, dashboardCell)), {}) as ReactElement;\n}\n"],"mappings":";;;;;;;AACA,SAAS,qBAAuD;AAOzD,SAAS,UAAU,EAAE,eAAe,GAAG,MAAM,GAAmB;AACrE,SAAO,SAAS,cAAc,OAAO,MAAM,OAAO,aAAa,CAAC,GAAG,CAAC,CAAC;AACvE;","names":[]}
@@ -0,0 +1,26 @@
1
+ 'use client';
2
+ import {
3
+ renderUi,
4
+ useUi,
5
+ useValue
6
+ } from "./chunk-DO4VUIUU.js";
7
+
8
+ // src/ui/rate.tsx
9
+ import { uiRateView, uiRovingFocus } from "@silverpoint/core/ui";
10
+ function SpRate({ value, defaultValue, onChange, dashboardCell, ...props }) {
11
+ const [current, set] = useValue(value, defaultValue ?? 0, onChange);
12
+ const view = uiRateView(props, useUi(props, dashboardCell), { value: current });
13
+ const readOnly = props.readOnly === true;
14
+ const native = (node) => ({
15
+ checked: node.attrs.checked === true,
16
+ onChange: (event) => readOnly || set(Number(event.target.value)),
17
+ onClick: readOnly ? (event) => event.preventDefault() : void 0
18
+ });
19
+ const onKeyDown = readOnly ? void 0 : (event) => uiRovingFocus(event, event.currentTarget, "input.sp-ui-native", "both", true);
20
+ return renderUi(view, { root: { onKeyDown }, native });
21
+ }
22
+
23
+ export {
24
+ SpRate
25
+ };
26
+ //# sourceMappingURL=chunk-67FND3TB.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/ui/rate.tsx"],"sourcesContent":["import { uiRateView, uiRovingFocus, type SpRateProps as CoreProps, type UiElement } from '@silverpoint/core/ui';\nimport type { ChangeEvent, KeyboardEvent, MouseEvent, ReactElement } from 'react';\nimport { useUi, useValue, type UiCellProps } from './base';\nimport { renderUi } from './render';\n\nexport interface SpRateProps extends CoreProps, UiCellProps {\n readonly value?: number;\n readonly defaultValue?: number;\n /** The number, not the DOM event (REQ-322). */\n readonly onChange?: (value: number) => void;\n}\n\n/** `SpRate`: native radios valued 1..count; read-only takes no click and no key (REQ-326). */\nexport function SpRate({ value, defaultValue, onChange, dashboardCell, ...props }: SpRateProps) {\n const [current, set] = useValue(value, defaultValue ?? 0, onChange);\n const view = uiRateView(props, useUi(props, dashboardCell), { value: current });\n const readOnly = props.readOnly === true;\n const native = (node: UiElement) => ({\n checked: node.attrs.checked === true,\n onChange: (event: ChangeEvent<HTMLInputElement>) => readOnly || set(Number(event.target.value)),\n onClick: readOnly ? (event: MouseEvent) => event.preventDefault() : undefined,\n });\n const onKeyDown = readOnly ? undefined : (event: KeyboardEvent<HTMLElement>) => uiRovingFocus(event, event.currentTarget, 'input.sp-ui-native', 'both', true);\n return renderUi(view, { root: { onKeyDown }, native }) as ReactElement;\n}\n"],"mappings":";;;;;;;;AAAA,SAAS,YAAY,qBAAoE;AAalF,SAAS,OAAO,EAAE,OAAO,cAAc,UAAU,eAAe,GAAG,MAAM,GAAgB;AAC9F,QAAM,CAAC,SAAS,GAAG,IAAI,SAAS,OAAO,gBAAgB,GAAG,QAAQ;AAClE,QAAM,OAAO,WAAW,OAAO,MAAM,OAAO,aAAa,GAAG,EAAE,OAAO,QAAQ,CAAC;AAC9E,QAAM,WAAW,MAAM,aAAa;AACpC,QAAM,SAAS,CAAC,UAAqB;AAAA,IACnC,SAAS,KAAK,MAAM,YAAY;AAAA,IAChC,UAAU,CAAC,UAAyC,YAAY,IAAI,OAAO,MAAM,OAAO,KAAK,CAAC;AAAA,IAC9F,SAAS,WAAW,CAAC,UAAsB,MAAM,eAAe,IAAI;AAAA,EACtE;AACA,QAAM,YAAY,WAAW,SAAY,CAAC,UAAsC,cAAc,OAAO,MAAM,eAAe,sBAAsB,QAAQ,IAAI;AAC5J,SAAO,SAAS,MAAM,EAAE,MAAM,EAAE,UAAU,GAAG,OAAO,CAAC;AACvD;","names":[]}
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
  import {
3
3
  createClientChart
4
- } from "./chunk-BHZNDYU3.js";
4
+ } from "./chunk-FBJLA3P7.js";
5
5
 
6
6
  // src/activity-grid.tsx
7
7
  import { activityGrid } from "@silverpoint/core";
@@ -10,4 +10,4 @@ var ActivityGrid = createClientChart(activityGrid);
10
10
  export {
11
11
  ActivityGrid
12
12
  };
13
- //# sourceMappingURL=chunk-PBT76UXS.js.map
13
+ //# sourceMappingURL=chunk-6EFRIK7Q.js.map
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
  import {
3
3
  createClientChart
4
- } from "./chunk-BHZNDYU3.js";
4
+ } from "./chunk-FBJLA3P7.js";
5
5
 
6
6
  // src/line-chart.tsx
7
7
  import { lineChart } from "@silverpoint/core";
@@ -10,4 +10,4 @@ var LineChart = createClientChart(lineChart);
10
10
  export {
11
11
  LineChart
12
12
  };
13
- //# sourceMappingURL=chunk-CXXCUD4B.js.map
13
+ //# sourceMappingURL=chunk-6M4REUJE.js.map
@@ -0,0 +1,16 @@
1
+ 'use client';
2
+ import {
3
+ renderUi,
4
+ useUi
5
+ } from "./chunk-DO4VUIUU.js";
6
+
7
+ // src/ui/steps.tsx
8
+ import { uiStepsView } from "@silverpoint/core/ui";
9
+ function SpSteps({ dashboardCell, ...props }) {
10
+ return renderUi(uiStepsView(props, useUi(props, dashboardCell)), {});
11
+ }
12
+
13
+ export {
14
+ SpSteps
15
+ };
16
+ //# sourceMappingURL=chunk-6NXL245Z.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/ui/steps.tsx"],"sourcesContent":["import { uiStepsView, type SpStepsProps as CoreProps } from '@silverpoint/core/ui';\nimport type { ReactElement } from 'react';\nimport { useUi, type UiCellProps } from './base';\nimport { renderUi } from './render';\n\nexport interface SpStepsProps extends CoreProps, UiCellProps {}\n\n/** `SpSteps`: reads the provider; `@silverpoint/react/server/ui/steps` renders it in a Server Component. */\nexport function SpSteps({ dashboardCell, ...props }: SpStepsProps) {\n return renderUi(uiStepsView(props, useUi(props, dashboardCell)), {}) as ReactElement;\n}\n"],"mappings":";;;;;;;AAAA,SAAS,mBAAmD;AAQrD,SAAS,QAAQ,EAAE,eAAe,GAAG,MAAM,GAAiB;AACjE,SAAO,SAAS,YAAY,OAAO,MAAM,OAAO,aAAa,CAAC,GAAG,CAAC,CAAC;AACrE;","names":[]}
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
  import {
3
3
  createClientChart
4
- } from "./chunk-BHZNDYU3.js";
4
+ } from "./chunk-FBJLA3P7.js";
5
5
 
6
6
  // src/bullet-chart.tsx
7
7
  import { bulletChart } from "@silverpoint/core";
@@ -10,4 +10,4 @@ var BulletChart = createClientChart(bulletChart);
10
10
  export {
11
11
  BulletChart
12
12
  };
13
- //# sourceMappingURL=chunk-O2DNGRM7.js.map
13
+ //# sourceMappingURL=chunk-6S6VKQ3E.js.map
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
  import {
3
3
  createClientChart
4
- } from "./chunk-BHZNDYU3.js";
4
+ } from "./chunk-FBJLA3P7.js";
5
5
 
6
6
  // src/stacked-bar-chart.tsx
7
7
  import { stackedBarChart } from "@silverpoint/core";
@@ -10,4 +10,4 @@ var StackedBarChart = createClientChart(stackedBarChart);
10
10
  export {
11
11
  StackedBarChart
12
12
  };
13
- //# sourceMappingURL=chunk-2JXPSUCK.js.map
13
+ //# sourceMappingURL=chunk-AEU6UHVG.js.map
@@ -0,0 +1,16 @@
1
+ 'use client';
2
+ import {
3
+ renderUi,
4
+ useUi
5
+ } from "./chunk-DO4VUIUU.js";
6
+
7
+ // src/ui/skeleton.tsx
8
+ import { uiSkeletonView } from "@silverpoint/core/ui";
9
+ function SpSkeleton({ dashboardCell, ...props }) {
10
+ return renderUi(uiSkeletonView(props, useUi(props, dashboardCell)), {});
11
+ }
12
+
13
+ export {
14
+ SpSkeleton
15
+ };
16
+ //# sourceMappingURL=chunk-ART7CMBL.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/ui/skeleton.tsx"],"sourcesContent":["import { uiSkeletonView, type SpSkeletonProps as CoreProps } from '@silverpoint/core/ui';\nimport type { ReactElement } from 'react';\nimport { useUi, type UiCellProps } from './base';\nimport { renderUi } from './render';\n\nexport interface SpSkeletonProps extends CoreProps, UiCellProps {}\n\n/** `SpSkeleton`: `aria-busy`, a hidden label, hidden toned shapes (REQ-318). */\nexport function SpSkeleton({ dashboardCell, ...props }: SpSkeletonProps) {\n return renderUi(uiSkeletonView(props, useUi(props, dashboardCell)), {}) as ReactElement;\n}\n"],"mappings":";;;;;;;AAAA,SAAS,sBAAyD;AAQ3D,SAAS,WAAW,EAAE,eAAe,GAAG,MAAM,GAAoB;AACvE,SAAO,SAAS,eAAe,OAAO,MAAM,OAAO,aAAa,CAAC,GAAG,CAAC,CAAC;AACxE;","names":[]}
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
  import {
3
3
  createClientChart
4
- } from "./chunk-BHZNDYU3.js";
4
+ } from "./chunk-FBJLA3P7.js";
5
5
 
6
6
  // src/composed-chart.tsx
7
7
  import { composedChart } from "@silverpoint/core";
@@ -10,4 +10,4 @@ var ComposedChart = createClientChart(composedChart);
10
10
  export {
11
11
  ComposedChart
12
12
  };
13
- //# sourceMappingURL=chunk-Y7WZS3VB.js.map
13
+ //# sourceMappingURL=chunk-C3NHZ4N5.js.map
@@ -0,0 +1,20 @@
1
+ 'use client';
2
+ import {
3
+ renderUi,
4
+ textOf,
5
+ useUi
6
+ } from "./chunk-DO4VUIUU.js";
7
+
8
+ // src/ui/button.tsx
9
+ import { uiButtonView } from "@silverpoint/core/ui";
10
+ import { forwardRef } from "react";
11
+ var SpButton = forwardRef(function SpButton2({ children, onClick, dashboardCell, ...props }, ref) {
12
+ const view = uiButtonView(props, useUi(props, dashboardCell), { text: textOf(children) });
13
+ const click = onClick && ((event) => props.disabled ? event.preventDefault() : onClick(event));
14
+ return renderUi(view, { root: { ref, onClick: click }, slots: { content: children } });
15
+ });
16
+
17
+ export {
18
+ SpButton
19
+ };
20
+ //# sourceMappingURL=chunk-CWFUPKSS.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/ui/button.tsx"],"sourcesContent":["import { uiButtonView, type SpButtonProps as CoreProps } from '@silverpoint/core/ui';\nimport { forwardRef, type MouseEvent, type ReactNode, type ReactElement } from 'react';\nimport { textOf, useUi, type UiCellProps } from './base';\nimport { renderUi } from './render';\n\nexport interface SpButtonProps extends CoreProps, UiCellProps {\n readonly children?: ReactNode;\n readonly onClick?: (event: MouseEvent<HTMLButtonElement | HTMLAnchorElement>) => void;\n}\n\n/** `SpButton` (API delta §2): a native `<button>`, or `<a>` with `href`; its ref is that element. */\nexport const SpButton = forwardRef<HTMLButtonElement | HTMLAnchorElement, SpButtonProps>(function SpButton(\n { children, onClick, dashboardCell, ...props },\n ref,\n) {\n const view = uiButtonView(props, useUi(props, dashboardCell), { text: textOf(children) });\n // A disabled link is an `<a>` without `href`, which still takes clicks: it emits none (REQ-326).\n const click = onClick && ((event: MouseEvent<HTMLButtonElement | HTMLAnchorElement>) => (props.disabled ? event.preventDefault() : onClick(event)));\n return renderUi(view, { root: { ref, onClick: click }, slots: { content: children } }) as ReactElement;\n});\n"],"mappings":";;;;;;;;AAAA,SAAS,oBAAqD;AAC9D,SAAS,kBAAsE;AAUxE,IAAM,WAAW,WAAiE,SAASA,UAChG,EAAE,UAAU,SAAS,eAAe,GAAG,MAAM,GAC7C,KACA;AACA,QAAM,OAAO,aAAa,OAAO,MAAM,OAAO,aAAa,GAAG,EAAE,MAAM,OAAO,QAAQ,EAAE,CAAC;AAExF,QAAM,QAAQ,YAAY,CAAC,UAA8D,MAAM,WAAW,MAAM,eAAe,IAAI,QAAQ,KAAK;AAChJ,SAAO,SAAS,MAAM,EAAE,MAAM,EAAE,KAAK,SAAS,MAAM,GAAG,OAAO,EAAE,SAAS,SAAS,EAAE,CAAC;AACvF,CAAC;","names":["SpButton"]}
@@ -0,0 +1,61 @@
1
+ 'use client';
2
+ import {
3
+ SilverpointContext,
4
+ useForcedPrecision
5
+ } from "./chunk-SQ6GWXDK.js";
6
+
7
+ // src/ui/render.tsx
8
+ import { createElement } from "react";
9
+ var PROPS = { class: "className", for: "htmlFor", readonly: "readOnly", tabindex: "tabIndex" };
10
+ function styleObject(value) {
11
+ const out = {};
12
+ for (const declaration of value.split(";")) {
13
+ const at = declaration.indexOf(":");
14
+ if (at > 0) out[declaration.slice(0, at).trim()] = declaration.slice(at + 1).trim();
15
+ }
16
+ return out;
17
+ }
18
+ function renderUi(node, bindings, root = true) {
19
+ if ("text" in node) return node.text;
20
+ if ("slot" in node) return bindings.slots?.[node.slot] ?? null;
21
+ const props = {};
22
+ for (const [name, value] of Object.entries(node.attrs)) {
23
+ props[PROPS[name] ?? name] = name === "style" && typeof value === "string" ? styleObject(value) : value;
24
+ }
25
+ if (root) Object.assign(props, bindings.root);
26
+ if (node.bind === "native") Object.assign(props, typeof bindings.native === "function" ? bindings.native(node) : bindings.native);
27
+ if (node.bind === "close") Object.assign(props, bindings.close);
28
+ return createElement(node.tag, props, ...node.children.map((child) => renderUi(child, bindings, false)));
29
+ }
30
+ function textOf(children) {
31
+ if (typeof children === "string" || typeof children === "number") return String(children);
32
+ return children === void 0 || children === null || children === false ? void 0 : "\xB7";
33
+ }
34
+
35
+ // src/ui/base.ts
36
+ import { resolveUi } from "@silverpoint/core/ui";
37
+ import { useContext, useState } from "react";
38
+ function useUi(props, cell) {
39
+ const provider = useContext(SilverpointContext);
40
+ const forcedPrecision = useForcedPrecision();
41
+ return resolveUi(props, { provider, cell: cell?.config, forcedPrecision });
42
+ }
43
+ function useValue(value, initial, onChange) {
44
+ const [held, setHeld] = useState(initial);
45
+ const controlled = value !== void 0;
46
+ return [
47
+ controlled ? value : held,
48
+ (next) => {
49
+ if (!controlled) setHeld(next);
50
+ onChange?.(next);
51
+ }
52
+ ];
53
+ }
54
+
55
+ export {
56
+ renderUi,
57
+ textOf,
58
+ useUi,
59
+ useValue
60
+ };
61
+ //# sourceMappingURL=chunk-DO4VUIUU.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/ui/render.tsx","../src/ui/base.ts"],"sourcesContent":["import type { UiElement, UiNode, UiSlot } from '@silverpoint/core/ui';\nimport { createElement, type ReactNode } from 'react';\n\n/** HTML attribute names React spells differently. */\nconst PROPS: Readonly<Record<string, string>> = { class: 'className', for: 'htmlFor', readonly: 'readOnly', tabindex: 'tabIndex' };\n\n/** `--a:1;b:2` as React's style object; custom properties keep their names. */\nfunction styleObject(value: string): Record<string, string> {\n const out: Record<string, string> = {};\n for (const declaration of value.split(';')) {\n const at = declaration.indexOf(':');\n if (at > 0) out[declaration.slice(0, at).trim()] = declaration.slice(at + 1).trim();\n }\n return out;\n}\n\nexport interface UiBindings {\n /** Props added to the root element: a ref, a click handler. */\n readonly root?: Readonly<Record<string, unknown>>;\n /**\n * Props added to each element the core marks `native`: value, handlers, a ref. A function when a\n * composite has several (one radio per item), each told apart by its own attributes.\n */\n readonly native?: Readonly<Record<string, unknown>> | ((node: UiElement) => Readonly<Record<string, unknown>>);\n /** Props added to the close button of a Tag or an Alert. */\n readonly close?: Readonly<Record<string, unknown>>;\n readonly slots?: Partial<Record<UiSlot, ReactNode>>;\n}\n\n/**\n * Writes the core's view tree as React elements (API delta §4): the markup is the core's, attribute\n * for attribute; this adds only the bindings. No hooks, so a server entry uses it as well (REQ-104).\n */\nexport function renderUi(node: UiNode, bindings: UiBindings, root = true): ReactNode {\n if ('text' in node) return node.text;\n if ('slot' in node) return bindings.slots?.[node.slot] ?? null;\n const props: Record<string, unknown> = {};\n for (const [name, value] of Object.entries(node.attrs)) {\n props[PROPS[name] ?? name] = name === 'style' && typeof value === 'string' ? styleObject(value) : value;\n }\n if (root) Object.assign(props, bindings.root);\n if (node.bind === 'native') Object.assign(props, typeof bindings.native === 'function' ? bindings.native(node) : bindings.native);\n if (node.bind === 'close') Object.assign(props, bindings.close);\n return createElement(node.tag, props, ...node.children.map((child) => renderUi(child, bindings, false)));\n}\n\n/** Text content, when the children are text: what the accessible-name check reads (REQ-319). */\nexport function textOf(children: unknown): string | undefined {\n if (typeof children === 'string' || typeof children === 'number') return String(children);\n return children === undefined || children === null || children === false ? undefined : '·';\n}\n","import type { DashboardCellContext } from '@silverpoint/core';\nimport { resolveUi, type CommonUiProps, type UiResolved } from '@silverpoint/core/ui';\nimport { useContext, useState } from 'react';\nimport { SilverpointContext } from '../context';\nimport { useForcedPrecision } from '../environment';\n\n/** The internal prop through which a dashboard cell hands its configuration (TD §3.3). */\nexport interface UiCellProps {\n readonly dashboardCell?: DashboardCellContext;\n}\n\n/**\n * Ground, substrate, mode, size and frame of a component: its props, then the dashboard cell, then\n * the provider, then the defaults, with a forced `precision` read after hydration (REQ-311, REQ-123).\n */\nexport function useUi(props: CommonUiProps, cell: DashboardCellContext | undefined): UiResolved {\n const provider = useContext(SilverpointContext);\n const forcedPrecision = useForcedPrecision();\n return resolveUi(props, { provider, cell: cell?.config, forcedPrecision });\n}\n\n/**\n * A value that is controlled when `value` is given and held here otherwise (REQ-322). `set` updates\n * the held value and reports the new one; a controlled component only reports it.\n */\nexport function useValue<T>(value: T | undefined, initial: T, onChange: ((next: T) => void) | undefined): [T, (next: T) => void] {\n const [held, setHeld] = useState(initial);\n const controlled = value !== undefined;\n return [\n controlled ? value : held,\n (next: T) => {\n if (!controlled) setHeld(next);\n onChange?.(next);\n },\n ];\n}\n\nexport { textOf } from './render';\n"],"mappings":";;;;;;;AACA,SAAS,qBAAqC;AAG9C,IAAM,QAA0C,EAAE,OAAO,aAAa,KAAK,WAAW,UAAU,YAAY,UAAU,WAAW;AAGjI,SAAS,YAAY,OAAuC;AAC1D,QAAM,MAA8B,CAAC;AACrC,aAAW,eAAe,MAAM,MAAM,GAAG,GAAG;AAC1C,UAAM,KAAK,YAAY,QAAQ,GAAG;AAClC,QAAI,KAAK,EAAG,KAAI,YAAY,MAAM,GAAG,EAAE,EAAE,KAAK,CAAC,IAAI,YAAY,MAAM,KAAK,CAAC,EAAE,KAAK;AAAA,EACpF;AACA,SAAO;AACT;AAmBO,SAAS,SAAS,MAAc,UAAsB,OAAO,MAAiB;AACnF,MAAI,UAAU,KAAM,QAAO,KAAK;AAChC,MAAI,UAAU,KAAM,QAAO,SAAS,QAAQ,KAAK,IAAI,KAAK;AAC1D,QAAM,QAAiC,CAAC;AACxC,aAAW,CAAC,MAAM,KAAK,KAAK,OAAO,QAAQ,KAAK,KAAK,GAAG;AACtD,UAAM,MAAM,IAAI,KAAK,IAAI,IAAI,SAAS,WAAW,OAAO,UAAU,WAAW,YAAY,KAAK,IAAI;AAAA,EACpG;AACA,MAAI,KAAM,QAAO,OAAO,OAAO,SAAS,IAAI;AAC5C,MAAI,KAAK,SAAS,SAAU,QAAO,OAAO,OAAO,OAAO,SAAS,WAAW,aAAa,SAAS,OAAO,IAAI,IAAI,SAAS,MAAM;AAChI,MAAI,KAAK,SAAS,QAAS,QAAO,OAAO,OAAO,SAAS,KAAK;AAC9D,SAAO,cAAc,KAAK,KAAK,OAAO,GAAG,KAAK,SAAS,IAAI,CAAC,UAAU,SAAS,OAAO,UAAU,KAAK,CAAC,CAAC;AACzG;AAGO,SAAS,OAAO,UAAuC;AAC5D,MAAI,OAAO,aAAa,YAAY,OAAO,aAAa,SAAU,QAAO,OAAO,QAAQ;AACxF,SAAO,aAAa,UAAa,aAAa,QAAQ,aAAa,QAAQ,SAAY;AACzF;;;ACjDA,SAAS,iBAAsD;AAC/D,SAAS,YAAY,gBAAgB;AAa9B,SAAS,MAAM,OAAsB,MAAoD;AAC9F,QAAM,WAAW,WAAW,kBAAkB;AAC9C,QAAM,kBAAkB,mBAAmB;AAC3C,SAAO,UAAU,OAAO,EAAE,UAAU,MAAM,MAAM,QAAQ,gBAAgB,CAAC;AAC3E;AAMO,SAAS,SAAY,OAAsB,SAAY,UAAmE;AAC/H,QAAM,CAAC,MAAM,OAAO,IAAI,SAAS,OAAO;AACxC,QAAM,aAAa,UAAU;AAC7B,SAAO;AAAA,IACL,aAAa,QAAQ;AAAA,IACrB,CAAC,SAAY;AACX,UAAI,CAAC,WAAY,SAAQ,IAAI;AAC7B,iBAAW,IAAI;AAAA,IACjB;AAAA,EACF;AACF;","names":[]}
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
  import {
3
3
  createClientChart
4
- } from "./chunk-BHZNDYU3.js";
4
+ } from "./chunk-FBJLA3P7.js";
5
5
 
6
6
  // src/step-chart.tsx
7
7
  import { stepChart } from "@silverpoint/core";
@@ -10,4 +10,4 @@ var StepChart = createClientChart(stepChart);
10
10
  export {
11
11
  StepChart
12
12
  };
13
- //# sourceMappingURL=chunk-FDROMD5U.js.map
13
+ //# sourceMappingURL=chunk-ESFN6FJY.js.map