victory-errorbar
Advanced tools
Comparing version 36.8.4 to 36.8.5-next.0
# victory-errorbar | ||
## 36.8.5-next.0 | ||
### Patch Changes | ||
- c8c2eb2f5: Replace instances of lodash.assign with Object.assign | ||
- 0f3abe234: Migrate victory-native to TypeScript | ||
- Updated dependencies [c8c2eb2f5] | ||
- Updated dependencies [0f3abe234] | ||
- victory-core@36.8.5-next.0 | ||
## 36.8.4 | ||
@@ -4,0 +14,0 @@ |
@@ -0,0 +0,0 @@ import React from "react"; |
@@ -1,3 +0,1 @@ | ||
import _assign from "lodash/assign"; | ||
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; } | ||
@@ -94,7 +92,7 @@ | ||
var id = Helpers.evaluateProp(props.id, props); | ||
var style = Helpers.evaluateStyle(_assign({ | ||
var style = Helpers.evaluateStyle(Object.assign({ | ||
stroke: "black" | ||
}, props.style), props); | ||
var tabIndex = Helpers.evaluateProp(props.tabIndex, props); | ||
return _assign({}, props, { | ||
return Object.assign({}, props, { | ||
ariaLabel: ariaLabel, | ||
@@ -101,0 +99,0 @@ id: id, |
@@ -0,0 +0,0 @@ export declare const getData: (props: any) => any; |
@@ -161,5 +161,3 @@ import _isNil from "lodash/isNil"; | ||
var modifiedProps = Helpers.modifyProps(initialProps, fallbackProps, "errorbar"); | ||
var props = _assign({}, modifiedProps, getCalculatedValues(modifiedProps)); | ||
var props = Object.assign({}, modifiedProps, getCalculatedValues(modifiedProps)); | ||
var borderWidth = props.borderWidth, | ||
@@ -234,3 +232,3 @@ data = props.data, | ||
if (text !== undefined && text !== null || labels && (events || sharedEvents)) { | ||
childProps[eventKey].labels = getLabelProps(_assign({}, props, dataProps), text, style); | ||
childProps[eventKey].labels = getLabelProps(Object.assign({}, props, dataProps), text, style); | ||
} | ||
@@ -237,0 +235,0 @@ |
export * from "./victory-errorbar"; | ||
export * from "./error-bar"; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -72,18 +72,3 @@ import PropTypes from "prop-types"; | ||
}; | ||
static defaultProps: { | ||
containerComponent: JSX.Element; | ||
data: { | ||
x: number; | ||
y: number; | ||
errorX: number; | ||
errorY: number; | ||
}[]; | ||
dataComponent: JSX.Element; | ||
labelComponent: JSX.Element; | ||
groupComponent: JSX.Element; | ||
samples: number; | ||
sortOrder: string; | ||
standalone: boolean; | ||
theme: import("victory-core").VictoryThemeDefinition; | ||
}; | ||
static defaultProps: VictoryErrorBarProps; | ||
static getDomain: (props: any, axis: any) => any; | ||
@@ -90,0 +75,0 @@ static getData: (props: any) => any; |
@@ -0,0 +0,0 @@ import React from "react"; |
@@ -8,4 +8,2 @@ "use strict"; | ||
var _assign2 = _interopRequireDefault(require("lodash/assign")); | ||
var _react = _interopRequireDefault(require("react")); | ||
@@ -107,3 +105,3 @@ | ||
var style = _victoryCore.Helpers.evaluateStyle((0, _assign2.default)({ | ||
var style = _victoryCore.Helpers.evaluateStyle(Object.assign({ | ||
stroke: "black" | ||
@@ -114,3 +112,3 @@ }, props.style), props); | ||
return (0, _assign2.default)({}, props, { | ||
return Object.assign({}, props, { | ||
ariaLabel: ariaLabel, | ||
@@ -117,0 +115,0 @@ id: id, |
@@ -0,0 +0,0 @@ export declare const getData: (props: any) => any; |
@@ -186,3 +186,3 @@ "use strict"; | ||
var props = (0, _assign2.default)({}, modifiedProps, getCalculatedValues(modifiedProps)); | ||
var props = Object.assign({}, modifiedProps, getCalculatedValues(modifiedProps)); | ||
var borderWidth = props.borderWidth, | ||
@@ -258,3 +258,3 @@ data = props.data, | ||
if (text !== undefined && text !== null || labels && (events || sharedEvents)) { | ||
childProps[eventKey].labels = getLabelProps((0, _assign2.default)({}, props, dataProps), text, style); | ||
childProps[eventKey].labels = getLabelProps(Object.assign({}, props, dataProps), text, style); | ||
} | ||
@@ -261,0 +261,0 @@ |
export * from "./victory-errorbar"; | ||
export * from "./error-bar"; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -72,18 +72,3 @@ import PropTypes from "prop-types"; | ||
}; | ||
static defaultProps: { | ||
containerComponent: JSX.Element; | ||
data: { | ||
x: number; | ||
y: number; | ||
errorX: number; | ||
errorY: number; | ||
}[]; | ||
dataComponent: JSX.Element; | ||
labelComponent: JSX.Element; | ||
groupComponent: JSX.Element; | ||
samples: number; | ||
sortOrder: string; | ||
standalone: boolean; | ||
theme: import("victory-core").VictoryThemeDefinition; | ||
}; | ||
static defaultProps: VictoryErrorBarProps; | ||
static getDomain: (props: any, axis: any) => any; | ||
@@ -90,0 +75,0 @@ static getData: (props: any) => any; |
{ | ||
"name": "victory-errorbar", | ||
"version": "36.8.4", | ||
"version": "36.8.5-next.0", | ||
"description": "Error Bar Component for Victory", | ||
@@ -25,3 +25,3 @@ "keywords": [ | ||
"prop-types": "^15.8.1", | ||
"victory-core": "^36.8.4" | ||
"victory-core": "^36.8.5-next.0" | ||
}, | ||
@@ -32,6 +32,6 @@ "peerDependencies": { | ||
"devDependencies": { | ||
"victory-errorbar": "*" | ||
"victory-errorbar": "36.8.5-next.0" | ||
}, | ||
"publishConfig": { | ||
"provenance": true | ||
"provenance": false | ||
}, | ||
@@ -38,0 +38,0 @@ "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
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
1239574
20828
2
4
Updatedvictory-core@^36.8.5-next.0