victory-errorbar 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-errorbar.js +539 -454
- package/dist/victory-errorbar.min.js +1 -1
- package/es/victory-errorbar.js +2 -2
- package/lib/victory-errorbar.js +2 -4
- package/package.json +4 -4
- package/src/victory-errorbar.js +5 -6
package/es/victory-errorbar.js
CHANGED
|
@@ -85,8 +85,8 @@ var VictoryErrorBar = /*#__PURE__*/function (_React$Component) {
|
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
var children = this.renderData(props);
|
|
88
|
-
var
|
|
89
|
-
return
|
|
88
|
+
var component = props.standalone ? this.renderContainer(props.containerComponent, children) : children;
|
|
89
|
+
return UserProps.withSafeUserProps(component, props);
|
|
90
90
|
}
|
|
91
91
|
}]);
|
|
92
92
|
|
package/lib/victory-errorbar.js
CHANGED
|
@@ -100,10 +100,8 @@ var VictoryErrorBar = /*#__PURE__*/function (_React$Component) {
|
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
var children = this.renderData(props);
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
return props.standalone ? this.renderContainer(container, children) : children;
|
|
103
|
+
var component = props.standalone ? this.renderContainer(props.containerComponent, children) : children;
|
|
104
|
+
return _victoryCore.UserProps.withSafeUserProps(component, props);
|
|
107
105
|
}
|
|
108
106
|
}]);
|
|
109
107
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "victory-errorbar",
|
|
3
|
-
"version": "36.4.
|
|
3
|
+
"version": "36.4.1",
|
|
4
4
|
"description": "Error Bar 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
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
27
|
"react": "^16.6.0 || ^17.0.0"
|
|
@@ -30,5 +30,5 @@
|
|
|
30
30
|
"version": "yarn run nps build-libs && nps build-dists"
|
|
31
31
|
},
|
|
32
32
|
"sideEffects": false,
|
|
33
|
-
"gitHead": "
|
|
33
|
+
"gitHead": "aa44a22e5a93989773a560f765f83ac151f44c46"
|
|
34
34
|
}
|
package/src/victory-errorbar.js
CHANGED
|
@@ -106,13 +106,12 @@ class VictoryErrorBar extends React.Component {
|
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
const children = this.renderData(props);
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
);
|
|
113
|
-
return props.standalone
|
|
114
|
-
? this.renderContainer(container, children)
|
|
109
|
+
|
|
110
|
+
const component = props.standalone
|
|
111
|
+
? this.renderContainer(props.containerComponent, children)
|
|
115
112
|
: children;
|
|
113
|
+
|
|
114
|
+
return UserProps.withSafeUserProps(component, props);
|
|
116
115
|
}
|
|
117
116
|
}
|
|
118
117
|
|