@khanacademy/math-input 21.1.7 → 22.0.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/es/index.js
CHANGED
|
@@ -16,17 +16,25 @@ import PropTypes from 'prop-types';
|
|
|
16
16
|
|
|
17
17
|
// This file is processed by a Rollup plugin (replace) to inject the production
|
|
18
18
|
const libName = "@khanacademy/math-input";
|
|
19
|
-
const libVersion = "
|
|
19
|
+
const libVersion = "22.0.0";
|
|
20
20
|
addLibraryVersionToPerseusDebug(libName, libVersion);
|
|
21
21
|
|
|
22
22
|
function _extends() {
|
|
23
|
-
|
|
24
|
-
for (var
|
|
25
|
-
var
|
|
26
|
-
|
|
23
|
+
_extends = Object.assign || function (target) {
|
|
24
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
25
|
+
var source = arguments[i];
|
|
26
|
+
|
|
27
|
+
for (var key in source) {
|
|
28
|
+
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
29
|
+
target[key] = source[key];
|
|
30
|
+
}
|
|
31
|
+
}
|
|
27
32
|
}
|
|
28
|
-
|
|
29
|
-
|
|
33
|
+
|
|
34
|
+
return target;
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
return _extends.apply(this, arguments);
|
|
30
38
|
}
|
|
31
39
|
|
|
32
40
|
class View extends React.Component {
|
|
@@ -2347,14 +2355,19 @@ const inlineStyles = {
|
|
|
2347
2355
|
}
|
|
2348
2356
|
};
|
|
2349
2357
|
|
|
2350
|
-
function _objectWithoutPropertiesLoose(
|
|
2351
|
-
if (
|
|
2352
|
-
var
|
|
2353
|
-
|
|
2354
|
-
|
|
2355
|
-
|
|
2358
|
+
function _objectWithoutPropertiesLoose(source, excluded) {
|
|
2359
|
+
if (source == null) return {};
|
|
2360
|
+
var target = {};
|
|
2361
|
+
var sourceKeys = Object.keys(source);
|
|
2362
|
+
var key, i;
|
|
2363
|
+
|
|
2364
|
+
for (i = 0; i < sourceKeys.length; i++) {
|
|
2365
|
+
key = sourceKeys[i];
|
|
2366
|
+
if (excluded.indexOf(key) >= 0) continue;
|
|
2367
|
+
target[key] = source[key];
|
|
2356
2368
|
}
|
|
2357
|
-
|
|
2369
|
+
|
|
2370
|
+
return target;
|
|
2358
2371
|
}
|
|
2359
2372
|
|
|
2360
2373
|
const IconAsset = function IconAsset({
|