@mathscan/math-exercise-engine 1.2.11 → 1.2.12
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/{GeometryWidget-BTPjXJz-.js → GeometryWidget-BMOiQMvj.js} +2 -2
- package/dist/{GeometryWidget-BTPjXJz-.js.map → GeometryWidget-BMOiQMvj.js.map} +1 -1
- package/dist/{GeometryWidget-2TCLbTEv.mjs → GeometryWidget-Qi5s7Lql.mjs} +2 -2
- package/dist/{GeometryWidget-2TCLbTEv.mjs.map → GeometryWidget-Qi5s7Lql.mjs.map} +1 -1
- package/dist/{index-6z_8j1tM.mjs → index-BtJRsuwL.mjs} +3 -2
- package/dist/{index-6z_8j1tM.mjs.map → index-BtJRsuwL.mjs.map} +1 -1
- package/dist/{index-C3qDr71I.js → index-Di53h19p.js} +3 -2
- package/dist/{index-C3qDr71I.js.map → index-Di53h19p.js.map} +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
|
@@ -19701,7 +19701,7 @@ function isGeometryWidget(widget) {
|
|
|
19701
19701
|
return widget.type === JSON_TYPES.GEOMETRY;
|
|
19702
19702
|
}
|
|
19703
19703
|
const GeometryWidget = React.lazy(async () => ({
|
|
19704
|
-
default: (await Promise.resolve().then(() => require("./GeometryWidget-
|
|
19704
|
+
default: (await Promise.resolve().then(() => require("./GeometryWidget-BMOiQMvj.js"))).GeometryWidget
|
|
19705
19705
|
}));
|
|
19706
19706
|
const WidgetRenderer = ({
|
|
19707
19707
|
widget,
|
|
@@ -22645,6 +22645,7 @@ const ExerciseRenderer = React.forwardRef(({
|
|
|
22645
22645
|
target?.focus();
|
|
22646
22646
|
},
|
|
22647
22647
|
hasTutorial: () => tutorial !== null,
|
|
22648
|
+
tutorialId: () => tutorial?.id ?? null,
|
|
22648
22649
|
startTutorial: (options = {}) => {
|
|
22649
22650
|
if (!tutorial || !rootRef.current) return false;
|
|
22650
22651
|
setTutorialRun((prev) => ({ options, run: (prev?.run ?? 0) + 1 }));
|
|
@@ -23267,4 +23268,4 @@ exports.validateUniqueIds = validateUniqueIds;
|
|
|
23267
23268
|
exports.validateVisualFractionCapacity = validateVisualFractionCapacity;
|
|
23268
23269
|
exports.validateWidgetJSON = validateWidgetJSON;
|
|
23269
23270
|
exports.validateWidgetJSONSafe = validateWidgetJSONSafe;
|
|
23270
|
-
//# sourceMappingURL=index-
|
|
23271
|
+
//# sourceMappingURL=index-Di53h19p.js.map
|