Skip to content

v0.8.1

Choose a tag to compare

@Ovi1kanobe Ovi1kanobe released this 02 Oct 01:31
341f687

Lets apps draw their own charts through solscope-ui, and keeps chart code out of pages that don't use it.

Adds

  • Re-exports the LayerChart pieces apps draw charts with: Chart, Svg, Html, Area, Spline, Circle, RectClipPath and the ChartState type. Apps import them from @firetailhosting/solscope-ui and no longer depend on layerchart directly. (#30)

Changes

  • package.json declares "sideEffects": ["**/*.css"], so bundlers drop unused components. Pages that don't draw a chart no longer load LayerChart. (#30)
  • ChartTooltip honours prefers-reduced-motion, with no spring or fade, and passes aria-hidden to its outer element. (#30)
  • The svelte peer range is now ^5.7.0, because the reduced-motion support uses Svelte's prefersReducedMotion. (#30)

Full Changelog: v0.8.0...v0.8.1