victory-chart 36.6.4 → 36.6.5

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/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # victory-chart
2
2
 
3
+ ## 36.6.5
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`6f4972123`](https://github.com/FormidableLabs/victory/commit/6f49721238332bb5ee879571a45b34a04e44d416)]:
8
+ - victory-core@36.6.5
9
+ - victory-axis@36.6.5
10
+ - victory-polar-axis@36.6.5
11
+ - victory-shared-events@36.6.5
12
+
3
13
  ## 36.6.4
4
14
 
5
15
  ### Patch Changes
@@ -5,7 +5,7 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
5
5
  function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
6
6
 
7
7
  import * as React from "react";
8
- import { withContainer, useDomain, useScale, useData } from "victory-core";
8
+ import { withContainer, useDomain, useScale, useData } from "victory-core/es/v37";
9
9
  import { VictoryAxis } from "victory-axis";
10
10
  var DEFAULT_AXES = {
11
11
  independent: /*#__PURE__*/React.createElement(VictoryAxis, null),
@@ -7,7 +7,7 @@ exports.default = void 0;
7
7
 
8
8
  var React = _interopRequireWildcard(require("react"));
9
9
 
10
- var _victoryCore = require("victory-core");
10
+ var _v = require("victory-core/es/v37");
11
11
 
12
12
  var _victoryAxis = require("victory-axis");
13
13
 
@@ -34,9 +34,9 @@ var VictoryChart = function (_ref) {
34
34
  _ref$groupComponent = _ref.groupComponent,
35
35
  groupComponent = _ref$groupComponent === void 0 ? /*#__PURE__*/React.createElement("g", null) : _ref$groupComponent,
36
36
  children = _ref.children;
37
- var scale = (0, _victoryCore.useScale)();
38
- var data = (0, _victoryCore.useData)();
39
- var domain = (0, _victoryCore.useDomain)();
37
+ var scale = (0, _v.useScale)();
38
+ var data = (0, _v.useData)();
39
+ var domain = (0, _v.useDomain)();
40
40
  var axes = React.useMemo(function () {
41
41
  var _defaultAxes$DEFAULT_ = _objectSpread(_objectSpread({}, defaultAxes), DEFAULT_AXES),
42
42
  dependent = _defaultAxes$DEFAULT_.dependent,
@@ -66,6 +66,6 @@ var VictoryChart = function (_ref) {
66
66
  return /*#__PURE__*/React.cloneElement(groupComponent, {}, axes, childComponents);
67
67
  };
68
68
 
69
- var _default = (0, _victoryCore.withContainer)(VictoryChart);
69
+ var _default = (0, _v.withContainer)(VictoryChart);
70
70
 
71
71
  exports.default = _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "victory-chart",
3
- "version": "36.6.4",
3
+ "version": "36.6.5",
4
4
  "description": "Chart Component for Victory",
5
5
  "keywords": [
6
6
  "data visualization",
@@ -23,10 +23,10 @@
23
23
  "lodash": "^4.17.19",
24
24
  "prop-types": "^15.8.1",
25
25
  "react-fast-compare": "^3.2.0",
26
- "victory-axis": "^36.6.4",
27
- "victory-core": "^36.6.4",
28
- "victory-polar-axis": "^36.6.4",
29
- "victory-shared-events": "^36.6.4"
26
+ "victory-axis": "^36.6.5",
27
+ "victory-core": "^36.6.5",
28
+ "victory-polar-axis": "^36.6.5",
29
+ "victory-shared-events": "^36.6.5"
30
30
  },
31
31
  "peerDependencies": {
32
32
  "react": ">=16.6.0"
@@ -7,11 +7,13 @@ import {
7
7
  VictoryCommonProps,
8
8
  VictoryStyleInterface,
9
9
  VictoryStyleObject,
10
+ } from "victory-core";
11
+ import {
10
12
  withContainer,
11
13
  useDomain,
12
14
  useScale,
13
15
  useData,
14
- } from "victory-core";
16
+ } from "victory-core/es/v37";
15
17
  import { AxesType } from "..";
16
18
  import { VictoryAxis, VictoryAxisProps } from "victory-axis";
17
19