@khanacademy/perseus-core
Advanced tools
Comparing version 0.0.0-PR2263-20250221210146 to 0.0.0-PR2263-20250224224732
@@ -748,5 +748,6 @@ /** | ||
export type PerseusNumericInputAnswerForm = { | ||
simplify: "required" | "correct" | "enforced" | "optional" | null | undefined; | ||
simplify: PerseusNumericInputSimplify | null | undefined; | ||
name: MathFormat; | ||
}; | ||
export type PerseusNumericInputSimplify = "required" | "correct" | "enforced" | "optional"; | ||
export type PerseusNumericInputWidgetOptions = { | ||
@@ -759,3 +760,2 @@ answers: ReadonlyArray<PerseusNumericInputAnswer>; | ||
static: boolean; | ||
answerForms?: ReadonlyArray<PerseusNumericInputAnswerForm>; | ||
}; | ||
@@ -769,3 +769,3 @@ export type PerseusNumericInputAnswer = { | ||
maxError: number | null | undefined; | ||
simplify: string | null | undefined; | ||
simplify: PerseusNumericInputSimplify | null | undefined; | ||
}; | ||
@@ -772,0 +772,0 @@ export type PerseusNumberLineWidgetOptions = { |
@@ -1,2 +0,3 @@ | ||
import type { PerseusNumericInputWidgetOptions } from "@khanacademy/perseus-core"; | ||
import type { PerseusNumericInputAnswer, PerseusNumericInputWidgetOptions } from "@khanacademy/perseus-core"; | ||
type NumericInputAnswerPublicData = Pick<PerseusNumericInputAnswer, "answerForms" | "simplify" | "status">; | ||
/** | ||
@@ -12,3 +13,3 @@ * For details on the individual options, see the | ||
static: PerseusNumericInputWidgetOptions["static"]; | ||
answerForms?: PerseusNumericInputWidgetOptions["answerForms"]; | ||
answers: ReadonlyArray<NumericInputAnswerPublicData>; | ||
}; | ||
@@ -15,0 +16,0 @@ /** |
@@ -6,3 +6,3 @@ { | ||
"license": "MIT", | ||
"version": "0.0.0-PR2263-20250221210146", | ||
"version": "0.0.0-PR2263-20250224224732", | ||
"publishConfig": { | ||
@@ -9,0 +9,0 @@ "access": "public" |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
1159313
9706