@khanacademy/math-input 17.0.1 → 17.0.2

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/dist/index.js CHANGED
@@ -48,7 +48,7 @@ var PropTypes__default = /*#__PURE__*/_interopDefaultLegacy(PropTypes);
48
48
 
49
49
  // This file is processed by a Rollup plugin (replace) to inject the production
50
50
  const libName = "@khanacademy/math-input";
51
- const libVersion = "17.0.1";
51
+ const libVersion = "17.0.2";
52
52
  perseusCore.addLibraryVersionToPerseusDebug(libName, libVersion);
53
53
 
54
54
  function _extends() {
@@ -419,7 +419,10 @@ const createBaseConfig = () => ({
419
419
  function createMathField(container, configCallback) {
420
420
  const baseConfig = createBaseConfig();
421
421
  const config = configCallback ? configCallback(baseConfig) : baseConfig;
422
- return mathQuillInstance.MathField(container, config);
422
+ const mathField = mathQuillInstance.MathField(container, config)
423
+ // translated in ./math-input.tsx
424
+ .setAriaLabel(i18n__namespace._("Math input box"));
425
+ return mathField;
423
426
  }
424
427
 
425
428
  /**