@khanacademy/perseus-editor 5.2.4 → 5.2.6
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/es/index.js +4 -1
- package/dist/es/index.js.map +1 -1
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/dist/widgets/interactive-graph-editor.d.ts +321 -635
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -66,7 +66,7 @@ var i18n__namespace = /*#__PURE__*/_interopNamespace(i18n$1);
|
|
|
66
66
|
|
|
67
67
|
// This file is processed by a Rollup plugin (replace) to inject the production
|
|
68
68
|
const libName = "@khanacademy/perseus-editor";
|
|
69
|
-
const libVersion = "5.2.
|
|
69
|
+
const libVersion = "5.2.6";
|
|
70
70
|
perseusCore.addLibraryVersionToPerseusDebug(libName, libVersion);
|
|
71
71
|
|
|
72
72
|
function _extends() {
|
|
@@ -21281,6 +21281,9 @@ class Editor extends React__namespace.Component {
|
|
|
21281
21281
|
// eg. If there is an "image 2" already present in the editor and we're
|
|
21282
21282
|
// about to paste in two new images, return
|
|
21283
21283
|
// { "image 1": "image 3", "image 2": "image 4" }
|
|
21284
|
+
//
|
|
21285
|
+
// TODO switch to UUIDs rather than these fragile IDs
|
|
21286
|
+
// see: LEMS-1845
|
|
21284
21287
|
|
|
21285
21288
|
// List of widgets about to be pasted as [[name, number], ...]
|
|
21286
21289
|
const widgets = ___default["default"].keys(widgetData).map(name => name.split(" "));
|