@khanacademy/perseus-editor 14.0.0 → 14.0.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/index.js CHANGED
@@ -91,7 +91,7 @@ var arrowCounterClockwise__default = /*#__PURE__*/_interopDefaultLegacy(arrowCou
91
91
 
92
92
  // This file is processed by a Rollup plugin (replace) to inject the production
93
93
  const libName = "@khanacademy/perseus-editor";
94
- const libVersion = "14.0.0";
94
+ const libVersion = "14.0.1";
95
95
  perseusCore.addLibraryVersionToPerseusDebug(libName, libVersion);
96
96
 
97
97
  function _extends() {
@@ -32577,18 +32577,10 @@ const {
32577
32577
  containerSizeClass,
32578
32578
  getInteractiveBoxFromSizeClass
32579
32579
  } = perseus.SizingUtils;
32580
- const DeprecationMixin = perseus.Util.DeprecationMixin;
32581
32580
  const InteractiveGraph = perseus.InteractiveGraphWidget.widget;
32582
32581
  const defaultBackgroundImage = {
32583
32582
  url: null
32584
32583
  };
32585
- const deprecatedProps = {
32586
- showGraph: function (props) {
32587
- return {
32588
- markings: props.showGraph ? "graph" : "none"
32589
- };
32590
- }
32591
- };
32592
32584
  const POLYGON_SIDES = ___default["default"].map(___default["default"].range(3, 13), function (value) {
32593
32585
  return /*#__PURE__*/React__namespace.createElement(wonderBlocksDropdown.OptionItem, {
32594
32586
  key: `polygon-sides-${value}`,
@@ -32616,14 +32608,6 @@ class InteractiveGraphEditor extends React__namespace.Component {
32616
32608
  coords: null
32617
32609
  }
32618
32610
  };
32619
-
32620
- // TODO(jack): Use versioning instead of DeprecationMixin
32621
- deprecatedProps = deprecatedProps;
32622
-
32623
- // TODO(jangmi, CP-3288): Remove usage of `UNSAFE_componentWillMount`
32624
- UNSAFE_componentWillMount() {
32625
- DeprecationMixin.UNSAFE_componentWillMount.call(this);
32626
- }
32627
32611
  changeMatchType = newValue => {
32628
32612
  const correct = {
32629
32613
  ...this.props.correct,