@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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @khanacademy/math-input
|
|
2
2
|
|
|
3
|
+
## 17.0.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#957](https://github.com/Khan/perseus/pull/957) [`19114138`](https://github.com/Khan/perseus/commit/1911413844b59ef87d5b2329f6120e4568be9ae3) Thanks [@nedredmond](https://github.com/nedredmond)! - MathQuill provided a translated label
|
|
8
|
+
|
|
3
9
|
## 17.0.1
|
|
4
10
|
|
|
5
11
|
### Patch 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.
|
|
20
|
+
const libVersion = "17.0.2";
|
|
21
21
|
addLibraryVersionToPerseusDebug(libName, libVersion);
|
|
22
22
|
|
|
23
23
|
function _extends() {
|
|
@@ -387,7 +387,10 @@ const createBaseConfig = () => ({
|
|
|
387
387
|
function createMathField(container, configCallback) {
|
|
388
388
|
const baseConfig = createBaseConfig();
|
|
389
389
|
const config = configCallback ? configCallback(baseConfig) : baseConfig;
|
|
390
|
-
|
|
390
|
+
const mathField = mathQuillInstance.MathField(container, config)
|
|
391
|
+
// translated in ./math-input.tsx
|
|
392
|
+
.setAriaLabel(i18n._("Math input box"));
|
|
393
|
+
return mathField;
|
|
391
394
|
}
|
|
392
395
|
|
|
393
396
|
/**
|