@nivo/core
Advanced tools
Comparing version 0.61.0 to 0.62.0
@@ -5,2 +5,4 @@ import * as React from 'react' | ||
declare module '@nivo/core' { | ||
export type DatumValue = string | number | Date | ||
export interface Dimensions { | ||
@@ -38,2 +40,10 @@ height: number | ||
export type Theme = Partial<{ | ||
crosshair: Partial<{ | ||
line: Partial<{ | ||
stroke: string | ||
strokeWidth: number | ||
strokeOpacity: number | ||
strokeDasharray: string | ||
}> | ||
}> | ||
background: string | ||
@@ -135,2 +145,6 @@ axis: Partial<{ | ||
| 'stepBefore' | ||
export type DataFormatter = (value: DatumValue) => string | number | ||
export function useValueFormatter(formatter?: DataFormatter | string): DataFormatter | ||
} |
{ | ||
"name": "@nivo/core", | ||
"version": "0.61.0", | ||
"version": "0.62.0", | ||
"license": "MIT", | ||
@@ -18,3 +18,3 @@ "author": { | ||
"dependencies": { | ||
"@nivo/tooltip": "0.61.0", | ||
"@nivo/tooltip": "0.62.0", | ||
"d3-color": "^1.2.3", | ||
@@ -40,3 +40,3 @@ "d3-format": "^1.3.2", | ||
}, | ||
"gitHead": "441383999dad1c9697ef6f4bc89b1c19b4505153" | ||
"gitHead": "a98a072c4fe5339457d26f396d032dfc302187bc" | ||
} |
283974
6331
+ Added@nivo/tooltip@0.62.0(transitive)
- Removed@nivo/tooltip@0.61.0(transitive)
Updated@nivo/tooltip@0.62.0