@silverpoint/react 0.2.0 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +27 -2
- package/dist/activity-grid.js +3 -2
- package/dist/area-chart.js +3 -2
- package/dist/bar-chart.js +3 -2
- package/dist/base-C6zY78Va.d.ts +8 -0
- package/dist/beeswarm-chart.d.ts +10 -0
- package/dist/beeswarm-chart.js +11 -0
- package/dist/beeswarm-chart.js.map +1 -0
- package/dist/box-plot-chart.d.ts +10 -0
- package/dist/box-plot-chart.js +11 -0
- package/dist/box-plot-chart.js.map +1 -0
- package/dist/bubble-chart.js +3 -2
- package/dist/bullet-chart.js +3 -2
- package/dist/bump-chart.d.ts +10 -0
- package/dist/bump-chart.js +11 -0
- package/dist/bump-chart.js.map +1 -0
- package/dist/candlestick-chart.js +3 -2
- package/dist/chord-ring.js +3 -2
- package/dist/chunk-2JWLXUY5.js +16 -0
- package/dist/chunk-2JWLXUY5.js.map +1 -0
- package/dist/{chunk-74ONV2GE.js → chunk-3BREGZ7C.js} +2 -2
- package/dist/chunk-3JXO2533.js +13 -0
- package/dist/chunk-3JXO2533.js.map +1 -0
- package/dist/{chunk-J5OOZDFF.js → chunk-3U3Z5U6H.js} +2 -2
- package/dist/chunk-3WUPWJP2.js +17 -0
- package/dist/chunk-3WUPWJP2.js.map +1 -0
- package/dist/chunk-43AIURD6.js +21 -0
- package/dist/chunk-43AIURD6.js.map +1 -0
- package/dist/chunk-4CDW7VWK.js +13 -0
- package/dist/chunk-4CDW7VWK.js.map +1 -0
- package/dist/chunk-4DG5NJWM.js +13 -0
- package/dist/chunk-4DG5NJWM.js.map +1 -0
- package/dist/chunk-5FKONGCL.js +16 -0
- package/dist/chunk-5FKONGCL.js.map +1 -0
- package/dist/chunk-5FYPFU6B.js +13 -0
- package/dist/chunk-5FYPFU6B.js.map +1 -0
- package/dist/chunk-67FND3TB.js +26 -0
- package/dist/chunk-67FND3TB.js.map +1 -0
- package/dist/{chunk-X2ACXB2U.js → chunk-6EFRIK7Q.js} +2 -2
- package/dist/{chunk-6KPX5HYV.js → chunk-6M4REUJE.js} +2 -2
- package/dist/chunk-6NXL245Z.js +16 -0
- package/dist/chunk-6NXL245Z.js.map +1 -0
- package/dist/chunk-6P5Z6IRH.js +13 -0
- package/dist/chunk-6P5Z6IRH.js.map +1 -0
- package/dist/{chunk-WOKDS6AK.js → chunk-6S6VKQ3E.js} +2 -2
- package/dist/chunk-7EH4NGBM.js +13 -0
- package/dist/chunk-7EH4NGBM.js.map +1 -0
- package/dist/{chunk-DTBEXYYC.js → chunk-AEU6UHVG.js} +2 -2
- package/dist/chunk-ART7CMBL.js +16 -0
- package/dist/chunk-ART7CMBL.js.map +1 -0
- package/dist/chunk-BJZOF2YZ.js +13 -0
- package/dist/chunk-BJZOF2YZ.js.map +1 -0
- package/dist/{chunk-A42AKCPS.js → chunk-C3NHZ4N5.js} +2 -2
- package/dist/chunk-CNRSQPRE.js +13 -0
- package/dist/chunk-CNRSQPRE.js.map +1 -0
- package/dist/chunk-CWFUPKSS.js +20 -0
- package/dist/chunk-CWFUPKSS.js.map +1 -0
- package/dist/chunk-DGZN27CF.js +13 -0
- package/dist/chunk-DGZN27CF.js.map +1 -0
- package/dist/chunk-DO4VUIUU.js +61 -0
- package/dist/chunk-DO4VUIUU.js.map +1 -0
- package/dist/chunk-DWXG7WLM.js +13 -0
- package/dist/chunk-DWXG7WLM.js.map +1 -0
- package/dist/chunk-E7OSOGUT.js +13 -0
- package/dist/chunk-E7OSOGUT.js.map +1 -0
- package/dist/{chunk-2NQ4DXLT.js → chunk-ESFN6FJY.js} +2 -2
- package/dist/{chunk-WNX4XCL6.js → chunk-FBJLA3P7.js} +11 -45
- package/dist/chunk-FBJLA3P7.js.map +1 -0
- package/dist/{chunk-NW2SQ6QW.js → chunk-FHX2HWN3.js} +2 -2
- package/dist/{chunk-KDQHOND7.js → chunk-FZ46YSJA.js} +2 -2
- package/dist/chunk-G7C4CH54.js +17 -0
- package/dist/chunk-G7C4CH54.js.map +1 -0
- package/dist/{chunk-GYUTG5R2.js → chunk-GSJYA76X.js} +2 -2
- package/dist/{chunk-TKQ2PQDW.js → chunk-GUKXFITX.js} +2 -2
- package/dist/{chunk-TAQOBBF7.js → chunk-I72JGA6Q.js} +2 -2
- package/dist/chunk-IHWEQR42.js +13 -0
- package/dist/chunk-IHWEQR42.js.map +1 -0
- package/dist/chunk-INHBSJZX.js +13 -0
- package/dist/chunk-INHBSJZX.js.map +1 -0
- package/dist/{chunk-H4NCK6RE.js → chunk-J3E6IUUQ.js} +2 -2
- package/dist/{chunk-4LS7B7CK.js → chunk-JPTK2AAT.js} +2 -2
- package/dist/{chunk-WHZ4ALRI.js → chunk-JWCVL7VE.js} +2 -2
- package/dist/chunk-K4YKDPDJ.js +13 -0
- package/dist/chunk-K4YKDPDJ.js.map +1 -0
- package/dist/chunk-KOWQNNTS.js +13 -0
- package/dist/chunk-KOWQNNTS.js.map +1 -0
- package/dist/{chunk-XWSCKTPG.js → chunk-KVOBNPDN.js} +2 -2
- package/dist/chunk-L65CMJRG.js +13 -0
- package/dist/chunk-L65CMJRG.js.map +1 -0
- package/dist/chunk-LPKOFXAA.js +13 -0
- package/dist/chunk-LPKOFXAA.js.map +1 -0
- package/dist/chunk-LSA5XU52.js +18 -0
- package/dist/chunk-LSA5XU52.js.map +1 -0
- package/dist/chunk-M3MZMHGS.js +13 -0
- package/dist/chunk-M3MZMHGS.js.map +1 -0
- package/dist/chunk-M56MDRNT.js +17 -0
- package/dist/chunk-M56MDRNT.js.map +1 -0
- package/dist/{chunk-FZMY6NWJ.js → chunk-MC7N4KQA.js} +2 -2
- package/dist/chunk-MS5BH6TU.js +13 -0
- package/dist/chunk-MS5BH6TU.js.map +1 -0
- package/dist/{chunk-UXVYCPFL.js → chunk-MYKZWY2E.js} +2 -2
- package/dist/{chunk-GBTH55AM.js → chunk-NA6K372D.js} +2 -2
- package/dist/chunk-NEOD2DSH.js +13 -0
- package/dist/chunk-NEOD2DSH.js.map +1 -0
- package/dist/{chunk-E5LIZKJT.js → chunk-NWK6VBCJ.js} +2 -2
- package/dist/{chunk-WICFKWEZ.js → chunk-NWRCFNYB.js} +2 -2
- package/dist/{chunk-CERHTEML.js → chunk-OAH7AEGE.js} +2 -2
- package/dist/chunk-OP2WE7MA.js +31 -0
- package/dist/chunk-OP2WE7MA.js.map +1 -0
- package/dist/chunk-OSDENB6W.js +13 -0
- package/dist/chunk-OSDENB6W.js.map +1 -0
- package/dist/{chunk-OFDVE64G.js → chunk-PRVJKYEQ.js} +2 -2
- package/dist/chunk-QRYI7BEO.js +21 -0
- package/dist/chunk-QRYI7BEO.js.map +1 -0
- package/dist/chunk-R7AKJYNB.js +13 -0
- package/dist/chunk-R7AKJYNB.js.map +1 -0
- package/dist/{chunk-P53KSCPE.js → chunk-RAATAHXZ.js} +2 -2
- package/dist/{chunk-FQHAHZBR.js → chunk-RIGQTEKW.js} +2 -2
- package/dist/{chunk-NHUVAE4Z.js → chunk-RMIIFPXA.js} +2 -2
- package/dist/chunk-SNWXRA2D.js +13 -0
- package/dist/chunk-SNWXRA2D.js.map +1 -0
- package/dist/chunk-SQ6GWXDK.js +48 -0
- package/dist/chunk-SQ6GWXDK.js.map +1 -0
- package/dist/chunk-T2IYBDCL.js +28 -0
- package/dist/chunk-T2IYBDCL.js.map +1 -0
- package/dist/chunk-TH6Q4E7C.js +21 -0
- package/dist/chunk-TH6Q4E7C.js.map +1 -0
- package/dist/{chunk-H3UH7F5S.js → chunk-TSQWTDBK.js} +2 -2
- package/dist/{chunk-7KED5KUU.js → chunk-U3LT444G.js} +2 -2
- package/dist/chunk-UC7ADKFU.js +13 -0
- package/dist/chunk-UC7ADKFU.js.map +1 -0
- package/dist/{chunk-JRAHTS5O.js → chunk-UOOHQAJU.js} +2 -2
- package/dist/{chunk-VISNFHPM.js → chunk-VKNGQ4NW.js} +2 -2
- package/dist/{chunk-ZKLVP4JE.js → chunk-WFO6BICV.js} +2 -2
- package/dist/chunk-WMU6O6KZ.js +21 -0
- package/dist/chunk-WMU6O6KZ.js.map +1 -0
- package/dist/chunk-WZZA2IGN.js +44 -0
- package/dist/chunk-WZZA2IGN.js.map +1 -0
- package/dist/{chunk-PWFDYIXV.js → chunk-X2F56RYM.js} +2 -2
- package/dist/chunk-XQTZOVFF.js +13 -0
- package/dist/chunk-XQTZOVFF.js.map +1 -0
- package/dist/chunk-Y4V5AZ32.js +13 -0
- package/dist/chunk-Y4V5AZ32.js.map +1 -0
- package/dist/chunk-YRRWP5HL.js +13 -0
- package/dist/chunk-YRRWP5HL.js.map +1 -0
- package/dist/chunk-ZBSCLF56.js +33 -0
- package/dist/chunk-ZBSCLF56.js.map +1 -0
- package/dist/chunk-ZOB6BH7H.js +21 -0
- package/dist/chunk-ZOB6BH7H.js.map +1 -0
- package/dist/composed-chart.js +3 -2
- package/dist/connected-scatter-chart.d.ts +10 -0
- package/dist/connected-scatter-chart.js +11 -0
- package/dist/connected-scatter-chart.js.map +1 -0
- package/dist/contour-chart.d.ts +10 -0
- package/dist/contour-chart.js +11 -0
- package/dist/contour-chart.js.map +1 -0
- package/dist/coxcomb-chart.js +3 -2
- package/dist/delaunay-chart.d.ts +10 -0
- package/dist/delaunay-chart.js +11 -0
- package/dist/delaunay-chart.js.map +1 -0
- package/dist/density-bin-chart.d.ts +10 -0
- package/dist/density-bin-chart.js +11 -0
- package/dist/density-bin-chart.js.map +1 -0
- package/dist/diverging-bar-chart.d.ts +10 -0
- package/dist/diverging-bar-chart.js +11 -0
- package/dist/diverging-bar-chart.js.map +1 -0
- package/dist/donut-chart.js +3 -2
- package/dist/drillable-C_86b56V.d.ts +7 -0
- package/dist/dumbbell-chart.d.ts +10 -0
- package/dist/dumbbell-chart.js +11 -0
- package/dist/dumbbell-chart.js.map +1 -0
- package/dist/ecdf-chart.d.ts +10 -0
- package/dist/ecdf-chart.js +11 -0
- package/dist/ecdf-chart.js.map +1 -0
- package/dist/error-bar-chart.d.ts +10 -0
- package/dist/error-bar-chart.js +11 -0
- package/dist/error-bar-chart.js.map +1 -0
- package/dist/funnel-chart.js +3 -2
- package/dist/gauge-arc.js +3 -2
- package/dist/heatmap-chart.js +3 -2
- package/dist/histogram-chart.d.ts +10 -0
- package/dist/histogram-chart.js +11 -0
- package/dist/histogram-chart.js.map +1 -0
- package/dist/index.d.ts +29 -1
- package/dist/index.js +145 -35
- package/dist/index.js.map +1 -1
- package/dist/interval-chart.d.ts +10 -0
- package/dist/interval-chart.js +11 -0
- package/dist/interval-chart.js.map +1 -0
- package/dist/kpi-card.js +3 -2
- package/dist/line-chart.js +3 -2
- package/dist/lollipop-chart.d.ts +10 -0
- package/dist/lollipop-chart.js +11 -0
- package/dist/lollipop-chart.js.map +1 -0
- package/dist/marimekko-chart.d.ts +10 -0
- package/dist/marimekko-chart.js +11 -0
- package/dist/marimekko-chart.js.map +1 -0
- package/dist/meter-chart.js +3 -2
- package/dist/network-chart.d.ts +10 -0
- package/dist/network-chart.js +11 -0
- package/dist/network-chart.js.map +1 -0
- package/dist/orbit-chart.js +3 -2
- package/dist/parallel-coordinates-chart.d.ts +10 -0
- package/dist/parallel-coordinates-chart.js +11 -0
- package/dist/parallel-coordinates-chart.js.map +1 -0
- package/dist/polar-bar-chart.js +3 -2
- package/dist/polar-line-chart.d.ts +10 -0
- package/dist/polar-line-chart.js +11 -0
- package/dist/polar-line-chart.js.map +1 -0
- package/dist/polar-scatter-chart.d.ts +10 -0
- package/dist/polar-scatter-chart.js +11 -0
- package/dist/polar-scatter-chart.js.map +1 -0
- package/dist/pyramid-chart.js +3 -2
- package/dist/radar-chart.js +3 -2
- package/dist/radial-arc-group.js +3 -2
- package/dist/radial-rings.js +3 -2
- package/dist/range-band-chart.js +3 -2
- package/dist/ridgeline-chart.d.ts +10 -0
- package/dist/ridgeline-chart.js +11 -0
- package/dist/ridgeline-chart.js.map +1 -0
- package/dist/sankey-chart.js +3 -2
- package/dist/scatter-chart.js +3 -2
- package/dist/server/beeswarm-chart.d.ts +19 -0
- package/dist/server/beeswarm-chart.js +11 -0
- package/dist/server/beeswarm-chart.js.map +1 -0
- package/dist/server/box-plot-chart.d.ts +19 -0
- package/dist/server/box-plot-chart.js +11 -0
- package/dist/server/box-plot-chart.js.map +1 -0
- package/dist/server/bump-chart.d.ts +19 -0
- package/dist/server/bump-chart.js +11 -0
- package/dist/server/bump-chart.js.map +1 -0
- package/dist/server/connected-scatter-chart.d.ts +19 -0
- package/dist/server/connected-scatter-chart.js +11 -0
- package/dist/server/connected-scatter-chart.js.map +1 -0
- package/dist/server/contour-chart.d.ts +19 -0
- package/dist/server/contour-chart.js +11 -0
- package/dist/server/contour-chart.js.map +1 -0
- package/dist/server/delaunay-chart.d.ts +19 -0
- package/dist/server/delaunay-chart.js +11 -0
- package/dist/server/delaunay-chart.js.map +1 -0
- package/dist/server/density-bin-chart.d.ts +19 -0
- package/dist/server/density-bin-chart.js +11 -0
- package/dist/server/density-bin-chart.js.map +1 -0
- package/dist/server/diverging-bar-chart.d.ts +19 -0
- package/dist/server/diverging-bar-chart.js +11 -0
- package/dist/server/diverging-bar-chart.js.map +1 -0
- package/dist/server/dumbbell-chart.d.ts +19 -0
- package/dist/server/dumbbell-chart.js +11 -0
- package/dist/server/dumbbell-chart.js.map +1 -0
- package/dist/server/ecdf-chart.d.ts +19 -0
- package/dist/server/ecdf-chart.js +11 -0
- package/dist/server/ecdf-chart.js.map +1 -0
- package/dist/server/error-bar-chart.d.ts +19 -0
- package/dist/server/error-bar-chart.js +11 -0
- package/dist/server/error-bar-chart.js.map +1 -0
- package/dist/server/histogram-chart.d.ts +19 -0
- package/dist/server/histogram-chart.js +11 -0
- package/dist/server/histogram-chart.js.map +1 -0
- package/dist/server/interval-chart.d.ts +19 -0
- package/dist/server/interval-chart.js +11 -0
- package/dist/server/interval-chart.js.map +1 -0
- package/dist/server/lollipop-chart.d.ts +19 -0
- package/dist/server/lollipop-chart.js +11 -0
- package/dist/server/lollipop-chart.js.map +1 -0
- package/dist/server/marimekko-chart.d.ts +19 -0
- package/dist/server/marimekko-chart.js +11 -0
- package/dist/server/marimekko-chart.js.map +1 -0
- package/dist/server/network-chart.d.ts +19 -0
- package/dist/server/network-chart.js +11 -0
- package/dist/server/network-chart.js.map +1 -0
- package/dist/server/parallel-coordinates-chart.d.ts +19 -0
- package/dist/server/parallel-coordinates-chart.js +11 -0
- package/dist/server/parallel-coordinates-chart.js.map +1 -0
- package/dist/server/polar-line-chart.d.ts +19 -0
- package/dist/server/polar-line-chart.js +11 -0
- package/dist/server/polar-line-chart.js.map +1 -0
- package/dist/server/polar-scatter-chart.d.ts +19 -0
- package/dist/server/polar-scatter-chart.js +11 -0
- package/dist/server/polar-scatter-chart.js.map +1 -0
- package/dist/server/ridgeline-chart.d.ts +19 -0
- package/dist/server/ridgeline-chart.js +11 -0
- package/dist/server/ridgeline-chart.js.map +1 -0
- package/dist/server/slope-chart.d.ts +19 -0
- package/dist/server/slope-chart.js +11 -0
- package/dist/server/slope-chart.js.map +1 -0
- package/dist/server/squarified-treemap.d.ts +19 -0
- package/dist/server/squarified-treemap.js +11 -0
- package/dist/server/squarified-treemap.js.map +1 -0
- package/dist/server/sunburst-chart.d.ts +19 -0
- package/dist/server/sunburst-chart.js +11 -0
- package/dist/server/sunburst-chart.js.map +1 -0
- package/dist/server/tree-chart.d.ts +19 -0
- package/dist/server/tree-chart.js +11 -0
- package/dist/server/tree-chart.js.map +1 -0
- package/dist/server/ui/alert.d.ts +17 -0
- package/dist/server/ui/alert.js +13 -0
- package/dist/server/ui/alert.js.map +1 -0
- package/dist/server/ui/badge.d.ts +15 -0
- package/dist/server/ui/badge.js +14 -0
- package/dist/server/ui/badge.js.map +1 -0
- package/dist/server/ui/card.d.ts +18 -0
- package/dist/server/ui/card.js +14 -0
- package/dist/server/ui/card.js.map +1 -0
- package/dist/server/ui/divider.d.ts +12 -0
- package/dist/server/ui/divider.js +13 -0
- package/dist/server/ui/divider.js.map +1 -0
- package/dist/server/ui/progress.d.ts +14 -0
- package/dist/server/ui/progress.js +13 -0
- package/dist/server/ui/progress.js.map +1 -0
- package/dist/server/ui/skeleton.d.ts +14 -0
- package/dist/server/ui/skeleton.js +13 -0
- package/dist/server/ui/skeleton.js.map +1 -0
- package/dist/server/ui/steps.d.ts +14 -0
- package/dist/server/ui/steps.js +13 -0
- package/dist/server/ui/steps.js.map +1 -0
- package/dist/server/ui/tag.d.ts +17 -0
- package/dist/server/ui/tag.js +14 -0
- package/dist/server/ui/tag.js.map +1 -0
- package/dist/server/vector-field-chart.d.ts +19 -0
- package/dist/server/vector-field-chart.js +11 -0
- package/dist/server/vector-field-chart.js.map +1 -0
- package/dist/server/violin-chart.d.ts +19 -0
- package/dist/server/violin-chart.js +11 -0
- package/dist/server/violin-chart.js.map +1 -0
- package/dist/server/waffle-chart.d.ts +19 -0
- package/dist/server/waffle-chart.js +11 -0
- package/dist/server/waffle-chart.js.map +1 -0
- package/dist/slope-chart.d.ts +10 -0
- package/dist/slope-chart.js +11 -0
- package/dist/slope-chart.js.map +1 -0
- package/dist/sparkline-rows.js +3 -2
- package/dist/squarified-treemap.d.ts +11 -0
- package/dist/squarified-treemap.js +12 -0
- package/dist/squarified-treemap.js.map +1 -0
- package/dist/stacked-bar-chart.js +3 -2
- package/dist/step-chart.js +3 -2
- package/dist/stream-chart.js +3 -2
- package/dist/sunburst-chart.d.ts +11 -0
- package/dist/sunburst-chart.js +12 -0
- package/dist/sunburst-chart.js.map +1 -0
- package/dist/tree-chart.d.ts +10 -0
- package/dist/tree-chart.js +11 -0
- package/dist/tree-chart.js.map +1 -0
- package/dist/treemap-chart.js +3 -2
- package/dist/ui/alert.d.ts +14 -0
- package/dist/ui/alert.js +10 -0
- package/dist/ui/alert.js.map +1 -0
- package/dist/ui/badge.d.ts +12 -0
- package/dist/ui/badge.js +10 -0
- package/dist/ui/badge.js.map +1 -0
- package/dist/ui/button.d.ts +14 -0
- package/dist/ui/button.js +10 -0
- package/dist/ui/button.js.map +1 -0
- package/dist/ui/card.d.ts +14 -0
- package/dist/ui/card.js +10 -0
- package/dist/ui/card.js.map +1 -0
- package/dist/ui/checkbox.d.ts +14 -0
- package/dist/ui/checkbox.js +10 -0
- package/dist/ui/checkbox.js.map +1 -0
- package/dist/ui/divider.d.ts +11 -0
- package/dist/ui/divider.js +10 -0
- package/dist/ui/divider.js.map +1 -0
- package/dist/ui/input.d.ts +19 -0
- package/dist/ui/input.js +10 -0
- package/dist/ui/input.js.map +1 -0
- package/dist/ui/progress.d.ts +11 -0
- package/dist/ui/progress.js +10 -0
- package/dist/ui/progress.js.map +1 -0
- package/dist/ui/radio-group.d.ts +16 -0
- package/dist/ui/radio-group.js +10 -0
- package/dist/ui/radio-group.js.map +1 -0
- package/dist/ui/rate.d.ts +15 -0
- package/dist/ui/rate.js +10 -0
- package/dist/ui/rate.js.map +1 -0
- package/dist/ui/segmented.d.ts +16 -0
- package/dist/ui/segmented.js +10 -0
- package/dist/ui/segmented.js.map +1 -0
- package/dist/ui/skeleton.d.ts +11 -0
- package/dist/ui/skeleton.js +10 -0
- package/dist/ui/skeleton.js.map +1 -0
- package/dist/ui/slider.d.ts +15 -0
- package/dist/ui/slider.js +10 -0
- package/dist/ui/slider.js.map +1 -0
- package/dist/ui/steps.d.ts +11 -0
- package/dist/ui/steps.js +10 -0
- package/dist/ui/steps.js.map +1 -0
- package/dist/ui/switch.d.ts +14 -0
- package/dist/ui/switch.js +10 -0
- package/dist/ui/switch.js.map +1 -0
- package/dist/ui/tabs.d.ts +25 -0
- package/dist/ui/tabs.js +12 -0
- package/dist/ui/tabs.js.map +1 -0
- package/dist/ui/tag.d.ts +14 -0
- package/dist/ui/tag.js +10 -0
- package/dist/ui/tag.js.map +1 -0
- package/dist/ui.d.ts +21 -0
- package/dist/ui.js +76 -0
- package/dist/ui.js.map +1 -0
- package/dist/vector-field-chart.d.ts +10 -0
- package/dist/vector-field-chart.js +11 -0
- package/dist/vector-field-chart.js.map +1 -0
- package/dist/violin-chart.d.ts +10 -0
- package/dist/violin-chart.js +11 -0
- package/dist/violin-chart.js.map +1 -0
- package/dist/volvelle-chart.js +3 -2
- package/dist/waffle-chart.d.ts +10 -0
- package/dist/waffle-chart.js +11 -0
- package/dist/waffle-chart.js.map +1 -0
- package/dist/waterfall-chart.js +3 -2
- package/dist/wind-rose.js +3 -2
- package/package.json +483 -3
- package/dist/chunk-WNX4XCL6.js.map +0 -1
- /package/dist/{chunk-74ONV2GE.js.map → chunk-3BREGZ7C.js.map} +0 -0
- /package/dist/{chunk-J5OOZDFF.js.map → chunk-3U3Z5U6H.js.map} +0 -0
- /package/dist/{chunk-X2ACXB2U.js.map → chunk-6EFRIK7Q.js.map} +0 -0
- /package/dist/{chunk-6KPX5HYV.js.map → chunk-6M4REUJE.js.map} +0 -0
- /package/dist/{chunk-WOKDS6AK.js.map → chunk-6S6VKQ3E.js.map} +0 -0
- /package/dist/{chunk-DTBEXYYC.js.map → chunk-AEU6UHVG.js.map} +0 -0
- /package/dist/{chunk-A42AKCPS.js.map → chunk-C3NHZ4N5.js.map} +0 -0
- /package/dist/{chunk-2NQ4DXLT.js.map → chunk-ESFN6FJY.js.map} +0 -0
- /package/dist/{chunk-NW2SQ6QW.js.map → chunk-FHX2HWN3.js.map} +0 -0
- /package/dist/{chunk-KDQHOND7.js.map → chunk-FZ46YSJA.js.map} +0 -0
- /package/dist/{chunk-GYUTG5R2.js.map → chunk-GSJYA76X.js.map} +0 -0
- /package/dist/{chunk-TKQ2PQDW.js.map → chunk-GUKXFITX.js.map} +0 -0
- /package/dist/{chunk-TAQOBBF7.js.map → chunk-I72JGA6Q.js.map} +0 -0
- /package/dist/{chunk-H4NCK6RE.js.map → chunk-J3E6IUUQ.js.map} +0 -0
- /package/dist/{chunk-4LS7B7CK.js.map → chunk-JPTK2AAT.js.map} +0 -0
- /package/dist/{chunk-WHZ4ALRI.js.map → chunk-JWCVL7VE.js.map} +0 -0
- /package/dist/{chunk-XWSCKTPG.js.map → chunk-KVOBNPDN.js.map} +0 -0
- /package/dist/{chunk-FZMY6NWJ.js.map → chunk-MC7N4KQA.js.map} +0 -0
- /package/dist/{chunk-UXVYCPFL.js.map → chunk-MYKZWY2E.js.map} +0 -0
- /package/dist/{chunk-GBTH55AM.js.map → chunk-NA6K372D.js.map} +0 -0
- /package/dist/{chunk-E5LIZKJT.js.map → chunk-NWK6VBCJ.js.map} +0 -0
- /package/dist/{chunk-WICFKWEZ.js.map → chunk-NWRCFNYB.js.map} +0 -0
- /package/dist/{chunk-CERHTEML.js.map → chunk-OAH7AEGE.js.map} +0 -0
- /package/dist/{chunk-OFDVE64G.js.map → chunk-PRVJKYEQ.js.map} +0 -0
- /package/dist/{chunk-P53KSCPE.js.map → chunk-RAATAHXZ.js.map} +0 -0
- /package/dist/{chunk-FQHAHZBR.js.map → chunk-RIGQTEKW.js.map} +0 -0
- /package/dist/{chunk-NHUVAE4Z.js.map → chunk-RMIIFPXA.js.map} +0 -0
- /package/dist/{chunk-H3UH7F5S.js.map → chunk-TSQWTDBK.js.map} +0 -0
- /package/dist/{chunk-7KED5KUU.js.map → chunk-U3LT444G.js.map} +0 -0
- /package/dist/{chunk-JRAHTS5O.js.map → chunk-UOOHQAJU.js.map} +0 -0
- /package/dist/{chunk-VISNFHPM.js.map → chunk-VKNGQ4NW.js.map} +0 -0
- /package/dist/{chunk-ZKLVP4JE.js.map → chunk-WFO6BICV.js.map} +0 -0
- /package/dist/{chunk-PWFDYIXV.js.map → chunk-X2F56RYM.js.map} +0 -0
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@ drawing, with a fine silver line on a prepared ground, tone built from hatching,
|
|
|
5
5
|
heightening on the live value. The hand-drawn irregularity is only in the ornament. The data
|
|
6
6
|
geometry is exact, and every chart has a `precision` mode that turns the inking off.
|
|
7
7
|
|
|
8
|
-
-
|
|
8
|
+
- 60 charts, each importable on its own subpath so you only ship the charts you use.
|
|
9
9
|
- React 18.2+ and 19. Client components (`"use client"`) and server entry points for React
|
|
10
10
|
Server Components.
|
|
11
11
|
- Accessible: an accessible name, a hidden data table, keyboard navigation, and a
|
|
@@ -201,7 +201,7 @@ export default function Page() {
|
|
|
201
201
|
| `locale`, `numberFormat` | environment | Number formatting. |
|
|
202
202
|
| `hatchFill` | `'tile'` | `'per-shape'` gives richer hatching at a much greater weight. |
|
|
203
203
|
|
|
204
|
-
## The
|
|
204
|
+
## The 60 charts
|
|
205
205
|
|
|
206
206
|
Every chart is available as `@silverpoint/react/<kebab-case-name>` (and from the barrel
|
|
207
207
|
`@silverpoint/react`):
|
|
@@ -213,6 +213,31 @@ Every chart is available as `@silverpoint/react/<kebab-case-name>` (and from the
|
|
|
213
213
|
`BubbleChart`, `HeatmapChart`, `TreemapChart`, `SankeyChart`, `ActivityGrid`, `CoxcombChart`,
|
|
214
214
|
`WindRose`, `VolvelleChart`, `ChordRing`, `OrbitChart`.
|
|
215
215
|
|
|
216
|
+
The second catalog, for distributions, comparisons, ranks and uncertainty (since `0.6.0`):
|
|
217
|
+
|
|
218
|
+
`HistogramChart`, `EcdfChart`, `BoxPlotChart`, `ViolinChart`, `RidgelineChart`, `BeeswarmChart`,
|
|
219
|
+
`LollipopChart`, `DumbbellChart`, `SlopeChart`, `BumpChart`, `ErrorBarChart`, `IntervalChart`,
|
|
220
|
+
`DivergingBarChart`, `ConnectedScatterChart`.
|
|
221
|
+
|
|
222
|
+
Hierarchies, parts of a whole, many dimensions and polar charts (since `0.6.0`):
|
|
223
|
+
|
|
224
|
+
`WaffleChart`, `MarimekkoChart`, `SquarifiedTreemap`, `SunburstChart`, `TreeChart`,
|
|
225
|
+
`ParallelCoordinatesChart`, `PolarLineChart`, `PolarScatterChart`.
|
|
226
|
+
|
|
227
|
+
|
|
228
|
+
Fields and networks (since `0.6.0`):
|
|
229
|
+
|
|
230
|
+
`DensityBinChart`, `ContourChart`, `DelaunayChart`, `VectorFieldChart`, `NetworkChart`.
|
|
231
|
+
|
|
232
|
+
`RidgelineChart` needs `groupKey`, `DivergingBarChart` needs `levels` and `ParallelCoordinatesChart` needs `dimensions`, even with the demo dataset, which ignores them.
|
|
233
|
+
|
|
234
|
+
`SquarifiedTreemap` and `SunburstChart` drill down under your control: pass `rootId` and update it from
|
|
235
|
+
`onRootChange`, which a click, Enter or Space on a node emits with its id (its centre or frame emits
|
|
236
|
+
the parent's, `null` for the top). The chart keeps no root of its own, so it renders the same on the server.
|
|
237
|
+
|
|
238
|
+
`NetworkChart` lays out its nodes by force, the same on the server and in every browser for a given
|
|
239
|
+
`seed`; give every node in `nodes` an `x` and a `y` and it draws them there instead.
|
|
240
|
+
|
|
216
241
|
Each chart's own props (`xKey`, `valueKey`, `nameKey`…) are typed and documented in its
|
|
217
242
|
`*Props` type. The [repository](https://github.com/ecrespo/silverpoint) holds the API
|
|
218
243
|
specification and the documentation site with the gallery.
|
package/dist/activity-grid.js
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
ActivityGrid
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-6EFRIK7Q.js";
|
|
5
|
+
import "./chunk-FBJLA3P7.js";
|
|
6
6
|
import "./chunk-4GQ5X2WK.js";
|
|
7
|
+
import "./chunk-SQ6GWXDK.js";
|
|
7
8
|
export {
|
|
8
9
|
ActivityGrid
|
|
9
10
|
};
|
package/dist/area-chart.js
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
AreaChart
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-U3LT444G.js";
|
|
5
|
+
import "./chunk-FBJLA3P7.js";
|
|
6
6
|
import "./chunk-4GQ5X2WK.js";
|
|
7
|
+
import "./chunk-SQ6GWXDK.js";
|
|
7
8
|
export {
|
|
8
9
|
AreaChart
|
|
9
10
|
};
|
package/dist/bar-chart.js
CHANGED
|
@@ -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 };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { C as ClientChart, I as InteractionProps } from './create-chart-BIG9Wtek.js';
|
|
2
|
+
import { BeeswarmChartProps } from '@silverpoint/core';
|
|
3
|
+
export { BeeswarmChartProps, ChartHandle } from '@silverpoint/core';
|
|
4
|
+
import 'react';
|
|
5
|
+
|
|
6
|
+
type ClientBeeswarmChartProps = BeeswarmChartProps & InteractionProps;
|
|
7
|
+
/** `BeeswarmChart` (REQ-405): one point per observation, packed without overlap (API Spec §7.3). */
|
|
8
|
+
declare const BeeswarmChart: ClientChart<BeeswarmChartProps>;
|
|
9
|
+
|
|
10
|
+
export { BeeswarmChart, type ClientBeeswarmChartProps, InteractionProps };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { C as ClientChart, I as InteractionProps } from './create-chart-BIG9Wtek.js';
|
|
2
|
+
import { BoxPlotChartProps } from '@silverpoint/core';
|
|
3
|
+
export { BoxPlotChartProps, ChartHandle } from '@silverpoint/core';
|
|
4
|
+
import 'react';
|
|
5
|
+
|
|
6
|
+
type ClientBoxPlotChartProps = BoxPlotChartProps & InteractionProps;
|
|
7
|
+
/** `BoxPlotChart` (REQ-402): quartiles, median, Tukey whiskers and outliers per group (API Spec §7.3). */
|
|
8
|
+
declare const BoxPlotChart: ClientChart<BoxPlotChartProps>;
|
|
9
|
+
|
|
10
|
+
export { BoxPlotChart, type ClientBoxPlotChartProps, InteractionProps };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/dist/bubble-chart.js
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
BubbleChart
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-3BREGZ7C.js";
|
|
5
|
+
import "./chunk-FBJLA3P7.js";
|
|
6
6
|
import "./chunk-4GQ5X2WK.js";
|
|
7
|
+
import "./chunk-SQ6GWXDK.js";
|
|
7
8
|
export {
|
|
8
9
|
BubbleChart
|
|
9
10
|
};
|
package/dist/bullet-chart.js
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
BulletChart
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-6S6VKQ3E.js";
|
|
5
|
+
import "./chunk-FBJLA3P7.js";
|
|
6
6
|
import "./chunk-4GQ5X2WK.js";
|
|
7
|
+
import "./chunk-SQ6GWXDK.js";
|
|
7
8
|
export {
|
|
8
9
|
BulletChart
|
|
9
10
|
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { C as ClientChart, I as InteractionProps } from './create-chart-BIG9Wtek.js';
|
|
2
|
+
import { BumpChartProps } from '@silverpoint/core';
|
|
3
|
+
export { BumpChartProps, ChartHandle } from '@silverpoint/core';
|
|
4
|
+
import 'react';
|
|
5
|
+
|
|
6
|
+
type ClientBumpChartProps = BumpChartProps & InteractionProps;
|
|
7
|
+
/** `BumpChart` (REQ-409): the rank of each series at each x (API Spec §7.3). */
|
|
8
|
+
declare const BumpChart: ClientChart<BumpChartProps>;
|
|
9
|
+
|
|
10
|
+
export { BumpChart, type ClientBumpChartProps, InteractionProps };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
CandlestickChart
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-KVOBNPDN.js";
|
|
5
|
+
import "./chunk-FBJLA3P7.js";
|
|
6
6
|
import "./chunk-4GQ5X2WK.js";
|
|
7
|
+
import "./chunk-SQ6GWXDK.js";
|
|
7
8
|
export {
|
|
8
9
|
CandlestickChart
|
|
9
10
|
};
|
package/dist/chord-ring.js
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
ChordRing
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-X2F56RYM.js";
|
|
5
|
+
import "./chunk-FBJLA3P7.js";
|
|
6
6
|
import "./chunk-4GQ5X2WK.js";
|
|
7
|
+
import "./chunk-SQ6GWXDK.js";
|
|
7
8
|
export {
|
|
8
9
|
ChordRing
|
|
9
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-
|
|
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-
|
|
13
|
+
//# sourceMappingURL=chunk-3BREGZ7C.js.map
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import {
|
|
3
|
+
createClientChart
|
|
4
|
+
} from "./chunk-FBJLA3P7.js";
|
|
5
|
+
|
|
6
|
+
// src/parallel-coordinates-chart.tsx
|
|
7
|
+
import { parallelCoordinatesChart } from "@silverpoint/core/catalog";
|
|
8
|
+
var ParallelCoordinatesChart = createClientChart(parallelCoordinatesChart);
|
|
9
|
+
|
|
10
|
+
export {
|
|
11
|
+
ParallelCoordinatesChart
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=chunk-3JXO2533.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/parallel-coordinates-chart.tsx"],"sourcesContent":["import { parallelCoordinatesChart } from '@silverpoint/core/catalog';\nimport type { ParallelCoordinatesChartProps } from '@silverpoint/core';\nimport { createClientChart, type InteractionProps } from './create-chart';\n\nexport type { ChartHandle, InteractionProps } from './create-chart';\nexport type { ParallelCoordinatesChartProps } from '@silverpoint/core';\n\nexport type ClientParallelCoordinatesChartProps = ParallelCoordinatesChartProps & InteractionProps;\n\n/** `ParallelCoordinatesChart` (REQ-419): one polyline per row across parallel axes (API Spec §7.3). */\nexport const ParallelCoordinatesChart = createClientChart<ParallelCoordinatesChartProps>(parallelCoordinatesChart);\n"],"mappings":";;;;;;AAAA,SAAS,gCAAgC;AAUlC,IAAM,2BAA2B,kBAAiD,wBAAwB;","names":[]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
createClientChart
|
|
4
|
-
} from "./chunk-
|
|
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-
|
|
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"]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import {
|
|
3
|
+
createClientChart
|
|
4
|
+
} from "./chunk-FBJLA3P7.js";
|
|
5
|
+
|
|
6
|
+
// src/waffle-chart.tsx
|
|
7
|
+
import { waffleChart } from "@silverpoint/core/catalog";
|
|
8
|
+
var WaffleChart = createClientChart(waffleChart);
|
|
9
|
+
|
|
10
|
+
export {
|
|
11
|
+
WaffleChart
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=chunk-4CDW7VWK.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/waffle-chart.tsx"],"sourcesContent":["import { waffleChart } from '@silverpoint/core/catalog';\nimport type { WaffleChartProps } from '@silverpoint/core';\nimport { createClientChart, type InteractionProps } from './create-chart';\n\nexport type { ChartHandle, InteractionProps } from './create-chart';\nexport type { WaffleChartProps } from '@silverpoint/core';\n\nexport type ClientWaffleChartProps = WaffleChartProps & InteractionProps;\n\n/** `WaffleChart` (REQ-414): a unit grid filled in reading order by category (API Spec §7.3). */\nexport const WaffleChart = createClientChart<WaffleChartProps>(waffleChart);\n"],"mappings":";;;;;;AAAA,SAAS,mBAAmB;AAUrB,IAAM,cAAc,kBAAoC,WAAW;","names":[]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import {
|
|
3
|
+
createClientChart
|
|
4
|
+
} from "./chunk-FBJLA3P7.js";
|
|
5
|
+
|
|
6
|
+
// src/delaunay-chart.tsx
|
|
7
|
+
import { delaunayChart } from "@silverpoint/core/catalog";
|
|
8
|
+
var DelaunayChart = createClientChart(delaunayChart);
|
|
9
|
+
|
|
10
|
+
export {
|
|
11
|
+
DelaunayChart
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=chunk-4DG5NJWM.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/delaunay-chart.tsx"],"sourcesContent":["import { delaunayChart } from '@silverpoint/core/catalog';\nimport type { DelaunayChartProps } from '@silverpoint/core';\nimport { createClientChart, type InteractionProps } from './create-chart';\n\nexport type { ChartHandle, InteractionProps } from './create-chart';\nexport type { DelaunayChartProps } from '@silverpoint/core';\n\nexport type ClientDelaunayChartProps = DelaunayChartProps & InteractionProps;\n\n/** `DelaunayChart` (REQ-424): the triangulation of x-y points, or its Voronoi cells (API Spec §7.3). */\nexport const DelaunayChart = createClientChart<DelaunayChartProps>(delaunayChart);\n"],"mappings":";;;;;;AAAA,SAAS,qBAAqB;AAUvB,IAAM,gBAAgB,kBAAsC,aAAa;","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,13 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import {
|
|
3
|
+
createClientChart
|
|
4
|
+
} from "./chunk-FBJLA3P7.js";
|
|
5
|
+
|
|
6
|
+
// src/bump-chart.tsx
|
|
7
|
+
import { bumpChart } from "@silverpoint/core/catalog";
|
|
8
|
+
var BumpChart = createClientChart(bumpChart);
|
|
9
|
+
|
|
10
|
+
export {
|
|
11
|
+
BumpChart
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=chunk-5FYPFU6B.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/bump-chart.tsx"],"sourcesContent":["import { bumpChart } from '@silverpoint/core/catalog';\nimport type { BumpChartProps } from '@silverpoint/core';\nimport { createClientChart, type InteractionProps } from './create-chart';\n\nexport type { ChartHandle, InteractionProps } from './create-chart';\nexport type { BumpChartProps } from '@silverpoint/core';\n\nexport type ClientBumpChartProps = BumpChartProps & InteractionProps;\n\n/** `BumpChart` (REQ-409): the rank of each series at each x (API Spec §7.3). */\nexport const BumpChart = createClientChart<BumpChartProps>(bumpChart);\n"],"mappings":";;;;;;AAAA,SAAS,iBAAiB;AAUnB,IAAM,YAAY,kBAAkC,SAAS;","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-
|
|
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-
|
|
13
|
+
//# sourceMappingURL=chunk-6EFRIK7Q.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
createClientChart
|
|
4
|
-
} from "./chunk-
|
|
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-
|
|
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":[]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import {
|
|
3
|
+
createClientChart
|
|
4
|
+
} from "./chunk-FBJLA3P7.js";
|
|
5
|
+
|
|
6
|
+
// src/diverging-bar-chart.tsx
|
|
7
|
+
import { divergingBarChart } from "@silverpoint/core/catalog";
|
|
8
|
+
var DivergingBarChart = createClientChart(divergingBarChart);
|
|
9
|
+
|
|
10
|
+
export {
|
|
11
|
+
DivergingBarChart
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=chunk-6P5Z6IRH.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/diverging-bar-chart.tsx"],"sourcesContent":["import { divergingBarChart } from '@silverpoint/core/catalog';\nimport type { DivergingBarChartProps } from '@silverpoint/core';\nimport { createClientChart, type InteractionProps } from './create-chart';\n\nexport type { ChartHandle, InteractionProps } from './create-chart';\nexport type { DivergingBarChartProps } from '@silverpoint/core';\n\nexport type ClientDivergingBarChartProps = DivergingBarChartProps & InteractionProps;\n\n/** `DivergingBarChart` (REQ-412): ordered levels stacked on both sides of a neutral centre (API Spec §7.3). */\nexport const DivergingBarChart = createClientChart<DivergingBarChartProps>(divergingBarChart);\n"],"mappings":";;;;;;AAAA,SAAS,yBAAyB;AAU3B,IAAM,oBAAoB,kBAA0C,iBAAiB;","names":[]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
createClientChart
|
|
4
|
-
} from "./chunk-
|
|
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-
|
|
13
|
+
//# sourceMappingURL=chunk-6S6VKQ3E.js.map
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import {
|
|
3
|
+
createClientChart
|
|
4
|
+
} from "./chunk-FBJLA3P7.js";
|
|
5
|
+
|
|
6
|
+
// src/network-chart.tsx
|
|
7
|
+
import { networkChart } from "@silverpoint/core/catalog";
|
|
8
|
+
var NetworkChart = createClientChart(networkChart);
|
|
9
|
+
|
|
10
|
+
export {
|
|
11
|
+
NetworkChart
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=chunk-7EH4NGBM.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/network-chart.tsx"],"sourcesContent":["import { networkChart } from '@silverpoint/core/catalog';\nimport type { NetworkChartProps } from '@silverpoint/core';\nimport { createClientChart, type InteractionProps } from './create-chart';\n\nexport type { ChartHandle, InteractionProps } from './create-chart';\nexport type { NetworkChartProps } from '@silverpoint/core';\n\nexport type ClientNetworkChartProps = NetworkChartProps & InteractionProps;\n\n/** `NetworkChart` (REQ-426): a node-link graph (API Spec §7.3). */\nexport const NetworkChart = createClientChart<NetworkChartProps>(networkChart);\n"],"mappings":";;;;;;AAAA,SAAS,oBAAoB;AAUtB,IAAM,eAAe,kBAAqC,YAAY;","names":[]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
createClientChart
|
|
4
|
-
} from "./chunk-
|
|
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-
|
|
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":[]}
|