victory-histogram 36.4.0 → 36.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/es/victory-histogram.js
CHANGED
|
@@ -64,8 +64,8 @@ export var VictoryHistogram = /*#__PURE__*/function (_React$Component) {
|
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
var children = this.renderData(props);
|
|
67
|
-
var
|
|
68
|
-
return
|
|
67
|
+
var component = props.standalone ? this.renderContainer(props.containerComponent, children) : children;
|
|
68
|
+
return UserProps.withSafeUserProps(component, props);
|
|
69
69
|
}
|
|
70
70
|
}]);
|
|
71
71
|
|
package/lib/victory-histogram.js
CHANGED
|
@@ -80,10 +80,8 @@ var VictoryHistogram = /*#__PURE__*/function (_React$Component) {
|
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
var children = this.renderData(props);
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
return props.standalone ? this.renderContainer(container, children) : children;
|
|
83
|
+
var component = props.standalone ? this.renderContainer(props.containerComponent, children) : children;
|
|
84
|
+
return _victoryCore.UserProps.withSafeUserProps(component, props);
|
|
87
85
|
}
|
|
88
86
|
}]);
|
|
89
87
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "victory-histogram",
|
|
3
|
-
"version": "36.4.
|
|
3
|
+
"version": "36.4.1",
|
|
4
4
|
"description": "Histogram Component for Victory",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"data visualization",
|
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
"license": "MIT",
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"lodash": "^4.17.19",
|
|
23
|
-
"prop-types": "^15.
|
|
24
|
-
"react-fast-compare": "^2.0
|
|
25
|
-
"victory-bar": "^36.4.
|
|
26
|
-
"victory-core": "^36.4.
|
|
23
|
+
"prop-types": "^15.8.1",
|
|
24
|
+
"react-fast-compare": "^3.2.0",
|
|
25
|
+
"victory-bar": "^36.4.1",
|
|
26
|
+
"victory-core": "^36.4.1",
|
|
27
27
|
"victory-vendor": "^36.4.0"
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|
|
@@ -33,5 +33,5 @@
|
|
|
33
33
|
"version": "yarn run nps build-libs && nps build-dists"
|
|
34
34
|
},
|
|
35
35
|
"sideEffects": false,
|
|
36
|
-
"gitHead": "
|
|
36
|
+
"gitHead": "aa44a22e5a93989773a560f765f83ac151f44c46"
|
|
37
37
|
}
|
package/src/victory-histogram.js
CHANGED
|
@@ -122,14 +122,11 @@ export class VictoryHistogram extends React.Component {
|
|
|
122
122
|
|
|
123
123
|
const children = this.renderData(props);
|
|
124
124
|
|
|
125
|
-
const
|
|
126
|
-
props.containerComponent,
|
|
127
|
-
UserProps.getSafeUserProps(this.props)
|
|
128
|
-
);
|
|
129
|
-
|
|
130
|
-
return props.standalone
|
|
131
|
-
? this.renderContainer(container, children)
|
|
125
|
+
const component = props.standalone
|
|
126
|
+
? this.renderContainer(props.containerComponent, children)
|
|
132
127
|
: children;
|
|
128
|
+
|
|
129
|
+
return UserProps.withSafeUserProps(component, props);
|
|
133
130
|
}
|
|
134
131
|
}
|
|
135
132
|
|