Skip to content

@microcharts/react@0.5.0

Choose a tag to compare

@github-actions github-actions released this 16 Jul 07:16
6823429

Minor Changes

  • #40
    427c25a Thanks
    @ganapativs! - defineTheme() gains a strokeWidth token — pin the base data
    stroke weight (--mc-stroke-width) alongside the other geometry/type tokens. A number is stringified as-is (not
    twinned into the dark variant). Additive and identity at its default.

Patch Changes

  • #40
    427c25a Thanks
    @ganapativs! - Floor charts now seat their baseline flush with the box bottom so they
    align on the text baseline when rendered inline: SparkBar (bar mode), StackedArea, DepthWedge, and GradeProfile. These
    marks are flat fill edges (crispEdges rects / stroke-free, dot-free areas), so filling to the box bottom bleeds
    nothing; the top pad is untouched. SparkBar win-loss keeps its symmetric mid-line inset. No API change.