Releases: plouc/nivo
Releases · plouc/nivo
v0.73.1
v0.73.0
Bug Fixes
- axes: support null props to Axes component (0ed6676e)
- bar:
- bullet: add missing range/measure border color/width props (#1645) (2e5df09f)
- bump: support null axis* props (1c42e119)
- line:
- marimekko: support null axis* props (d8dbea2f)
- scales: handle empty series with timescale (#1683) (81880cc5)
- website:
Chore
- deps:
Breaking Changes
v0.72.0
Features
- bar:
- add custom renderer support (459e74c8)
- add layers support to canvas flavor (c39e91f5)
- add annotations/borderRadius to canvas flavor (31438233)
- enable labels for canvas flavor (602c1c3c)
- convert canvas flavor to functional component (3cac1d56)
- add support for valueFormat (e142895f)
- add ability to customize legend label (3f0bb4e2)
- support initialHiddeIds prop (29a80c6f)
- switch from react-motion to react-spring (abef1fae)
- migrate package to typescript (10ae918f)
- bullet: support minValue/maxValue properties (#1635) (86c5d81e)
- calendar: expose weekdayTicks prop on TimeRange component (#1634) (efafa016)
Bug Fixes
- axes: update scale types to use @nivo/scales (0f4271d2)
- bar:
- build:
- bullet: fix broken tests (d508d10b)
- bump: provide datum to InheritedColorConfig type (48373c13)
- chord:
- radar: provide datum to InheritedColorConfig type (dcf85170)
- sankey: use node color for link color (#1615) (1002edb5)
- storybook: add configuration to make it work again (eb308f1c)
- website: update bar tooltip to prevent crash (#1627) (0dd20f1d)
Chore
- bar:
- reuse a few types (1295d1f4)
- refactor tooltip label customization (13629296)
- convert stories to typescript (3cbca763)
- convert test to typescript (718e4f5c)
- replace snapshot tests (b8c497a9)
- refactor commonProps for reuse (82262a25)
- refactor layerById to be more like pie (44358859)
- switch from LegacyContainer to Container (312b64d2)
- bullet: switch from d3-scale to @nivo/scales (dfd0099f)
- deps: upgrade react to v17.0.2 (#1612) (fe388ff3)
- website: update bar information (f04e9ea1)
v0.71.0
Features
- annotations:
- bar: add ability to toggle serie via legend item (#1556) (0def428c)
- bump: add additional props to custom layers (#1560) (8bd5a77a)
- calendar:
- deps: upgrade d3-time-format (ed792656)
- generators: add generateOrderedDayCounts function (fbcadd70)
- line: add ability to toggle serie via legend item (#1555) (463d380e)
- network: add onClick support for node (#1568) (c9156aac)
- pie: add ability to toggle serie via legend item (#1582) (23059e02)
- scales:
- scatterplot: add ability to specify nodeId accessor (343ef6f1)
- stream: add ability to customize legend label (780954af)
- swarmplot:
- website:
Bug Fixes
- axes: fix time scale bug with days crossing a new month (#1565) (cc27a856)
- bar:
- calendar: update TimeRange component for consistency (23d569c6)
- legends: update proptypes to avoid generated type error (f0acb818)
- line: get working with scales updates (c2e9631b)
- pie:
- scales:
- scatterplot: get working with scales updates (d9e3a5bc)
- stream: get working with scales updates (73a0812c)
- swarmplot:
- website: update imports from @nivo/calendar (c7f9876e)
Chore
- annotations: refactor package (f91e8f2a)
- bar: add tests for tooltip (12d84504)
- core: revert "fix(core): avoid occasional "ResizeObserver loop" error (#1466)" (8a999326)
- deps:
- pie: add test (5e9efe20)
- scatterplot: respond to pr feedback (0f6f3425)
- stream: respond to pr feedback (54dc1c29)
- swarmplot: refactor package (6c906c0a)
- website: update swarmplot information (d87f5dcb)
v0.70.1
Bug Fixes
- bar: add getTooltipLabel to BarItemProps typings (#1550) (a0911832)
- core: export ThemeProvider in typings (#1547) (b820166b)
- geo: add legends prop to typings for Choropleth (#1548) (25270001)
- legends: mark data and padding props as optional (#1545) (31995708)
- line:
- packages: remove
global
from default props (#1544) (4eb54cad)
v0.70.0
Features
- bar: use custom label for legends (#1371) (ae637f17)
- bump: support more series than ranks (#1540) (d07097d3)
- examples: improve codesandbox example (#1523) (bdbb48f9)
- heatmap: allow label formatting (#1428) (92d11b14)
- legends: migrate package to typescript (#1512) (d9ec5fdc)
- sunburst: pass child node to childColor function (#1520) (5580e968)
Bug Fixes
- axes: restore memoization (#1521) (729cd555)
- bar: pass renderWrapper prop to container (a258e0b0)
- build: mark @react-spring packages as external (#1537) (7bc4fc72)
- colors: update react peer dep to be < 18.0.0 (091dad31)
- core: avoid occasional "ResizeObserver loop" error (#1466) (7f88e10d)
- heatmap: return currentCellId from useHeatmap hook (#1536) (c572f803)
- marimekko: update react peer dep to be < 18.0.0 (cb983901)
- pie: pass renderWrapper prop to container (cec89ff2)
- swarmplot: fix swarmplot node onMouseMove event (#1529) (7f998811)
- treemap: adjust label type to accept a function (#1541) (3dca0ae3)
- website:
Chore
v0.69.1
v0.69.0
Features
- axes: init migration to typescript (73f98032)
- build: add test watch commands to makefile (e706d48e)
- circle-packing:
- update default childColor (ca07b9e6)
- restore patterns and gradients support for the SVG implementation (08ee5155)
- add a dedicated prop to enable parent color inheritance (b864de9f)
- update website descriptions (b91c0570)
- update stories (9b7a3046)
- restore border support (2911b61c)
- restore pixelRatio property for canvas implementation (56491038)
- add colorBy property to control which property should be used to assign a color (10914684)
- add mouse handlers support to canvas implementation (82cb7c55)
- add zoom support (d8c7a883)
- expose hooks to be able to build fully custom charts (03433b02)
- add support for custom circle component to SVG and HTML implementations (6f8a4caf)
- memoize labels transition phases (d9170572)
- add support for mouse handlers to SVG and HTML implementations (138eafb5)
- restore labels (4fb658dc)
- restore leavesOnly support (07135815)
- migrate canvas implementation to new architecture (478da0ee)
- rename Bubble to CirclePacking (43bb075c)
- init hooks (6fb27f70)
- remove licence headers (1f5290a7)
- enable TS support (e75f1c89)
- d3-scale: upgrade d3-scale package (c976d663)
- deps: replace
recompose
with inlined version (#1494) (09b02069) - generators: migrate package to typescript (#1492) (46d2ae0c)
- voronoi:
Bug Fixes
- axes:
- build: include latest changelog when publishing (e9360be8)
- bullet: remove some ts-ignore comments (b4372cf1)
- circle-packing:
- deps: remove recompose (53b9c1cc)
- legends: Add missing symbolBorderWidth to typings (#1431) (a00ef4a1)
Chore
v0.68.0
Features
- arcs:
- fix typo in useArcLinkLabelsTransition comment (62766378)
- improve label accessor in ArcLinkLabelsProps (3aa12a3b)
- finalize arc link labels (89c52e60)
- move canvas helpers to scoped directories (f0d9d19c)
- improve labels handling (c1bfd514)
- add the ability to pass custom arc label/arc link label components (8fb574c9)
- provide generic arc labels/arc link labels layer (547b6352)
- normalize arc labels props (08b75bff)
- fix arc border width (f2223d77)
- move arc hover detection from core to arcs package (30be4925)
- add configurable transition modes (e76747d7)
- introduce @nivo/arcs package (afc6b8cc)
- chord: use arc hover detection from @nivo/arcs (3eece0ad)
- core:
- improve property accessor utilities (90958bdc)
- remove ts-ignore directive from useValueFormatter imports (640393ba)
- improve value formatter typings (5b158797)
- remove license headers from hook modules (09e3f839)
- remove license headers from lib modules (e4eb8f72)
- remove license headers from props utilities (b05913d1)
- move arc bounding box unit tests to the arcs package (6c30f05a)
- legends: remove recompose from dependencies (29e7531c)
- line: use theme values for line slice tooltip (#1471) (0f67123f)
- linting: add lint --fix option and create new make option (#1484) (dd74cbb3)
- pie:
- remove lodash (fe4f6342)
- add story to showcase custom arc label component (37cb3d15)
- adjust stories according to refactoring (4ca47ac6)
- rename slices to arcs (39f06445)
- fix typings for arc mouse handlers (4d3d303f)
- use generic ArcsLayer from the arcs package (b14ffcd3)
- compute radial lables in arcs package (15625766)
- use mostly the arc package for PieCanvas (46af372a)
- use @nivo/arcs to compute PieCanvas slice labels (ce6bb875)
- use Container instead of withContainer HOC (0fb7756b)
- fix angle padding (3baba4c6)
- add radius offsets support for active arcs (cfc0cb63)
- improve transitions and fix slice labels (9365ae27)
- restore feature parity for slices (5dbbe0cd)
- add transitions for arcs (ccb1656d)
- scales:
- sunburst:
- improve drill down demo (b058f7b7)
- improve color management (c94aff4c)
- explain non-null assertions and remove linter warnings for those (378c52d9)
- improve props documentation (d6386d9b)
- simplify types (a6b5b926)
- also apply defaults to main hook (beee8941)
- remove unused types (836823ec)
- fix typo (e059e80d)
- use arcs package (bf225e7a)
- testing: add enzyme types (d66d4e92)
- website: update references (5b2deb56)
Bug Fixes
- arcs: fix packages version due to new release (c1ddb3d0)
- axes: rtl issue with x-axis (#1349) (95f3b343)
- axis: time series rendering (#1408) (d80dafd6)
- bar:
- core:
- deps: upgrade react-spring to v9.1.2 (#1480) (1d94b5f1)
- doc: fix grammar errors in docs/comments (b5bbeda7)
- funnel: fix dependencies on other nivo packages (#1486) (a1a12411)
- pie:
- tooltip: Add anchor param to showTooltipFromEvent type (#1420) (1c2569e4)
- voronoi:
- website: fix typo in pie props (#1380) (ce7c755b)
Chore
- changelog: update changelog (f5dae750)
v0.67.0
Features
- bar: typescript - uses string unions to define BarLayerType (#1322) (a1e08f57)
- sunburst:
- add layers support (3a6537b0)
- add tests (66edc5a4)
- add valueFormat prop and move event handlers to hook (c4273501)
- add parent to node data (c586676b)
- add animation support (9b4630a9)
- add pattern and gradient support (1fecdffe)
- remove recompose (3c0586b3)
- init package migration to typescript (0542c6ce)
Bug Fixes
- area-bump: Return a new serie reference when color or styles change (844c311f, closes #1301)
- bump: Return a new serie reference when color or styles change (07c8ba10)
- generators: change duplicate keys in tree data (149d1a64)
- pie: fix types related to d3-shape (624d5859)
- sunburst:
- website: update sunburst to not crash on hover (952ad507)