Comparing version 0.75.0 to 0.76.0
@@ -36,3 +36,3 @@ /// <reference types="react" /> | ||
*/ | ||
export declare const usePie: <RawDatum>({ data, radius, innerRadius, startAngle, endAngle, padAngle, sortByValue, cornerRadius, activeInnerRadiusOffset, activeOuterRadiusOffset, }: Pick<Partial<CompletePieSvgProps<RawDatum>>, "startAngle" | "endAngle" | "cornerRadius" | "padAngle" | "sortByValue" | "activeInnerRadiusOffset" | "activeOuterRadiusOffset"> & { | ||
export declare const usePie: <RawDatum>({ data, radius, innerRadius, startAngle, endAngle, padAngle, sortByValue, cornerRadius, activeInnerRadiusOffset, activeOuterRadiusOffset, }: Pick<Partial<CompletePieSvgProps<RawDatum>>, "startAngle" | "endAngle" | "sortByValue" | "padAngle" | "cornerRadius" | "activeInnerRadiusOffset" | "activeOuterRadiusOffset"> & { | ||
data: Omit<ComputedDatum<RawDatum>, "arc">[]; | ||
@@ -56,3 +56,3 @@ radius: number; | ||
*/ | ||
export declare const usePieFromBox: <RawDatum>({ data, width, height, innerRadius: innerRadiusRatio, startAngle, endAngle, padAngle, sortByValue, cornerRadius, fit, activeInnerRadiusOffset, activeOuterRadiusOffset, }: Pick<CompletePieSvgProps<RawDatum>, "height" | "width" | "startAngle" | "endAngle" | "innerRadius" | "cornerRadius" | "padAngle" | "sortByValue" | "fit" | "activeInnerRadiusOffset" | "activeOuterRadiusOffset"> & { | ||
export declare const usePieFromBox: <RawDatum>({ data, width, height, innerRadius: innerRadiusRatio, startAngle, endAngle, padAngle, sortByValue, cornerRadius, fit, activeInnerRadiusOffset, activeOuterRadiusOffset, }: Pick<CompletePieSvgProps<RawDatum>, "startAngle" | "endAngle" | "innerRadius" | "width" | "height" | "sortByValue" | "padAngle" | "cornerRadius" | "fit" | "activeInnerRadiusOffset" | "activeOuterRadiusOffset"> & { | ||
data: Omit<ComputedDatum<RawDatum>, "arc">[]; | ||
@@ -59,0 +59,0 @@ }) => { |
/// <reference types="react" /> | ||
import { PieSvgProps } from './types'; | ||
export declare const ResponsivePie: <RawDatum>(props: Omit<PieSvgProps<RawDatum>, "height" | "width">) => JSX.Element; | ||
export declare const ResponsivePie: <RawDatum>(props: Omit<PieSvgProps<RawDatum>, "width" | "height">) => JSX.Element; | ||
//# sourceMappingURL=ResponsivePie.d.ts.map |
/// <reference types="react" /> | ||
import { PieCanvasProps } from './types'; | ||
export declare const ResponsivePieCanvas: <RawDatum>(props: Omit<PieCanvasProps<RawDatum>, "height" | "width">) => JSX.Element; | ||
export declare const ResponsivePieCanvas: <RawDatum>(props: Omit<PieCanvasProps<RawDatum>, "width" | "height">) => JSX.Element; | ||
//# sourceMappingURL=ResponsivePieCanvas.d.ts.map |
{ | ||
"name": "@nivo/pie", | ||
"version": "0.75.0", | ||
"version": "0.76.0", | ||
"license": "MIT", | ||
@@ -32,14 +32,14 @@ "author": { | ||
"dependencies": { | ||
"@nivo/arcs": "0.75.0", | ||
"@nivo/colors": "0.75.0", | ||
"@nivo/legends": "0.75.0", | ||
"@nivo/tooltip": "0.75.0", | ||
"@nivo/arcs": "0.76.0", | ||
"@nivo/colors": "0.76.0", | ||
"@nivo/legends": "0.76.0", | ||
"@nivo/tooltip": "0.76.0", | ||
"d3-shape": "^1.3.5" | ||
}, | ||
"devDependencies": { | ||
"@nivo/core": "0.75.0", | ||
"@nivo/core": "0.76.0", | ||
"@types/d3-shape": "^2.0.0" | ||
}, | ||
"peerDependencies": { | ||
"@nivo/core": "0.75.0", | ||
"@nivo/core": "0.76.0", | ||
"react": ">= 16.14.0 < 18.0.0" | ||
@@ -50,3 +50,3 @@ }, | ||
}, | ||
"gitHead": "bfe8126876bf0e46ad82251935ab78178e901bcf" | ||
"gitHead": "0feb061ac0e4cd9ac6a27f5714e3629d1dcdcf4f" | ||
} |
@@ -9,2 +9,2 @@ # `@nivo/pie` | ||
![Pie](https://raw.githubusercontent.com/plouc/nivo/master/packages/pie/doc/pie.png) | ||
![Pie](https://raw.githubusercontent.com/plouc/nivo/master/website/src/assets/captures/pie.png) |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
224074
0
+ Added@nivo/arcs@0.76.0(transitive)
+ Added@nivo/colors@0.76.0(transitive)
+ Added@nivo/core@0.76.0(transitive)
+ Added@nivo/legends@0.76.0(transitive)
+ Added@nivo/recompose@0.76.0(transitive)
+ Added@nivo/tooltip@0.76.0(transitive)
- Removed@nivo/arcs@0.75.0(transitive)
- Removed@nivo/colors@0.75.0(transitive)
- Removed@nivo/core@0.75.0(transitive)
- Removed@nivo/legends@0.75.0(transitive)
- Removed@nivo/recompose@0.75.0(transitive)
- Removed@nivo/tooltip@0.75.0(transitive)
Updated@nivo/arcs@0.76.0
Updated@nivo/colors@0.76.0
Updated@nivo/legends@0.76.0
Updated@nivo/tooltip@0.76.0