@khanacademy/math-input 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/CHANGELOG.md +11 -0
- package/dist/components/keypad/mobile-keypad.d.ts +1 -1
- package/dist/es/index.js +2 -2
- package/dist/es/index.js.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/__tests__/integration.test.tsx +287 -0
- package/src/components/keypad/keypad-button.stories.tsx +2 -1
- package/src/components/keypad/keypad-mathquill.stories.tsx +1 -1
- package/src/components/keypad/keypad-pages/fractions-page.tsx +1 -1
- package/src/components/keypad/keypad-pages/keypad-pages.stories.tsx +1 -1
- package/src/components/keypad/mobile-keypad.tsx +1 -1
- package/src/components/keypad/navigation-pad.stories.tsx +1 -1
- package/src/components/tabbar/tabbar.stories.tsx +4 -1
- package/src/{components/keypad/keypad.stories.tsx → full-keypad.stories.tsx} +4 -4
- package/src/{full-math-input.stories.tsx → full-mobile-input.stories.tsx} +1 -1
- package/tsconfig-build.tsbuildinfo +1 -1
package/dist/index.js
CHANGED
|
@@ -4857,7 +4857,7 @@ function FractionsPage(props) {
|
|
|
4857
4857
|
coord: [3, 1],
|
|
4858
4858
|
secondary: true
|
|
4859
4859
|
}), /*#__PURE__*/React__namespace.createElement(KeypadButton$2, {
|
|
4860
|
-
keyConfig: KeyConfigs.
|
|
4860
|
+
keyConfig: KeyConfigs.FRAC,
|
|
4861
4861
|
onClickKey: onClickKey,
|
|
4862
4862
|
coord: [3, 2],
|
|
4863
4863
|
secondary: true
|
|
@@ -5482,7 +5482,7 @@ class MobileKeypad extends React__namespace.Component {
|
|
|
5482
5482
|
}
|
|
5483
5483
|
}
|
|
5484
5484
|
}
|
|
5485
|
-
|
|
5485
|
+
componentWillUnmount() {
|
|
5486
5486
|
var _this$_containerResiz;
|
|
5487
5487
|
window.removeEventListener("resize", this._throttleResizeHandler);
|
|
5488
5488
|
window.removeEventListener("orientationchange", this._throttleResizeHandler);
|