victory-voronoi
Advanced tools
Comparing version 36.5.0 to 36.5.1
@@ -158,2 +158,3 @@ import _isNil from "lodash/isNil"; | ||
}, initialChildProps); | ||
}; | ||
}; | ||
//# sourceMappingURL=helper-methods.js.map |
@@ -10,3 +10,3 @@ import * as React from "react"; | ||
VictoryMultiLabelableProps, | ||
VictoryStyleInterface | ||
VictoryStyleInterface, | ||
} from "victory-core"; | ||
@@ -13,0 +13,0 @@ |
export { default as VictoryVoronoi } from "./victory-voronoi"; | ||
export { default as Voronoi } from "./voronoi"; | ||
export { default as Voronoi } from "./voronoi"; | ||
//# sourceMappingURL=index.js.map |
@@ -101,2 +101,3 @@ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } | ||
VictoryVoronoi.expectedComponents = ["dataComponent", "labelComponent", "groupComponent", "containerComponent"]; | ||
export default addEvents(VictoryVoronoi); | ||
export default addEvents(VictoryVoronoi); | ||
//# sourceMappingURL=victory-voronoi.js.map |
@@ -111,2 +111,3 @@ import _assign from "lodash/assign"; | ||
}; | ||
export default Voronoi; | ||
export default Voronoi; | ||
//# sourceMappingURL=voronoi.js.map |
@@ -180,2 +180,3 @@ "use strict"; | ||
exports.getBaseProps = getBaseProps; | ||
exports.getBaseProps = getBaseProps; | ||
//# sourceMappingURL=helper-methods.js.map |
@@ -10,3 +10,3 @@ import * as React from "react"; | ||
VictoryMultiLabelableProps, | ||
VictoryStyleInterface | ||
VictoryStyleInterface, | ||
} from "victory-core"; | ||
@@ -13,0 +13,0 @@ |
@@ -23,2 +23,3 @@ "use strict"; | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
//# sourceMappingURL=index.js.map |
@@ -118,2 +118,3 @@ "use strict"; | ||
exports.default = _default; | ||
exports.default = _default; | ||
//# sourceMappingURL=victory-voronoi.js.map |
@@ -129,2 +129,3 @@ "use strict"; | ||
var _default = Voronoi; | ||
exports.default = _default; | ||
exports.default = _default; | ||
//# sourceMappingURL=voronoi.js.map |
{ | ||
"name": "victory-voronoi", | ||
"version": "36.5.0", | ||
"version": "36.5.1", | ||
"description": "Voronoi Component for Victory", | ||
@@ -25,3 +25,3 @@ "keywords": [ | ||
"prop-types": "^15.8.1", | ||
"victory-core": "^36.5.0" | ||
"victory-core": "^36.5.1" | ||
}, | ||
@@ -35,3 +35,3 @@ "peerDependencies": { | ||
"sideEffects": false, | ||
"gitHead": "7cecba921f751c3decc8215f7e866f51d11203c1" | ||
"gitHead": "fbe60407533cd7a6da4f8155d2ef8e189583c5a2" | ||
} |
@@ -40,7 +40,7 @@ import { assign, without, isNil } from "lodash"; | ||
x: Helpers.getRange(props, "x"), | ||
y: Helpers.getRange(props, "y") | ||
y: Helpers.getRange(props, "y"), | ||
}; | ||
const domain = { | ||
x: Domain.getDomain(props, "x"), | ||
y: Domain.getDomain(props, "y") | ||
y: Domain.getDomain(props, "y"), | ||
}; | ||
@@ -53,3 +53,3 @@ const scale = { | ||
.domain(domain.y) | ||
.range(props.horizontal ? range.x : range.y) | ||
.range(props.horizontal ? range.x : range.y), | ||
}; | ||
@@ -99,3 +99,3 @@ | ||
labels, | ||
name | ||
name, | ||
} = props; | ||
@@ -115,4 +115,4 @@ const initialChildProps = { | ||
padding, | ||
name | ||
} | ||
name, | ||
}, | ||
}; | ||
@@ -134,3 +134,3 @@ | ||
size: props.size, | ||
style: style.data | ||
style: style.data, | ||
}; | ||
@@ -137,0 +137,0 @@ |
@@ -10,3 +10,3 @@ import * as React from "react"; | ||
VictoryMultiLabelableProps, | ||
VictoryStyleInterface | ||
VictoryStyleInterface, | ||
} from "victory-core"; | ||
@@ -13,0 +13,0 @@ |
@@ -13,3 +13,3 @@ import React from "react"; | ||
CommonProps, | ||
UserProps | ||
UserProps, | ||
} from "victory-core"; | ||
@@ -22,3 +22,3 @@ import Voronoi from "./voronoi"; | ||
height: 300, | ||
padding: 50 | ||
padding: 50, | ||
}; | ||
@@ -35,3 +35,3 @@ | ||
"style", | ||
"width" | ||
"width", | ||
]; | ||
@@ -46,3 +46,3 @@ | ||
...CommonProps.dataProps, | ||
size: CustomPropTypes.nonNegative | ||
size: CustomPropTypes.nonNegative, | ||
}; | ||
@@ -58,3 +58,3 @@ | ||
standalone: true, | ||
theme: VictoryTheme.grayscale | ||
theme: VictoryTheme.grayscale, | ||
}; | ||
@@ -69,3 +69,3 @@ | ||
"groupComponent", | ||
"containerComponent" | ||
"containerComponent", | ||
]; | ||
@@ -72,0 +72,0 @@ |
@@ -11,3 +11,3 @@ /*eslint no-magic-numbers: ["error", { "ignore": [2] }]*/ | ||
Circle, | ||
UserProps | ||
UserProps, | ||
} from "victory-core"; | ||
@@ -51,3 +51,3 @@ | ||
size, | ||
tabIndex | ||
tabIndex, | ||
} = props; | ||
@@ -63,3 +63,3 @@ const voronoiPath = getVoronoiPath(props); | ||
transform, | ||
...events | ||
...events, | ||
}; | ||
@@ -75,3 +75,3 @@ const userProps = UserProps.getSafeUserProps(props); | ||
cy: props.y, | ||
r: size | ||
r: size, | ||
}); | ||
@@ -82,3 +82,3 @@ | ||
{ key: `${props.id}-voronoi-clip`, clipId: props.clipId }, | ||
React.cloneElement(props.pathComponent, { d: voronoiPath, className }) | ||
React.cloneElement(props.pathComponent, { d: voronoiPath, className }), | ||
); | ||
@@ -88,3 +88,3 @@ | ||
voronoiClipPath, | ||
circle | ||
circle, | ||
]); | ||
@@ -96,3 +96,3 @@ } | ||
...userProps, | ||
d: voronoiPath | ||
d: voronoiPath, | ||
}); | ||
@@ -112,3 +112,3 @@ }; | ||
x: PropTypes.number, | ||
y: PropTypes.number | ||
y: PropTypes.number, | ||
}; | ||
@@ -122,5 +122,5 @@ | ||
role: "presentation", | ||
shapeRendering: "auto" | ||
shapeRendering: "auto", | ||
}; | ||
export default Voronoi; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
1132609
20165
3
Updatedvictory-core@^36.5.1