Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

victory-voronoi

Package Overview
Dependencies
Maintainers
17
Versions
148
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

victory-voronoi - npm Package Compare versions

Comparing version 37.3.2 to 37.3.3

6

CHANGELOG.md
# victory-voronoi
## 37.3.3
### Patch Changes
- Remove deprecated babel-plugin-lodash plugin ([#2965](https://github.com/FormidableLabs/victory/pull/2965))
## 37.3.2

@@ -4,0 +10,0 @@

14

es/victory-voronoi.d.ts
import React from "react";
import { Data, Domain, EventPropTypeInterface, EventsMixinClass, VictoryCommonProps, VictoryDatableProps, VictoryLabelableProps, VictoryMultiLabelableProps, VictoryStyleInterface } from "victory-core";
export declare type VictoryVoronoiSortOrderType = "ascending" | "descending";
export type VictoryVoronoiSortOrderType = "ascending" | "descending";
export interface VictoryVoronoiProps extends Omit<VictoryCommonProps, "polar">, VictoryDatableProps, VictoryLabelableProps, VictoryMultiLabelableProps {

@@ -54,5 +54,5 @@ events?: EventPropTypeInterface<string, string | number | (string | number)[]>[];

renderContainer(component: any, children: any): React.DetailedReactHTMLElement<any, HTMLElement>;
animateComponent(props: import("victory-core").EventMixinCommonProps, defaultAnimationWhitelist: string[]): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
animateComponent(props: import("victory-core").EventMixinCommonProps, defaultAnimationWhitelist: string[]): React.ReactElement;
renderContinuousData(props: import("victory-core").EventMixinCommonProps): React.DetailedReactHTMLElement<any, HTMLElement>;
renderData(props: any, shouldRenderDatum?: ((datum: any) => boolean) | undefined): React.DetailedReactHTMLElement<any, HTMLElement>;
renderData(props: any, shouldRenderDatum?: (datum: any) => boolean): React.DetailedReactHTMLElement<any, HTMLElement>;
context: unknown;

@@ -74,3 +74,3 @@ setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<import("victory-core").EventMixinCommonProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;

UNSAFE_componentWillUpdate?(nextProps: Readonly<import("victory-core").EventMixinCommonProps>, nextState: Readonly<{}>, nextContext: any): void;
componentEvents: import("@/victory-core/lib/victory-util/events").ComponentEvent[];
componentEvents: Array<import("@/victory-core/lib/victory-util/events").ComponentEvent>;
getSharedEventState: (key: string, value: string) => unknown;

@@ -82,6 +82,6 @@ baseProps: Record<string, object>;

};
getBaseProps?(props: import("victory-core").EventMixinCommonProps): Record<string, object>;
role?: string | undefined;
getBaseProps?(props: import("victory-core").EventMixinCommonProps): import("victory-core").EventMixinCalculatedValues["baseProps"];
role?: import("victory-core").VictoryComponentRole;
expectedComponents?: string[] | undefined;
getChildren?: ((props: import("victory-core").EventMixinCommonProps, childComponents?: React.ReactNode[] | undefined, calculatedProps?: import("victory-core").EventMixinCommonProps | undefined) => void) | undefined;
getChildren?: ((props: import("victory-core").EventMixinCommonProps, childComponents?: Array<React.ReactNode>, calculatedProps?: import("victory-core").EventMixinCommonProps | undefined) => void) | undefined;
animationWhitelist?: string[] | undefined;

@@ -88,0 +88,0 @@ } & typeof VictoryVoronoiBase;

@@ -15,3 +15,3 @@ import React from "react";

}
export declare const Voronoi: (initialProps: VoronoiProps) => React.FunctionComponentElement<any>;
export declare const Voronoi: (initialProps: VoronoiProps) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
//# sourceMappingURL=voronoi.d.ts.map

@@ -1,3 +0,3 @@

import _defaults from "lodash/defaults";
import React from "react";
import defaults from "lodash/defaults";
import { Helpers, ClipPath, Path, Circle, UserProps } from "victory-core";

@@ -41,3 +41,3 @@ const getVoronoiPath = props => {

export const Voronoi = initialProps => {
const props = evaluateProps(_defaults({}, initialProps, defaultProps));
const props = evaluateProps(defaults({}, initialProps, defaultProps));
const {

@@ -44,0 +44,0 @@ ariaLabel,

import React from "react";
import { Data, Domain, EventPropTypeInterface, EventsMixinClass, VictoryCommonProps, VictoryDatableProps, VictoryLabelableProps, VictoryMultiLabelableProps, VictoryStyleInterface } from "victory-core";
export declare type VictoryVoronoiSortOrderType = "ascending" | "descending";
export type VictoryVoronoiSortOrderType = "ascending" | "descending";
export interface VictoryVoronoiProps extends Omit<VictoryCommonProps, "polar">, VictoryDatableProps, VictoryLabelableProps, VictoryMultiLabelableProps {

@@ -54,5 +54,5 @@ events?: EventPropTypeInterface<string, string | number | (string | number)[]>[];

renderContainer(component: any, children: any): React.DetailedReactHTMLElement<any, HTMLElement>;
animateComponent(props: import("victory-core").EventMixinCommonProps, defaultAnimationWhitelist: string[]): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
animateComponent(props: import("victory-core").EventMixinCommonProps, defaultAnimationWhitelist: string[]): React.ReactElement;
renderContinuousData(props: import("victory-core").EventMixinCommonProps): React.DetailedReactHTMLElement<any, HTMLElement>;
renderData(props: any, shouldRenderDatum?: ((datum: any) => boolean) | undefined): React.DetailedReactHTMLElement<any, HTMLElement>;
renderData(props: any, shouldRenderDatum?: (datum: any) => boolean): React.DetailedReactHTMLElement<any, HTMLElement>;
context: unknown;

@@ -74,3 +74,3 @@ setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<import("victory-core").EventMixinCommonProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;

UNSAFE_componentWillUpdate?(nextProps: Readonly<import("victory-core").EventMixinCommonProps>, nextState: Readonly<{}>, nextContext: any): void;
componentEvents: import("@/victory-core/lib/victory-util/events").ComponentEvent[];
componentEvents: Array<import("@/victory-core/lib/victory-util/events").ComponentEvent>;
getSharedEventState: (key: string, value: string) => unknown;

@@ -82,6 +82,6 @@ baseProps: Record<string, object>;

};
getBaseProps?(props: import("victory-core").EventMixinCommonProps): Record<string, object>;
role?: string | undefined;
getBaseProps?(props: import("victory-core").EventMixinCommonProps): import("victory-core").EventMixinCalculatedValues["baseProps"];
role?: import("victory-core").VictoryComponentRole;
expectedComponents?: string[] | undefined;
getChildren?: ((props: import("victory-core").EventMixinCommonProps, childComponents?: React.ReactNode[] | undefined, calculatedProps?: import("victory-core").EventMixinCommonProps | undefined) => void) | undefined;
getChildren?: ((props: import("victory-core").EventMixinCommonProps, childComponents?: Array<React.ReactNode>, calculatedProps?: import("victory-core").EventMixinCommonProps | undefined) => void) | undefined;
animationWhitelist?: string[] | undefined;

@@ -88,0 +88,0 @@ } & typeof VictoryVoronoiBase;

@@ -15,3 +15,3 @@ import React from "react";

}
export declare const Voronoi: (initialProps: VoronoiProps) => React.FunctionComponentElement<any>;
export declare const Voronoi: (initialProps: VoronoiProps) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
//# sourceMappingURL=voronoi.d.ts.map

@@ -7,4 +7,4 @@ "use strict";

exports.Voronoi = void 0;
var _defaults2 = _interopRequireDefault(require("lodash/defaults"));
var _react = _interopRequireDefault(require("react"));
var _defaults = _interopRequireDefault(require("lodash/defaults"));
var _victoryCore = require("victory-core");

@@ -49,3 +49,3 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

const Voronoi = initialProps => {
const props = evaluateProps((0, _defaults2.default)({}, initialProps, defaultProps));
const props = evaluateProps((0, _defaults.default)({}, initialProps, defaultProps));
const {

@@ -52,0 +52,0 @@ ariaLabel,

{
"name": "victory-voronoi",
"version": "37.3.2",
"version": "37.3.3",
"description": "Voronoi Component for Victory",

@@ -25,3 +25,3 @@ "keywords": [

"lodash": "^4.17.19",
"victory-core": "37.3.2"
"victory-core": "37.3.3"
},

@@ -184,28 +184,2 @@ "peerDependencies": {

},
"format": {
"command": "nps format:pkg",
"files": [
"src/**",
"*.json",
"../../.prettierignore",
"../../.prettierrc.json"
],
"output": [],
"packageLocks": [
"pnpm-lock.yaml"
]
},
"format:fix": {
"command": "pnpm run format || nps format:pkg:fix",
"files": [
"src/**",
"*.json",
"../../.prettierignore",
"../../.prettierrc.json"
],
"output": [],
"packageLocks": [
"pnpm-lock.yaml"
]
},
"lint": {

@@ -270,4 +244,2 @@ "command": "eslint src",

"types:create": "wireit",
"format": "wireit",
"format:fix": "wireit",
"lint": "wireit",

@@ -274,0 +246,0 @@ "lint:fix": "wireit",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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