Skip to content

v0.0.160

Compare
Choose a tag to compare
@hshoff hshoff released this 08 Apr 19:06
· 2305 commits to master since this release

πŸ’₯ Breaking Changes

  • [shape] <Link* /> components now use ...additionalProps() everywhere for consistency. So function props get passed data. example: onClick={event => // stuff} becomes onClick={data => event => // stuff} and now you can stroke/fill/attr based on data `stroke={({ target }) => target.data.children ? 'yellow' : 'blue' }. #265

πŸš€ Enhancements

  • [shape] export link path generators. fixes: #263. #265
  • [shape] add optional path prop so you can pass in path generator function instead of creating the generator every render. #265

πŸ† Contributors

Changes:
 - @vx/annotation: 0.0.158 => 0.0.160
 - @vx/axis: 0.0.159 => 0.0.160
 - @vx/demo: 0.0.159 => 0.0.160
 - @vx/grid: 0.0.158 => 0.0.160
 - @vx/marker: 0.0.158 => 0.0.160
 - @vx/shape: 0.0.158 => 0.0.160
 - @vx/tooltip: 0.0.158 => 0.0.160
 - @vx/vx: 0.0.159 => 0.0.160