victory-core 36.6.2 → 36.6.3

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.
Files changed (144) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/es/index.js +1 -2
  3. package/es/types/callbacks.js +1 -2
  4. package/es/types/prop-types.js +1 -2
  5. package/es/victory-accessible-group/victory-accessible-group.js +1 -2
  6. package/es/victory-animation/util.js +1 -2
  7. package/es/victory-animation/victory-animation.js +1 -2
  8. package/es/victory-clip-container/victory-clip-container.js +1 -2
  9. package/es/victory-container/victory-container.js +1 -2
  10. package/es/victory-label/victory-label.js +1 -2
  11. package/es/victory-portal/portal-context.js +1 -2
  12. package/es/victory-portal/portal.js +1 -2
  13. package/es/victory-portal/victory-portal.js +1 -2
  14. package/es/victory-primitives/arc.js +1 -2
  15. package/es/victory-primitives/background.js +1 -2
  16. package/es/victory-primitives/border.js +1 -2
  17. package/es/victory-primitives/circle.js +1 -2
  18. package/es/victory-primitives/clip-path.js +1 -2
  19. package/es/victory-primitives/index.js +1 -2
  20. package/es/victory-primitives/line-segment.js +1 -2
  21. package/es/victory-primitives/line.js +1 -2
  22. package/es/victory-primitives/path.js +1 -2
  23. package/es/victory-primitives/point.js +1 -2
  24. package/es/victory-primitives/rect.js +1 -2
  25. package/es/victory-primitives/text.js +1 -2
  26. package/es/victory-primitives/tspan.js +1 -2
  27. package/es/victory-primitives/types.js +1 -2
  28. package/es/victory-primitives/whisker.js +1 -2
  29. package/es/victory-state/defaults.js +1 -2
  30. package/es/victory-state/helpers/get-axis-data.js +1 -2
  31. package/es/victory-state/helpers/get-data.js +1 -2
  32. package/es/victory-state/helpers/get-domain.js +1 -2
  33. package/es/victory-state/helpers/get-range.js +1 -2
  34. package/es/victory-state/helpers/get-scale.js +1 -2
  35. package/es/victory-state/index.js +1 -2
  36. package/es/victory-state/types.js +1 -2
  37. package/es/victory-state/victory-provider.js +1 -2
  38. package/es/victory-theme/grayscale.js +1 -2
  39. package/es/victory-theme/material.js +1 -2
  40. package/es/victory-theme/types.js +1 -2
  41. package/es/victory-theme/victory-theme.js +1 -2
  42. package/es/victory-transition/victory-transition.js +1 -2
  43. package/es/victory-util/add-events.js +1 -2
  44. package/es/victory-util/axis.js +1 -2
  45. package/es/victory-util/collection.js +1 -2
  46. package/es/victory-util/common-props.js +1 -2
  47. package/es/victory-util/data.js +1 -2
  48. package/es/victory-util/default-transitions.js +1 -2
  49. package/es/victory-util/domain.js +1 -2
  50. package/es/victory-util/events.js +1 -2
  51. package/es/victory-util/helpers.js +1 -2
  52. package/es/victory-util/hooks/index.js +1 -2
  53. package/es/victory-util/hooks/use-animation-state.js +1 -2
  54. package/es/victory-util/hooks/use-previous-props.js +1 -2
  55. package/es/victory-util/immutable.js +1 -2
  56. package/es/victory-util/index.js +1 -2
  57. package/es/victory-util/label-helpers.js +1 -2
  58. package/es/victory-util/line-helpers.js +1 -2
  59. package/es/victory-util/log.js +1 -2
  60. package/es/victory-util/point-path-helpers.js +1 -2
  61. package/es/victory-util/prop-types.js +1 -2
  62. package/es/victory-util/scale.js +1 -2
  63. package/es/victory-util/selection.js +1 -2
  64. package/es/victory-util/style.js +1 -2
  65. package/es/victory-util/textsize.js +1 -2
  66. package/es/victory-util/timer-context.js +1 -2
  67. package/es/victory-util/timer.js +1 -2
  68. package/es/victory-util/transitions.js +1 -2
  69. package/es/victory-util/type-helpers.js +1 -2
  70. package/es/victory-util/user-props.js +1 -2
  71. package/es/victory-util/with-container.js +1 -2
  72. package/es/victory-util/wrapper.js +1 -2
  73. package/lib/index.js +1 -2
  74. package/lib/types/callbacks.js +1 -2
  75. package/lib/types/prop-types.js +1 -2
  76. package/lib/victory-accessible-group/victory-accessible-group.js +1 -2
  77. package/lib/victory-animation/util.js +1 -2
  78. package/lib/victory-animation/victory-animation.js +1 -2
  79. package/lib/victory-clip-container/victory-clip-container.js +1 -2
  80. package/lib/victory-container/victory-container.js +1 -2
  81. package/lib/victory-label/victory-label.js +1 -2
  82. package/lib/victory-portal/portal-context.js +1 -2
  83. package/lib/victory-portal/portal.js +1 -2
  84. package/lib/victory-portal/victory-portal.js +1 -2
  85. package/lib/victory-primitives/arc.js +1 -2
  86. package/lib/victory-primitives/background.js +1 -2
  87. package/lib/victory-primitives/border.js +1 -2
  88. package/lib/victory-primitives/circle.js +1 -2
  89. package/lib/victory-primitives/clip-path.js +1 -2
  90. package/lib/victory-primitives/index.js +1 -2
  91. package/lib/victory-primitives/line-segment.js +1 -2
  92. package/lib/victory-primitives/line.js +1 -2
  93. package/lib/victory-primitives/path.js +1 -2
  94. package/lib/victory-primitives/point.js +1 -2
  95. package/lib/victory-primitives/rect.js +1 -2
  96. package/lib/victory-primitives/text.js +1 -2
  97. package/lib/victory-primitives/tspan.js +1 -2
  98. package/lib/victory-primitives/types.js +1 -2
  99. package/lib/victory-primitives/whisker.js +1 -2
  100. package/lib/victory-state/defaults.js +1 -2
  101. package/lib/victory-state/helpers/get-axis-data.js +1 -2
  102. package/lib/victory-state/helpers/get-data.js +1 -2
  103. package/lib/victory-state/helpers/get-domain.js +1 -2
  104. package/lib/victory-state/helpers/get-range.js +1 -2
  105. package/lib/victory-state/helpers/get-scale.js +1 -2
  106. package/lib/victory-state/index.js +1 -2
  107. package/lib/victory-state/types.js +1 -2
  108. package/lib/victory-state/victory-provider.js +1 -2
  109. package/lib/victory-theme/grayscale.js +1 -2
  110. package/lib/victory-theme/material.js +1 -2
  111. package/lib/victory-theme/types.js +1 -2
  112. package/lib/victory-theme/victory-theme.js +1 -2
  113. package/lib/victory-transition/victory-transition.js +1 -2
  114. package/lib/victory-util/add-events.js +1 -2
  115. package/lib/victory-util/axis.js +1 -2
  116. package/lib/victory-util/collection.js +1 -2
  117. package/lib/victory-util/common-props.js +1 -2
  118. package/lib/victory-util/data.js +1 -2
  119. package/lib/victory-util/default-transitions.js +1 -2
  120. package/lib/victory-util/domain.js +1 -2
  121. package/lib/victory-util/events.js +1 -2
  122. package/lib/victory-util/helpers.js +1 -2
  123. package/lib/victory-util/hooks/index.js +1 -2
  124. package/lib/victory-util/hooks/use-animation-state.js +1 -2
  125. package/lib/victory-util/hooks/use-previous-props.js +1 -2
  126. package/lib/victory-util/immutable.js +1 -2
  127. package/lib/victory-util/index.js +1 -2
  128. package/lib/victory-util/label-helpers.js +1 -2
  129. package/lib/victory-util/line-helpers.js +1 -2
  130. package/lib/victory-util/log.js +1 -2
  131. package/lib/victory-util/point-path-helpers.js +1 -2
  132. package/lib/victory-util/prop-types.js +1 -2
  133. package/lib/victory-util/scale.js +1 -2
  134. package/lib/victory-util/selection.js +1 -2
  135. package/lib/victory-util/style.js +1 -2
  136. package/lib/victory-util/textsize.js +1 -2
  137. package/lib/victory-util/timer-context.js +1 -2
  138. package/lib/victory-util/timer.js +1 -2
  139. package/lib/victory-util/transitions.js +1 -2
  140. package/lib/victory-util/type-helpers.js +1 -2
  141. package/lib/victory-util/user-props.js +1 -2
  142. package/lib/victory-util/with-container.js +1 -2
  143. package/lib/victory-util/wrapper.js +1 -2
  144. package/package.json +12 -4
package/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # victory-core
2
2
 
3
+ ## 36.6.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Do not generate \*.js.map sourcemaps (fixes [#2346](https://github.com/FormidableLabs/victory/issues/2346)) ([#2432](https://github.com/FormidableLabs/victory/pull/2432))
8
+
9
+ - Updated dependencies [[`4bfc65df5`](https://github.com/FormidableLabs/victory/commit/4bfc65df5a10aa6a10084882ed5c6d0d894dec6f)]:
10
+ - victory-vendor@36.6.3
11
+
3
12
  ## 36.6.2
4
13
 
5
14
  ### Patch Changes
package/es/index.js CHANGED
@@ -14,5 +14,4 @@ export * from "./victory-portal/victory-portal";
14
14
  export * from "./victory-primitives";
15
15
  export { Border as Box } from "./victory-primitives";
16
16
  export * from "./victory-util";
17
- export * from "./victory-state";
18
- //# sourceMappingURL=index.js.map
17
+ export * from "./victory-state";
@@ -1,2 +1 @@
1
- export {};
2
- //# sourceMappingURL=callbacks.js.map
1
+ export {};
@@ -1,2 +1 @@
1
- export {};
2
- //# sourceMappingURL=prop-types.js.map
1
+ export {};
@@ -69,5 +69,4 @@ VictoryAccessibleGroup.propTypes = {
69
69
  };
70
70
  VictoryAccessibleGroup.defaultProps = {
71
71
  className: "VictoryAccessibleGroup"
72
- };
73
- //# sourceMappingURL=victory-accessible-group.js.map
72
+ };
@@ -210,5 +210,4 @@ export var victoryInterpolator = function (a, b) {
210
210
 
211
211
 
212
212
  return interpolate(a, b);
213
- };
214
- //# sourceMappingURL=util.js.map
213
+ };
@@ -236,5 +236,4 @@ VictoryAnimation.defaultProps = {
236
236
  duration: 1000,
237
237
  easing: "quadInOut"
238
238
  };
239
- VictoryAnimation.contextType = TimerContext;
240
- //# sourceMappingURL=victory-animation.js.map
239
+ VictoryAnimation.contextType = TimerContext;
@@ -275,5 +275,4 @@ VictoryClipContainer.defaultProps = {
275
275
  rectComponent: /*#__PURE__*/React.createElement(Rect, null),
276
276
  clipPathComponent: /*#__PURE__*/React.createElement(ClipPath, null),
277
277
  groupComponent: /*#__PURE__*/React.createElement("g", null)
278
- };
279
- //# sourceMappingURL=victory-clip-container.js.map
278
+ };
@@ -276,5 +276,4 @@ VictoryContainer.defaultProps = {
276
276
  responsive: true,
277
277
  role: "img"
278
278
  };
279
- VictoryContainer.contextType = TimerContext;
280
- //# sourceMappingURL=victory-container.js.map
279
+ VictoryContainer.contextType = TimerContext;
@@ -603,5 +603,4 @@ VictoryLabel.defaultProps = {
603
603
  capHeight: 0.71,
604
604
  // Magic number from d3.
605
605
  lineHeight: 1
606
- };
607
- //# sourceMappingURL=victory-label.js.map
606
+ };
@@ -5,5 +5,4 @@ import React from "react";
5
5
  * portal.
6
6
  */
7
7
  export var PortalContext = /*#__PURE__*/React.createContext({});
8
- PortalContext.displayName = "PortalContext";
9
- //# sourceMappingURL=portal-context.js.map
8
+ PortalContext.displayName = "PortalContext";
@@ -87,5 +87,4 @@ Portal.propTypes = {
87
87
  style: PropTypes.object,
88
88
  viewBox: PropTypes.string,
89
89
  width: CustomPropTypes.nonNegative
90
- };
91
- //# sourceMappingURL=portal.js.map
90
+ };
@@ -117,5 +117,4 @@ VictoryPortal.propTypes = {
117
117
  VictoryPortal.defaultProps = {
118
118
  groupComponent: /*#__PURE__*/React.createElement("g", null)
119
119
  };
120
- VictoryPortal.contextType = PortalContext;
121
- //# sourceMappingURL=victory-portal.js.map
120
+ VictoryPortal.contextType = PortalContext;
@@ -92,5 +92,4 @@ Arc.defaultProps = {
92
92
  pathComponent: /*#__PURE__*/React.createElement(Path, null),
93
93
  role: "presentation",
94
94
  shapeRendering: "auto"
95
- };
96
- //# sourceMappingURL=arc.js.map
95
+ };
@@ -62,5 +62,4 @@ Background.defaultProps = {
62
62
  rectComponent: /*#__PURE__*/React.createElement(Rect, null),
63
63
  role: "presentation",
64
64
  shapeRendering: "auto"
65
- };
66
- //# sourceMappingURL=background.js.map
65
+ };
@@ -66,5 +66,4 @@ Border.defaultProps = {
66
66
  rectComponent: /*#__PURE__*/React.createElement(Rect, null),
67
67
  role: "presentation",
68
68
  shapeRendering: "auto"
69
- };
70
- //# sourceMappingURL=border.js.map
69
+ };
@@ -23,5 +23,4 @@ export var Circle = function (props) {
23
23
  React.createElement("circle", _extends({
24
24
  vectorEffect: "non-scaling-stroke"
25
25
  }, rest));
26
- };
27
- //# sourceMappingURL=circle.js.map
26
+ };
@@ -11,5 +11,4 @@ export var ClipPath = function (props) {
11
11
  ClipPath.propTypes = {
12
12
  children: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.node), PropTypes.node]),
13
13
  clipId: PropTypes.oneOfType([PropTypes.number, PropTypes.string])
14
- };
15
- //# sourceMappingURL=clip-path.js.map
14
+ };
@@ -11,5 +11,4 @@ export * from "./rect";
11
11
  export * from "./text";
12
12
  export * from "./tspan";
13
13
  export * from "./types";
14
- export * from "./whisker";
15
- //# sourceMappingURL=index.js.map
14
+ export * from "./whisker";
@@ -67,5 +67,4 @@ LineSegment.defaultProps = {
67
67
  lineComponent: /*#__PURE__*/React.createElement(Line, null),
68
68
  role: "presentation",
69
69
  shapeRendering: "auto"
70
- };
71
- //# sourceMappingURL=line-segment.js.map
70
+ };
@@ -23,5 +23,4 @@ export var Line = function (props) {
23
23
  React.createElement("line", _extends({
24
24
  vectorEffect: "non-scaling-stroke"
25
25
  }, rest));
26
- };
27
- //# sourceMappingURL=line.js.map
26
+ };
@@ -17,5 +17,4 @@ export var Path = function (props) {
17
17
  /*#__PURE__*/
18
18
  // @ts-expect-error FIXME: "id cannot be a number"
19
19
  React.createElement("path", rest);
20
- };
21
- //# sourceMappingURL=path.js.map
20
+ };
@@ -87,5 +87,4 @@ Point.defaultProps = {
87
87
  pathComponent: /*#__PURE__*/React.createElement(Path, null),
88
88
  role: "presentation",
89
89
  shapeRendering: "auto"
90
- };
91
- //# sourceMappingURL=point.js.map
90
+ };
@@ -23,5 +23,4 @@ export var Rect = function (props) {
23
23
  React.createElement("rect", _extends({
24
24
  vectorEffect: "non-scaling-stroke"
25
25
  }, rest));
26
- };
27
- //# sourceMappingURL=rect.js.map
26
+ };
@@ -22,5 +22,4 @@ Text.propTypes = {
22
22
  children: PropTypes.node,
23
23
  desc: PropTypes.string,
24
24
  title: PropTypes.string
25
- };
26
- //# sourceMappingURL=text.js.map
25
+ };
@@ -5,5 +5,4 @@ export var TSpan = function (props) {
5
5
  // @ts-expect-error FIXME: "id cannot be a number"
6
6
  React.createElement("tspan", props)
7
7
  );
8
- };
9
- //# sourceMappingURL=tspan.js.map
8
+ };
@@ -1,2 +1 @@
1
- export {};
2
- //# sourceMappingURL=types.js.map
1
+ export {};
@@ -93,5 +93,4 @@ Whisker.defaultProps = {
93
93
  lineComponent: /*#__PURE__*/React.createElement(Line, null),
94
94
  role: "presentation",
95
95
  shapeRendering: "auto"
96
- };
97
- //# sourceMappingURL=whisker.js.map
96
+ };
@@ -1,3 +1,2 @@
1
1
  export var DEFAULT_HEIGHT = 300;
2
- export var DEFAULT_WIDTH = 450;
3
- //# sourceMappingURL=defaults.js.map
2
+ export var DEFAULT_WIDTH = 450;
@@ -11,5 +11,4 @@ export function getAxisData(data, axis) {
11
11
 
12
12
  return acc;
13
13
  }, []);
14
- }
15
- //# sourceMappingURL=get-axis-data.js.map
14
+ }
@@ -84,5 +84,4 @@ export function getData() {
84
84
  }
85
85
 
86
86
  return formattedData;
87
- }
88
- //# sourceMappingURL=get-data.js.map
87
+ }
@@ -64,5 +64,4 @@ export function getDomain(_ref, axis) {
64
64
 
65
65
 
66
66
  return getDomainFromMinMax(minDomain, maxDomain);
67
- }
68
- //# sourceMappingURL=get-domain.js.map
67
+ }
@@ -33,5 +33,4 @@ export function getRange(_ref, axis) {
33
33
  y: [height - padding.top, padding.bottom]
34
34
  };
35
35
  return rangeForAxis[axis];
36
- }
37
- //# sourceMappingURL=get-range.js.map
36
+ }
@@ -55,5 +55,4 @@ export function getScale(_ref, axis) {
55
55
  }
56
56
 
57
57
  return DEFAULT_SCALE;
58
- }
59
- //# sourceMappingURL=get-scale.js.map
58
+ }
@@ -1,3 +1,2 @@
1
1
  export * from "./victory-provider";
2
- export * from "./types";
3
- //# sourceMappingURL=index.js.map
2
+ export * from "./types";
@@ -1,2 +1 @@
1
- export {};
2
- //# sourceMappingURL=types.js.map
1
+ export {};
@@ -114,5 +114,4 @@ export function useVictoryProviderSync(id, props) {
114
114
  setChildProps(id, props);
115
115
  }, []);
116
116
  return props;
117
- }
118
- //# sourceMappingURL=victory-provider.js.map
117
+ }
@@ -256,5 +256,4 @@ export var grayscale = {
256
256
  }
257
257
  }
258
258
  }, baseProps)
259
- };
260
- //# sourceMappingURL=grayscale.js.map
259
+ };
@@ -283,5 +283,4 @@ export var material = {
283
283
  }
284
284
  }
285
285
  }, baseProps)
286
- };
287
- //# sourceMappingURL=material.js.map
286
+ };
@@ -1,2 +1 @@
1
- export {};
2
- //# sourceMappingURL=types.js.map
1
+ export {};
@@ -4,5 +4,4 @@ export * from "./types";
4
4
  export var VictoryTheme = {
5
5
  grayscale: grayscale,
6
6
  material: material
7
- };
8
- //# sourceMappingURL=victory-theme.js.map
7
+ };
@@ -234,5 +234,4 @@ VictoryTransition.propTypes = {
234
234
  animationWhitelist: PropTypes.array,
235
235
  children: PropTypes.node
236
236
  };
237
- VictoryTransition.contextType = TimerContext;
238
- //# sourceMappingURL=victory-transition.js.map
237
+ VictoryTransition.contextType = TimerContext;
@@ -424,5 +424,4 @@ export function addEvents(WrappedComponent) {
424
424
  }(WrappedComponent);
425
425
 
426
426
  return AddEventsMixin;
427
- }
428
- //# sourceMappingURL=add-events.js.map
427
+ }
@@ -427,5 +427,4 @@ export function modifyProps(props, fallbackProps) {
427
427
  return Helpers.modifyProps(_assign({}, props, {
428
428
  theme: theme
429
429
  }), fallbackProps, "axis");
430
- }
431
- //# sourceMappingURL=axis.js.map
430
+ }
@@ -59,5 +59,4 @@ export function getMinValue(arr) {
59
59
  var array = arr.concat(values);
60
60
  return containsDates(array) ? new Date(Math.min.apply(Math, _toConsumableArray(array))) // Dates will be coerced to numbers
61
61
  : Math.min.apply(Math, _toConsumableArray(array));
62
- }
63
- //# sourceMappingURL=collection.js.map
62
+ }
@@ -129,5 +129,4 @@ export var CommonProps = {
129
129
  dataProps: dataProps,
130
130
  baseProps: baseProps,
131
131
  primitiveProps: primitiveProps
132
- };
133
- //# sourceMappingURL=common-props.js.map
132
+ };
@@ -454,5 +454,4 @@ export function isDataComponent(component) {
454
454
 
455
455
  var whitelist = ["area", "bar", "boxplot", "candlestick", "errorbar", "group", "histogram", "line", "pie", "scatter", "stack", "voronoi"];
456
456
  return _includes(whitelist, role);
457
- }
458
- //# sourceMappingURL=data.js.map
457
+ }
@@ -103,5 +103,4 @@ export function discreteTransitions() {
103
103
  }
104
104
  }
105
105
  };
106
- }
107
- //# sourceMappingURL=default-transitions.js.map
106
+ }
@@ -409,5 +409,4 @@ export function isDomainComponent(component) {
409
409
 
410
410
  var whitelist = ["area", "axis", "bar", "boxplot", "candlestick", "errorbar", "group", "histogram", "line", "pie", "scatter", "stack", "voronoi"];
411
411
  return _includes(whitelist, role);
412
- }
413
- //# sourceMappingURL=domain.js.map
412
+ }
@@ -459,5 +459,4 @@ export var emulateReactEvent = function (event) {
459
459
  return _assign(event, {
460
460
  nativeEvent: event
461
461
  });
462
- };
463
- //# sourceMappingURL=events.js.map
462
+ };
@@ -347,5 +347,4 @@ export function isHorizontal(props) {
347
347
  };
348
348
 
349
349
  return traverseChildren(React.Children.toArray(props.children));
350
- }
351
- //# sourceMappingURL=helpers.js.map
350
+ }
@@ -1,3 +1,2 @@
1
1
  export { usePreviousProps } from "./use-previous-props";
2
- export { useAnimationState } from "./use-animation-state";
3
- //# sourceMappingURL=index.js.map
2
+ export { useAnimationState } from "./use-animation-state";
@@ -133,5 +133,4 @@ export var useAnimationState = function () {
133
133
  setAnimationState: setAnimationState,
134
134
  getProps: getProps
135
135
  };
136
- };
137
- //# sourceMappingURL=use-animation-state.js.map
136
+ };
@@ -5,5 +5,4 @@ export function usePreviousProps(props) {
5
5
  ref.current = props;
6
6
  });
7
7
  return ref.current;
8
- }
9
- //# sourceMappingURL=use-previous-props.js.map
8
+ }
@@ -26,5 +26,4 @@ export function shallowToJS(x, whitelist) {
26
26
  result[key] = curr;
27
27
  return result;
28
28
  }, isList(x) ? [] : {}) : x;
29
- }
30
- //# sourceMappingURL=immutable.js.map
29
+ }
@@ -44,5 +44,4 @@ import * as _UserProps from "./user-props";
44
44
  export { _UserProps as UserProps };
45
45
  import * as _Wrapper from "./wrapper";
46
46
  export { _Wrapper as Wrapper };
47
- export * from "./with-container";
48
- //# sourceMappingURL=index.js.map
47
+ export * from "./with-container";
@@ -232,5 +232,4 @@ export function getProps(props, index) {
232
232
 
233
233
  var tooltipTheme = theme && theme.tooltip || {};
234
234
  return _defaults({}, labelProps, Helpers.omit(tooltipTheme, ["style"]));
235
- }
236
- //# sourceMappingURL=label-helpers.js.map
235
+ }
@@ -59,5 +59,4 @@ export var getLineFunction = function (props) {
59
59
  scale = props.scale,
60
60
  horizontal = props.horizontal;
61
61
  return polar ? d3Shape.lineRadial().defined(defined).curve(getInterpolationFunction(props)).angle(getAngleAccessor(scale)).radius(getYAccessor(scale)) : d3Shape.line().defined(defined).curve(getInterpolationFunction(props)).x(horizontal ? getYAccessor(scale) : getXAccessor(scale)).y(horizontal ? getXAccessor(scale) : getYAccessor(scale));
62
- };
63
- //# sourceMappingURL=line-helpers.js.map
62
+ };
@@ -8,5 +8,4 @@ export function warn(message) {
8
8
  console.warn(message);
9
9
  }
10
10
  }
11
- }
12
- //# sourceMappingURL=log.js.map
11
+ }
@@ -68,5 +68,4 @@ export function star(x, y, size) {
68
68
  });
69
69
 
70
70
  return "M ".concat(starCoords.join("L"), " z");
71
- }
72
- //# sourceMappingURL=point-path-helpers.js.map
71
+ }
@@ -238,5 +238,4 @@ export var regExp = makeChainable(function (props, propName, componentName) {
238
238
  }
239
239
 
240
240
  return null;
241
- });
242
- //# sourceMappingURL=prop-types.js.map
241
+ });
@@ -139,5 +139,4 @@ export function getType(scale) {
139
139
  return scale[type.method] !== undefined;
140
140
  })[0];
141
141
  return scaleType ? scaleType.name : undefined;
142
- }
143
- //# sourceMappingURL=scale.js.map
142
+ }
@@ -111,5 +111,4 @@ export function getBounds(props) {
111
111
  x: makeBound(point1.x, point2.x),
112
112
  y: makeBound(point1.y, point2.y)
113
113
  };
114
- }
115
- //# sourceMappingURL=selection.js.map
114
+ }
@@ -53,5 +53,4 @@ export function getColorScale(name) {
53
53
  green: ["#354722", "#466631", "#649146", "#8AB25C", "#A9C97E"]
54
54
  };
55
55
  return name ? scales[name] : scales.grayscale;
56
- }
57
- //# sourceMappingURL=style.js.map
56
+ }
@@ -284,5 +284,4 @@ export var _approximateTextSizeInternal = {
284
284
 
285
285
  export var approximateTextSize = function (text, style) {
286
286
  return _approximateTextSizeInternal.impl(text, style);
287
- };
288
- //# sourceMappingURL=textsize.js.map
287
+ };
@@ -10,5 +10,4 @@ var TimerContext = /*#__PURE__*/React.createContext({
10
10
  animationTimer: new Timer()
11
11
  });
12
12
  TimerContext.displayName = "TimerContext";
13
- export default TimerContext;
14
- //# sourceMappingURL=timer-context.js.map
13
+ export default TimerContext;
@@ -84,5 +84,4 @@ var Timer = /*#__PURE__*/function () {
84
84
  return Timer;
85
85
  }();
86
86
 
87
- export { Timer as default };
88
- //# sourceMappingURL=timer.js.map
87
+ export { Timer as default };
@@ -406,5 +406,4 @@ export function getTransitionPropsFactory(props, state, setState) {
406
406
  data: data
407
407
  };
408
408
  };
409
- }
410
- //# sourceMappingURL=transitions.js.map
409
+ }
@@ -24,5 +24,4 @@ export function isDate(value) {
24
24
  }
25
25
  export function isKeyValueObject(datum) {
26
26
  return typeof datum === "object" && !Array.isArray(datum) && !(datum instanceof Date);
27
- }
28
- //# sourceMappingURL=type-helpers.js.map
27
+ }
@@ -122,5 +122,4 @@ export var getSafeUserProps = function (props) {
122
122
 
123
123
  export var withSafeUserProps = function (component, props) {
124
124
  return /*#__PURE__*/React.cloneElement(component, getSafeUserProps(props));
125
- };
126
- //# sourceMappingURL=user-props.js.map
125
+ };
@@ -29,5 +29,4 @@ export function withContainer(WrappedComponent) {
29
29
 
30
30
  return /*#__PURE__*/React.createElement(WrappedComponent, props);
31
31
  };
32
- }
33
- //# sourceMappingURL=with-container.js.map
32
+ }
@@ -446,5 +446,4 @@ export function getCategories(props, childComponents, allStrings) {
446
446
  x: xCategories.length > 0 ? xCategories : undefined,
447
447
  y: yCategories.length > 0 ? yCategories : undefined
448
448
  };
449
- }
450
- //# sourceMappingURL=wrapper.js.map
449
+ }
package/lib/index.js CHANGED
@@ -235,5 +235,4 @@ Object.keys(_victoryState).forEach(function (key) {
235
235
  return _victoryState[key];
236
236
  }
237
237
  });
238
- });
239
- //# sourceMappingURL=index.js.map
238
+ });
@@ -1,2 +1 @@
1
- "use strict";
2
- //# sourceMappingURL=callbacks.js.map
1
+ "use strict";
@@ -1,2 +1 @@
1
- "use strict";
2
- //# sourceMappingURL=prop-types.js.map
1
+ "use strict";
@@ -82,5 +82,4 @@ VictoryAccessibleGroup.propTypes = {
82
82
  };
83
83
  VictoryAccessibleGroup.defaultProps = {
84
84
  className: "VictoryAccessibleGroup"
85
- };
86
- //# sourceMappingURL=victory-accessible-group.js.map
85
+ };
@@ -239,5 +239,4 @@ var victoryInterpolator = function (a, b) {
239
239
  return (0, _d3Interpolate.interpolate)(a, b);
240
240
  };
241
241
 
242
- exports.victoryInterpolator = victoryInterpolator;
243
- //# sourceMappingURL=util.js.map
242
+ exports.victoryInterpolator = victoryInterpolator;
@@ -256,5 +256,4 @@ VictoryAnimation.defaultProps = {
256
256
  duration: 1000,
257
257
  easing: "quadInOut"
258
258
  };
259
- VictoryAnimation.contextType = _timerContext.default;
260
- //# sourceMappingURL=victory-animation.js.map
259
+ VictoryAnimation.contextType = _timerContext.default;