@khanacademy/math-input 0.6.3 → 0.6.4

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
+ ## 0.6.4
4
+
5
+ ### Patch Changes
6
+
7
+ - 113953e8: Exports new types to support custom keypads: `CursorContext`, `KeypadType`, `KeyType`, and `Key`
8
+
3
9
  ## 0.6.3
4
10
 
5
11
  ### Patch Changes
package/dist/es/index.js CHANGED
@@ -300,6 +300,7 @@ var toolbarHeightPx = 60;
300
300
  /**
301
301
  * Constants that are shared between multiple files.
302
302
  */
303
+ // TODO: Retire this in favour of KeypadType (above)
303
304
  var KeypadTypes = {
304
305
  FRACTION: "FRACTION",
305
306
  EXPRESSION: "EXPRESSION"
@@ -673,6 +674,7 @@ for (var key of Object.keys(KeyConfigs)) {
673
674
  * now, we show the dismiss button rather than allowing the user to jump out of
674
675
  * the radical.
675
676
  */
677
+ // TODO: Get rid of these constants in favour of CursorContext type.
676
678
  // The cursor is not in any of the other viable contexts.
677
679
  var NONE = "NONE"; // The cursor is within a set of parentheses.
678
680