@khanacademy/perseus-editor 13.0.0 → 13.1.0

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 = "13.0.0";
94
+ const libVersion = "13.1.0";
95
95
  perseusCore.addLibraryVersionToPerseusDebug(libName, libVersion);
96
96
 
97
97
  function _extends() {
@@ -31707,12 +31707,6 @@ const LockedFiguresSection = props => {
31707
31707
  onToggle: () => setIsExpanded(!isExpanded),
31708
31708
  isCollapsible: true
31709
31709
  }), isExpanded && /*#__PURE__*/React__namespace.createElement(wonderBlocksCore.View, null, figures?.map((figure, index) => {
31710
- if (figure.type === "label") {
31711
- // TODO(LEMS-1795): Add locked label settings.
31712
- // Remove this block once label locked figure
31713
- // settings are implemented.
31714
- return;
31715
- }
31716
31710
  return /*#__PURE__*/React__namespace.createElement(LockedFigureSettings, _extends({
31717
31711
  key: `${uniqueId}-locked-${figure}-${index}`,
31718
31712
  showM2bFeatures: props.showM2bFeatures,
@@ -36125,12 +36119,12 @@ class PassageRefTargetEditor extends React__namespace.Component {
36125
36119
  }
36126
36120
 
36127
36121
  /* eslint-disable @khanacademy/ts-no-error-suppressions */
36128
- class PhetSimEditor extends React__namespace.Component {
36122
+ class PhetSimulationEditor extends React__namespace.Component {
36129
36123
  static defaultProps = {
36130
36124
  url: "",
36131
36125
  description: ""
36132
36126
  };
36133
- static widgetName = "phet-sim";
36127
+ static widgetName = "phet-simulation";
36134
36128
  render() {
36135
36129
  return /*#__PURE__*/React__namespace.createElement("div", null, /*#__PURE__*/React__namespace.createElement(wonderBlocksForm.LabeledTextField, {
36136
36130
  label: "URL",
@@ -37109,7 +37103,7 @@ class VideoEditor extends React__namespace.Component {
37109
37103
  }
37110
37104
  }
37111
37105
 
37112
- var AllEditors = [CategorizerEditor, CSProgramEditor, DefinitionEditor, DropdownEditor, ExampleGraphieWidgetEditor, ExampleWidgetEditor, ExplanationEditor, ExpressionEditor, GradedGroupEditor, GradedGroupSetEditor, GrapherEditor, GroupEditor, IframeEditor, ImageEditor, InputNumberEditor, InteractionEditor, InteractiveGraphEditor, LabelImageEditor, MatcherEditor, MatrixEditor, MeasurerEditor, MoleculeWidgetEditor, NumberLineEditor, NumericInputEditor, OrdererEditor, PassageEditor, PassageRefEditor, PassageRefTargetEditor, PhetSimEditor, PlotterEditor, PythonProgramEditor, SimpleMarkdownTesterEditor, SorterEditor, TableEditor, VideoEditor, RadioEditor, DeprecatedStandinEditor];
37106
+ var AllEditors = [CategorizerEditor, CSProgramEditor, DefinitionEditor, DropdownEditor, ExampleGraphieWidgetEditor, ExampleWidgetEditor, ExplanationEditor, ExpressionEditor, GradedGroupEditor, GradedGroupSetEditor, GrapherEditor, GroupEditor, IframeEditor, ImageEditor, InputNumberEditor, InteractionEditor, InteractiveGraphEditor, LabelImageEditor, MatcherEditor, MatrixEditor, MeasurerEditor, MoleculeWidgetEditor, NumberLineEditor, NumericInputEditor, OrdererEditor, PassageEditor, PassageRefEditor, PassageRefTargetEditor, PhetSimulationEditor, PlotterEditor, PythonProgramEditor, SimpleMarkdownTesterEditor, SorterEditor, TableEditor, VideoEditor, RadioEditor, DeprecatedStandinEditor];
37113
37107
 
37114
37108
  /* eslint-disable @khanacademy/ts-no-error-suppressions */
37115
37109
  class TextInput extends React__namespace.Component {