layerchart@2.0.0-next.19
Patch Changes
- fix(Calendar): Pass
cellSizeto children snippet (useful when responsive) (#558)
cellSize to children snippet (useful when responsive) (#558)feat: Add Polygon primitive (#533)
feat: Add Ellipse primitive (#533)
feat(Spline): Add value to startContent and endContent snippets to easily access the x and y data values (#537)
breaking(Spline): Rename splineRef to pathRef (#549)
fix(GeoPath): Do not register with hit canavs unless pointer events (onclick, onpointermove, etc) or tooltipContext are defined (#549)
fix(Treemap): Fix reactivity of props (tile, padding, etc) (#516)
breaking(Treemap): Remove selected prop (#516)
fix(Treemap): Add maintainAspectRatio (default: false) to opt into tiling function adjustment (primarily for zoom) (#516)
fix(Treemap): Fix padding* prop types to support function or number constant (#516)
feat(ForceSimulation): Refined onstart/ontick/onend events of ForceSimulation (#547)
fix(ForceSimulation): Fixed a bug that would sometimes keep a simulation running, when its inputs change, even if alpha < alphaMin (#546)
fix(TooltipList): Align label to top (start) instead of center by default (#449)
breaking(Blur): Remove children snippet props (not needed and easier to support canvas in the future) (#549)
fix(Calendar|MonthPath): Support canvas by using Spline instead of path (#549)
docs: Document each component's context support (svg, canvas, html) with interactive toggle (#549)
<AreaChart x="date" y="visitors"> will use visitors instead of value) (#523)feat: Support passing FormatConfig (ex. { type: '...', options: { ... } }) anywhere FormatType is supported to simplify custom formatting (ex. variant) (#521)
feat: Support passing PeriodTypeCode strings for simplified date formatting and reduce imports. Example: format={PeriodType.Day} is now format="day". Also supported with config object for passing additional options (ex. format={{ type: 'day', options: { variant: 'long' } }}). Supported for all format props include Axis, Labels, Legend and Tooltip. (#521)