@khanacademy/math-input 21.1.4 → 21.1.5
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 +5 -2
- package/dist/es/index.js.map +1 -1
- package/dist/index.js +5 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -45,7 +45,7 @@ var PropTypes__default = /*#__PURE__*/_interopDefaultLegacy(PropTypes);
|
|
|
45
45
|
|
|
46
46
|
// This file is processed by a Rollup plugin (replace) to inject the production
|
|
47
47
|
const libName = "@khanacademy/math-input";
|
|
48
|
-
const libVersion = "21.1.
|
|
48
|
+
const libVersion = "21.1.5";
|
|
49
49
|
perseusCore.addLibraryVersionToPerseusDebug(libName, libVersion);
|
|
50
50
|
|
|
51
51
|
function _extends() {
|
|
@@ -2324,7 +2324,10 @@ class MathInput extends React__namespace.Component {
|
|
|
2324
2324
|
this.handleTouchStart(e, keypadActive, setKeypadActive);
|
|
2325
2325
|
},
|
|
2326
2326
|
onTouchMove: this.handleTouchMove,
|
|
2327
|
-
onTouchEnd: this.handleTouchEnd
|
|
2327
|
+
onTouchEnd: this.handleTouchEnd
|
|
2328
|
+
// TODO(LEMS-2656): remove TS suppression
|
|
2329
|
+
// @ts-expect-error: Type '(e: React.MouseEvent<HTMLDivElement>) => void' is not assignable to type '(arg1: SyntheticEvent<HTMLDivElement, Event>) => void'.
|
|
2330
|
+
,
|
|
2328
2331
|
onClick: e => {
|
|
2329
2332
|
this.handleClick(e, keypadActive, setKeypadActive);
|
|
2330
2333
|
},
|