@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/es/index.js
CHANGED
|
@@ -19252,6 +19252,15 @@ const isIdPathPrefix = function isIdPathPrefix(prefixArray, wholeArray) {
|
|
|
19252
19252
|
// some return a custom-built object, some delegate to
|
|
19253
19253
|
// `WidgetJsonifyDeprecated` which returns an object containing widget props
|
|
19254
19254
|
// (filtered by deprecated keys)).
|
|
19255
|
+
/**
|
|
19256
|
+
* The Widget type represents the common API that the Renderer uses to interact
|
|
19257
|
+
* with all widgets. All widgets must implement the methods in this API, unless
|
|
19258
|
+
* they are marked as optional (?: ...).
|
|
19259
|
+
*
|
|
19260
|
+
* These methods are called on the widget ref and allow the renderer to
|
|
19261
|
+
* communicate with the individual widgets to coordinate actions such as
|
|
19262
|
+
* scoring, state serialization/deserialization, and focus management.
|
|
19263
|
+
*/
|
|
19255
19264
|
class Renderer extends React.Component {
|
|
19256
19265
|
constructor(_props) {
|
|
19257
19266
|
super(_props);
|
|
@@ -41550,7 +41559,7 @@ const init = function init(options) {
|
|
|
41550
41559
|
|
|
41551
41560
|
// This file is processed by a Rollup plugin (replace) to inject the production
|
|
41552
41561
|
const libName = "@khanacademy/perseus";
|
|
41553
|
-
const libVersion = "19.6.
|
|
41562
|
+
const libVersion = "19.6.3";
|
|
41554
41563
|
addLibraryVersionToPerseusDebug(libName, libVersion);
|
|
41555
41564
|
|
|
41556
41565
|
const apiVersion = {
|