Socket
Socket
Sign inDemoInstall

@nivo/pie

Package Overview
Dependencies
Maintainers
2
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nivo/pie - npm Package Compare versions

Comparing version 0.75.0 to 0.76.0

4

dist/types/hooks.d.ts

@@ -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)
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc