victory-legend 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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # victory-legend
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-core@36.6.3
11
+
3
12
  ## 36.6.2
4
13
 
5
14
  ### Patch Changes
@@ -7210,7 +7210,6 @@ var victoryInterpolator = function (a, b) {
7210
7210
 
7211
7211
  return (0,victory_vendor_d3_interpolate__WEBPACK_IMPORTED_MODULE_2__.interpolate)(a, b);
7212
7212
  };
7213
- //# sourceMappingURL=util.js.map
7214
7213
 
7215
7214
  /***/ }),
7216
7215
 
@@ -7473,7 +7472,6 @@ VictoryAnimation.defaultProps = {
7473
7472
  easing: "quadInOut"
7474
7473
  };
7475
7474
  VictoryAnimation.contextType = _victory_util_timer_context__WEBPACK_IMPORTED_MODULE_5__["default"];
7476
- //# sourceMappingURL=victory-animation.js.map
7477
7475
 
7478
7476
  /***/ }),
7479
7477
 
@@ -7787,7 +7785,6 @@ VictoryContainer.defaultProps = {
7787
7785
  role: "img"
7788
7786
  };
7789
7787
  VictoryContainer.contextType = _victory_util_timer_context__WEBPACK_IMPORTED_MODULE_12__["default"];
7790
- //# sourceMappingURL=victory-container.js.map
7791
7788
 
7792
7789
  /***/ }),
7793
7790
 
@@ -8429,7 +8426,6 @@ VictoryLabel.defaultProps = {
8429
8426
  // Magic number from d3.
8430
8427
  lineHeight: 1
8431
8428
  };
8432
- //# sourceMappingURL=victory-label.js.map
8433
8429
 
8434
8430
  /***/ }),
8435
8431
 
@@ -8454,7 +8450,6 @@ __webpack_require__.r(__webpack_exports__);
8454
8450
  */
8455
8451
  var PortalContext = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createContext({});
8456
8452
  PortalContext.displayName = "PortalContext";
8457
- //# sourceMappingURL=portal-context.js.map
8458
8453
 
8459
8454
  /***/ }),
8460
8455
 
@@ -8566,7 +8561,6 @@ Portal.propTypes = {
8566
8561
  viewBox: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
8567
8562
  width: _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_3__.nonNegative
8568
8563
  };
8569
- //# sourceMappingURL=portal.js.map
8570
8564
 
8571
8565
  /***/ }),
8572
8566
 
@@ -8710,7 +8704,6 @@ VictoryPortal.defaultProps = {
8710
8704
  groupComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("g", null)
8711
8705
  };
8712
8706
  VictoryPortal.contextType = _portal_context__WEBPACK_IMPORTED_MODULE_5__.PortalContext;
8713
- //# sourceMappingURL=victory-portal.js.map
8714
8707
 
8715
8708
  /***/ }),
8716
8709
 
@@ -8803,7 +8796,6 @@ Border.defaultProps = {
8803
8796
  role: "presentation",
8804
8797
  shapeRendering: "auto"
8805
8798
  };
8806
- //# sourceMappingURL=border.js.map
8807
8799
 
8808
8800
  /***/ }),
8809
8801
 
@@ -8840,7 +8832,6 @@ var Path = function (props) {
8840
8832
  // @ts-expect-error FIXME: "id cannot be a number"
8841
8833
  react__WEBPACK_IMPORTED_MODULE_0___default().createElement("path", rest);
8842
8834
  };
8843
- //# sourceMappingURL=path.js.map
8844
8835
 
8845
8836
  /***/ }),
8846
8837
 
@@ -8956,7 +8947,6 @@ Point.defaultProps = {
8956
8947
  role: "presentation",
8957
8948
  shapeRendering: "auto"
8958
8949
  };
8959
- //# sourceMappingURL=point.js.map
8960
8950
 
8961
8951
  /***/ }),
8962
8952
 
@@ -8999,7 +8989,6 @@ var Rect = function (props) {
8999
8989
  vectorEffect: "non-scaling-stroke"
9000
8990
  }, rest));
9001
8991
  };
9002
- //# sourceMappingURL=rect.js.map
9003
8992
 
9004
8993
  /***/ }),
9005
8994
 
@@ -9043,7 +9032,6 @@ Text.propTypes = {
9043
9032
  desc: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
9044
9033
  title: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string)
9045
9034
  };
9046
- //# sourceMappingURL=text.js.map
9047
9035
 
9048
9036
  /***/ }),
9049
9037
 
@@ -9068,7 +9056,6 @@ var TSpan = function (props) {
9068
9056
  react__WEBPACK_IMPORTED_MODULE_0___default().createElement("tspan", props)
9069
9057
  );
9070
9058
  };
9071
- //# sourceMappingURL=tspan.js.map
9072
9059
 
9073
9060
  /***/ }),
9074
9061
 
@@ -9344,7 +9331,6 @@ var grayscale = {
9344
9331
  }
9345
9332
  }, baseProps)
9346
9333
  };
9347
- //# sourceMappingURL=grayscale.js.map
9348
9334
 
9349
9335
  /***/ }),
9350
9336
 
@@ -9647,7 +9633,6 @@ var material = {
9647
9633
  }
9648
9634
  }, baseProps)
9649
9635
  };
9650
- //# sourceMappingURL=material.js.map
9651
9636
 
9652
9637
  /***/ }),
9653
9638
 
@@ -9671,7 +9656,6 @@ var VictoryTheme = {
9671
9656
  grayscale: _grayscale__WEBPACK_IMPORTED_MODULE_0__.grayscale,
9672
9657
  material: _material__WEBPACK_IMPORTED_MODULE_1__.material
9673
9658
  };
9674
- //# sourceMappingURL=victory-theme.js.map
9675
9659
 
9676
9660
  /***/ }),
9677
9661
 
@@ -9940,7 +9924,6 @@ VictoryTransition.propTypes = {
9940
9924
  children: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().node)
9941
9925
  };
9942
9926
  VictoryTransition.contextType = _victory_util_timer_context__WEBPACK_IMPORTED_MODULE_10__["default"];
9943
- //# sourceMappingURL=victory-transition.js.map
9944
9927
 
9945
9928
  /***/ }),
9946
9929
 
@@ -10406,7 +10389,6 @@ function addEvents(WrappedComponent) {
10406
10389
 
10407
10390
  return AddEventsMixin;
10408
10391
  }
10409
- //# sourceMappingURL=add-events.js.map
10410
10392
 
10411
10393
  /***/ }),
10412
10394
 
@@ -10490,7 +10472,6 @@ function getMinValue(arr) {
10490
10472
  return containsDates(array) ? new Date(Math.min.apply(Math, _toConsumableArray(array))) // Dates will be coerced to numbers
10491
10473
  : Math.min.apply(Math, _toConsumableArray(array));
10492
10474
  }
10493
- //# sourceMappingURL=collection.js.map
10494
10475
 
10495
10476
  /***/ }),
10496
10477
 
@@ -10640,7 +10621,6 @@ var CommonProps = {
10640
10621
  baseProps: baseProps,
10641
10622
  primitiveProps: primitiveProps
10642
10623
  };
10643
- //# sourceMappingURL=common-props.js.map
10644
10624
 
10645
10625
  /***/ }),
10646
10626
 
@@ -11146,7 +11126,6 @@ var emulateReactEvent = function (event) {
11146
11126
  nativeEvent: event
11147
11127
  });
11148
11128
  };
11149
- //# sourceMappingURL=events.js.map
11150
11129
 
11151
11130
  /***/ }),
11152
11131
 
@@ -11543,7 +11522,6 @@ function isHorizontal(props) {
11543
11522
 
11544
11523
  return traverseChildren(react__WEBPACK_IMPORTED_MODULE_6___default().Children.toArray(props.children));
11545
11524
  }
11546
- //# sourceMappingURL=helpers.js.map
11547
11525
 
11548
11526
  /***/ }),
11549
11527
 
@@ -11801,7 +11779,6 @@ function getProps(props, index) {
11801
11779
  var tooltipTheme = theme && theme.tooltip || {};
11802
11780
  return lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default()({}, labelProps, _helpers__WEBPACK_IMPORTED_MODULE_1__.omit(tooltipTheme, ["style"]));
11803
11781
  }
11804
- //# sourceMappingURL=label-helpers.js.map
11805
11782
 
11806
11783
  /***/ }),
11807
11784
 
@@ -11827,7 +11804,6 @@ function warn(message) {
11827
11804
  }
11828
11805
  }
11829
11806
  }
11830
- //# sourceMappingURL=log.js.map
11831
11807
 
11832
11808
  /***/ }),
11833
11809
 
@@ -11923,7 +11899,6 @@ function star(x, y, size) {
11923
11899
 
11924
11900
  return "M ".concat(starCoords.join("L"), " z");
11925
11901
  }
11926
- //# sourceMappingURL=point-path-helpers.js.map
11927
11902
 
11928
11903
  /***/ }),
11929
11904
 
@@ -12196,7 +12171,6 @@ var regExp = makeChainable(function (props, propName, componentName) {
12196
12171
 
12197
12172
  return null;
12198
12173
  });
12199
- //# sourceMappingURL=prop-types.js.map
12200
12174
 
12201
12175
  /***/ }),
12202
12176
 
@@ -12368,7 +12342,6 @@ function getType(scale) {
12368
12342
  })[0];
12369
12343
  return scaleType ? scaleType.name : undefined;
12370
12344
  }
12371
- //# sourceMappingURL=scale.js.map
12372
12345
 
12373
12346
  /***/ }),
12374
12347
 
@@ -12440,7 +12413,6 @@ function getColorScale(name) {
12440
12413
  };
12441
12414
  return name ? scales[name] : scales.grayscale;
12442
12415
  }
12443
- //# sourceMappingURL=style.js.map
12444
12416
 
12445
12417
  /***/ }),
12446
12418
 
@@ -12748,7 +12720,6 @@ var _approximateTextSizeInternal = {
12748
12720
  var approximateTextSize = function (text, style) {
12749
12721
  return _approximateTextSizeInternal.impl(text, style);
12750
12722
  };
12751
- //# sourceMappingURL=textsize.js.map
12752
12723
 
12753
12724
  /***/ }),
12754
12725
 
@@ -12779,7 +12750,6 @@ var TimerContext = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().cre
12779
12750
  });
12780
12751
  TimerContext.displayName = "TimerContext";
12781
12752
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (TimerContext);
12782
- //# sourceMappingURL=timer-context.js.map
12783
12753
 
12784
12754
  /***/ }),
12785
12755
 
@@ -12882,7 +12852,6 @@ var Timer = /*#__PURE__*/function () {
12882
12852
  }();
12883
12853
 
12884
12854
 
12885
- //# sourceMappingURL=timer.js.map
12886
12855
 
12887
12856
  /***/ }),
12888
12857
 
@@ -13317,7 +13286,6 @@ function getTransitionPropsFactory(props, state, setState) {
13317
13286
  };
13318
13287
  };
13319
13288
  }
13320
- //# sourceMappingURL=transitions.js.map
13321
13289
 
13322
13290
  /***/ }),
13323
13291
 
@@ -13460,7 +13428,6 @@ var getSafeUserProps = function (props) {
13460
13428
  var withSafeUserProps = function (component, props) {
13461
13429
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.cloneElement(component, getSafeUserProps(props));
13462
13430
  };
13463
- //# sourceMappingURL=user-props.js.map
13464
13431
 
13465
13432
  /***/ }),
13466
13433
 
@@ -371,5 +371,4 @@ export var getBaseProps = function (props, fallbackProps) {
371
371
  };
372
372
  return childProps;
373
373
  }, initialProps);
374
- };
375
- //# sourceMappingURL=helper-methods.js.map
374
+ };
package/es/index.js CHANGED
@@ -1,2 +1 @@
1
- export { default as VictoryLegend } from "./victory-legend";
2
- //# sourceMappingURL=index.js.map
1
+ export { default as VictoryLegend } from "./victory-legend";
@@ -207,5 +207,4 @@ VictoryLegend.getDimensions = function (props) {
207
207
  };
208
208
 
209
209
  VictoryLegend.expectedComponents = ["borderComponent", "containerComponent", "dataComponent", "groupComponent", "labelComponent", "titleComponent"];
210
- export default addEvents(VictoryLegend);
211
- //# sourceMappingURL=victory-legend.js.map
210
+ export default addEvents(VictoryLegend);
@@ -389,5 +389,4 @@ var getBaseProps = function (props, fallbackProps) {
389
389
  }, initialProps);
390
390
  };
391
391
 
392
- exports.getBaseProps = getBaseProps;
393
- //# sourceMappingURL=helper-methods.js.map
392
+ exports.getBaseProps = getBaseProps;
package/lib/index.js CHANGED
@@ -12,5 +12,4 @@ Object.defineProperty(exports, "VictoryLegend", {
12
12
 
13
13
  var _victoryLegend = _interopRequireDefault(require("./victory-legend"));
14
14
 
15
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
16
- //# sourceMappingURL=index.js.map
15
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
@@ -228,5 +228,4 @@ VictoryLegend.expectedComponents = ["borderComponent", "containerComponent", "da
228
228
 
229
229
  var _default = (0, _victoryCore.addEvents)(VictoryLegend);
230
230
 
231
- exports.default = _default;
232
- //# sourceMappingURL=victory-legend.js.map
231
+ exports.default = _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "victory-legend",
3
- "version": "36.6.2",
3
+ "version": "36.6.3",
4
4
  "description": "Legend Component for Victory",
5
5
  "keywords": [
6
6
  "data visualization",
@@ -22,7 +22,7 @@
22
22
  "dependencies": {
23
23
  "lodash": "^4.17.19",
24
24
  "prop-types": "^15.8.1",
25
- "victory-core": "^36.6.2"
25
+ "victory-core": "^36.6.3"
26
26
  },
27
27
  "peerDependencies": {
28
28
  "react": ">=16.6.0"
@@ -48,7 +48,9 @@
48
48
  "files": [
49
49
  "src/**",
50
50
  "!src/**/*.test.*",
51
- "../../.babelrc.build.js"
51
+ "../../.babelrc.build.js",
52
+ "../../.babelrc.js",
53
+ "../../package-scripts.js"
52
54
  ],
53
55
  "output": [
54
56
  "es/**/*.js",
@@ -66,7 +68,9 @@
66
68
  "files": [
67
69
  "src/**",
68
70
  "!src/**/*.test.*",
69
- "../../.babelrc.build.js"
71
+ "../../.babelrc.build.js",
72
+ "../../.babelrc.js",
73
+ "../../package-scripts.js"
70
74
  ],
71
75
  "output": [
72
76
  "lib/**/*.js",
@@ -91,6 +95,8 @@
91
95
  "src/**",
92
96
  "!src/**/*.test.*",
93
97
  "../../.babelrc.build.js",
98
+ "../../.babelrc.js",
99
+ "../../package-scripts.js",
94
100
  "../../config/webpack.config.js",
95
101
  "../../config/webpack.config.dev.js"
96
102
  ],
@@ -111,6 +117,8 @@
111
117
  "src/**",
112
118
  "!src/**/*.test.*",
113
119
  "../../.babelrc.build.js",
120
+ "../../.babelrc.js",
121
+ "../../package-scripts.js",
114
122
  "../../config/webpack.config.js"
115
123
  ],
116
124
  "output": [