Skip to content

Latest commit

 

History

History
2434 lines (1730 loc) · 172 KB

CHANGELOG.md

File metadata and controls

2434 lines (1730 loc) · 172 KB

v0.77.0 (2021-12-31)

Features

  • annotations:
    • add outline opacity (365f2610)
    • add support for border radius to rect annotations (c0043507)
  • network:
    • fix codesandbox example (cda66831)
    • add missing tests (ca5ee4e8)
    • add support for canvas annotations (aed35906)
    • remove nodeBlendMode as it doesn't play well with link endings underneath (bfbe9b69)
    • add the ability to control the center force strength (609287da)
    • add the ability to extend the links data structure via a generic (7fdff22f)
    • memoize default node & link components (d70ad138)
    • add basic tests (07a1e333)
    • add support for active nodes and annotations (5575928d)
    • forward aria props to SvgWrapper (e91b04f7)
    • fix remaining issues after rebasing against master (90edbd01)
    • update stories for custom components (b6741dd5)
    • improve custom tooltip stories (cbe9b21a)
    • add stories for custom node component and renderer (8f13a530)
    • fix website icon due to API changes (b115f701)
    • network can be used in standalone mode via the useNetwork hook (1b03cecd)
    • add support for custom link component (2b26bf3d)
    • add support for custom node component (8e85cf1d)
    • types are now valid (c3d5dd1b)
    • add support for generic node datum (375252a5)
    • replace react-motion with react-spring and use the same component for static and animated variants (82a2d05c)
    • remove prop-types (fa152f5c)
    • adjust old TypeScript definitions (353010f7)
    • remove deprecated license header from package (0137c963)
    • change all files extension to ts/tsx (797c1311)
  • website:
    • add a dedicated control for chart annotations (9060197e)
    • add the ability to control charts annotations (720716bf)
    • add a helper to generate common accessibility props (63a7eb60)

v0.76.0 (%cs)

Features

  • bump:
    • add tests for the AreaBump chart (3f5ed416)
    • improve website documentation (6bb16dc4)
    • improve AreaBump typings and add support for series extra properties (a68d98d1)
    • fix Bump linting errors & warnings (1afc0a4b)
    • improve website documentation (235d85eb)
    • allow extra props for Bump data series (ba2fca2e)
    • add tests for the Bump chart (90006b67)
    • migrate @nivo/bump to TypeScript (4be280b3)
  • captures: improve the script used to generate charts' images & icons (74d9872f)
  • packages: use website captures in packages' READMEs (f9f0acb2)
  • website:
    • continue migration to TypeScript (fe2652fe)
    • try to increase node memory limit for netlify (7a244d20)
    • use chart image for OG tags (121491fd)
    • skip lib checks (a597f171)
    • add captures for all charts (1daa7fe1)
    • test chart SEO image with AreaBump (c417b2b1)
    • use netlify url if available (4316288f)
    • run init before building for netlify (d175ef70)
    • init support for netlify (d68870e4)
    • improve SEO (f39dc01e)
    • migrate the legends guide to TypeScript (c3d76090)
    • migrate the axes guide to TypeScript (1f4f480e)
    • fix guides (12d0f396)
    • add traling slash to all URLs (d7e7926d)
    • adjust guides interactive demos to use the new control definitions (7d17732e)
    • normalize charts properties definition (e9446233)

v0.75.0 (%cs)

Features

  • api:
    • create new @nivo/static & @nivo/express packages (fc0f27ff)
    • fix heroku deployment (a4dbb440)
    • migrate API to TypeScript and fix stale mappings and examples (d53681b4)
  • build:
    • init support for development builds (643a1c95)
    • fix build after upgrading a bunch of dependencies (60cdbbbf)
  • eslint:
  • storybook: upgrade storybook and addons (64ac24e0)
  • ts: upgrade TypeScript version (eff43e28)
  • website:
    • update the API url to match the new path (ec6e7d96)
    • fix gatsby build due to dependencies updates (6bfeaa86)
    • update gatsby (50778907)

Bug Fixes

  • bar: avoid to redefine react forwardRef type (cd6e3ec3)
  • build: fix error with duplicated typings for eslint by forcing the resolution of the package (384e4240)
  • ci: fix triggers for the CI workflow (0750223f)
  • core:
    • import missing SVGProps type (feb6de60)
    • export linearGradientDef in typings (7cfbfc96)
  • format: fix formatting issues (7d03e9a3)
  • swarmplot: use the borderWidth property - fixes #1813 (edd3990c)
  • website: fix React runtime issue with Gatsby (e36b06b3)

Chore

v0.74.1 (%cs)

Features

  • defs: allow gradientTransform to be passed to gradient definitions, fixes #1098 (#1812) (76062b53)
  • radar: add support for patterns and gradients (#1807) (0b3bdb0b)
  • radial-bar: update website package as it is now published (2757063c)

Bug Fixes

  • radial-bar: remove unnecessary console log (dd72cd41)

Chore

  • update @react-spring/web to 9.3.1 (d43dfea1)

v0.74.0 (%cs)

Features

  • bar:
    • remove recompose from dependencies (dda2edfe)
    • ignore TS error when importing source from stories/unit tests (bf4061ae)
    • adjust unit tests for new data (53811a52)
    • pass bar data to bar item aria attribute generators (b7347736)
    • fix tooltip position when triggering it from focus (8c139c34)
    • exclude aria props from canvas bar item renderer (95f9b15d)
    • remove bar item focus handler event as it's not used (3c3e8fcc)
    • add a generic hook to handle both SVG and canvas implementations (75481c61)
    • enable tooltip for keyboard based navigation (8a32e501)
    • add labelledby and describedby aria attributes support to SVG bar item component (ce11205d)
    • add aria attributes support to SVG bar component (b6e930f9)
  • bullet: add custom tooltip (#1694) (75eafa18)
  • bump: add missing line props in TS definition (#1787) (69aef61b)
  • core:
    • upgrade react-spring (2cb0fffc)
    • fix typings for ValueFormat context support (828e06b4)
    • add typings for d3 curve factories (bdb231ce)
    • remove unused withCurve and withHierarchy HOCs (6fdd4839)
    • remove make targets related to example projects (a6fde221)
    • do not use false as a default for focusable attribute in SvgWrapper for BC (3825b12b)
  • defs: hide SVG defs for screen readers (ae7d5378)
  • examples: remove retro and typescript example projects (10aa6df2)
  • funnel:
  • polar-axes:
  • radar:
    • allow customization of legend data (#1786) (4a4583f4)
    • add support for custom layers (3271a6b9)
    • add tests for value formatting (e259c040)
    • add support for custom slice tooltip (bb81efbe)
    • improve dots related typings (2e696337)
    • restrict data to objects (e0adf5af)
    • fix new typings (17bf1742)
    • fix typings (113a6e22)
    • adjust stories and convert to new storybook format (062ab4e2)
    • init TypeScript migration (8e898d56)
    • fix radar radial grid lines style theme property (#1754) (d9213a78)
  • radial-bar:
    • generate icon and screenshots (399215b6)
    • add the ability to specify a static max value (6144dbb1)
    • add controls for radial & circular axes to the demo (587b179c)
    • add stories (88e05dda)
    • add circular axes (c65a1c9b)
    • isolate polar axes components in their own folder to easily move them to a dedicated package (ab8e2597)
    • fix typo in website dimensions properties (3ac27b14)
    • add the ability to customize inner radius (3fb05676)
    • add unit tests for tracks (26a27ba3)
    • update package README (06f63999)
    • add unit tests (8c1bf1a8)
    • support custom datum via generic (883f8486)
    • improve polar grid transitions (aa9ea046)
    • add support for circular grid (8c1f2f52)
    • add support for padAngle (9a8f03f8)
    • add tracks (729ac4c7)
    • add legends and ability to finetune style (f23b988a)
    • add support for labels (e6bab88a)
    • use the @nivo/arcs package (5ec257f1)
    • improve documentation about the data structure (d8fd7699)
    • add support for tooltip and mouse handlers (d4f8c47a)
    • init package (126e1f93)
  • sankey:
    • add package to TypeScript monorepo config (883b10ad)
    • update stories to use new storybook format (1494170c)
    • use generics for nodes and links (e59add96)
    • init TypeScript migration (5b907274)
  • scales:
    • fix old imports from axes package (81c72ccd)
    • move ticks logic to the scales package (801c7675)
    • forward generic types from stackX/stackY to stackAxis (8e774c0c)
  • scatterplot:
    • convert stories to new format (af87639d)
    • add tests for date based data (95bbe5c2)
    • add unit tests for annotations (a0d3b866)
    • add unit tests for markers (8afb16a1)
    • enable format editor in doc for x/y format (aa55260f)
    • flatten node props (1be2e324)
    • add unit test for aria props (c8ed443b)
    • add support for custom layer to ScatterPlot prop type (cb0fce8f)
    • ignore TS error when importing source from stories/unit tests (837be3ee)
    • move style.color to color in node data, fix typing issues in stories (56fdbd41)
    • adjust stories according to API changes (816a4783)
    • migrate from react-motion to react-spring (c1b84c98)
    • migrate package to typescript (34e6d377)
  • stream:
    • convert stories to new format (d58ca1c4)
    • add unit tests for custom tooltip components (d24f23e2)
    • add support for custom tooltip and stack tooltip (3b8fde15)
    • add unit tests for dots (a7f56db2)
    • add support for custom layer (fa5d6e63)
    • add documentation about aria attributes (e202437a)
    • add aria attributes to the root SVG container (60741652)
    • adjust website documentation according to API changes (c94f5e28)
    • migrate stream package to TypeScript (e6f4c70b)
  • timerange: add from, to, and emptyColor props (#1722) (d49a7903)
  • website:
    • improve data log when clicking on funnel parts (6f67fc39)
    • improve typings for ComponentTemplate (f9395545)
    • improve typings of charts props documentation (ace1a66d)
    • convert chart props files to TypeScript (b57d8b07)
    • convert a few control components to TypeScript (56f8ae68)
    • add typings for theme (39ff4927)
    • update code according to react-markdown API changes (74fdbbb6)
    • upgrade gatsby dependencies (cc3e3913)
    • add markdown support to component properties help content (a5aa25cd)
    • improve accessibility of component tabs (57406d0c)

Bug Fixes

  • website:
    • do not try to run dedent when help text is undefined (5ba75a94)
    • fix invalid dependency for useMemo (06be0276)

Chore

  • browserlist: update caniuse-lite (6bcecb3d)

v0.73.1 (%cs)

Bug Fixes

  • bar: fix animation regression (#1687) (13135238)

v0.73.0 (%cs)

Bug Fixes

  • axes: support null props to Axes component (0ed6676e)
  • bar:
    • support null axis* props (156b88ad)
    • fix animations when swapping keys (#1656) (f665bc3a)
  • bullet: add missing range/measure border color/width props (#1645) (2e5df09f)
  • bump: support null axis* props (1c42e119)
  • line:
    • use correct motion types (#1685) (3e0f074c)
    • make copy of lines data before reversing (#1644) (47e963ac)
  • marimekko: support null axis* props (d8dbea2f)
  • scales: handle empty series with timescale (#1683) (81880cc5)
  • website:

Chore

  • deps:
    • upgrade react-spring to v9.2.4 (#1686) (85be2089)
    • update clog to v1.0.1 (#1678) (6cf688f1)
    • upgrade react minimum peer deps range to v16.14.0 (#1677) (11bc6fcd)

v0.72.0 (%cs)

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:
    • move scales above axes (e9ba49ec)
    • move voronoi up in the references (33a0cdbc)
  • bullet: fix broken tests (d508d10b)
  • bump: provide datum to InheritedColorConfig type (48373c13)
  • chord:
    • provide datum to InheritedColorConfig type (a9f392eb)
    • fix missing typescript properties (#1636) (8752e396)
  • 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 (%cs)

Features

  • annotations:
  • bar: add ability to toggle serie via legend item (#1556) (0def428c)
  • bump: add additional props to custom layers (#1560) (8bd5a77a)
  • calendar:
    • migrate package to typescript (#1558) (4e8280da)
    • add TimeRange component and storybook (#1503) (8245fbd4)
  • 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:
    • get working with scales updates (48880b43)
    • fix when values are updated from 0 in grouped mode (#1585) (8ff82034)
    • fix inconsistency with custom tooltip (2479df38)
  • calendar: update TimeRange component for consistency (23d569c6)
  • legends: update proptypes to avoid generated type error (f0acb818)
  • line: get working with scales updates (c2e9631b)
  • pie:
    • correct argument type to usePie hook (191e3e0b)
    • use legend.data property if supplied (acdfa902)
  • 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:
    • upgrade lodash to v4.17.21 (3435784d)
    • upgrade react-spring to v9.2.0 (#1554) (fadeb0e2)
  • 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 (%cs)

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:
    • correct typing for lineGenerator prop (#1549) (b66ac11a)
    • update types from DataFormatter to ValueFormat (#1546) (37c89e02)
  • packages: remove global from default props (#1544) (4eb54cad)

v0.70.0 (%cs)

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:
    • update link to bar race chart example (#1524) (b323e986)
    • update circle-packing page code (dbc0aed2)

Chore

  • deps: Use @react-spring/web (#1517) (3cf486f5)

v0.69.1 (%cs)

Bug Fixes

  • axes: fix AxisProps types to be correct (#1502) (baad3c0e)
  • line: update type for custom line canvas layers (#1499) (04547846)

v0.69.0 (%cs)

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:
    • update some types (b5d5f0f3)
    • create alias for axis value (f11d0347)
    • improve package types (f7fcc751)
    • remove undefined cursor style prop from AxisTick (eb969df8)
    • ensure document exists in the environment (#1489) (a2e0d891)
  • build: include latest changelog when publishing (e9360be8)
  • bullet: remove some ts-ignore comments (b4372cf1)
  • circle-packing:
    • add support for controlled zoomed ID (faf00aa8)
    • fix HTML implementation overflow (f83f2f1c)
  • deps: remove recompose (53b9c1cc)
  • legends: Add missing symbolBorderWidth to typings (#1431) (a00ef4a1)

Chore

  • axes:
    • exclude tsbuildinfo from package (828656f7)
    • changes to support react-spring v9.1.2 (dfd3ef08)
  • build: update messaging in makefile (6b9af77d)
  • changelog: update changelog (c3f293da)
  • circle-packing: fixes after rebase to master (89109d93)
  • docs: fix typo (#1495) (353e9837)

v0.68.0 (%cs)

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:
    • add nice argument to linear and time scales (#1473) (644faf46)
    • add option to clamp linear scales (#1342) (b5584de6)
  • sunburst:
  • 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:
    • types don't allow bar component as any svg element (#1469) (20697e57)
    • improve grouped bar performance (#1404) (f37d066e)
  • core:
    • fix invalid core types (#1386) (296f5d1c)
    • add missing marker typings (#1440) (ff2cc31d)
    • fix type definition of PatternSquaresDef (#1355) (bf27d55d)
  • 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:
    • fix pie stories (4c8cde1e)
    • fix existing tests due to usage of @nivo/arcs (6d5fb272)
    • fix skip angle for slice labels (70c1ef24)
  • tooltip: Add anchor param to showTooltipFromEvent type (#1420) (1c2569e4)
  • voronoi:
    • length undefined in production (#1441) (80a9c376)
    • fix typo in export class name (#1436) (245b0cd4)
  • website: fix typo in pie props (#1380) (ce7c755b)

Chore

  • changelog: update changelog (f5dae750)

v0.67.0 (%cs)

Features

  • bar: typescript - uses string unions to define BarLayerType (#1322) (a1e08f57)
  • sunburst:

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:
    • fix logic with radius and centerX/Y (ee593828)
    • get build passing again (77fcc219)
    • fix with child color modifier story (96ac069f)
  • website: update sunburst to not crash on hover (952ad507)

Chore

  • build: workaround lerna issues (98be804e)
  • changelog: update changelog (0fb693bc)
  • sunburst: rename slice label props for consistency (6717e5b0)

v0.66.0 (%cs)

Features

  • bar: add the ability to round index scale (#1282) (1ab12579)

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 (%cs)

Chore

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

v0.65.0 (%cs)

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:
    • add new prop valueScale to BarCanvas (#1274) (d66acd6a)
    • fix lint errors (640c883b)
    • prevent missing values causing bad scales (#1257) (b9687754)
  • 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 (57b27d8d)
  • packages: allow react 17 in peer dependencies (a4f370b4)
  • pie:
    • fix typings issues due to better d3 types (ad9cc2c6)
    • make dimensions required props (d502a409)
    • fix incomplete type for valueFormat (0793553e)
  • storybook: move bar/race chart story to main bar stories (#1258) (e9c5932d)
  • sunburst: apply my own fixes from pr review (cbb9e37a)
  • tooltip:
    • fix typings due to core adjustments (87e5edb2)
    • export useTooltip hook in types (7eb1b30b)
  • website:
    • patch react-spring due to known issue with Gatsby (c35b4e96)
    • changes to get deployment to work (09f46839)

Chore

  • bullet: add proper tests (6168b680)
  • changelog: update changelog (ea1ff453)
  • core: move @nivo/core to peer deps and add it to dev deps (d22679c0)
  • deps:
    • pin react-spring version (3ba34a22)
    • add repository field to every package.json (#1268) (7f50401b)
  • lint:

v0.64.0 (%cs)

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)

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:
    • typing for custom functions (#1089) (20a5c124)
    • fix issue with points being outside circular grid (#1189) (beb3ac84)
  • 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)

Chore

  • changelog: update changelog (78545294)
  • ci: add website to codesandbox ci (#1199) (f14c5234)
  • infrastructure: remove examples install during init (98ddad4a)
  • storybook: Storybook 6.0.X Upgrade (#1177) (48d402e9)

v0.63.1 (%cs)

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)

Chore

  • changelog: update changelog (#1166) (55954821)

v0.63.0 (%cs)

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:
    • remove recompose and convert to hooks (#1040) (daebd61f)
    • add monthSpacing prop (#964) (8f55046e)
  • 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)
  • sunburst:
    • add support for custom tooltip #1024 (9a5b1e42)
    • Add typescript definition (#995) (a32603ce)
  • swarmplot: add time scale support (#1121) (9a19da66)
  • tooltip:
    • improve TooltipWrapper component for animation (d969d836)
    • restore animation and use new measure hook (691125c1)
    • replace react-motion by react-spring (a5850bc5)
  • treemap:
    • restore pattern and gradient support for TreeMap component (5e4ea120)
    • add stories to demo pages (4b3241cd)
    • update treemap documentation screenshots (43e625fa)
    • update stories (f90f979d)
    • add support for parent labels (c705f3e7)
    • add TypeScript definitions (f1d9a3b9)
    • use hooks instead of recompose and migrate to react-spring (5ff360ef)
  • website:
    • add theme property documentation to all components (f967380e)
    • add theming guide (975503ab)
    • add ability to configure x/y formats from UI (022ddf8d)
    • update heatmap motion config control for react-spring (25ba5662)
    • add the ability to control react-spring config (457ebfa4)

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:
    • Add return type of GridLabelCustomFunction (#1045) (f87be93a)
    • add theme prop to types (#1029) (74001a66)
    • fix eslint errors (d96fb311)
  • sankey: Fix issue with gradient and parentheses in IDs (#1152) (56f0e449)
  • scatterplot:
    • Support DerivedNodeProp for nodeSize prop (#1134) (42adacd9)
    • adjust type/proptype of data[].id prop (#1147) (52c1bc15)
    • onMouseLeave not firing when mesh is used (#1064) (fb4aef0c)
    • fix canvas missing annotations layer (#1043) (d2ceffc7)
  • 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)

Chore

  • docs: Add Testing section in CONTRIBUTING.md (#1059) (565dc755)
  • funding: add wyze to the list of contributors in funding config (e2f8cec4)
  • legends: fix broken snapshots (#1023) (2e7deed7)

v0.62.0 (%cs)

Features

  • bar: pass showTooltip and hideTooltip functions to custom layers (f1bff166)
  • bump: add support for defs/fill properties to AreaBump (#926) (c5d5d86f)
  • line:
    • pass the state to a custom layer (#656) (07d2c3f2)
    • add gradient support to line areas (#844) (b84ec05a)
    • Updated @nivo/line typescript definition to add all curve options (#197, #944) (7b3c503b)
  • 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:
    • add missing grid value types (#855) (033cf9ee)
    • fix linting error in types (cbba0f2a)
    • fix legend order in bar (#842) (ced84ee0)
  • 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:
    • fix serieId typing (#886) (ef1ee4c5)
    • remove TypeScript redefinition of Scale (#935) (35b1681e)
    • fix no implicit any error on CustomTooltip (#857) (7ad8ba75)
  • storybook: add useUTC:false to line timeScale (f3ba3f98)
  • types: improve typings for onMouseLeave/Enter in Bar/Pie (#939) (422ef569)
  • website:
    • fix xScale.type option for line chart (ad77a5f5)
    • fix spelling mistake (#805) (468a5538)
    • Add closed bracket in gradients example code (#889) (15bc0ee7)

Chore

  • changelog: update changelog (793bebc8)
  • generators: change up treemap data (54c9bf8f)

v0.61.2 (%cs)

Features

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

Chore

  • changelog: update changelog (48a9ecec)

v0.61.1 (%cs)

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)

Chore

  • doc: add explanation about the geo features file (b199b278)

v0.61.0 (%cs)

Features

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

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)

Chore

v0.60.1 (%cs)

Features

  • bump:
    • skip serie labels for missing data (04a13a72)
    • add support for missing data to Bump component (7275fa89)
    • add active/inactive state to points (ee906f41)
    • pass original datum to each point (b4c739d2)
    • add ability to use custom point component (b29fed2a)
  • line: add option to format x/y values in tooltip (#731) (f92abbed)

Bug Fixes

  • bar: add ability to use number for grid lines (#669) (3d48b94d)

Chore

  • website: upgrade dependencies (6743820f)

v0.60.0 (%cs)

Features

  • calendar: add support for custom color scale (#703) (484d3080)
  • legends: pass id property to symbolShape (#687) (289e9049)
  • line: update TypeScript definitions (c034393a)
  • tooltip: add simple fix to keep the tooltip inbounds (#631) (395fc5e7)

Bug Fixes

  • bar:
    • add missing borderColor type to nivo/bar (#704) (050f0a98)
    • add missing renderTick type to Bar's definition (#697) (61fc2078)
  • calendar: add missing exports for canvas calendar (#700) (3f9bc623)
  • line:
    • update PropType for Line markers when using dates for the X axis (#653) (2c9bfc2d)
    • add missing pointSymbol prop to typings (c249df83)
  • sankey: fix issue with gradient links and spaces in IDs (#676) (52feccbf)
  • scales: add useUTC to types (#690) (d7c1da53)
  • storybook: fix typo in line's story (#680) (680a6ed3)
  • tooltip: update tooltip TypeScript types. (#657) (305a536f)
  • website: fix responsive problems with component's tab (#722) (ccbb4de0)

Chore

  • doc:
    • fix broken markdown description of the 'labelFormat' property (#748) (d1efd7d3)
    • fix bar previews in README.md (#759) (cdfec980)
    • fix bullet previews in README.md (#760) (a9442eba)
    • fix calendar previews in README.md (#761) (62d4f4dc)
    • fix circle-packing previews in README.md (#762) (90afc53b)
    • fix geo previews in README.md (#763) (3a7267a3)
    • fix heatmap previews in README.md (#764) (304825ce)
    • fix parallel-coordinates previews in README.md (#765) (6a7ce3e7)
    • fix pie previews in README.md (#766) (a94c9c40)
    • fix radar previews in README.md (#767) (c557d303)
    • fix sankey previews in README.md (#768) (0eada510)
    • fix scatterplot previews in README.md (#769) (b952aded)
    • fix sunburst previews in README.md (#770) (35706ad2)
    • fix stream previews in README.md (#771) (ea2b9a8a)
    • fix treemap previews in README.md (#772) (58c9e268)
    • fix voronoi previews in README.md (#773) (0820afe7)
    • fix waffle previews in README.md (#774) (474f9f75)

v0.59.3 (%cs)

Features

  • scales: add ability to reverse linear scale (2f4ddc47)

Bug Fixes

  • voronoi: upgrade d3-delaunay to fix single/collinear points (#640) (b93c96a5)

Chore

v0.59.2 (%cs)

Features

  • website: add sponsoring link (871c7efb)

Bug Fixes

  • axes: treat renderTick as a React component (4bd566c8)
  • choropleth: add missing domain prop to typings (#634) (fa3c220a)
  • line: add missing tooltip prop to typings (#568) (0a90609b)

v0.59.1 (%cs)

Features

  • line: add missing types (#605) (f8562008)
  • radar: pass key to tooltip format function (#587) (cca8a9e9)
  • tooltip: move Chip style to theme (#589) (343e38c5)

Bug Fixes

  • axes: respect useUTC option on x/y scale property (#574) (b4ca5ecc)
  • bar:
  • stream: fix bugs in typings (#593) (9b157510)

v0.59.0 (%cs)

Features

  • scatterplot:
    • update stories (d55b5fce)
    • improve ScatterPlotCanvas (40d9d2de)
    • improve Mesh support for SVG implementation (91f66dc4)
    • fix TypeScript definitions (ac012bad)
    • adapt ScatterPlot stories (81bf6fd5)
    • add ability to format x/y values (7a80184b)
    • rename symbolSize to nodeSize (501ee0ff)
    • add support for mix-blend-mode (4b667dab)
    • migrate package to new architecture (4397dab6)
  • stream: add TypeScript definitions (87c762cc)

Bug Fixes

  • sankey:
    • improve Sankey types (9d5c7285)
    • change custom align story to use correct align property (6d300ab6)
  • scatterplot: fix unit tests (3ea40c02)
  • website: correct typo on line page (0ed7eb8a)

v0.58.0 (%cs)

Features

  • bump:
    • add support for transitions on Bump component (9fa5019b)
    • add support for animation for AreaLabels (3efe3fd8)
    • add TypeScript definitions for Bump (eed820ad)
    • add TypeScript definitions for AreaBump (e70c4cd5)
    • add screenshots (edf72cae)
    • add support for area transition for AreaBump (4553d555)
    • add AreaBump component (9b69845e)
    • init @nivo/bump package (5501852d)

Bug Fixes

  • radar: fix Radar cached tooltip (a8626bec)

v0.57.2 (%cs)

Bug Fixes

  • choropleth: add missing domain prop (#540) (6bf655fb)
  • website: fix storybook url config (5c866ce7)

v0.57.1 (%cs)

Bug Fixes

  • scales: fix time scale instantiation (c9abfaef)

v0.57.0 (%cs)

Features

  • line:
    • finalize first version of LineCanvas (bd008153)
    • fix slices spacing & add support for y axis (d56881b8)
    • add canvas implementation (d47d5cb1)
  • network:
    • add TypeScript definitions (f2d4ec39)
    • add separated node and link components (a54ac593)
    • init network package (2ea85816)

Bug Fixes

  • svg: fix text vertical alignment (d59fb722)
  • website: fix InheritedColorControl (862fa0bd)

v0.56.2 (%cs)

Features

  • colors: allow plain color for ordinal scale (b8d3abb4)
  • core: allow string format spec in BasicTooltip (8b382dc3)

v0.56.1 (%cs)

Features

  • chord: improve @nivo/chord package (51a58c11)

v0.56.0 (%cs)

Features

  • annotations: init @nivo/annotations package (e0dc149d)
  • axes:
    • move all grid & axes stuff from core (0b564147)
    • add support for legends to canvas implementation (5dcebd63)
  • bar: use @nivo/colors for inherited colors (c7cf5ce0)
  • chord: use @nivo/colors for inherited colors (f16f8244)
  • circle-packing: use @nivo/colors for inherited colors (53ffed92)
  • colors:
    • use @nivo/colors for inherited colors for all packages (e8955560)
    • add colorIdentity support to bar & bubble (32e61b16)
    • init @nivo/colors package (62644b0a)
  • examples: upgrade examples dependencies (e07f58f3)
  • geo:
    • update choropleth screenshots (c2f64eac)
    • add legend support to choropleth components (bb7a0a2e)
  • line: use @nivo/colors for inherited colors (1347fd82)
  • pie: use @nivo/colors for inherited colors (a217ab8f)
  • radar:
    • add blend-mode support (e46b10c9)
    • improve @nivo/radar package (96e60be0)
    • use @nivo/colors for inherited colors (4686b2bf)
  • sunburst: use @nivo/colors for inherited colors (9cb6b2af)
  • swarmplot:
    • add support for border color (de3e8b3a)
    • add ability to use custom tooltip (83f965ad)
    • add support for voronoi overlay) (4b0bcb96)
    • init @nivo/swarmplot package (eb593954)
  • theming: add ability to theme crosshairs (f03848f6)
  • treemap: use @nivo/colors for inherited colors (4b5e65b6)
  • website:

Bug Fixes

  • api: fix api mappings (80b281cc)
  • legends: fix legends unit tests (41dd564f)
  • sankey: fix broken custom node sorting (#498) (319e7e07)
  • scatterplot: fix scatterplot voronoi overlay (3bdc783e)
  • treemap: add missing default colorBy (ba91da53)

Chore

v0.55.0 (%cs)

Features

  • calendar: add ability to align calendar in its container (87cc6451)
  • core: remove enclosing div from container if non interactive (149ed0f8)
  • examples: add Bar live update example (26dc32a8)
  • geo:
    • add TypeScript definitions (d818a665)
    • add abillity to customize label & format value (ef499799)
    • migrate to react hooks (9c5f1879)
    • add support for projection translation/rotation (a78b293a)
    • add charts' icons (54c00402)
    • init geo package (119b9e98)
  • publish: add cleanup rollup plugin (0c707e61)
  • voronoi:
  • website:

Bug Fixes

v0.54.0 (%cs)

Features

  • calendar:
    • add ability to add arbitrary data (6a46b723)
    • add CalendarCanvas component (96f8ac29)
    • add ability to define year legends position (bf8797ae)
    • add ability to define month legends position (9bc70928)
    • avoid unnecessary layout computing (5aa0ff5d)
    • add support for min/max value (e0a46f5a)
  • sankey:
    • adjust labels for vertical layout (e12cdf15)
    • add support for vertical sankey (e299590e)
    • use more neutral properties for layout support (e0a56eb6)
    • move computing out of the rendering component (a0c29fe4)
    • improve support for nodes sorting (f63450fa)
    • add ability to sort nodes (#401) (fed5fc4b)
  • website:
    • change sankey default layout (a5352e41)
    • use hooks for calendar pages (fec85fa0)
    • add doc for bar label + fix stories links (223c5e57)
    • upgrade nivo packages (775ea0b4)

Bug Fixes

  • website: fix broken legends guide (cc3cb0b1)

Chore

  • react: require React 16.8.4 for future hook usage (16253fab)

v0.53.1 (%cs)

Features

  • api: fix api publication (1ec197b5)
  • bar:
    • adjust legend data according to layout/mode/reverse (0c0a6a18)
    • add ability to use borders with BarCanvas (4568516e)
  • website:

v0.53.0 (%cs)

Features

  • build: upgrade rollup & add esm build (f6d64802)
  • line: add support for gridXValues and gridYValues (#391) (fd49e83d)
  • sankey: decouple node coloring and link coloring (#404) (c793ffd1)
  • storybook: upgrade storybook (670d22df)
  • sunburst: allow independent child colors (#463) (2525ad11)
  • theming: improve theming (95dd0603)
  • website: upgrade nivo packages (33d5508c)

Bug Fixes

  • jest: fix jest babel config (da5edb0d)
  • tests: upgrade enzyme (d69be1fc)
  • typescript: fix TableTooltip and LineComputedSerieDatum-type (#428) (fd35f78e)
  • website: fix wrong title on the guides/axes page (#441) (91eacdbe)

Chore

  • deps: upgrade few dependencies (233e2eaf)
  • github: add issue template (944f8bdf)

v0.52.1 (%cs)

Features

  • canvas: add support for custom font family (#430) (11f039e0)
  • scatterplot: set pointer as 'normal' not crosshair (#402) (29848b87)
  • website:
    • remove responsive components from explorer (27524f18)
    • generate chart icons from code (209177af)
    • upgrade nivo packages (d1bb0571)

Bug Fixes

  • bar: Allow BarItem label property to accept React.Element (48c8e410)
  • lodash: use scoped imports (dea6a75f)
  • typescript: Allow axis to be AxisProps or null (5d45796f)

Chore

  • line: Pass showTooltip and hideTooltip to custom layers (#425) (a6a120ed)
  • packages: cleanup packages on build (75361dc4)

v0.52.0 (%cs)

Features

  • api: move api to main nivo repo (50245962)
  • scales: add support for log scale (#378) (971925f8)
  • website:

Bug Fixes

  • bar: fix missing legend in Bar chart #362 (aa12d9d2)
  • scatterplot: fix wrong legend item color in ScatterPlotCanvas (#372) (155fdfae)
  • website: use https instead of http (07b1bade)

v0.51.6 (%cs)

Features

  • bar: add enableGridX/enableGridY/legends support to BarCanvas (#354) (f872aaa1)
  • line: add support for layers to Line component (35911df3)

v0.51.5 (%cs)

Features

  • bar: add ability to customize tooltip label (16ae9d5c)

v0.51.4 (%cs)

Features

  • tooltips: improve bar & stream tooltips (698585fc)

v0.51.3 (%cs)

Features

  • scatterplot: add support for layers to ScatterPlot component (f3a5a842)

v0.51.2 (%cs)

Features

  • chord: add support for font style for ChordCanvas (c4f29c51)

v0.51.1 (%cs)

Features

  • bar: add support for layers to Bar component (8a817ec9)
  • website:

v0.51.0 (%cs)

Features

  • bubble: trigger onClick when isZoomable is false (#322) (787341ac)
  • chord: add support for ribbon blendmode (2b0cfec6)
  • deps: upgrade deps (be6e96e4)
  • heatmap: use @nivo/axes package for axes (36cd9c7b)
  • line:
    • add support for mix-blend-mode on areas (c434148f)
    • add typescript definitions (cfa6a59c)
  • scatterplot:
    • add ability to use a mesh to capture interactions (ff9399fa)
    • add scatterplot typescript definitions (22c930d0)
    • improve scatterplot (4ae6591d)
  • website: upgrade nivo packages (ddb22915)

Bug Fixes

  • chord: skip rendering for zero/negative radius (647a496a)
  • heatmap: fix support for enableLabels property (a866586a)

v0.50.0 (%cs)

Features

  • axes: add tickIndex to Axis’ renderTick method (#305) (93b85c0b)
  • interactions: add support for mouseenter/leave on bar, pie & scatterplot svg (#280) (76c8722b)
  • scatterplot-markers: add markers to scatterplot SVG (#287) (d7192461)
  • stream: add support for dots (4860ef53)

Bug Fixes

  • website: remove extra space in heatmap package name (93077734)

v0.49.1 (%cs)

Features

  • bar: use @nivo/axes instead of @nivo/core for SVG axes (3b22c6fb)
  • examples: upgrade retro example deps (203f7198)
  • website: upgrade nivo packages (531e492b)

v0.49.0 (%cs)

Features

  • parallel-coordinates:
  • theming: improve theming (0040bb38)
  • umd: git ignore umd builds (58f03a59)
  • website: upgrade nivo packages (47a5f8a7)

v0.48.1 (%cs)

Features

Bug Fixes

  • build: add missing externals in rollup config (e23182f2)
  • bullet: remove deprecated property titleWidth (0c8e8bbb)

v0.48.0 (%cs)

Features

  • bullet:
  • theming: improve theming (c7e7a9fe)
  • website: upgrade nivo packages (1c5fd5db)

v0.47.1 (%cs)

Features

  • axes: improve tickValues support (58aeaab0)
  • website: upgrade nivo packages (a88e50fd)

v0.47.0 (%cs)

Features

  • components: fix components display name (84aa832d)
  • line:
    • fix line slices for time scales (82e03d3a)
    • compute slices from scales package (31c06c0f)
    • add story about negative values highlight (b425e35f)
    • init linear & time scale support (3bce793a)
  • scales:
  • storybook: improve components stories (d29d21f4)
  • stream: add info about stories (4f98124c)
  • website:
    • change line demo data generation method (124028de)
    • upgrade nivo packages (4aeed5d8)

Bug Fixes

  • colors: fix colors due to d3 packages upgrade (a17d93bc)

v0.46.0 (%cs)

Features

  • line: add ability to specify grid X/Y values (b44c8543)
  • radar: add ability to customize label (03b3640b)
  • waffle: add ability to toggle datum by id (7f411dae)
  • website:
    • add component to list storybook stories (6b9ce02e)
    • add Line legends control (91bac9ed)
    • upgrade nivo packages (c0f12986)

v0.45.0 (%cs)

Features

  • core:
    • fix prop wraning when using markup for axis legend (4152c090)
    • add support for string or number keys on bar/line and pie (953c572e)
  • deps: upgrade deps (3f4b4294)
  • legends:
    • add support for both color and fill (4cb33e25)
    • add documentation for custom symbol shape (7adc8381)
    • add test for custom symbol shape support (50b2d39c)
    • add support for custom symbol shape (7419c912)
    • add support for basic interactivity (527b1fa7)
  • waffle:
    • add legend support for WaffleCanvas (a60b34e6)
    • add legend support for Waffle (6a5db0dd)
  • website:
    • add ability to manage array of props (8f44ab94)
    • upgrade nivo packages (4d819df6)

Bug Fixes

v0.44.0 (%cs)

Features

  • core:
  • line: add support for custom tooltip (39fad124)
  • scatterplot: remove unused min/max x/y (efbda0fb)
  • website: add option to showcase custom scatterplot tooltip (68b72a44)

Bug Fixes

  • Makefile: disable command priting for packages-build recipe (1046ee2c)
  • calendar: fix crash when no data is empty (5ac42141)
  • eslint: fix eslint for all packages (27bf8d0c)
  • heatmap: better handling of NaN values (02ef5577)

v0.43.0 (%cs)

Features

  • calendar:
    • add ability to define custom tooltip (7a076bf3)
    • add stories (d3b8951e)
    • add ability to customize year/month legend (a43c7082)
    • add TypeScript definitions (98106ab1)

v0.42.1 (%cs)

Features

  • bar: add ability to define grid values (afd1ee30)
  • pie: adjust website & docs (8f22f893)

Bug Fixes

  • bar: fix BarItem label prop type (682cbed0)
  • line: fix LineSlices id prop type (6f229b90)

v0.42.0 (%cs)

Features

  • pie:
    • improve pie components (eb14f0cb)
    • cleanup website PieCanvas demo (31ef9e53)
    • init support for start/end angle + PieCanvas (52f6a9e1)
  • website: upgrade nivo packages (d6eefa30)

v0.41.0 (%cs)

Features

  • sankey:
    • add TypeScript definitions (c2a9d38b)
    • add gradient & blend mode support for links (27d56050)
  • website: upgrade nivo packages (cf62e33d)

v0.40.0 (%cs)

Features

  • bar: include TypeScript definition in package (0d221c74)
  • heatmap: include TypeScript definition in package (868620eb)
  • pie:
    • add support for custom tooltip (d3734428)
    • include TypeScript definition in package (04fc931e)
  • radar: add ability to define max value (880d7299)
  • website: upgrade nivo packages (8dadeead)

Bug Fixes

  • pie: fix code formatting (1f9cf69e)
  • waffle: remove self import from TypeScript def (867a545a)

v0.39.0 (%cs)

Features

  • waffle: add waffle package (#202) (aceafc48)

v0.38.0 (%cs)

Features

  • heatmap: init TypeScript definitions (#198) (6c5432db)
  • pie: add TypeScript Definitions for Pie component (0def4c31)
  • tooltips: add support for custom tooltips for bubble charts and treemaps (#200) (092f3e0c)
  • website:
    • fix treemap source code for treemap components (b97c07b8)
    • restore scrol position when pathname changes (49b7ffca)
    • use BrowserRouter instead of HashRouter (a360e444)
    • upgrade nivo packages (69deaa17)

v0.37.0 (%cs)

Features

  • heatmap: add support for onClick event (52d077c7)
  • website: upgrade nivo packages (5f416e9a)

v0.36.0 (%cs)

Features

  • bar: improve custom tooltip support (5816555e)
  • tooltips: add support for configurable tooltips for bar charts and heat maps (#159) (82473c10)
  • website: upgrade nivo packages (8d8374a3)

v0.35.2 (%cs)

Features

  • website: upgrade nivo packages (66a7208c)

Bug Fixes

  • lodash: add missing deps & use scoped imports (f04660f2)

v0.35.1 (%cs)

Bug Fixes

v0.35.0 (%cs)

Features

  • ci: update travis config (25e4cdca)
  • deps: use yarn with lerna & add missing yarn.lock files (42675e47)
  • legends: add default text color + canvas support for text color (20a30ab8)
  • lint: centralize lint command & config (e8e38da4)
  • packages: use rollup for packages build (f24cb08d)
  • pie: add support for onClick event (b171044e)
  • react: nivo now require react >= 16.2.0 < 17.0.0 (f64d3ef6)
  • stack: make line areas stack in front of each other visibly #152 (8ec91a66)
  • tests: centralize test command & dependencies (eda819ca)
  • website: improve chart tabs (2c2265f5)

Bug Fixes

  • deps: do not ignore yarn.lock (1a60cfb8)
  • scripts: fix make targets documentation (48d87ec2)
  • security: Upgrade transitive hoek dep (50d6fd52)
  • storybook: fix storybook packages import (d3abafdc)
  • website: fix website Stream example code (#188) (129572e6)

v0.34.0-1 (%cs)

Features

  • chord:
    • update @nivo/chord directory layout (a143d80f)
    • init tests for @nivo/chord package (a0622609)
  • composition: init more granular approach to components (da5c6fbf)
  • legends: init SizeLegendSvg (22c186ad)
  • line:
    • fix dot label color (330720ce)
    • init tests & eslint for @nivo/line package (5bf09098)
    • add support for empty values + custom x scale + stacking (4690cbc4)
    • remove unused component (bfec8288)
    • add LineChartCanvas component (be930613)
    • rework stories (05ea88f7)
    • add LineChartSvg component (42f1cfe3)
    • restore ability to animate line & line area (d517c521)
  • sankey: init tests & eslint for @nivo/sankey package (b4428b1e)
  • scales: add support for time scale (28e8ebff)
  • screenshots: update packages screenshots (a39731c3)
  • website:
    • make chart demo layout consistent across chart types (f3166062)
    • improve chart tabs (c32c5729)
    • add illustration to @nivo/line low level components doc (5ddaede9)
    • add @nivo/line low level components doc (cf8a5caa)
    • upgrade @nivo packages (71e1c4b0)

Bug Fixes

  • eslint: fix eslint for some packages (22b6bf6e)
  • line: avoid re-rerendering LineDots (a6f51379)

v0.33.0 (%cs)

Features

  • scatterplot:
    • add tests and stories (bbc03444)
    • add support for tooltips on ScatterPlotCanvas (42a17314)
    • add scatterplot package (52fab5f9)

Bug Fixes

v0.33.0-8 (%cs)

Features

  • scatterplot: add support for tooltips on ScatterPlotCanvas (fc01970b)

v0.33.0-7 (%cs)

v0.33.0-6 (%cs)

Bug Fixes

v0.33.0-5 (%cs)

Features

  • api: remove empty api package (dd47b293)
  • bar: add support for legends on Bar component (6f22a4ab)
  • calendar: add support for legends on Calendar component (6ef9dc20)
  • chord: add support for legends on Chord component (39212ef4)
  • commands: sort Makefile help (4f7a872c)
  • dev: add commands to list/rm currently linked packages for website (df1d3085)
  • examples:
    • ensure examples build successfully on CI (2ad46b7a)
    • fix retro example dependencies (2c84d014)
  • legends: init legends package (4063428b)
  • line: add support for legends on Line component (b7cc2449)
  • linting: add eslint on several packages (38ba981d)
  • pie: add support for legends on Pie component (8c3004be)
  • publish: add packages build prior to publish (c6f9810b)
  • radar: add support for legends on Radar component (8d53e13b)
  • sankey: add support for legends on Sankey component (0082fb98)
  • scatterplot: add scatterplot package (ff7610c6)
  • stream: add support for legends on Stream component (79395355)
  • website:

v0.33.0-4 (%cs)

Features

  • bar: add support for legends on Bar component (09b0a2a9)
  • calendar: add support for legends on Calendar component (3a547223)
  • chord: add support for legends on Chord component (daeb4d4c)
  • dev: add commands to list/rm currently linked packages for website (3c5f0fdb)
  • legends: init legends package (56c5f99c)
  • line: add support for legends on Line component (b6a45955)
  • pie: add support for legends on Pie component (d22faa6e)
  • publish: add packages build prior to publish (9a10a459)
  • radar: add support for legends on Radar component (415ac596)
  • sankey: add support for legends on Sankey component (feccf224)
  • stream: add support for legends on Stream component (b0421f5c)
  • website:

v0.33.0-3 (%cs)

Features

  • chord: add support for legends on Chord component (9708b531)
  • sankey: add support for legends on Sankey component (3cfe7ec1)

v0.33.0-2 (%cs)

Features

  • pie: add support for legends on Pie component (7092fbeb)

v0.33.0-1 (%cs)

Features

  • dev: add commands to list/rm currently linked packages for website (c359a21b)
  • publish: add packages build prior to publish (e37eb388)
  • stream: add support for legends on Stream component (66c475ae)
  • website: upgrade @nivo packages (65694f8d)

v0.33.0-0 (%cs)

Features

  • calendar: add support for legends on Calendar component (2ff2aeb3)
  • chord: add source code for chord stories (489f36fc)
  • legends: init legends package (c27aae45)
  • line: add support for legends on Line component (d53614f8)
  • radar: add support for legends on Radar component (eec6ac5c)
  • website: upgrade website @nivo packages (81adc8d0)

Bug Fixes

  • readme: fix misleading installation instructions (0a5120f7)

v0.32.0 (%cs)

Features

  • code style: add prettier formatting (9a550eb8)
  • d3: use caret range instead of fixed version for d3 deps (9598511c)
  • demo:
    • add command to deploy demo website + storybook (e2f5c581)
    • remove unused deps (eaff4d8b)
  • generators: use @nivo/generators instead of nivo-generators (e65976d8)
  • lerna: exclude demo & examples from lerna (aa255ebf)
  • packages: add command to deploy all packages (7467315c)
  • split: init multi packages (158a349d)
  • tests: restored existing tests (e4cf806f)
  • website:

Bug Fixes

v0.32.0-12 (%cs)

Features

  • generators: use @nivo/generators instead of nivo-generators (a055d0e5)

v0.32.0-11 (%cs)

Features

  • code style: add prettier formatting (2f9a29b2)
  • packages: add command to deploy all packages (36e87edb)
  • tests: restored existing tests (dc2b08bc)

v0.32.0-10 (%cs)

Features

  • demo:
    • add command to deploy demo website + storybook (968e645f)
    • remove unused deps (770f521a)
  • lerna: exclude demo & examples from lerna (5c815ccc)
  • website: rename demo to website (14a375c1)

v0.32.0-9 (%cs)

Bug Fixes

v0.32.0-8 (%cs)

Features

  • d3: use caret range instead of fixed version for d3 deps (fa47e01e)

v0.32.0-7 (%cs)

Bug Fixes

v0.32.0-5 (%cs)

Bug Fixes

  • split: add missing dep react-motion (74e0bf54)

v0.32.0-4 (%cs)

v0.32.0-3 (%cs)

v0.32.0-2 (%cs)

v0.32.0-1 (%cs)