Comparing version 0.0.195 to 0.0.196
@@ -32,2 +32,1 @@ import React from 'react'; | ||
export default function Arc<Datum>({ className, data, innerRadius, outerRadius, cornerRadius, startAngle, endAngle, padAngle, padRadius, children, innerRef, ...restProps }: ArcProps<Datum> & Omit<React.SVGProps<SVGPathElement>, keyof ArcProps<Datum>>): JSX.Element | null; | ||
//# sourceMappingURL=Arc.d.ts.map |
@@ -34,2 +34,1 @@ import React from 'react'; | ||
export {}; | ||
//# sourceMappingURL=Area.d.ts.map |
@@ -8,2 +8,1 @@ import React from 'react'; | ||
export default function AreaClosed<Datum>({ x, x0, x1, y, y1, y0, yScale, data, defined, className, curve, innerRef, children, ...restProps }: AreaClosedProps<Datum> & Omit<React.SVGProps<SVGPathElement>, keyof AreaClosedProps<Datum>>): JSX.Element; | ||
//# sourceMappingURL=AreaClosed.d.ts.map |
@@ -8,2 +8,1 @@ import React from 'react'; | ||
export {}; | ||
//# sourceMappingURL=AreaStack.d.ts.map |
@@ -9,2 +9,1 @@ import React from 'react'; | ||
export default function Bar({ className, innerRef, ...restProps }: BarProps & Omit<React.SVGProps<SVGRectElement>, keyof BarProps>): JSX.Element; | ||
//# sourceMappingURL=Bar.d.ts.map |
@@ -70,2 +70,1 @@ import React from 'react'; | ||
}, Key extends GroupKey = GroupKey>({ data, className, top, left, x0, x0Scale, x1Scale, yScale, color, keys, height, children, ...restProps }: BarGroupProps<Datum, Key> & Omit<React.SVGProps<SVGRectElement>, keyof BarGroupProps<Datum, Key>>): JSX.Element; | ||
//# sourceMappingURL=BarGroup.d.ts.map |
@@ -25,2 +25,1 @@ import React from 'react'; | ||
export {}; | ||
//# sourceMappingURL=BarGroupHorizontal.d.ts.map |
@@ -25,2 +25,1 @@ import React from 'react'; | ||
export {}; | ||
//# sourceMappingURL=BarStack.d.ts.map |
@@ -16,2 +16,1 @@ import React from 'react'; | ||
export {}; | ||
//# sourceMappingURL=BarStackHorizontal.d.ts.map |
@@ -9,2 +9,1 @@ import React from 'react'; | ||
export default function Circle({ className, innerRef, ...restProps }: CircleProps & Omit<React.SVGProps<SVGCircleElement>, keyof CircleProps>): JSX.Element; | ||
//# sourceMappingURL=Circle.d.ts.map |
@@ -20,2 +20,1 @@ import React from 'react'; | ||
export {}; | ||
//# sourceMappingURL=Line.d.ts.map |
import React from 'react'; | ||
import { Line as LineType, CurveFactory } from 'd3-shape'; | ||
import { Line as LineType, CurveFactory, CurveFactoryLineOnly } from 'd3-shape'; | ||
export declare type LinePathProps<Datum> = { | ||
@@ -7,3 +7,3 @@ /** Array of data for which to generate a line shape. */ | ||
/** Sets the curve factory (from @vx/curve or d3-curve) for the area generator. Defaults to curveLinear. */ | ||
curve?: CurveFactory; | ||
curve?: CurveFactory | CurveFactoryLineOnly; | ||
/** React RefObject passed to the path element. */ | ||
@@ -27,2 +27,1 @@ innerRef?: React.Ref<SVGPathElement>; | ||
export default function LinePath<Datum>({ children, data, x, y, fill, className, curve, innerRef, defined, ...restProps }: LinePathProps<Datum> & Omit<React.SVGProps<SVGPathElement>, keyof LinePathProps<Datum>>): JSX.Element; | ||
//# sourceMappingURL=LinePath.d.ts.map |
@@ -16,2 +16,1 @@ import React from 'react'; | ||
export default function LineRadial<Datum>({ className, angle, radius, defined, curve, data, innerRef, children, fill, ...restProps }: LineRadialProps<Datum> & Omit<React.SVGProps<SVGPathElement>, keyof LineRadialProps<Datum>>): JSX.Element; | ||
//# sourceMappingURL=LineRadial.d.ts.map |
@@ -12,2 +12,1 @@ import React from 'react'; | ||
source, target, ...restProps }: LinkHorizontalCurveProps<Link, Node> & Omit<React.SVGProps<SVGPathElement>, keyof LinkHorizontalCurveProps<Link, Node>>): JSX.Element; | ||
//# sourceMappingURL=LinkHorizontalCurve.d.ts.map |
@@ -10,2 +10,1 @@ import React from 'react'; | ||
export default function LinkRadialCurve<Link, Node>({ className, children, data, innerRef, path, percent, x, y, source, target, ...restProps }: LinkRadialCurveProps<Link, Node> & Omit<React.SVGProps<SVGPathElement>, keyof LinkRadialCurveProps<Link, Node>>): JSX.Element; | ||
//# sourceMappingURL=LinkRadialCurve.d.ts.map |
@@ -10,2 +10,1 @@ import React from 'react'; | ||
export default function LinkVerticalCurve<Link, Node>({ className, children, data, innerRef, path, percent, x, y, source, target, ...restProps }: LinkVerticalCurveProps<Link, Node> & Omit<React.SVGProps<SVGPathElement>, keyof LinkVerticalCurveProps<Link, Node>>): JSX.Element; | ||
//# sourceMappingURL=LinkVerticalCurve.d.ts.map |
@@ -8,2 +8,1 @@ import React from 'react'; | ||
source, target, ...restProps }: LinkHorizontalDiagonalProps<Link, Node> & Omit<React.SVGProps<SVGPathElement>, keyof LinkHorizontalDiagonalProps<Link, Node>>): JSX.Element; | ||
//# sourceMappingURL=LinkHorizontal.d.ts.map |
@@ -10,2 +10,1 @@ import React from 'react'; | ||
export {}; | ||
//# sourceMappingURL=LinkRadial.d.ts.map |
@@ -7,2 +7,1 @@ import React from 'react'; | ||
export {}; | ||
//# sourceMappingURL=LinkVertical.d.ts.map |
@@ -8,2 +8,1 @@ import React from 'react'; | ||
source, target, ...restProps }: LinkHorizontalLineProps<Link, Node> & Omit<React.SVGProps<SVGPathElement>, keyof LinkHorizontalLineProps<Link, Node>>): JSX.Element; | ||
//# sourceMappingURL=LinkHorizontalLine.d.ts.map |
@@ -6,2 +6,1 @@ import React from 'react'; | ||
export default function LinkRadialLine<Link, Node>({ className, innerRef, data, path, x, y, source, target, children, ...restProps }: LinkRadialLineProps<Link, Node> & Omit<React.SVGProps<SVGPathElement>, keyof LinkRadialLineProps<Link, Node>>): JSX.Element; | ||
//# sourceMappingURL=LinkRadialLine.d.ts.map |
@@ -6,2 +6,1 @@ import React from 'react'; | ||
export default function LinkVerticalLine<Link, Node>({ className, innerRef, data, path, x, y, source, target, children, ...restProps }: LinkVerticalLineProps<Link, Node> & Omit<React.SVGProps<SVGPathElement>, keyof LinkVerticalLineProps<Link, Node>>): JSX.Element; | ||
//# sourceMappingURL=LinkVerticalLine.d.ts.map |
@@ -11,2 +11,1 @@ import React from 'react'; | ||
export {}; | ||
//# sourceMappingURL=LinkHorizontalStep.d.ts.map |
@@ -9,2 +9,1 @@ import React from 'react'; | ||
export {}; | ||
//# sourceMappingURL=LinkRadialStep.d.ts.map |
@@ -11,2 +11,1 @@ import React from 'react'; | ||
export {}; | ||
//# sourceMappingURL=LinkVerticalStep.d.ts.map |
import React from 'react'; | ||
import { Arc as ArcType, PieArcDatum, Pie as PieType } from 'd3-shape'; | ||
import { Arc as ArcType, PieArcDatum as PieArcDatumType, Pie as PieType } from 'd3-shape'; | ||
import { NumberAccessor as NumAccessor } from '../util/setNumberOrNumberAccessor'; | ||
import { $TSFIXME } from '../types'; | ||
export declare type PieArcDatum<Datum> = PieArcDatumType<Datum>; | ||
export declare type ProvidedProps<Datum> = { | ||
path: ArcType<$TSFIXME, PieArcDatum<Datum>>; | ||
arcs: PieArcDatum<Datum>[]; | ||
pie: PieType<$TSFIXME, Datum>; | ||
}; | ||
export declare type PieProps<Datum> = { | ||
@@ -37,9 +43,5 @@ /** className applied to path element. */ | ||
/** Render function override which is passed the configured arc generator as input. */ | ||
children?: (args: { | ||
path: ArcType<$TSFIXME, PieArcDatum<Datum>>; | ||
arcs: PieArcDatum<Datum>[]; | ||
pie: PieType<$TSFIXME, Datum>; | ||
}) => React.ReactNode; | ||
children?: (provided: ProvidedProps<Datum>) => React.ReactNode; | ||
}; | ||
export default function Pie<Datum>({ className, top, left, data, centroid, innerRadius, outerRadius, cornerRadius, startAngle, endAngle, padAngle, padRadius, pieSort, pieSortValues, pieValue, children, ...restProps }: PieProps<Datum> & Omit<React.SVGProps<SVGPathElement>, keyof PieProps<Datum>>): JSX.Element; | ||
//# sourceMappingURL=Pie.d.ts.map |
@@ -34,2 +34,1 @@ import React from 'react'; | ||
export default function Polygon({ sides, size, center, rotate, className, children, innerRef, ...restProps }: PolygonProps & Omit<React.SVGProps<SVGPolygonElement>, keyof PolygonProps>): JSX.Element; | ||
//# sourceMappingURL=Polygon.d.ts.map |
@@ -48,2 +48,1 @@ import React from 'react'; | ||
export default function Stack<Datum, Key = StackKey>({ className, top, left, keys, data, curve, defined, x, x0, x1, y0, y1, value, order, offset, color, children, ...restProps }: StackProps<Datum, Key> & Omit<React.SVGProps<SVGPathElement>, keyof StackProps<Datum, Key>>): JSX.Element; | ||
//# sourceMappingURL=Stack.d.ts.map |
@@ -108,2 +108,1 @@ /// <reference types="react" /> | ||
export {}; | ||
//# sourceMappingURL=types.d.ts.map |
@@ -7,2 +7,1 @@ export declare type NumberAccessor<Datum> = (d: Datum) => number; | ||
export default function setNumberOrNumberAccessor<NumAccessor>(func: (d: number | NumAccessor) => void, value: number | NumAccessor): void; | ||
//# sourceMappingURL=setNumberOrNumberAccessor.d.ts.map |
@@ -11,2 +11,1 @@ import { stackOffsetExpand, stackOffsetDiverging, stackOffsetNone, stackOffsetSilhouette, stackOffsetWiggle } from 'd3-shape'; | ||
export default function stackOffset(offset?: keyof typeof STACK_OFFSETS): typeof stackOffsetExpand; | ||
//# sourceMappingURL=stackOffset.d.ts.map |
@@ -11,2 +11,1 @@ import { stackOrderAscending, stackOrderDescending, stackOrderInsideOut, stackOrderNone, stackOrderReverse } from 'd3-shape'; | ||
export default function stackOrder(order?: keyof typeof STACK_ORDERS): typeof stackOrderAscending; | ||
//# sourceMappingURL=stackOrder.d.ts.map |
export declare const degreesToRadians: (degrees: number) => number; | ||
//# sourceMappingURL=trigonometry.d.ts.map |
{ | ||
"name": "@vx/shape", | ||
"version": "0.0.195", | ||
"version": "0.0.196", | ||
"description": "vx shape", | ||
@@ -31,4 +31,4 @@ "sideEffects": false, | ||
"@types/react": "*", | ||
"@vx/curve": "0.0.195", | ||
"@vx/group": "0.0.195", | ||
"@vx/curve": "0.0.196", | ||
"@vx/group": "0.0.196", | ||
"classnames": "^2.2.5", | ||
@@ -49,3 +49,3 @@ "d3-path": "^1.0.5", | ||
}, | ||
"gitHead": "217be78e66c2ff2920f69ebd0a1d6b50b7edbfd8" | ||
"gitHead": "0b9ff48c735be9a9273f38750120e7fe2fb2caaf" | ||
} |
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
4854
305060
+ Added@vx/curve@0.0.196(transitive)
+ Added@vx/group@0.0.196(transitive)
- Removed@vx/curve@0.0.195(transitive)
- Removed@vx/group@0.0.195(transitive)
Updated@vx/curve@0.0.196
Updated@vx/group@0.0.196