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
- 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)