Skip to content

Releases: plouc/nivo

v0.66.0

27 Nov 14:36
1f6cb2c
Compare
Choose a tag to compare

Features

Bug Fixes

  • bar: fix stacked bars when key is missing (#1291) (484235ff)
  • changelog: update clog to allow setting a tag date (#1278) (e984d72b)
  • core: add missing properties back to theme type (#1292) (681e0c28)

Chore

  • build: bump any nivo peer dep on version mismatch (b0dd147c)

v0.65.1

17 Nov 14:18
Compare
Choose a tag to compare

Chore

  • build: add version script to bump peer dependencies on new version (ea55db20)
  • changelog: update changelog (1d5a4830)

v0.65.0

16 Nov 15:53
Compare
Choose a tag to compare

Features

  • BarCanvas
    • allow to use ref to access the underlying canvas (fb91ca4e)
    • add a ref to access the canvas (ce5b67a1)
  • axes adjustments for react-spring@next (46dbb5a4)
  • bar add BarItem component to the exposed package API (#1261) (df211c03)
  • bullet
    • adjustments for react-spring@next (c567ae18)
    • convert stories to typescript (b2894a91)
    • switch from react-motion to react-spring (04f07093)
    • convert to functional components (3f63fd99)
    • remove recompose dependency (ff7f1bc8)
    • init package migration to typescript (d07378a3)
  • colors
    • update package typings according to TypeScript migration (e98d8e07)
    • migrate ordinalColorScale to TypeScript (7bb42c68)
    • migrate prop types to TypeScript (6bf1f7d4)
    • rename InheritedColorProp to InheritedColor in all package typings (29a73083)
    • migrate inheritedColor to TypeScript (436117da)
    • migrate motion to TypeScript (e1785918)
    • add typings for color schemes and interpolators (1093da12)
    • init TypeScript migration (2383b4d5)
  • core
    • add proper type for useTheme hook (66d2f4f0)
    • add missing spring config to Container (25aa18fb)
  • line forward ref to the canvas element (4be9c8ab)
  • marimekko
    • fix doc typos and add missing custom layer props to the doc (ae4c329c)
    • update README preview (ca4a0d66)
    • add support for legends (f39f12a7)
    • add story about custom layers (8560b6ad)
    • add support for value formatter (c5429db2)
    • add icons and preview for README (71b06a84)
    • add bar groups position and dimensions to layers context (8ba4c018)
    • add support for patterns and gradients (d75a3952)
    • fix vertical layout and diverging offset (604b523f)
    • add support for axes and grid (8e4cd0d6)
    • add support for custom tooltip (ed74e9f1)
    • expose thickness and dimensions scale (914f1857)
    • add the ability to configure the stack offset (a8437cca)
    • add stories (6b6aa949)
    • pass default props to InnerMarimekko (bb85398f)
    • improve motion configuration (7df05809)
    • add support for mouse handlers (4f244ea3)
    • improve documentation about data props (3178ce81)
    • compute bars from top level component and pass them to custom layers (146a04b2)
    • use react-spring@next and add animation support to bars (001b6719)
    • add to website and improve bars (5f18b057)
    • init package (35556143)
  • parallel-coordinates adjustments for react-spring@next (df7d665c)
  • scales exclude null and undefined values in log scale validation (#1099) (c87eba7d)
  • sunburst add mouse events and some labels (#880) (1b3dd8f0)
  • tooltip
    • add a display name to memoized components to ease testing (218e237f)
    • migrate TableTooltip component to TypeScript (0a54e62f)
    • migrate Crosshair component to TypeScript (1416e8cf)
    • ensure we only render the tooltip when the charts are interactive (6623000f)
    • remove usage of tooltip prop types from other packages (8addc8d4)
    • adapt BasicTooltip for new typings (cb87d9a4)
    • remove prop types (b187c618)
    • init TypeScript migration (3413142d)
  • treemap adjustments for react-spring@next (e5611c30)

Bug Fixes

  • BarCanvas stories demonstrating the canvas ref (96cff43e)
  • bar
  • bullet
  • core add useDimensions hook to types (4ce35386)
  • funnel fix lint errors (e66b51c5)
  • geo fix lint errors (bc398839)
  • legends fix lint errors (275b2b55)
  • line
    • add a stories for the responsive canvas component (0fe9c9d3)
    • add a story showcasing the usage of the ref in canvas (190acd7e)
  • motion replace deprecated method with the new helper ([57b27d8](57b27d8...
Read more

v0.64.0

06 Nov 00:15
Compare
Choose a tag to compare

Bug Fixes

  • bar include bars with zero height/width (32f48235)
  • bump add missing @nivo/axes module to dependencies (d79d0a18)
  • deps fix @nivo peer dependency versions (505a7c08)
  • pie fix path to typings (243613d3)
  • radar
  • theme remove default fill for legends.text theme (#1181) (2216f129)
  • tooltip Show tooltip on first tap for touch devices (#1185) (f712cfaa)
  • website fix crash caused by calendar tooltip (#1214) (7eb69175)

Features

  • bar add ability to set scale config via valueScale prop (#1183) (bea61cd9)
  • build
    • prevent types removal when building a package (f0c6ca8f)
    • generate package types during build if tsconfig exists (e50cc92a)
    • remove types generation from package build target (95bec3c2)
    • include types generation in build make target (39da664b)
    • update build tools (d481cfe5)
    • add build config for optional typescript support (6990e3f7)
    • add size and bundle stats rollup plugins (c629c81f)
  • ci
    • fix example sandbox formatting (7f698ade)
    • rename example sandbox (1df58b6d)
    • add example sandbox with all nivo packages pre-installed (9007093f)
    • update sandboxes for codesandbox-ci (3932a099)
    • enable codesandbox-ci (98257ff5)
  • example update retro example (54c7af5c)
  • fmt add missing tsx extension when checking formatting (bd08b37e)
  • infrastructure add stale bot config (87a56e41)
  • pie
    • use nullish operator to extract datum label (525fb5a8)
    • properly handle possible presence of label on raw datum (840a6cbc)
    • rename generics raw datum type to RawDatum instead of R (f71cd5b5)
    • use optional chaining and nullish coalescing (a770ed51)
    • get default pixel ratio from window if available (ff242a95)
    • remove unnecessary ts ignore (e9898aef)
    • finalize TypeScript migration (60c80a90)
    • remove definitions file to types (e84d3a9b)
    • init pie package migration to typescript (9fd5cee1)
    • add tests to check various layouts (0335b6d2)
    • add tests for legends (ba4fb4de)
    • improve TypeScript definitions (d0a104e5)
    • change tooltip override management to disable default wrapper (0f3eaed4)
    • add tests for radial labels (8cd3180a)
    • adapt swarmplot example using usePie hook (d02e1e90)
    • add missing props to API example (615e3502)
    • add tests for interactivity (3f4f17e6)
    • add story to showcase custom layers (17b129d2)
    • add story to showcase the ability to use colors defined in dataset (92f19c28)
    • add support for extra interactivity handlers (ebaf86e6)
    • use same tooltip for both svg and canvas implementations (baa8af89)
    • improve PieSlice component (b2c2bf1f)
    • memoize radial labels computation (dbab51b2)
    • honor isInteractive for svg implementation (2a8cded4)
    • use same computation for radial labels for both SVG and canvas implementations (1c3f704d)
    • add tests for slice labels (fd5b0470)
    • use same computation for slice labels for both SVG and canvas implementations (c22be686)
    • add support for sliceLabelsRadiusOffset (d913f50c)
    • homogeneize sliceLabels properties (19444c72)
    • improve internal props naming (ed176a92)
    • document the interface of props passed to custom layers (055e4775)
    • document layers property (b5ed2d4b)
    • add support for layers to Pie component (a8f64685)
    • add tests for colors (f0cefd2e)
    • add tests regarding data handling (4abe3f35)
    • move @nivo/core to peerDependencies (2aef261f)
    • restore border for PieCanvas (eab1311c)
    • fix PieCanvas (789d52a0)
    • use theme hook instead of prop for PieRadialLabels (7e415396)
    • use hooks instead of props to handle tooltip (97974824)
    • use hooks instead of component to compute layout (6e298727)
    • pass datum to pie legend data (5292831f)
    • remove unused react-motion dependency (3c7d65ce)

v0.63.1...v0.64.0

v0.63.1

22 Oct 22:49
dfa6378
Compare
Choose a tag to compare

Bug Fixes

  • annotations switch to useAnimatedPath hook (6c8b767e)
  • bar Fix BarItemProps types (#1163) (7f19561a)
  • bump
    • switch to useAnimatedPath hook (5ddb2ec2)
    • update input datum types for undefined/null (#1096) (259e037f)
  • ci switch to GitHub actions (#1175) (0affed68)
  • funnel switch to useAnimatedPath hook (d4578414)
  • line animate paths properly (6d2cd274)
  • parallel-coordinates switch to useAnimatedPath hook (d755a11d)
  • radar switch to useAnimatedPath hook (e7991283)
  • sankey switch to useAnimatedPath hook (a5cdf26f)
  • storybook always pull latest version of generators package (#1176) (9e230cef)
  • stream switch to useAnimatedPath hook (d983b19c)

v0.63.0...v0.63.1

v0.63.0

19 Oct 23:58
Compare
Choose a tag to compare

Bug Fixes

  • bump Add types for defs to AreaBumpSvgProps (#997) (da9ea7f8)
  • calendar Add 'monthLegendPosition' definition (#1007) (f58298ef)
  • core
    • Add missing Theme types to match default theme object (#1135) (861000fc)
    • add Defs types and export for typescript (#1146) (99b520e9)
  • core / swarmplot Improve core and swarmplot typedefs (#1151) (e370ea87)
  • dependencies remove forced package resolutions (5be120a1)
  • install force resolution of fsevents package (fbcafd14)
  • legends Respect theme fill color (#941) (fa847f6a)
  • line change points ordering on stacked lines (#1060) (c10edbf0)
  • pie tooltip props typing (#1088) (54215e7e)
  • radar
  • sankey Fix issue with gradient and parentheses in IDs (#1152) (56f0e449)
  • scatterplot
  • treemap fix treemap package nivo dependencies (dbcd2167)
  • website
    • fix missing prop for Calendar API demo (b8c7c995)
    • fix TreeMap usage on homepage (09d3bc9f)
    • fix TreeMap in colors guide (24327df4)

Features

  • a11y
    • add ability to set role prop on all charts (#1128) (7d52c072)
    • add changes to allow for improved accessibility on charts (#1054) (464185c8)
  • annotations replace react-motion by react-spring (7acc5721)
  • axes replace react-motion by react-spring (50c135d6)
  • build
    • remove custom nivo babel preset (2083f8bd)
    • use react app babel preset (18a8dd14)
    • change .esm suffix to .es (aecf5b08)
    • generate source maps for packages (39a83fd4)
  • bullet support ranges that support < 0 (5dc5ce69)
  • bump
    • remove lodash dependency (6f6aff3c)
    • replace react-motion by react-spring for Bump (edf2daf6)
    • replace react-motion by react-spring for AreaBump (90c3232c)
  • calendar
  • ci update Node.js version on CI to run v12 (3888a729)
  • core
    • replace react-measure with custom hook (3e337cda)
    • remove SmartMotion component in favor of react-spring built-in support for various interpolators (15177207)
  • funnel
    • add funnel documentation screenshots (ed1e58a9)
    • disable stories (4f6dc92a)
    • add TypeScript definitions (2748dc10)
    • add support for tooltip (6ce539cb)
    • add the ability to disable animations (7055d3d9)
    • improve animation management (99359f57)
    • add support for custom event handlers (bbdbc373)
    • add support for annotations to Funnel component (9fca13ce)
    • add support for current part (a69780fd)
    • update funnel icon (826c08f6)
    • add support for animation to Funnel component (e487a764)
    • add widget to be ease creation of d3 value formatters (5f0bf7dc)
    • init @nivo/funnel package (e2d1ce88)
  • generators add network data generation (#1082) (46bf12c3)
  • heatmap
    • improve useHeatMap hook (62b2e597)
    • move cells computation to main hook (80701b1f)
    • use hooks instead of recompose for HeatMapCanvas (f823ea61)
    • use hooks instead of recompose and migrate to react-spring (6d6528aa)
  • infrastucture upgrade rollup, babel, typescript and prettier (b08e7917)
  • line
    • add custom layer support to LineCanvas (#987) (1e5fd14d)
    • replace react-motion by react-spring (ca452490)
  • network add support for tooltips (#1080) (4d8e822e)
  • parallel-coordinates use hooks instead of recompose and migrate to react-spring (0760d942)
  • radar
    • remove lodash dependency (6e5c7f9f)
    • replace react-motion by react-spring (9e9c4984)
  • sankey
    • restore previous tooltip positioning (7666935b)
    • use hooks instead of recompose and migrate to react-spring (b08c691d)
  • scales Add support for symlog scale (#1097) (954bef75)
  • stream
    • restore previous tooltip positioning (611a72bd)
    • use hooks instead of recompose and migrate to react-spring (0c8dd3bc)
  • **sun...
Read more

v0.62.0

20 Oct 00:00
Compare
Choose a tag to compare

Features

  • bar pass showTooltip and hideTooltip functions to custom layers (f1bff166)
  • bump add support for defs/fill properties to AreaBump (#926) (c5d5d86f)
  • line
  • scatterplot Add support for annotations on scatterplots (#882) (ffc759ea)
  • website
    • add a references page to the website (#725) (bdd45de5)
    • add link to d3-format documentation for line & scatterplot value formatters (98a4f439)

Bug Fixes

  • axes add typedef exports for all components (354ef248)
  • bar
  • core add missing crosshair definitions to theme (#915) (211d76d8)
  • heatmap add missing type for tooltip property (f4d4ea62)
  • line
    • typings fix for custom layer props (#887) (a293a648)
    • fix typescript definition for areaBaselineValue prop. (#961) (9b1ed9cd)
    • add types for pointLabel function (b5464bba)
    • fix onMouseLeave firing (f2816f44)
    • add missing layer 'crosshair' to TypeScript definition (#917) (81d8fa0b)
  • pie address some issues with data label prop (#967) (d4714b6c)
  • sankey add missing motion typedefs and proptypes (bc5489c9)
  • scales fix timeScale min/max values and typings (#743) (bcb45167)
  • scatter plot add gridValues to ScatterPlot (#853) (cf0fd6bd)
  • scatterplot
  • storybook add useUTC:false to line timeScale (f3ba3f98)
  • types improve typings for onMouseLeave/Enter in Bar/Pie (#939) (422ef569)
  • website

v0.61.2...v0.62.0

v0.61.2

20 Oct 00:01
Compare
Choose a tag to compare

Features

  • sankey add support for layers to Sankey (842ae0df)

v0.61.1...v0.61.2

v0.61.1

20 Oct 00:02
Compare
Choose a tag to compare

Bug Fixes

  • geo add missing dependency for legend data memoization (887c57e7)
  • legends
    • make sure to pass the theme object when using canvas legends (ae621162)
    • honor theme font settings for labels (e4a65fc4)
    • fix vertical alignment of canvas labels (559e3c78)

v0.61.0...v0.61.1

v0.61.0

20 Oct 00:03
Compare
Choose a tag to compare

Bug Fixes

  • bump fix points keys & motion and code formatting (d92a9655)
  • prop-types fix missing prop types on various packages (8d0fe0d9)
  • publish
    • add missing npm-normalize-package-bin package (91acdf21)
    • fix lerna arg (97fcb868)
  • scatterplot fix scatterplot unit tests (c6b01ff1)

Features

  • bump add support for function for start/end labels (80c3e92b)

v0.60.1...v0.61.0