@khanacademy/perseus 19.6.2 → 19.6.3
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/es/index.js +10 -1
- package/dist/es/index.js.map +1 -1
- package/dist/index.js +10 -1
- package/dist/index.js.map +1 -1
- package/dist/renderer.d.ts +9 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -19315,6 +19315,15 @@ const isIdPathPrefix = function (prefixArray, wholeArray) {
|
|
|
19315
19315
|
// some return a custom-built object, some delegate to
|
|
19316
19316
|
// `WidgetJsonifyDeprecated` which returns an object containing widget props
|
|
19317
19317
|
// (filtered by deprecated keys)).
|
|
19318
|
+
/**
|
|
19319
|
+
* The Widget type represents the common API that the Renderer uses to interact
|
|
19320
|
+
* with all widgets. All widgets must implement the methods in this API, unless
|
|
19321
|
+
* they are marked as optional (?: ...).
|
|
19322
|
+
*
|
|
19323
|
+
* These methods are called on the widget ref and allow the renderer to
|
|
19324
|
+
* communicate with the individual widgets to coordinate actions such as
|
|
19325
|
+
* scoring, state serialization/deserialization, and focus management.
|
|
19326
|
+
*/
|
|
19318
19327
|
class Renderer extends React__namespace.Component {
|
|
19319
19328
|
// @ts-expect-error - TS2564 - Property '_foundTextNodes' has no initializer and is not definitely assigned in the constructor.
|
|
19320
19329
|
|
|
@@ -41688,7 +41697,7 @@ const init = function (options) {
|
|
|
41688
41697
|
|
|
41689
41698
|
// This file is processed by a Rollup plugin (replace) to inject the production
|
|
41690
41699
|
const libName = "@khanacademy/perseus";
|
|
41691
|
-
const libVersion = "19.6.
|
|
41700
|
+
const libVersion = "19.6.3";
|
|
41692
41701
|
perseusCore.addLibraryVersionToPerseusDebug(libName, libVersion);
|
|
41693
41702
|
|
|
41694
41703
|
const apiVersion = {
|