victory-area 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-area.js +643 -556
- package/dist/victory-area.min.js +1 -1
- package/es/victory-area.js +2 -2
- package/lib/victory-area.js +2 -4
- package/package.json +4 -4
- package/src/victory-area.js +4 -6
package/es/victory-area.js
CHANGED
|
@@ -76,8 +76,8 @@ var VictoryArea = /*#__PURE__*/function (_React$Component) {
|
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
var children = this.renderContinuousData(props);
|
|
79
|
-
var
|
|
80
|
-
return
|
|
79
|
+
var component = props.standalone ? this.renderContainer(props.containerComponent, children) : children;
|
|
80
|
+
return UserProps.withSafeUserProps(component, props);
|
|
81
81
|
}
|
|
82
82
|
}]);
|
|
83
83
|
|
package/lib/victory-area.js
CHANGED
|
@@ -91,10 +91,8 @@ var VictoryArea = /*#__PURE__*/function (_React$Component) {
|
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
var children = this.renderContinuousData(props);
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
return props.standalone ? this.renderContainer(container, children) : children;
|
|
94
|
+
var component = props.standalone ? this.renderContainer(props.containerComponent, children) : children;
|
|
95
|
+
return _victoryCore.UserProps.withSafeUserProps(component, props);
|
|
98
96
|
}
|
|
99
97
|
}]);
|
|
100
98
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "victory-area",
|
|
3
|
-
"version": "36.4.
|
|
3
|
+
"version": "36.4.1",
|
|
4
4
|
"description": "Area 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-area.js
CHANGED
|
@@ -108,13 +108,11 @@ class VictoryArea extends React.Component {
|
|
|
108
108
|
}
|
|
109
109
|
|
|
110
110
|
const children = this.renderContinuousData(props);
|
|
111
|
-
const
|
|
112
|
-
props.containerComponent,
|
|
113
|
-
UserProps.getSafeUserProps(props)
|
|
114
|
-
);
|
|
115
|
-
return props.standalone
|
|
116
|
-
? this.renderContainer(container, children)
|
|
111
|
+
const component = props.standalone
|
|
112
|
+
? this.renderContainer(props.containerComponent, children)
|
|
117
113
|
: children;
|
|
114
|
+
|
|
115
|
+
return UserProps.withSafeUserProps(component, props);
|
|
118
116
|
}
|
|
119
117
|
}
|
|
120
118
|
|