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.76.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.77.0
Choose a head ref

Commits on Dec 30, 2021

  1. Copy the full SHA
    e3a4b7b View commit details

Commits on Dec 31, 2021

  1. Copy the full SHA
    797c131 View commit details
  2. Copy the full SHA
    0137c96 View commit details
  3. Copy the full SHA
    353010f View commit details
  4. Copy the full SHA
    fa152f5 View commit details
  5. feat(network): replace react-motion with react-spring and use the sam…

    …e component for static and animated variants
    plouc committed Dec 31, 2021

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    82a2d05 View commit details
  6. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    375252a View commit details
  7. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    c3d5dd1 View commit details
  8. Copy the full SHA
    8e85cf1 View commit details
  9. Copy the full SHA
    2b26bf3 View commit details
  10. Copy the full SHA
    1b03cec View commit details
  11. Copy the full SHA
    b115f70 View commit details
  12. Copy the full SHA
    8f13a53 View commit details
  13. Copy the full SHA
    cbe9b21 View commit details
  14. Copy the full SHA
    b6741dd View commit details
  15. Copy the full SHA
    90edbd0 View commit details
  16. Copy the full SHA
    63a7eb6 View commit details
  17. Copy the full SHA
    e91b04f View commit details
  18. Copy the full SHA
    5575928 View commit details
  19. Copy the full SHA
    720716b View commit details
  20. Copy the full SHA
    c004350 View commit details
  21. feat(network): add basic tests

    plouc committed Dec 31, 2021
    Copy the full SHA
    07a1e33 View commit details
  22. Copy the full SHA
    9060197 View commit details
  23. Copy the full SHA
    365f261 View commit details
  24. Copy the full SHA
    d70ad13 View commit details
  25. Copy the full SHA
    7fdff22 View commit details
  26. Copy the full SHA
    609287d View commit details
  27. feat(network): remove nodeBlendMode as it doesn't play well with link…

    … endings underneath
    plouc committed Dec 31, 2021
    Copy the full SHA
    bfbe9b6 View commit details
  28. Copy the full SHA
    aed3590 View commit details
  29. Copy the full SHA
    ca5ee4e View commit details
  30. Copy the full SHA
    cda6683 View commit details
  31. v0.77.0

    plouc committed Dec 31, 2021
    Copy the full SHA
    986b0c0 View commit details
Showing with 3,550 additions and 1,761 deletions.
  1. +43 −1 CHANGELOG.md
  2. +1 −0 Makefile
  3. +2 −2 api/package.json
  4. +3 −3 examples/codesandbox/src/charts/Network.tsx
  5. +1 −1 lerna.json
  6. +4 −4 packages/annotations/package.json
  7. +1 −0 packages/annotations/src/Annotation.tsx
  8. +1 −0 packages/annotations/src/AnnotationLink.tsx
  9. +1 −0 packages/annotations/src/CircleAnnotationOutline.tsx
  10. +1 −0 packages/annotations/src/DotAnnotationOutline.tsx
  11. +7 −0 packages/annotations/src/RectAnnotationOutline.tsx
  12. +1 −2 packages/annotations/src/compute.ts
  13. +3 −3 packages/annotations/src/hooks.ts
  14. +1 −6 packages/annotations/src/types.ts
  15. +4 −4 packages/arcs/package.json
  16. +4 −4 packages/axes/package.json
  17. +9 −9 packages/bar/package.json
  18. +7 −7 packages/bullet/package.json
  19. +8 −8 packages/bump/package.json
  20. +5 −5 packages/calendar/package.json
  21. +7 −7 packages/chord/package.json
  22. +5 −5 packages/circle-packing/package.json
  23. +3 −3 packages/colors/package.json
  24. +4 −0 packages/core/index.d.ts
  25. +4 −4 packages/core/package.json
  26. +4 −0 packages/core/src/theming/defaultTheme.js
  27. +2 −2 packages/express/package.json
  28. +6 −6 packages/funnel/package.json
  29. +2 −0 packages/funnel/src/Funnel.tsx
  30. +1 −1 packages/funnel/src/PartTooltip.tsx
  31. +9 −3 packages/funnel/src/hooks.ts
  32. +2 −0 packages/funnel/src/types.ts
  33. +65 −0 packages/funnel/stories/funnel.stories.tsx
  34. +1 −1 packages/generators/package.json
  35. +31 −23 packages/generators/src/network.ts
  36. +6 −6 packages/geo/package.json
  37. +6 −6 packages/heatmap/package.json
  38. +3 −3 packages/legends/package.json
  39. +10 −10 packages/line/package.json
  40. +6 −6 packages/marimekko/package.json
  41. +0 −94 packages/network/index.d.ts
  42. +11 −11 packages/network/package.json
  43. +0 −72 packages/network/src/AnimatedLinks.js
  44. +0 −81 packages/network/src/AnimatedNodes.js
  45. +0 −36 packages/network/src/Link.js
  46. +0 −134 packages/network/src/Network.js
  47. +194 −0 packages/network/src/Network.tsx
  48. +0 −201 packages/network/src/NetworkCanvas.js
  49. +235 −0 packages/network/src/NetworkCanvas.tsx
  50. +24 −0 packages/network/src/NetworkLink.tsx
  51. +79 −0 packages/network/src/NetworkLinks.tsx
  52. +30 −0 packages/network/src/NetworkNode.tsx
  53. +23 −0 packages/network/src/NetworkNodeAnnotations.tsx
  54. +0 −24 packages/network/src/NetworkNodeTooltip.js
  55. +6 −0 packages/network/src/NetworkNodeTooltip.tsx
  56. +130 −0 packages/network/src/NetworkNodes.tsx
  57. +0 −53 packages/network/src/Node.js
  58. +0 −18 packages/network/src/ResponsiveNetwork.js
  59. +14 −0 packages/network/src/ResponsiveNetwork.tsx
  60. +0 −18 packages/network/src/ResponsiveNetworkCanvas.js
  61. +16 −0 packages/network/src/ResponsiveNetworkCanvas.tsx
  62. +0 −36 packages/network/src/StaticLinks.js
  63. +0 −39 packages/network/src/StaticNodes.js
  64. +67 −0 packages/network/src/defaults.ts
  65. +0 −113 packages/network/src/hooks.js
  66. +317 −0 packages/network/src/hooks.ts
  67. +0 −14 packages/network/src/index.js
  68. +7 −0 packages/network/src/index.ts
  69. +0 −88 packages/network/src/props.js
  70. +14 −0 packages/network/src/renderCanvasLink.ts
  71. +17 −0 packages/network/src/renderCanvasNode.ts
  72. +199 −0 packages/network/src/types.ts
  73. +0 −47 packages/network/stories/network.stories.js
  74. +88 −0 packages/network/stories/network.stories.tsx
  75. +0 −47 packages/network/stories/networkCanvas.stories.js
  76. +74 −0 packages/network/stories/networkCanvas.stories.tsx
  77. +5 −0 packages/network/tests/.eslintrc.yml
  78. +526 −0 packages/network/tests/Network.test.tsx
  79. +8 −0 packages/network/tsconfig.json
  80. +6 −6 packages/parallel-coordinates/package.json
  81. +7 −7 packages/pie/package.json
  82. +5 −5 packages/polar-axes/package.json
  83. +6 −6 packages/radar/package.json
  84. +9 −9 packages/radial-bar/package.json
  85. +1 −1 packages/recompose/package.json
  86. +6 −6 packages/sankey/package.json
  87. +1 −1 packages/scales/package.json
  88. +10 −10 packages/scatterplot/package.json
  89. +1 −0 packages/scatterplot/src/ScatterPlotCanvas.tsx
  90. +15 −15 packages/static/package.json
  91. +8 −8 packages/stream/package.json
  92. +6 −6 packages/sunburst/package.json
  93. +10 −10 packages/swarmplot/package.json
  94. +3 −3 packages/tooltip/package.json
  95. +5 −5 packages/treemap/package.json
  96. +3 −3 packages/voronoi/package.json
  97. +7 −7 packages/waffle/package.json
  98. +1 −0 tsconfig.monorepo.json
  99. +30 −30 website/package.json
  100. +2 −8 website/src/components/components/api-client/ApiTabs.tsx
  101. +191 −0 website/src/components/controls/AnnotationsControl.tsx
  102. +103 −105 website/src/components/controls/ArrayControl.tsx
  103. +5 −5 website/src/components/controls/Control.tsx
  104. +15 −0 website/src/components/controls/ControlsGroup.tsx
  105. +3 −2 website/src/components/controls/ObjectControl.tsx
  106. +2 −1 website/src/components/controls/OpacityControl.tsx
  107. +11 −2 website/src/components/controls/RangeControl.tsx
  108. +11 −3 website/src/components/controls/types.ts
  109. +1 −1 website/src/components/icons/Icons.js
  110. +23 −13 website/src/components/icons/{NetworkIcon.js → NetworkIcon.tsx}
  111. +1 −0 website/src/components/icons/RadialBarIcon.tsx
  112. +2 −24 website/src/data/components/bar/props.ts
  113. +30 −0 website/src/data/components/network/mapper.ts
  114. +28 −4 website/src/data/components/network/meta.yml
  115. +224 −58 website/src/data/components/network/props.ts
  116. +7 −33 website/src/data/components/radial-bar/props.ts
  117. +2 −24 website/src/data/components/stream/props.ts
  118. +44 −0 website/src/lib/chart-properties/accessibility.ts
  119. +32 −0 website/src/lib/chart-properties/annotations.ts
  120. +2 −0 website/src/lib/chart-properties/index.ts
  121. +215 −16 website/src/pages/guides/theming.tsx
  122. +31 −22 website/src/pages/network/{canvas.js → canvas.tsx}
  123. +29 −15 website/src/pages/network/{index.js → index.tsx}
  124. +25 −13 website/src/theming/theme.ts
  125. +3 −3 website/src/types.ts
44 changes: 43 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,47 @@
<a name="v0.77.0"></a>
## v0.77.0 (2021-12-31)


#### Features

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



<a name="v0.76.0"></a>
## v0.76.0 (2021-12-29)
## v0.76.0 (%cs)


#### Features
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -223,6 +223,7 @@ website: ##@2 website start website in dev mode

website-build: ##@2 website build website
@echo "${YELLOW}Building website${RESET}"
@-rm -rf website/.cache
@cd website && yarn build

website-serve: ##@2 website build & serve website
4 changes: 2 additions & 2 deletions api/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nivo/api",
"version": "0.76.0",
"version": "0.77.0",
"private": true,
"description": "Rendering API for nivo dataviz React/d3 components",
"main": "src/app.js",
@@ -22,7 +22,7 @@
"nodemon": "^1.18.10"
},
"dependencies": {
"@nivo/express": "0.76.0",
"@nivo/express": "0.77.0",
"@types/body-parser": "^1.19.2",
"@types/cors": "^2.8.12",
"@types/express": "^4.17.13",
6 changes: 3 additions & 3 deletions examples/codesandbox/src/charts/Network.tsx
Original file line number Diff line number Diff line change
@@ -9,16 +9,16 @@ import { useChart } from '../hooks'
const props = {
iterations: 60,
margin: { bottom: 30, top: 30, left: 30, right: 30 },
nodeColor: (node: ComputedNode) => node.color,
nodeColor: (node: ComputedNode<any>) => node.color,
repulsivity: 6,
}

export function Network() {
const [data, flavor] = useChart(generateNetworkData)

if (flavor === 'canvas') {
return <ResponsiveNetworkCanvas {...data} {...props} />
return <ResponsiveNetworkCanvas data={data} {...props} />
}

return <ResponsiveNetwork {...data} {...props} />
return <ResponsiveNetwork data={data} {...props} />
}
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.76.0",
"version": "0.77.0",
"npmClient": "yarn",
"useWorkspaces": true
}
8 changes: 4 additions & 4 deletions packages/annotations/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nivo/annotations",
"version": "0.76.0",
"version": "0.77.0",
"license": "MIT",
"author": {
"name": "Raphaël Benitte",
@@ -28,15 +28,15 @@
"!dist/tsconfig.tsbuildinfo"
],
"dependencies": {
"@nivo/colors": "0.76.0",
"@nivo/colors": "0.77.0",
"@react-spring/web": "9.3.1",
"lodash": "^4.17.21"
},
"devDependencies": {
"@nivo/core": "0.76.0"
"@nivo/core": "0.77.0"
},
"peerDependencies": {
"@nivo/core": "0.76.0",
"@nivo/core": "0.77.0",
"react": ">= 16.14.0 < 18.0.0"
},
"publishConfig": {
1 change: 1 addition & 0 deletions packages/annotations/src/Annotation.tsx
Original file line number Diff line number Diff line change
@@ -30,6 +30,7 @@ export const Annotation = <Datum,>(annotation: BoundAnnotation<Datum>) => {
y={y}
width={annotation.width}
height={annotation.height}
borderRadius={annotation.borderRadius}
/>
)}
<AnnotationLink points={computed.points} />
1 change: 1 addition & 0 deletions packages/annotations/src/AnnotationLink.tsx
Original file line number Diff line number Diff line change
@@ -32,6 +32,7 @@ export const AnnotationLink = ({
style.strokeWidth =
theme.annotations.link.strokeWidth + theme.annotations.link.outlineWidth * 2
style.stroke = theme.annotations.link.outlineColor
style.opacity = theme.annotations.link.outlineOpacity
}

return <animated.path fill="none" d={animatedPath} style={style} />
1 change: 1 addition & 0 deletions packages/annotations/src/CircleAnnotationOutline.tsx
Original file line number Diff line number Diff line change
@@ -27,6 +27,7 @@ export const CircleAnnotationOutline = ({ x, y, size }: { x: number; y: number;
theme.annotations.outline.strokeWidth +
theme.annotations.outline.outlineWidth * 2,
stroke: theme.annotations.outline.outlineColor,
opacity: theme.annotations.outline.outlineOpacity,
}}
/>
)}
1 change: 1 addition & 0 deletions packages/annotations/src/DotAnnotationOutline.tsx
Original file line number Diff line number Diff line change
@@ -34,6 +34,7 @@ export const DotAnnotationOutline = ({
fill: 'none',
strokeWidth: theme.annotations.outline.outlineWidth * 2,
stroke: theme.annotations.outline.outlineColor,
opacity: theme.annotations.outline.outlineOpacity,
}}
/>
)}
7 changes: 7 additions & 0 deletions packages/annotations/src/RectAnnotationOutline.tsx
Original file line number Diff line number Diff line change
@@ -6,11 +6,13 @@ export const RectAnnotationOutline = ({
y,
width,
height,
borderRadius = 6,
}: {
x: number
y: number
width: number
height: number
borderRadius?: number
}) => {
const theme = useTheme()
const { animate, config: springConfig } = useMotionConfig()
@@ -30,6 +32,8 @@ export const RectAnnotationOutline = ({
<animated.rect
x={animatedProps.x}
y={animatedProps.y}
rx={borderRadius}
ry={borderRadius}
width={animatedProps.width}
height={animatedProps.height}
style={{
@@ -39,12 +43,15 @@ export const RectAnnotationOutline = ({
theme.annotations.outline.strokeWidth +
theme.annotations.outline.outlineWidth * 2,
stroke: theme.annotations.outline.outlineColor,
opacity: theme.annotations.outline.outlineOpacity,
}}
/>
)}
<animated.rect
x={animatedProps.x}
y={animatedProps.y}
rx={borderRadius}
ry={borderRadius}
width={animatedProps.width}
height={animatedProps.height}
style={theme.annotations.outline}
3 changes: 1 addition & 2 deletions packages/annotations/src/compute.ts
Original file line number Diff line number Diff line change
@@ -7,7 +7,6 @@ import {
} from '@nivo/core'
import { defaultProps } from './props'
import {
AnnotationSpec,
AnnotationPositionGetter,
AnnotationDimensionsGetter,
BoundAnnotation,
@@ -89,7 +88,7 @@ export const getLinkAngle = (
}

export const computeAnnotation = <Datum>(
annotation: Required<AnnotationSpec<Datum>>
annotation: BoundAnnotation<Datum>
): AnnotationInstructions => {
const {
x,
6 changes: 3 additions & 3 deletions packages/annotations/src/hooks.ts
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@ import {
AnnotationDimensionsGetter,
AnnotationMatcher,
AnnotationPositionGetter,
AnnotationSpec,
BoundAnnotation,
} from './types'

/**
@@ -35,7 +35,7 @@ export const useAnnotations = <Datum>({
export const useComputedAnnotations = <Datum>({
annotations,
}: {
annotations: Required<AnnotationSpec<Datum>>[]
annotations: BoundAnnotation<Datum>[]
}) =>
useMemo(
() =>
@@ -48,5 +48,5 @@ export const useComputedAnnotations = <Datum>({
[annotations]
)

export const useComputedAnnotation = <Datum>(annotation: Required<AnnotationSpec<Datum>>) =>
export const useComputedAnnotation = <Datum>(annotation: BoundAnnotation<Datum>) =>
useMemo(() => computeAnnotation<Datum>(annotation), [annotation])
7 changes: 1 addition & 6 deletions packages/annotations/src/types.ts
Original file line number Diff line number Diff line change
@@ -63,12 +63,6 @@ export interface BaseAnnotationSpec<Datum> {
noteY: RelativeOrAbsolutePosition
noteWidth?: number
noteTextOffset?: number
// circle/dot
// size?: number
// // rect
// width?: number
// // rect
// height?: number
}

// This annotation can be used to draw a circle
@@ -107,6 +101,7 @@ export type RectAnnotationSpec<Datum> = BaseAnnotationSpec<Datum> & {
offset?: number

size?: never
borderRadius?: number
}

export type AnnotationSpec<Datum> =
8 changes: 4 additions & 4 deletions packages/arcs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nivo/arcs",
"version": "0.76.0",
"version": "0.77.0",
"license": "MIT",
"author": {
"name": "Raphaël Benitte",
@@ -28,16 +28,16 @@
"!dist/tsconfig.tsbuildinfo"
],
"dependencies": {
"@nivo/colors": "0.76.0",
"@nivo/colors": "0.77.0",
"@react-spring/web": "9.3.1",
"d3-shape": "^1.3.5"
},
"devDependencies": {
"@nivo/core": "0.76.0",
"@nivo/core": "0.77.0",
"@types/d3-shape": "^2.0.0"
},
"peerDependencies": {
"@nivo/core": "0.76.0",
"@nivo/core": "0.77.0",
"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.76.0",
"version": "0.77.0",
"license": "MIT",
"author": {
"name": "Raphaël Benitte",
@@ -27,18 +27,18 @@
"!dist/tsconfig.tsbuildinfo"
],
"dependencies": {
"@nivo/scales": "0.76.0",
"@nivo/scales": "0.77.0",
"@react-spring/web": "9.3.1",
"d3-format": "^1.4.4",
"d3-time-format": "^3.0.0"
},
"devDependencies": {
"@nivo/core": "0.76.0",
"@nivo/core": "0.77.0",
"@types/d3-format": "^1.4.1",
"@types/d3-time-format": "^2.3.1"
},
"peerDependencies": {
"@nivo/core": "0.76.0",
"@nivo/core": "0.77.0",
"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.76.0",
"version": "0.77.0",
"license": "MIT",
"author": {
"name": "Raphaël Benitte",
@@ -29,22 +29,22 @@
"!dist/tsconfig.tsbuildinfo"
],
"dependencies": {
"@nivo/annotations": "0.76.0",
"@nivo/axes": "0.76.0",
"@nivo/colors": "0.76.0",
"@nivo/legends": "0.76.0",
"@nivo/scales": "0.76.0",
"@nivo/tooltip": "0.76.0",
"@nivo/annotations": "0.77.0",
"@nivo/axes": "0.77.0",
"@nivo/colors": "0.77.0",
"@nivo/legends": "0.77.0",
"@nivo/scales": "0.77.0",
"@nivo/tooltip": "0.77.0",
"@react-spring/web": "9.3.1",
"d3-scale": "^3.2.3",
"d3-shape": "^1.2.2",
"lodash": "^4.17.21"
},
"devDependencies": {
"@nivo/core": "0.76.0"
"@nivo/core": "0.77.0"
},
"peerDependencies": {
"@nivo/core": "0.76.0",
"@nivo/core": "0.77.0",
"react": ">= 16.14.0 < 18.0.0"
},
"publishConfig": {
14 changes: 7 additions & 7 deletions packages/bullet/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nivo/bullet",
"version": "0.76.0",
"version": "0.77.0",
"license": "MIT",
"author": {
"name": "Raphaël Benitte",
@@ -29,17 +29,17 @@
"!dist/tsconfig.tsbuildinfo"
],
"dependencies": {
"@nivo/axes": "0.76.0",
"@nivo/colors": "0.76.0",
"@nivo/legends": "0.76.0",
"@nivo/tooltip": "0.76.0",
"@nivo/axes": "0.77.0",
"@nivo/colors": "0.77.0",
"@nivo/legends": "0.77.0",
"@nivo/tooltip": "0.77.0",
"@react-spring/web": "9.3.1"
},
"devDependencies": {
"@nivo/core": "0.76.0"
"@nivo/core": "0.77.0"
},
"peerDependencies": {
"@nivo/core": "0.76.0",
"@nivo/core": "0.77.0",
"react": ">= 16.14.0 < 18.0.0"
},
"publishConfig": {
Loading