@khanacademy/perseus-core 5.3.0 → 5.4.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.
- package/dist/data-schema.d.ts +19 -3
- package/dist/es/index.js +30 -11
- package/dist/es/index.js.map +1 -1
- package/dist/index.js +30 -11
- package/dist/index.js.map +1 -1
- package/dist/parse-perseus-json/perseus-parsers/numeric-input-widget.d.ts +2 -1
- package/dist/utils/split-perseus-item.d.ts +3 -2
- package/package.json +1 -1
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import type { NumericInputWidget } from "../../data-schema";
|
|
1
|
+
import type { NumericInputWidget, PerseusNumericInputSimplify } from "../../data-schema";
|
|
2
2
|
import type { Parser } from "../parser-types";
|
|
3
|
+
export declare const parseSimplify: Parser<PerseusNumericInputSimplify>;
|
|
3
4
|
export declare const parseNumericInputWidget: Parser<NumericInputWidget>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { PerseusRenderer } from "../data-schema";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
*
|
|
3
|
+
* Return a copy of a Perseus item with rubric data removed (ie answers)
|
|
4
|
+
*
|
|
5
|
+
* @param originalItem - the original, full Perseus item (which includes the rubric - aka answer data)
|
|
5
6
|
*/
|
|
6
7
|
export default function splitPerseusItem(originalItem: PerseusRenderer): PerseusRenderer;
|