@khanacademy/math-input 5.0.0 → 5.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
+ ## 5.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 0cd9f3c4: Export getCursorContext helper from MathInput
8
+
3
9
  ## 5.0.0
4
10
 
5
11
  ### Major Changes
package/dist/es/index.js CHANGED
@@ -8646,5 +8646,5 @@ const styles = StyleSheet.create({
8646
8646
  }
8647
8647
  });
8648
8648
 
8649
- export { CursorContext, KeyConfigs, Keypad, MathInput as KeypadInput, KeypadType, ProvidedKeypad as LegacyKeypad, createMathField, keyToMathquillMap as keyTranslator, keypadElementPropType, mathQuillInstance };
8649
+ export { CursorContext, KeyConfigs, Keypad, MathInput as KeypadInput, KeypadType, ProvidedKeypad as LegacyKeypad, createMathField, getCursorContext, keyToMathquillMap as keyTranslator, keypadElementPropType, mathQuillInstance };
8650
8650
  //# sourceMappingURL=index.js.map
package/dist/index.d.ts CHANGED
@@ -4,6 +4,7 @@
4
4
  import "../less/main.less";
5
5
  export { CursorContext } from "./components/input/cursor-contexts";
6
6
  export { default as KeypadInput } from "./components/input/math-input";
7
+ export { getCursorContext } from "./components/input/mathquill-helpers";
7
8
  export { keypadElementPropType } from "./components/prop-types";
8
9
  export { default as LegacyKeypad } from "./components/keypad-legacy/provided-keypad";
9
10
  export { default as KeyConfigs } from "./data/key-configs";
package/dist/index.js CHANGED
@@ -8852,6 +8852,7 @@ exports.KeypadInput = MathInput;
8852
8852
  exports.KeypadType = KeypadType;
8853
8853
  exports.LegacyKeypad = ProvidedKeypad;
8854
8854
  exports.createMathField = createMathField;
8855
+ exports.getCursorContext = getCursorContext;
8855
8856
  exports.keyTranslator = keyToMathquillMap;
8856
8857
  exports.keypadElementPropType = keypadElementPropType;
8857
8858
  exports.mathQuillInstance = mathQuillInstance;
@@ -7,6 +7,7 @@
7
7
  import "../less/main.less";
8
8
  declare export { CursorContext } from "./components/input/cursor-contexts";
9
9
  declare export { default as KeypadInput } from "./components/input/math-input";
10
+ declare export { getCursorContext } from "./components/input/mathquill-helpers";
10
11
  declare export { keypadElementPropType } from "./components/prop-types";
11
12
  declare export { default as LegacyKeypad } from "./components/keypad-legacy/provided-keypad";
12
13
  declare export { default as KeyConfigs } from "./data/key-configs";