@khanacademy/perseus-core 0.0.0-PR875-20250222011102 → 0.0.0-PR875-20250225011257
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,4 +1,5 @@
|
|
|
1
|
-
import type { PerseusNumericInputWidgetOptions } from "@khanacademy/perseus-core";
|
|
1
|
+
import type { PerseusNumericInputAnswer, PerseusNumericInputWidgetOptions } from "@khanacademy/perseus-core";
|
|
2
|
+
type NumericInputAnswerPublicData = Pick<PerseusNumericInputAnswer, "answerForms" | "simplify" | "status">;
|
|
2
3
|
/**
|
|
3
4
|
* For details on the individual options, see the
|
|
4
5
|
* PerseusNumericInputWidgetOptions type
|
|
@@ -9,7 +10,7 @@ type NumericInputPublicWidgetOptions = {
|
|
|
9
10
|
coefficient: PerseusNumericInputWidgetOptions["coefficient"];
|
|
10
11
|
rightAlign?: PerseusNumericInputWidgetOptions["rightAlign"];
|
|
11
12
|
static: PerseusNumericInputWidgetOptions["static"];
|
|
12
|
-
|
|
13
|
+
answers: ReadonlyArray<NumericInputAnswerPublicData>;
|
|
13
14
|
};
|
|
14
15
|
/**
|
|
15
16
|
* Given a PerseusNumericInputWidgetOptions object, return a new object with only
|