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.84.0 to 0.85.0

4

dist/types/hooks.d.ts

@@ -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

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