@khanacademy/perseus-editor 14.11.2 → 14.12.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.
@@ -1,7 +1,11 @@
1
1
  import * as React from "react";
2
2
  type Props = {
3
3
  ariaLabel: string | undefined;
4
- prePopulatedAriaLabel: string;
4
+ /**
5
+ * The async function that generates the prepopulated aria label
6
+ * for the locked figure with math details converted to spoken words.
7
+ */
8
+ getPrepopulatedAriaLabel: () => Promise<string>;
5
9
  onChangeProps: (props: {
6
10
  ariaLabel?: string | undefined;
7
11
  }) => void;
@@ -8,3 +8,4 @@ export declare function getDefaultFigureForType(type: "function"): LockedFunctio
8
8
  export declare function getDefaultFigureForType(type: "label"): LockedLabelType;
9
9
  export declare function getDefaultFigureForType(type: LockedFigureType): LockedFigure;
10
10
  export declare function generateLockedFigureAppearanceDescription(color: LockedFigureColor, strokeStyle?: LockedLineStyle, fill?: LockedFigureFillType): string;
11
+ export declare function generateSpokenMathDetails(mathString: string): Promise<string>;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Perseus editors",
4
4
  "author": "Khan Academy",
5
5
  "license": "MIT",
6
- "version": "14.11.2",
6
+ "version": "14.12.1",
7
7
  "publishConfig": {
8
8
  "access": "public"
9
9
  },
@@ -38,8 +38,9 @@
38
38
  "@khanacademy/keypad-context": "^1.0.4",
39
39
  "@khanacademy/kmath": "^0.1.16",
40
40
  "@khanacademy/math-input": "^21.1.4",
41
- "@khanacademy/perseus": "^41.4.0",
41
+ "@khanacademy/perseus": "^42.0.0",
42
42
  "@khanacademy/perseus-core": "1.5.3",
43
+ "@khanacademy/pure-markdown": "^0.3.11",
43
44
  "mafs": "^0.19.0"
44
45
  },
45
46
  "devDependencies": {