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.74.0
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.74.1
Choose a head ref
  • 6 commits
  • 51 files changed
  • 4 contributors

Commits on Oct 9, 2021

  1. Copy the full SHA
    2757063 View commit details

Commits on Nov 7, 2021

  1. feat(radar): add support for patterns and gradients (#1807)

    * add defs and fill props
    
    * add story
    
    * add defs to website
    
    * run make fmt
    
    * fix lint issue
    
    * update interface
    
    * add ts-ignore for import like rest of packages
    
    * export type
    
    * rename story
    
    * add story to website
    adamberro authored Nov 7, 2021
    Copy the full SHA
    0b3bdb0 View commit details

Commits on Nov 8, 2021

  1. Copy the full SHA
    76062b5 View commit details

Commits on Nov 10, 2021

  1. Copy the full SHA
    dd72cd4 View commit details

Commits on Dec 11, 2021

  1. chore: update @react-spring/web to 9.3.1

    - Fixes weird bug in postinstall script
    keenahn authored and plouc committed Dec 11, 2021
    Copy the full SHA
    d43dfea View commit details

Commits on Dec 13, 2021

  1. v0.74.1

    plouc committed Dec 13, 2021

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    4ae8bc6 View commit details
Showing with 450 additions and 326 deletions.
  1. +21 −1 CHANGELOG.md
  2. +20 −20 api/package.json
  3. +1 −1 lerna.json
  4. +5 −5 packages/annotations/package.json
  5. +5 −5 packages/arcs/package.json
  6. +4 −4 packages/axes/package.json
  7. +9 −9 packages/bar/package.json
  8. +8 −8 packages/bullet/package.json
  9. +8 −8 packages/bump/package.json
  10. +5 −5 packages/calendar/package.json
  11. +7 −7 packages/chord/package.json
  12. +6 −6 packages/circle-packing/package.json
  13. +3 −3 packages/colors/package.json
  14. +1 −0 packages/core/index.d.ts
  15. +4 −4 packages/core/package.json
  16. +3 −2 packages/core/src/components/defs/gradients/LinearGradient.js
  17. +18 −0 packages/core/tests/lib/defs.test.js
  18. +7 −7 packages/funnel/package.json
  19. +6 −6 packages/geo/package.json
  20. +7 −7 packages/heatmap/package.json
  21. +3 −3 packages/legends/package.json
  22. +10 −10 packages/line/package.json
  23. +7 −7 packages/marimekko/package.json
  24. +5 −5 packages/network/package.json
  25. +7 −7 packages/parallel-coordinates/package.json
  26. +7 −7 packages/pie/package.json
  27. +5 −5 packages/polar-axes/package.json
  28. +7 −7 packages/radar/package.json
  29. +8 −0 packages/radar/src/Radar.tsx
  30. +4 −1 packages/radar/src/RadarLayer.tsx
  31. +27 −1 packages/radar/src/hooks.ts
  32. +3 −0 packages/radar/src/props.ts
  33. +9 −1 packages/radar/src/types.ts
  34. +33 −1 packages/radar/stories/radar.stories.tsx
  35. +9 −9 packages/radial-bar/package.json
  36. +0 −1 packages/radial-bar/src/RadialBar.tsx
  37. +7 −7 packages/sankey/package.json
  38. +10 −10 packages/scatterplot/package.json
  39. +8 −8 packages/stream/package.json
  40. +6 −6 packages/sunburst/package.json
  41. +10 −10 packages/swarmplot/package.json
  42. +4 −4 packages/tooltip/package.json
  43. +6 −6 packages/treemap/package.json
  44. +9 −5 packages/treemap/stories/treemap.stories.js
  45. +3 −3 packages/voronoi/package.json
  46. +6 −6 packages/waffle/package.json
  47. +29 −29 website/package.json
  48. +7 −1 website/src/components/guides/gradients/GradientsExample.js
  49. +2 −0 website/src/data/components/radar/meta.yml
  50. +7 −1 website/src/data/components/radar/props.ts
  51. +44 −57 yarn.lock
22 changes: 21 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
<a name="v0.74.1"></a>
## v0.74.1 (2021-12-13)


#### Features

* **defs:** allow gradientTransform to be passed to gradient definitions, fixes #1098 (#1812) ([76062b53](https://github.com/plouc/nivo/commit/76062b534db9bf46208661cf05c7b549ec797cce))
* **radar:** add support for patterns and gradients (#1807) ([0b3bdb0b](https://github.com/plouc/nivo/commit/0b3bdb0bc8bca177851d876446f79754026fcdb6))
* **radial-bar:** update website package as it is now published ([2757063c](https://github.com/plouc/nivo/commit/2757063c4dbcf64f4390d4490b4e2501331eeb15))

#### Bug Fixes

* **radial-bar:** remove unnecessary console log ([dd72cd41](https://github.com/plouc/nivo/commit/dd72cd4167d9456a461040007beae6eca4970c95))

#### Chore

* update @react-spring/web to 9.3.1 ([d43dfea1](https://github.com/plouc/nivo/commit/d43dfea179be1a1a3c9da71eb13ea2dbcd744ee7))



<a name="v0.74.0"></a>
## v0.74.0 (2021-10-09)
## v0.74.0 (%cs)


#### Features
40 changes: 20 additions & 20 deletions api/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nivo/api",
"version": "0.74.0",
"version": "0.74.1",
"description": "Rendering API for nivo dataviz React/d3 components",
"main": "src/app.js",
"licenses": [
@@ -22,26 +22,26 @@
"nodemon": "^1.18.10"
},
"dependencies": {
"@nivo/bar": "0.74.0",
"@nivo/bullet": "0.74.0",
"@nivo/calendar": "0.74.0",
"@nivo/chord": "0.74.0",
"@nivo/circle-packing": "0.74.0",
"@nivo/core": "0.74.0",
"@nivo/bar": "0.74.1",
"@nivo/bullet": "0.74.1",
"@nivo/calendar": "0.74.1",
"@nivo/chord": "0.74.1",
"@nivo/circle-packing": "0.74.1",
"@nivo/core": "0.74.1",
"@nivo/generators": "0.74.0",
"@nivo/heatmap": "0.74.0",
"@nivo/legends": "0.74.0",
"@nivo/line": "0.74.0",
"@nivo/parallel-coordinates": "0.74.0",
"@nivo/pie": "0.74.0",
"@nivo/radar": "0.74.0",
"@nivo/sankey": "0.74.0",
"@nivo/scatterplot": "0.74.0",
"@nivo/stream": "0.74.0",
"@nivo/sunburst": "0.74.0",
"@nivo/treemap": "0.74.0",
"@nivo/voronoi": "0.74.0",
"@nivo/waffle": "0.74.0",
"@nivo/heatmap": "0.74.1",
"@nivo/legends": "0.74.1",
"@nivo/line": "0.74.1",
"@nivo/parallel-coordinates": "0.74.1",
"@nivo/pie": "0.74.1",
"@nivo/radar": "0.74.1",
"@nivo/sankey": "0.74.1",
"@nivo/scatterplot": "0.74.1",
"@nivo/stream": "0.74.1",
"@nivo/sunburst": "0.74.1",
"@nivo/treemap": "0.74.1",
"@nivo/voronoi": "0.74.1",
"@nivo/waffle": "0.74.1",
"body-parser": "^1.17.2",
"compression": "^1.7.0",
"cors": "^2.8.4",
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@
"packages/*",
"api"
],
"version": "0.74.0",
"version": "0.74.1",
"npmClient": "yarn",
"useWorkspaces": true
}
10 changes: 5 additions & 5 deletions packages/annotations/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nivo/annotations",
"version": "0.74.0",
"version": "0.74.1",
"license": "MIT",
"author": {
"name": "Raphaël Benitte",
@@ -28,15 +28,15 @@
"!dist/tsconfig.tsbuildinfo"
],
"dependencies": {
"@nivo/colors": "0.74.0",
"@react-spring/web": "9.2.6",
"@nivo/colors": "0.74.1",
"@react-spring/web": "9.3.1",
"lodash": "^4.17.21"
},
"devDependencies": {
"@nivo/core": "0.74.0"
"@nivo/core": "0.74.1"
},
"peerDependencies": {
"@nivo/core": "0.74.0",
"@nivo/core": "0.74.1",
"react": ">= 16.14.0 < 18.0.0"
},
"publishConfig": {
10 changes: 5 additions & 5 deletions packages/arcs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nivo/arcs",
"version": "0.74.0",
"version": "0.74.1",
"license": "MIT",
"author": {
"name": "Raphaël Benitte",
@@ -28,16 +28,16 @@
"!dist/tsconfig.tsbuildinfo"
],
"dependencies": {
"@nivo/colors": "0.74.0",
"@react-spring/web": "9.2.6",
"@nivo/colors": "0.74.1",
"@react-spring/web": "9.3.1",
"d3-shape": "^1.3.5"
},
"devDependencies": {
"@nivo/core": "0.74.0",
"@nivo/core": "0.74.1",
"@types/d3-shape": "^2.0.0"
},
"peerDependencies": {
"@nivo/core": "0.74.0",
"@nivo/core": "0.74.1",
"react": ">= 16.14.0 < 18.0.0"
},
"publishConfig": {
8 changes: 4 additions & 4 deletions packages/axes/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nivo/axes",
"version": "0.74.0",
"version": "0.74.1",
"license": "MIT",
"author": {
"name": "Raphaël Benitte",
@@ -28,17 +28,17 @@
],
"dependencies": {
"@nivo/scales": "0.74.0",
"@react-spring/web": "9.2.6",
"@react-spring/web": "9.3.1",
"d3-format": "^1.4.4",
"d3-time-format": "^3.0.0"
},
"devDependencies": {
"@nivo/core": "0.74.0",
"@nivo/core": "0.74.1",
"@types/d3-format": "^1.4.1",
"@types/d3-time-format": "^2.3.1"
},
"peerDependencies": {
"@nivo/core": "0.74.0",
"@nivo/core": "0.74.1",
"prop-types": ">= 15.5.10 < 16.0.0",
"react": ">= 16.14.0 < 18.0.0"
},
18 changes: 9 additions & 9 deletions packages/bar/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nivo/bar",
"version": "0.74.0",
"version": "0.74.1",
"license": "MIT",
"author": {
"name": "Raphaël Benitte",
@@ -29,22 +29,22 @@
"!dist/tsconfig.tsbuildinfo"
],
"dependencies": {
"@nivo/annotations": "0.74.0",
"@nivo/axes": "0.74.0",
"@nivo/colors": "0.74.0",
"@nivo/legends": "0.74.0",
"@nivo/annotations": "0.74.1",
"@nivo/axes": "0.74.1",
"@nivo/colors": "0.74.1",
"@nivo/legends": "0.74.1",
"@nivo/scales": "0.74.0",
"@nivo/tooltip": "0.74.0",
"@react-spring/web": "9.2.6",
"@nivo/tooltip": "0.74.1",
"@react-spring/web": "9.3.1",
"d3-scale": "^3.2.3",
"d3-shape": "^1.2.2",
"lodash": "^4.17.21"
},
"devDependencies": {
"@nivo/core": "0.74.0"
"@nivo/core": "0.74.1"
},
"peerDependencies": {
"@nivo/core": "0.74.0",
"@nivo/core": "0.74.1",
"react": ">= 16.14.0 < 18.0.0"
},
"publishConfig": {
16 changes: 8 additions & 8 deletions packages/bullet/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nivo/bullet",
"version": "0.74.0",
"version": "0.74.1",
"license": "MIT",
"author": {
"name": "Raphaël Benitte",
@@ -29,17 +29,17 @@
"!dist/tsconfig.tsbuildinfo"
],
"dependencies": {
"@nivo/axes": "0.74.0",
"@nivo/colors": "0.74.0",
"@nivo/legends": "0.74.0",
"@nivo/tooltip": "0.74.0",
"@react-spring/web": "9.2.6"
"@nivo/axes": "0.74.1",
"@nivo/colors": "0.74.1",
"@nivo/legends": "0.74.1",
"@nivo/tooltip": "0.74.1",
"@react-spring/web": "9.3.1"
},
"devDependencies": {
"@nivo/core": "0.74.0"
"@nivo/core": "0.74.1"
},
"peerDependencies": {
"@nivo/core": "0.74.0",
"@nivo/core": "0.74.1",
"react": ">= 16.14.0 < 18.0.0"
},
"publishConfig": {
16 changes: 8 additions & 8 deletions packages/bump/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nivo/bump",
"version": "0.74.0",
"version": "0.74.1",
"license": "MIT",
"author": {
"name": "Raphaël Benitte",
@@ -30,18 +30,18 @@
"dist/"
],
"dependencies": {
"@nivo/axes": "0.74.0",
"@nivo/colors": "0.74.0",
"@nivo/legends": "0.74.0",
"@nivo/tooltip": "0.74.0",
"@react-spring/web": "9.2.6",
"@nivo/axes": "0.74.1",
"@nivo/colors": "0.74.1",
"@nivo/legends": "0.74.1",
"@nivo/tooltip": "0.74.1",
"@react-spring/web": "9.3.1",
"d3-shape": "^1.3.5"
},
"devDependencies": {
"@nivo/core": "0.74.0"
"@nivo/core": "0.74.1"
},
"peerDependencies": {
"@nivo/core": "0.74.0",
"@nivo/core": "0.74.1",
"prop-types": ">= 15.5.10 < 16.0.0",
"react": ">= 16.14.0 < 18.0.0"
},
10 changes: 5 additions & 5 deletions packages/calendar/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nivo/calendar",
"version": "0.74.0",
"version": "0.74.1",
"license": "MIT",
"author": {
"name": "Raphaël Benitte",
@@ -29,18 +29,18 @@
"!dist/tsconfig.tsbuildinfo"
],
"dependencies": {
"@nivo/legends": "0.74.0",
"@nivo/tooltip": "0.74.0",
"@nivo/legends": "0.74.1",
"@nivo/tooltip": "0.74.1",
"d3-scale": "^3.2.3",
"d3-time": "^1.0.10",
"d3-time-format": "^3.0.0",
"lodash": "^4.17.21"
},
"devDependencies": {
"@nivo/core": "0.74.0"
"@nivo/core": "0.74.1"
},
"peerDependencies": {
"@nivo/core": "0.74.0",
"@nivo/core": "0.74.1",
"react": ">= 16.14.0 < 18.0.0"
},
"publishConfig": {
14 changes: 7 additions & 7 deletions packages/chord/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nivo/chord",
"version": "0.74.0",
"version": "0.74.1",
"license": "MIT",
"author": {
"name": "Raphaël Benitte",
@@ -28,20 +28,20 @@
"dist/"
],
"dependencies": {
"@nivo/arcs": "0.74.0",
"@nivo/colors": "0.74.0",
"@nivo/legends": "0.74.0",
"@nivo/tooltip": "0.74.0",
"@nivo/arcs": "0.74.1",
"@nivo/colors": "0.74.1",
"@nivo/legends": "0.74.1",
"@nivo/tooltip": "0.74.1",
"d3-chord": "^1.0.6",
"d3-shape": "^1.3.5",
"lodash": "^4.17.21",
"react-motion": "^0.5.2"
},
"devDependencies": {
"@nivo/core": "0.74.0"
"@nivo/core": "0.74.1"
},
"peerDependencies": {
"@nivo/core": "0.74.0",
"@nivo/core": "0.74.1",
"prop-types": ">= 15.5.10 < 16.0.0",
"react": ">= 16.14.0 < 18.0.0"
},
12 changes: 6 additions & 6 deletions packages/circle-packing/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nivo/circle-packing",
"version": "0.74.0",
"version": "0.74.1",
"license": "MIT",
"author": {
"name": "Raphaël Benitte",
@@ -29,18 +29,18 @@
"!dist/tsconfig.tsbuildinfo"
],
"dependencies": {
"@nivo/colors": "0.74.0",
"@nivo/tooltip": "0.74.0",
"@react-spring/web": "9.2.6",
"@nivo/colors": "0.74.1",
"@nivo/tooltip": "0.74.1",
"@react-spring/web": "9.3.1",
"d3-hierarchy": "^1.1.8",
"lodash": "^4.17.21"
},
"devDependencies": {
"@nivo/core": "0.74.0",
"@nivo/core": "0.74.1",
"@types/d3-hierarchy": "^1.1.7"
},
"peerDependencies": {
"@nivo/core": "0.74.0",
"@nivo/core": "0.74.1",
"prop-types": ">= 15.5.10 < 16.0.0",
"react": ">= 16.14.0 < 18.0.0"
},
Loading