victory-scatter
Advanced tools
Comparing version 36.8.2 to 36.8.3
# victory-scatter | ||
## 36.8.3 | ||
## 36.8.2 | ||
@@ -4,0 +6,0 @@ |
export declare const getSymbol: (data: any, props: any) => any; | ||
export declare const getBubbleSize: (datum: any, props: any) => number; | ||
export declare const getSize: (datum: any, props: any) => any; | ||
export declare const getBaseProps: (props: any, fallbackProps: any) => any; | ||
export declare const getBaseProps: (initialProps: any, fallbackProps: any) => any; | ||
//# sourceMappingURL=helper-methods.d.ts.map |
@@ -99,23 +99,24 @@ import _isNil from "lodash/isNil"; | ||
export var getBaseProps = function (props, fallbackProps) { | ||
var modifiedProps = Helpers.modifyProps(props, fallbackProps, "scatter"); | ||
props = _assign({}, modifiedProps, getCalculatedValues(modifiedProps)); | ||
var _props = props, | ||
data = _props.data, | ||
domain = _props.domain, | ||
events = _props.events, | ||
height = _props.height, | ||
origin = _props.origin, | ||
padding = _props.padding, | ||
polar = _props.polar, | ||
scale = _props.scale, | ||
name = _props.name, | ||
sharedEvents = _props.sharedEvents, | ||
standalone = _props.standalone, | ||
style = _props.style, | ||
theme = _props.theme, | ||
width = _props.width, | ||
labels = _props.labels, | ||
horizontal = _props.horizontal, | ||
disableInlineStyles = _props.disableInlineStyles; | ||
export var getBaseProps = function (initialProps, fallbackProps) { | ||
var modifiedProps = Helpers.modifyProps(initialProps, fallbackProps, "scatter"); | ||
var props = _assign({}, modifiedProps, getCalculatedValues(modifiedProps)); | ||
var data = props.data, | ||
domain = props.domain, | ||
events = props.events, | ||
height = props.height, | ||
origin = props.origin, | ||
padding = props.padding, | ||
polar = props.polar, | ||
scale = props.scale, | ||
name = props.name, | ||
sharedEvents = props.sharedEvents, | ||
standalone = props.standalone, | ||
style = props.style, | ||
theme = props.theme, | ||
width = props.width, | ||
labels = props.labels, | ||
horizontal = props.horizontal, | ||
disableInlineStyles = props.disableInlineStyles; | ||
var initialChildProps = { | ||
@@ -122,0 +123,0 @@ parent: { |
@@ -52,2 +52,3 @@ import PropTypes from "prop-types"; | ||
containerComponent?: React.Validator<React.ReactElement<any, string | React.JSXElementConstructor<any>> | null | undefined> | undefined; | ||
disableInlineStyles?: React.Validator<boolean | null | undefined> | undefined; | ||
externalEventMutations?: React.Validator<import("victory-core").EventCallbackInterface<string | string[], import("victory-core").StringOrNumberOrList>[] | null | undefined> | undefined; | ||
@@ -54,0 +55,0 @@ groupComponent?: React.Validator<React.ReactElement<any, string | React.JSXElementConstructor<any>> | null | undefined> | undefined; |
export declare const getSymbol: (data: any, props: any) => any; | ||
export declare const getBubbleSize: (datum: any, props: any) => number; | ||
export declare const getSize: (datum: any, props: any) => any; | ||
export declare const getBaseProps: (props: any, fallbackProps: any) => any; | ||
export declare const getBaseProps: (initialProps: any, fallbackProps: any) => any; | ||
//# sourceMappingURL=helper-methods.d.ts.map |
@@ -123,24 +123,23 @@ "use strict"; | ||
var getBaseProps = function (props, fallbackProps) { | ||
var modifiedProps = _victoryCore.Helpers.modifyProps(props, fallbackProps, "scatter"); | ||
var getBaseProps = function (initialProps, fallbackProps) { | ||
var modifiedProps = _victoryCore.Helpers.modifyProps(initialProps, fallbackProps, "scatter"); | ||
props = (0, _assign2.default)({}, modifiedProps, getCalculatedValues(modifiedProps)); | ||
var _props = props, | ||
data = _props.data, | ||
domain = _props.domain, | ||
events = _props.events, | ||
height = _props.height, | ||
origin = _props.origin, | ||
padding = _props.padding, | ||
polar = _props.polar, | ||
scale = _props.scale, | ||
name = _props.name, | ||
sharedEvents = _props.sharedEvents, | ||
standalone = _props.standalone, | ||
style = _props.style, | ||
theme = _props.theme, | ||
width = _props.width, | ||
labels = _props.labels, | ||
horizontal = _props.horizontal, | ||
disableInlineStyles = _props.disableInlineStyles; | ||
var props = (0, _assign2.default)({}, modifiedProps, getCalculatedValues(modifiedProps)); | ||
var data = props.data, | ||
domain = props.domain, | ||
events = props.events, | ||
height = props.height, | ||
origin = props.origin, | ||
padding = props.padding, | ||
polar = props.polar, | ||
scale = props.scale, | ||
name = props.name, | ||
sharedEvents = props.sharedEvents, | ||
standalone = props.standalone, | ||
style = props.style, | ||
theme = props.theme, | ||
width = props.width, | ||
labels = props.labels, | ||
horizontal = props.horizontal, | ||
disableInlineStyles = props.disableInlineStyles; | ||
var initialChildProps = { | ||
@@ -147,0 +146,0 @@ parent: { |
@@ -52,2 +52,3 @@ import PropTypes from "prop-types"; | ||
containerComponent?: React.Validator<React.ReactElement<any, string | React.JSXElementConstructor<any>> | null | undefined> | undefined; | ||
disableInlineStyles?: React.Validator<boolean | null | undefined> | undefined; | ||
externalEventMutations?: React.Validator<import("victory-core").EventCallbackInterface<string | string[], import("victory-core").StringOrNumberOrList>[] | null | undefined> | undefined; | ||
@@ -54,0 +55,0 @@ groupComponent?: React.Validator<React.ReactElement<any, string | React.JSXElementConstructor<any>> | null | undefined> | undefined; |
{ | ||
"name": "victory-scatter", | ||
"version": "36.8.2", | ||
"version": "36.8.3", | ||
"description": "Scatter Component for Victory", | ||
@@ -25,3 +25,3 @@ "keywords": [ | ||
"prop-types": "^15.8.1", | ||
"victory-core": "^36.8.2" | ||
"victory-core": "^36.8.3" | ||
}, | ||
@@ -28,0 +28,0 @@ "peerDependencies": { |
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
1227322
20186
Updatedvictory-core@^36.8.3