victory-box-plot 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/dist/victory-box-plot.js +611 -526
- package/dist/victory-box-plot.min.js +1 -1
- package/es/victory-box-plot.js +2 -2
- package/lib/victory-box-plot.js +2 -4
- package/package.json +4 -4
- package/src/victory-box-plot.js +4 -6
package/es/victory-box-plot.js
CHANGED
|
@@ -173,8 +173,8 @@ var VictoryBoxPlot = /*#__PURE__*/function (_React$Component) {
|
|
|
173
173
|
}
|
|
174
174
|
|
|
175
175
|
var children = this.renderBoxPlot(props);
|
|
176
|
-
var
|
|
177
|
-
return
|
|
176
|
+
var component = props.standalone ? this.renderContainer(props.containerComponent, children) : children;
|
|
177
|
+
return UserProps.withSafeUserProps(component, props);
|
|
178
178
|
}
|
|
179
179
|
}]);
|
|
180
180
|
|
package/lib/victory-box-plot.js
CHANGED
|
@@ -185,10 +185,8 @@ var VictoryBoxPlot = /*#__PURE__*/function (_React$Component) {
|
|
|
185
185
|
}
|
|
186
186
|
|
|
187
187
|
var children = this.renderBoxPlot(props);
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
return props.standalone ? this.renderContainer(container, children) : children;
|
|
188
|
+
var component = props.standalone ? this.renderContainer(props.containerComponent, children) : children;
|
|
189
|
+
return _victoryCore.UserProps.withSafeUserProps(component, props);
|
|
192
190
|
}
|
|
193
191
|
}]);
|
|
194
192
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "victory-box-plot",
|
|
3
|
-
"version": "36.4.
|
|
3
|
+
"version": "36.4.1",
|
|
4
4
|
"description": "Box Plot Component for Victory",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"data visualization",
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
"license": "MIT",
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"lodash": "^4.17.19",
|
|
23
|
-
"prop-types": "^15.
|
|
24
|
-
"victory-core": "^36.4.
|
|
23
|
+
"prop-types": "^15.8.1",
|
|
24
|
+
"victory-core": "^36.4.1",
|
|
25
25
|
"victory-vendor": "^36.4.0"
|
|
26
26
|
},
|
|
27
27
|
"peerDependencies": {
|
|
@@ -31,5 +31,5 @@
|
|
|
31
31
|
"version": "yarn run nps build-libs && nps build-dists"
|
|
32
32
|
},
|
|
33
33
|
"sideEffects": false,
|
|
34
|
-
"gitHead": "
|
|
34
|
+
"gitHead": "aa44a22e5a93989773a560f765f83ac151f44c46"
|
|
35
35
|
}
|
package/src/victory-box-plot.js
CHANGED
|
@@ -309,13 +309,11 @@ class VictoryBoxPlot extends React.Component {
|
|
|
309
309
|
}
|
|
310
310
|
|
|
311
311
|
const children = this.renderBoxPlot(props);
|
|
312
|
-
const
|
|
313
|
-
props.containerComponent,
|
|
314
|
-
UserProps.getSafeUserProps(props)
|
|
315
|
-
);
|
|
316
|
-
return props.standalone
|
|
317
|
-
? this.renderContainer(container, children)
|
|
312
|
+
const component = props.standalone
|
|
313
|
+
? this.renderContainer(props.containerComponent, children)
|
|
318
314
|
: children;
|
|
315
|
+
|
|
316
|
+
return UserProps.withSafeUserProps(component, props);
|
|
319
317
|
}
|
|
320
318
|
}
|
|
321
319
|
|