Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: plouc/nivo
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.79.1
Choose a base ref
...
head repository: plouc/nivo
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.80.0
Choose a head ref

Commits on Jan 12, 2022

  1. Copy the full SHA
    2763c4a View commit details

Commits on Feb 18, 2022

  1. fix: remove required for labelYOffset in DotsItem

    Currently this is causing error when `labelYOffset` is not provided. But since `labelYOffset` has a default value of `-12`, we should remove `required`.
    ycmjason authored and plouc committed Feb 18, 2022
    Copy the full SHA
    d4daf2c View commit details
  2. fix(axes): Avoid duplicate key error with time scales at millisecond …

    …precision (#1756)
    
    * Use timestamp as key for grid lines and axis ticks to support millisecond scales
    
    * Explicitly use valueOf() as axis tick / grid line element keys for time scales
    
    * Convert key values always to string and update test snapshot accordingly
    
    * Add time scale with milliseconds precision story to storybook
    protyze authored Feb 18, 2022
    Copy the full SHA
    b372ec9 View commit details

Commits on Mar 14, 2022

  1. fix(xss): Fixed XSS security bug (#1929)

    * Fixed XSS bug
    
    set Content-Type response header as text/plain rather than default text/html
    
    * Update index.ts
    r0hanSH authored Mar 14, 2022
    Copy the full SHA
    f83ad7b View commit details

Commits on May 10, 2022

  1. Copy the full SHA
    17e3376 View commit details
  2. chore(deps): bump minimist from 1.2.5 to 1.2.6

    Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
    - [Release notes](https://github.com/substack/minimist/releases)
    - [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)
    
    ---
    updated-dependencies:
    - dependency-name: minimist
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored and plouc committed May 10, 2022
    Copy the full SHA
    b52fbbf View commit details
  3. chore(deps): bump moment from 2.29.1 to 2.29.2

    Bumps [moment](https://github.com/moment/moment) from 2.29.1 to 2.29.2.
    - [Release notes](https://github.com/moment/moment/releases)
    - [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md)
    - [Commits](moment/moment@2.29.1...2.29.2)
    
    ---
    updated-dependencies:
    - dependency-name: moment
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored and plouc committed May 10, 2022
    Copy the full SHA
    165d8a8 View commit details
  4. Copy the full SHA
    45c31e9 View commit details
  5. feat(canvas): add custom ref to ScatterPlotCanvas and NetworkCanvas (#…

    …1953)
    
    * Add forwardRef to ScatterPlotCanvas
    
    * Add story
    
    * Adding support for NetworkCanvas
    
    * Aligned function names
    
    * Formatting
    
    * Type fixes
    salim-runsafe authored May 10, 2022
    Copy the full SHA
    b021074 View commit details
  6. fix(bar): allow BarCanvas axis to be nullable (#1980)

    Types do not currently allow `axisBottom`, `axisLeft`, `axisRight`, or `axisTop` to be set to `null`, however this is required to disable axis and is found in the nivo documentation.
    squidsoup authored May 10, 2022
    Copy the full SHA
    d15406e View commit details
  7. Copy the full SHA
    2d8aaaf View commit details
  8. chore(deps): bump nanoid from 3.1.30 to 3.3.4

    Bumps [nanoid](https://github.com/ai/nanoid) from 3.1.30 to 3.3.4.
    - [Release notes](https://github.com/ai/nanoid/releases)
    - [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md)
    - [Commits](ai/nanoid@3.1.30...3.3.4)
    
    ---
    updated-dependencies:
    - dependency-name: nanoid
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored and plouc committed May 10, 2022
    Copy the full SHA
    eebfb94 View commit details
  9. feat(react-18): upgrade react-spring to 9.4.5 (#1993)

    This is a step towards upgrading nivo to support React 18, since this is the first version of react-spring that supports React 18.
    
    Co-authored-by: Cameron Martin <cameronm@graphcore.ai>
    cameron-martin and cameron-martin authored May 10, 2022
    Copy the full SHA
    1b539a4 View commit details
  10. feat(radial-bar): implement defs/fill, modeled after Bar implementati…

    …on (#1957)
    
    * working checkpoint of hard coded defs for a patterned render of a radial arc
    
    * instead bind the fill to root datum
    
    * remove disabled props for fill on datum.data
    
    * convert hard code to story
    
    * remove diagnostics
    
    * run make fmt
    bdefore authored May 10, 2022
    Copy the full SHA
    c40006f View commit details
  11. feat(radar): add support for global rotation to the radar chart (#1985)

    * implementing global rotatation in radar
    
    * rename prop from 'angle' to 'rotation' + test for global rotation
    
    * reformat rotation test
    
    * format of a file in package 'line' (required for all-package lint CI)
    tkonopka authored May 10, 2022
    Copy the full SHA
    d57345a View commit details

Commits on May 12, 2022

  1. Copy the full SHA
    c11fb3b View commit details

Commits on May 17, 2022

  1. fix(scales): fix a TypeScript bug when creating log scales (#2001)

    * return a log scale object with 'type' field (helps ts to understand return value is a Scale)
    
    * adjusted types for scale objects in @nivo/bar, @nivo/scatterplot, @nivo/marimekko, and @nivo/stream
    
    * fine-tuning on @nivo/bar imports and types
    tkonopka authored May 17, 2022
    Copy the full SHA
    43af675 View commit details

Commits on Jun 17, 2022

  1. chore(deps): bump jpeg-js from 0.4.3 to 0.4.4

    Bumps [jpeg-js](https://github.com/eugeneware/jpeg-js) from 0.4.3 to 0.4.4.
    - [Release notes](https://github.com/eugeneware/jpeg-js/releases)
    - [Commits](jpeg-js/jpeg-js@v0.4.3...v0.4.4)
    
    ---
    updated-dependencies:
    - dependency-name: jpeg-js
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored and plouc committed Jun 17, 2022
    Copy the full SHA
    8631295 View commit details
  2. chore(deps): bump devcert from 1.2.0 to 1.2.1

    Bumps [devcert](https://github.com/davewasmer/devcert) from 1.2.0 to 1.2.1.
    - [Release notes](https://github.com/davewasmer/devcert/releases)
    - [Changelog](https://github.com/davewasmer/devcert/blob/master/CHANGELOG.md)
    - [Commits](davewasmer/devcert@v1.2.0...v1.2.1)
    
    ---
    updated-dependencies:
    - dependency-name: devcert
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored and plouc committed Jun 17, 2022
    Copy the full SHA
    b78c3d1 View commit details
  3. fix(sankey): include link's index in the React Component key when cre…

    …ating the SVG element (#2037)
    
    * Include link's index in the react's key prop
    
    This is to support custom color gradients for multiple links between the same two nodes. Also prevents the duplicate child key error when 2+ links attach to the same two nodes.
    
    * Include Sankey link's index in the gradient id
    
    Support custom color gradients for multiple links between the same two nodes.
    Ellis-808 authored Jun 17, 2022
    Copy the full SHA
    5985ab4 View commit details
  4. fix(tooltip): fix positioning when charts are rendered inside an scal…

    …ed div (#2034)
    
    * Fix tooltip positioning when charts are rendered inside an scaled div
    In a normal situation mouse enter / mouse leave events
    capture the position ok. But when the chart is inside a scaled
    element with a CSS transform like: `transform: scale(2);`
    tooltip are not positioned ok.
    Comparing original width `box.width` agains scaled width give us the
    scaling factor to calculate ok mouse position.
    
    * Fix tooltip positioning on line slice tooltips
    When a Nivo chart is inside an scaled div with something like
    `transform: scale(2)` for example tooltips inside slides are not
    positoned correctly. Taking into accoun `offsetWidth` fix the issue
    andresgutgon authored Jun 17, 2022
    Copy the full SHA
    a1a529c View commit details

Commits on Jul 8, 2022

  1. feat(deps): upgrade package constraints to include React 18 (#2056)

    This upgrades the package constraints, but does not update the version used for development in the repo (see #1964 (comment)).
    
    Co-authored-by: Cameron Martin <cameronm@graphcore.ai>
    cameron-martin and cameron-martin authored Jul 8, 2022
    Copy the full SHA
    9df8a0a View commit details
  2. chore(deps): bump parse-url from 6.0.0 to 6.0.2

    Bumps [parse-url](https://github.com/IonicaBizau/parse-url) from 6.0.0 to 6.0.2.
    - [Release notes](https://github.com/IonicaBizau/parse-url/releases)
    - [Commits](https://github.com/IonicaBizau/parse-url/commits)
    
    ---
    updated-dependencies:
    - dependency-name: parse-url
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored and plouc committed Jul 8, 2022
    Copy the full SHA
    f1a0f11 View commit details

Commits on Sep 8, 2022

  1. fix(pie): fix custom tooltip not updated due to missing hook deps (#2089

    )
    
    Co-authored-by: Phat Hoang <phat.hoang@finch3d.com>
    LapSiLap and Phat Hoang authored Sep 8, 2022
    Copy the full SHA
    9634f31 View commit details
  2. chore(deps): bump moment from 2.29.2 to 2.29.4

    Bumps [moment](https://github.com/moment/moment) from 2.29.2 to 2.29.4.
    - [Release notes](https://github.com/moment/moment/releases)
    - [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md)
    - [Commits](moment/moment@2.29.2...2.29.4)
    
    ---
    updated-dependencies:
    - dependency-name: moment
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored and plouc committed Sep 8, 2022
    Copy the full SHA
    2b0037c View commit details
  3. chore(deps): bump terser from 4.8.0 to 4.8.1

    Bumps [terser](https://github.com/terser/terser) from 4.8.0 to 4.8.1.
    - [Release notes](https://github.com/terser/terser/releases)
    - [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
    - [Commits](https://github.com/terser/terser/commits)
    
    ---
    updated-dependencies:
    - dependency-name: terser
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored and plouc committed Sep 8, 2022
    Copy the full SHA
    9bc03db View commit details
  4. feat(choropleth): add support for defs and fill to the choropleth (#2072

    )
    
    * enable defs and fill in choropleth map
    
    * update website example
    
    * add gradient example
    
    * lint and format
    francescocretti authored Sep 8, 2022
    Copy the full SHA
    e18733e View commit details
  5. Copy the full SHA
    95a81d5 View commit details
  6. chore(deps): update yarn.lock

    plouc committed Sep 8, 2022
    Copy the full SHA
    fb6cc9f View commit details
  7. v0.80.0

    plouc committed Sep 8, 2022
    Copy the full SHA
    df352b8 View commit details
Showing with 1,746 additions and 766 deletions.
  1. +144 −99 CHANGELOG.md
  2. +1 −1 Makefile
  3. +2 −2 api/package.json
  4. +2 −2 examples/codesandbox/src/charts/Chord.tsx
  5. +1 −1 lerna.json
  6. +6 −6 packages/annotations/package.json
  7. +6 −6 packages/arcs/package.json
  8. +6 −6 packages/axes/package.json
  9. +6 −6 packages/axes/src/compute.ts
  10. +22 −22 packages/axes/tests/__snapshots__/compute.test.tsx.snap
  11. +12 −12 packages/bar/package.json
  12. +42 −12 packages/bar/src/Bar.tsx
  13. +36 −27 packages/bar/src/BarCanvas.tsx
  14. +21 −12 packages/bar/src/types.ts
  15. +9 −9 packages/bullet/package.json
  16. +10 −10 packages/bump/package.json
  17. +6 −6 packages/calendar/package.json
  18. +9 −9 packages/chord/package.json
  19. +7 −7 packages/circle-packing/package.json
  20. +4 −4 packages/colors/package.json
  21. +36 −11 packages/colors/src/scales/divergingColorScale.ts
  22. +31 −8 packages/colors/src/scales/sequentialColorScale.ts
  23. +108 −0 packages/colors/tests/continuousColorScale.test.ts
  24. +6 −6 packages/core/package.json
  25. +1 −1 packages/core/src/components/dots/DotsItem.js
  26. +13 −3 packages/core/src/hooks/useMeasure.js
  27. +9 −1 packages/core/src/lib/interactivity/index.js
  28. +4 −4 packages/express/package.json
  29. +4 −1 packages/express/src/index.ts
  30. +8 −8 packages/funnel/package.json
  31. +1 −1 packages/generators/package.json
  32. +7 −7 packages/geo/package.json
  33. +9 −1 packages/geo/src/Choropleth.js
  34. +1 −1 packages/geo/src/GeoMapFeature.js
  35. +3 −0 packages/geo/src/props.js
  36. +10 −9 packages/heatmap/package.json
  37. +23 −0 packages/heatmap/stories/CustomInterpolator.tsx
  38. +148 −0 packages/heatmap/stories/heatmap.stories.tsx
  39. +72 −1 packages/heatmap/tests/HeatMap.test.tsx
  40. +5 −5 packages/legends/package.json
  41. +12 −12 packages/line/package.json
  42. +15 −12 packages/line/src/Points.js
  43. +66 −0 packages/line/stories/line.stories.js
  44. +9 −10 packages/marimekko/package.json
  45. +4 −4 packages/marimekko/src/Marimekko.tsx
  46. +14 −21 packages/marimekko/src/hooks.ts
  47. +3 −3 packages/marimekko/src/types.ts
  48. +2 −0 packages/marimekko/tests/.eslintrc.yml
  49. +82 −0 packages/marimekko/tests/Marimekko.test.tsx
  50. +8 −8 packages/network/package.json
  51. +38 −17 packages/network/src/NetworkCanvas.tsx
  52. +21 −9 packages/network/src/ResponsiveNetworkCanvas.tsx
  53. +20 −0 packages/network/stories/networkCanvas.stories.tsx
  54. +8 −8 packages/parallel-coordinates/package.json
  55. +8 −8 packages/pie/package.json
  56. +2 −2 packages/pie/src/Arcs.tsx
  57. +7 −7 packages/polar-axes/package.json
  58. +8 −8 packages/radar/package.json
  59. +7 −0 packages/radar/src/Radar.tsx
  60. +4 −1 packages/radar/src/RadarDots.tsx
  61. +7 −2 packages/radar/src/RadarGrid.tsx
  62. +10 −3 packages/radar/src/RadarGridLevels.tsx
  63. +4 −2 packages/radar/src/RadarLayer.tsx
  64. +3 −1 packages/radar/src/RadarSlices.tsx
  65. +5 −0 packages/radar/src/hooks.ts
  66. +2 −0 packages/radar/src/props.ts
  67. +2 −0 packages/radar/src/types.ts
  68. +3 −1 packages/radar/stories/radar.stories.tsx
  69. +17 −0 packages/radar/tests/Radar.test.tsx
  70. +11 −11 packages/radial-bar/package.json
  71. +17 −1 packages/radial-bar/src/RadialBar.tsx
  72. +3 −0 packages/radial-bar/src/props.ts
  73. +3 −1 packages/radial-bar/src/types.ts
  74. +26 −0 packages/radial-bar/stories/radialBar.stories.tsx
  75. +2 −2 packages/recompose/package.json
  76. +8 −8 packages/sankey/package.json
  77. +1 −1 packages/sankey/src/SankeyLinks.tsx
  78. +1 −1 packages/sankey/src/SankeyLinksItem.tsx
  79. +1 −1 packages/scales/package.json
  80. +1 −1 packages/scales/src/logScale.ts
  81. +12 −12 packages/scatterplot/package.json
  82. +24 −9 packages/scatterplot/src/ResponsiveScatterPlotCanvas.tsx
  83. +4 −4 packages/scatterplot/src/ScatterPlot.tsx
  84. +31 −16 packages/scatterplot/src/ScatterPlotCanvas.tsx
  85. +3 −3 packages/scatterplot/src/types.ts
  86. +41 −2 packages/scatterplot/stories/ScatterPlotCanvas.stories.tsx
  87. +17 −17 packages/static/package.json
  88. +10 −12 packages/stream/package.json
  89. +4 −4 packages/stream/src/Stream.tsx
  90. +13 −8 packages/stream/src/hooks.ts
  91. +3 −2 packages/stream/src/types.ts
  92. +7 −7 packages/sunburst/package.json
  93. +12 −12 packages/swarmplot/package.json
  94. +4 −4 packages/tooltip/package.json
  95. +11 −2 packages/tooltip/src/hooks.ts
  96. +7 −7 packages/treemap/package.json
  97. +4 −4 packages/voronoi/package.json
  98. +8 −8 packages/waffle/package.json
  99. +30 −30 website/package.json
  100. +28 −0 website/src/pages/choropleth/index.tsx
  101. +157 −110 yarn.lock
Loading