@khanacademy/perseus-core 18.5.0 → 18.6.0

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.
@@ -82,6 +82,12 @@ export declare const parseInteractiveGraphWidget: import("../parser-types").Pars
82
82
  rulerLabel: string | undefined;
83
83
  rulerTicks: number | undefined;
84
84
  range: [[number, number], [number, number]];
85
+ showAxisArrows: import("../general-purpose-parsers/object-types").OptionalizeProperties<{
86
+ xMin: boolean;
87
+ xMax: boolean;
88
+ yMin: boolean;
89
+ yMax: boolean;
90
+ }>;
85
91
  graph: import("../general-purpose-parsers/object-types").OptionalizeProperties<{
86
92
  type: "angle";
87
93
  showAngles: boolean | undefined;
@@ -1,3 +1,3 @@
1
1
  export declare const parseMatrixUserInput: import("../parser-types").Parser<import("../general-purpose-parsers/object-types").OptionalizeProperties<{
2
- answers: number[][];
2
+ answers: string[][];
3
3
  }>>;
@@ -1,2 +1,2 @@
1
- declare function getMatrixSize(matrix: ReadonlyArray<ReadonlyArray<number>>): number[];
1
+ declare function getMatrixSize(matrix: ReadonlyArray<ReadonlyArray<number>> | ReadonlyArray<ReadonlyArray<string>>): number[];
2
2
  export default getMatrixSize;
@@ -126,7 +126,7 @@ export type PerseusMatrixRubric = {
126
126
  } & PerseusMatrixValidationData;
127
127
  export type PerseusMatrixValidationData = Empty;
128
128
  export type PerseusMatrixUserInput = {
129
- answers: PerseusMatrixRubric["answers"];
129
+ answers: string[][];
130
130
  };
131
131
  export type PerseusNumberLineRubric = {
132
132
  correctRel: string | null | undefined;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Shared Perseus infrastructure",
4
4
  "author": "Khan Academy",
5
5
  "license": "MIT",
6
- "version": "18.5.0",
6
+ "version": "18.6.0",
7
7
  "publishConfig": {
8
8
  "access": "public"
9
9
  },