@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 CHANGED
@@ -1,5 +1,16 @@
1
1
  # @khanacademy/math-input
2
2
 
3
+ ## 13.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 3b19a1bf: Ensured that we're properly calling componentWillUnmount
8
+
9
+ ### Patch Changes
10
+
11
+ - 7e2ae0ef: Bugfix for fraction button in v2 fraction keypad
12
+ - 1dc460c7: Add tests for mobile MathInput
13
+
3
14
  ## 13.0.0
4
15
 
5
16
  ### Major Changes
@@ -35,7 +35,7 @@ declare class MobileKeypad extends React.Component<Props, State> implements Keyp
35
35
  hasMounted: boolean;
36
36
  state: State;
37
37
  componentDidMount(): void;
38
- componentWillUnMount(): void;
38
+ componentWillUnmount(): void;
39
39
  _resize: () => void;
40
40
  _throttleResizeHandler: () => void;
41
41
  activate: () => void;
package/dist/es/index.js CHANGED
@@ -4562,7 +4562,7 @@ function FractionsPage(props) {
4562
4562
  coord: [3, 1],
4563
4563
  secondary: true
4564
4564
  }), /*#__PURE__*/React.createElement(KeypadButton$2, {
4565
- keyConfig: KeyConfigs.FRAC_INCLUSIVE,
4565
+ keyConfig: KeyConfigs.FRAC,
4566
4566
  onClickKey: onClickKey,
4567
4567
  coord: [3, 2],
4568
4568
  secondary: true
@@ -5183,7 +5183,7 @@ class MobileKeypad extends React.Component {
5183
5183
  }
5184
5184
  }
5185
5185
  }
5186
- componentWillUnMount() {
5186
+ componentWillUnmount() {
5187
5187
  var _this$_containerResiz;
5188
5188
  window.removeEventListener("resize", this._throttleResizeHandler);
5189
5189
  window.removeEventListener("orientationchange", this._throttleResizeHandler);