@khanacademy/math-input 17.0.0 → 17.0.1

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,11 @@
1
1
  # @khanacademy/math-input
2
2
 
3
+ ## 17.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#950](https://github.com/Khan/perseus/pull/950) [`8c8af142`](https://github.com/Khan/perseus/commit/8c8af1425a5cd257ca894b20bdb481f7148ffa7d) Thanks [@nishasy](https://github.com/nishasy)! - Change the focus order so the FRAC key is before the PLUS key
8
+
3
9
  ## 17.0.0
4
10
 
5
11
  ### Major Changes
package/dist/es/index.js CHANGED
@@ -17,7 +17,7 @@ import PropTypes from 'prop-types';
17
17
 
18
18
  // This file is processed by a Rollup plugin (replace) to inject the production
19
19
  const libName = "@khanacademy/math-input";
20
- const libVersion = "17.0.0";
20
+ const libVersion = "17.0.1";
21
21
  addLibraryVersionToPerseusDebug(libName, libVersion);
22
22
 
23
23
  function _extends() {
@@ -4936,6 +4936,11 @@ function SharedKeys(props) {
4936
4936
  // Fraction position depends on the page
4937
4937
  const fractionCoord = selectedPage === "Numbers" || selectedPage === "Operators" ? [3, 1] : [3, 0];
4938
4938
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(KeypadButton, {
4939
+ keyConfig: KeyConfigs.FRAC,
4940
+ onClickKey: onClickKey,
4941
+ coord: fractionCoord,
4942
+ secondary: true
4943
+ }), /*#__PURE__*/React.createElement(KeypadButton, {
4939
4944
  keyConfig: KeyConfigs.PLUS,
4940
4945
  onClickKey: onClickKey,
4941
4946
  coord: [4, 0],
@@ -4945,11 +4950,6 @@ function SharedKeys(props) {
4945
4950
  onClickKey: onClickKey,
4946
4951
  coord: [5, 0],
4947
4952
  secondary: true
4948
- }), /*#__PURE__*/React.createElement(KeypadButton, {
4949
- keyConfig: KeyConfigs.FRAC,
4950
- onClickKey: onClickKey,
4951
- coord: fractionCoord,
4952
- secondary: true
4953
4953
  }), /*#__PURE__*/React.createElement(KeypadButton, {
4954
4954
  keyConfig: convertDotToTimesByLocale(!!convertDotToTimes) ? KeyConfigs.TIMES : KeyConfigs.CDOT,
4955
4955
  onClickKey: onClickKey,