Releases: williaster/data-ui
Releases Β· williaster/data-ui
v0.0.50
v0.0.50
π Enhancements
[xy-chart]
- Ability to "snap" the tooltip to the
xoryvalue of a datum, by settingsnapTooltipToDataXand/orsnapTooltipToDataY. fixes #77 #81 - Support for using the chart container for mouse events, instead of series or a voronoi. this is now set with the
eventTriggerprop as'series'[default],'voronoi', or'container'. #81 - The addition of container events necessitates shared tooltips, i.e., tooltips that contain data for for all series for the hovered x value. fixes #78 #81
- Ability to programmatically trigger events using the
eventTriggerRefscallback (see updated<LineSeriesExample />for an example) #81 - adds
innerRefprop which is set on the innersvg#81
[shared]
- the signature of
onMouseMovein<WithTooltip />now accepts an optionalcoordsobject of the shape{ x: Number, y: Number }. If either or both ofxoryis specified they will be used to set the the tooltipsleftandtopinstead of theevent's coordinates. #81
[forms]
- adds
activeprop to<Button />#81
π Breaking Changes
- [xy-chart] the
<XYChart />useVoronoiprop is removed. instead useeventTrigger='voronoi#81
π Documentation
- [xy-chart] documents the above enhancements #81
π Internal
[xy-chart]
- moves
<XYChart />static method to their own utils files #81 - breaks out several functions in
chartUtilsinto their own files #81 - adds and uses
sharedSeriesProps#81
π Bug Fix
- Fixes a bug where
tickLabelPropsis not used when passed in either<XAxis />or<YAxis />. This prop enables per-tick styles so is importantΓ©! #82
v0.0.49
π Enhancements
- Allows additional customization Adds
tooltipPropsto the<WithTooltip />which will be passed to itsTooltipComponent(and adds example in demo) #79 - Exposes
@vx/responsive's new observer-based<ParentSize />HOC #79 - Exposes the following props on
<BoxplotSeries />to enable more customization:containerProps,boxProps,outlierProps,minProps,maxProps,medianProps(airbnb/visx#198) #80 - Adds the ability to set mouse events on the boxplot container or on its component parts (whiskers, etc) #80
- Consolidates some of examples for [demo][boxplot] #80
π Bug fix
- bumps
@vx/tooltipto 0.0.148 for bounds bug fix #79
Changes
- @data-ui/demo: 0.0.48 => 0.0.49 (private)
- @data-ui/event-flow: 0.0.48 => 0.0.49
- @data-ui/histogram: 0.0.48 => 0.0.49
- @data-ui/network: 0.0.48 => 0.0.49
- @data-ui/radial-chart: 0.0.48 => 0.0.49
- @data-ui/shared: 0.0.48 => 0.0.49
- @data-ui/sparkline: 0.0.48 => 0.0.49
- @data-ui/xy-chart: 0.0.48 => 0.0.49
v0.0.48
π Breaking Changes
- [xy-chart] use
seriesKeyinstead ofkeyinonMouseMoveevent signature (relevant toStackedAreaSeries,StackedBarSeries, andGroupedBarSeriesonly) #73
π Enhancements
- [xy-chart] add
<StackedAreaSeries />and example #74 - [xy-chart] add
onClicksupport to all series and voronoi #74 - [xy-chart] remove previously-required
labelprop from series #74 - [shared][tooltip] don't render a tooltip if the output of renderTooltip is
falsy#73 - [demo] add
<LinkedXYCharts />example with custom click handling and mouse overs #74 - [demo] add
disableMouseEventsprop to all series #74 - removes enumeration of
@data-uipackages inreadmes #74
π Bug Fix
- fix an offset bug for
BarSerieswith band scales #74
π Internal
- [shared] bump
@vx/tooltipto0.0.147for smarter tooltips #74
- @data-ui/data-table: 0.0.25 => 0.0.48
- @data-ui/theme: 0.0.47 => 0.0.48
- @data-ui/demo: 0.0.47 => 0.0.48 (private)
- @data-ui/event-flow: 0.0.47 => 0.0.48
- @data-ui/histogram: 0.0.47 => 0.0.48
- @data-ui/network: 0.0.47 => 0.0.48
- @data-ui/radial-chart: 0.0.47 => 0.0.48
- @data-ui/shared: 0.0.47 => 0.0.48
- @data-ui/sparkline: 0.0.47 => 0.0.48
- @data-ui/xy-chart: 0.0.47 => 0.0.48
v0.0.47
π Finally syncing versions across packages! Will be easier to maintain the changelog
π Enhancements
[sparkline] add support for tooltips #72
[xy-chart] add support for area bands in #71
[shared] add package, move all @data-ui packages to @data-ui/shared #72
π Documentation
[sparkline] update docs for tooltips
ποΈ Internal
[xy-chart] absolute imports for all @vx components
Changes:
- @data-ui/theme: 0.0.9 => 0.0.47
- @data-ui/demo: 0.0.46 => 0.0.47 (private)
- @data-ui/event-flow: 0.0.11 => 0.0.47
- @data-ui/histogram: 0.0.8 => 0.0.47
- @data-ui/network: 0.0.6 => 0.0.47
- @data-ui/radial-chart: 0.0.11 => 0.0.47
- @data-ui/shared: 0.0.0 => 0.0.47
- @data-ui/sparkline: 0.0.3 => 0.0.47
- @data-ui/xy-chart: 0.0.25 => 0.0.47