Comparing version 0.84.0 to 0.85.0
@@ -33,3 +33,3 @@ import { MayHaveLabel, CompletePieSvgProps, ComputedDatum, DatumId, PieCustomLayerProps, LegendDatum, CommonPieProps } from './types'; | ||
*/ | ||
export declare const usePie: <RawDatum>({ data, radius, innerRadius, startAngle, endAngle, padAngle, sortByValue, cornerRadius, activeInnerRadiusOffset, activeOuterRadiusOffset, activeId: activeIdFromProps, onActiveIdChange, defaultActiveId, forwardLegendData, }: Pick<Partial<CompletePieSvgProps<RawDatum>>, "sortByValue" | "padAngle" | "cornerRadius" | "startAngle" | "endAngle" | "activeInnerRadiusOffset" | "activeOuterRadiusOffset" | "activeId" | "onActiveIdChange" | "defaultActiveId" | "forwardLegendData"> & { | ||
export declare const usePie: <RawDatum>({ data, radius, innerRadius, startAngle, endAngle, padAngle, sortByValue, cornerRadius, activeInnerRadiusOffset, activeOuterRadiusOffset, activeId: activeIdFromProps, onActiveIdChange, defaultActiveId, forwardLegendData, }: Pick<Partial<CompletePieSvgProps<RawDatum>>, "startAngle" | "endAngle" | "sortByValue" | "padAngle" | "cornerRadius" | "activeInnerRadiusOffset" | "activeOuterRadiusOffset" | "activeId" | "onActiveIdChange" | "defaultActiveId" | "forwardLegendData"> & { | ||
data: Omit<ComputedDatum<RawDatum>, "arc">[]; | ||
@@ -53,3 +53,3 @@ radius: number; | ||
*/ | ||
export declare const usePieFromBox: <RawDatum>({ data, width, height, innerRadius: innerRadiusRatio, startAngle, endAngle, padAngle, sortByValue, cornerRadius, fit, activeInnerRadiusOffset, activeOuterRadiusOffset, activeId: activeIdFromProps, onActiveIdChange, defaultActiveId, forwardLegendData, }: Pick<CompletePieSvgProps<RawDatum>, "height" | "width" | "sortByValue" | "innerRadius" | "padAngle" | "cornerRadius" | "startAngle" | "endAngle" | "fit" | "activeInnerRadiusOffset" | "activeOuterRadiusOffset"> & Pick<Partial<CompletePieSvgProps<RawDatum>>, "activeId" | "onActiveIdChange" | "defaultActiveId" | "forwardLegendData"> & { | ||
export declare const usePieFromBox: <RawDatum>({ data, width, height, innerRadius: innerRadiusRatio, startAngle, endAngle, padAngle, sortByValue, cornerRadius, fit, activeInnerRadiusOffset, activeOuterRadiusOffset, activeId: activeIdFromProps, onActiveIdChange, defaultActiveId, forwardLegendData, }: Pick<CompletePieSvgProps<RawDatum>, "startAngle" | "endAngle" | "innerRadius" | "width" | "height" | "sortByValue" | "padAngle" | "cornerRadius" | "fit" | "activeInnerRadiusOffset" | "activeOuterRadiusOffset"> & Pick<Partial<CompletePieSvgProps<RawDatum>>, "activeId" | "onActiveIdChange" | "defaultActiveId" | "forwardLegendData"> & { | ||
data: Omit<ComputedDatum<RawDatum>, "arc">[]; | ||
@@ -56,0 +56,0 @@ }) => { |
@@ -0,3 +1,4 @@ | ||
/// <reference types="react" /> | ||
import { PieSvgProps, MayHaveLabel } from './types'; | ||
export declare const Pie: <RawDatum extends MayHaveLabel>({ isInteractive, animate, motionConfig, theme, renderWrapper, ...otherProps }: PieSvgProps<RawDatum>) => JSX.Element; | ||
//# sourceMappingURL=Pie.d.ts.map |
@@ -0,3 +1,4 @@ | ||
/// <reference types="react" /> | ||
import { PieCanvasProps, MayHaveLabel } from './types'; | ||
export declare const PieCanvas: <RawDatum extends MayHaveLabel>({ isInteractive, theme, renderWrapper, ...otherProps }: PieCanvasProps<RawDatum>) => JSX.Element; | ||
//# sourceMappingURL=PieCanvas.d.ts.map |
/// <reference types="react" /> | ||
import { PieSvgProps, MayHaveLabel } from './types'; | ||
export declare const ResponsivePie: <RawDatum extends MayHaveLabel>(props: Omit<PieSvgProps<RawDatum>, "height" | "width">) => JSX.Element; | ||
export declare const ResponsivePie: <RawDatum extends MayHaveLabel>(props: Omit<PieSvgProps<RawDatum>, "width" | "height">) => JSX.Element; | ||
//# sourceMappingURL=ResponsivePie.d.ts.map |
/// <reference types="react" /> | ||
import { PieCanvasProps, MayHaveLabel } from './types'; | ||
export declare const ResponsivePieCanvas: <RawDatum extends MayHaveLabel>(props: Omit<PieCanvasProps<RawDatum>, "height" | "width">) => JSX.Element; | ||
export declare const ResponsivePieCanvas: <RawDatum extends MayHaveLabel>(props: Omit<PieCanvasProps<RawDatum>, "width" | "height">) => JSX.Element; | ||
//# sourceMappingURL=ResponsivePieCanvas.d.ts.map |
{ | ||
"name": "@nivo/pie", | ||
"version": "0.84.0", | ||
"version": "0.85.0", | ||
"license": "MIT", | ||
@@ -32,7 +32,7 @@ "author": { | ||
"dependencies": { | ||
"@nivo/arcs": "0.84.0", | ||
"@nivo/colors": "0.84.0", | ||
"@nivo/core": "0.84.0", | ||
"@nivo/legends": "0.84.0", | ||
"@nivo/tooltip": "0.84.0", | ||
"@nivo/arcs": "0.85.0", | ||
"@nivo/colors": "0.85.0", | ||
"@nivo/core": "0.85.0", | ||
"@nivo/legends": "0.85.0", | ||
"@nivo/tooltip": "0.85.0", | ||
"@types/d3-shape": "^2.0.0", | ||
@@ -47,3 +47,3 @@ "d3-shape": "^1.3.5" | ||
}, | ||
"gitHead": "71f3496361eb33c10380d12d3abb200813d9429b" | ||
"gitHead": "4ab05e2a976cb43397fe91720aab9fb3705bdf36" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
200110
502
+ Added@nivo/arcs@0.85.0(transitive)
+ Added@nivo/colors@0.85.0(transitive)
+ Added@nivo/core@0.85.0(transitive)
+ Added@nivo/legends@0.85.0(transitive)
+ Added@nivo/recompose@0.85.0(transitive)
+ Added@nivo/tooltip@0.85.0(transitive)
+ Added@types/d3-color@3.1.3(transitive)
+ Added@types/d3-scale-chromatic@3.0.3(transitive)
- Removed@nivo/arcs@0.84.0(transitive)
- Removed@nivo/colors@0.84.0(transitive)
- Removed@nivo/core@0.84.0(transitive)
- Removed@nivo/legends@0.84.0(transitive)
- Removed@nivo/recompose@0.84.0(transitive)
- Removed@nivo/tooltip@0.84.0(transitive)
- Removed@types/d3-color@2.0.6(transitive)
- Removed@types/d3-scale-chromatic@2.0.4(transitive)
- Removedd3-scale-chromatic@2.0.0(transitive)
Updated@nivo/arcs@0.85.0
Updated@nivo/colors@0.85.0
Updated@nivo/core@0.85.0
Updated@nivo/legends@0.85.0
Updated@nivo/tooltip@0.85.0