@khanacademy/math-input 22.1.0 → 22.1.2
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 +14 -27
- package/dist/es/index.js.map +1 -1
- package/dist/index.js +1 -1
- package/package.json +13 -13
package/dist/es/index.js
CHANGED
|
@@ -16,25 +16,17 @@ 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 = "22.1.
|
|
19
|
+
const libVersion = "22.1.2";
|
|
20
20
|
addLibraryVersionToPerseusDebug(libName, libVersion);
|
|
21
21
|
|
|
22
22
|
function _extends() {
|
|
23
|
-
_extends = Object.assign
|
|
24
|
-
for (var
|
|
25
|
-
var
|
|
26
|
-
|
|
27
|
-
for (var key in source) {
|
|
28
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
29
|
-
target[key] = source[key];
|
|
30
|
-
}
|
|
31
|
-
}
|
|
23
|
+
return _extends = Object.assign ? Object.assign.bind() : function (n) {
|
|
24
|
+
for (var e = 1; e < arguments.length; e++) {
|
|
25
|
+
var t = arguments[e];
|
|
26
|
+
for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
|
|
32
27
|
}
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
};
|
|
36
|
-
|
|
37
|
-
return _extends.apply(this, arguments);
|
|
28
|
+
return n;
|
|
29
|
+
}, _extends.apply(null, arguments);
|
|
38
30
|
}
|
|
39
31
|
|
|
40
32
|
class View extends React.Component {
|
|
@@ -2355,19 +2347,14 @@ const inlineStyles = {
|
|
|
2355
2347
|
}
|
|
2356
2348
|
};
|
|
2357
2349
|
|
|
2358
|
-
function _objectWithoutPropertiesLoose(
|
|
2359
|
-
if (
|
|
2360
|
-
var
|
|
2361
|
-
var
|
|
2362
|
-
|
|
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];
|
|
2350
|
+
function _objectWithoutPropertiesLoose(r, e) {
|
|
2351
|
+
if (null == r) return {};
|
|
2352
|
+
var t = {};
|
|
2353
|
+
for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
|
|
2354
|
+
if (e.includes(n)) continue;
|
|
2355
|
+
t[n] = r[n];
|
|
2368
2356
|
}
|
|
2369
|
-
|
|
2370
|
-
return target;
|
|
2357
|
+
return t;
|
|
2371
2358
|
}
|
|
2372
2359
|
|
|
2373
2360
|
const IconAsset = function IconAsset({
|