@khanacademy/perseus 56.1.0 → 56.2.0
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 +2 -13
- package/dist/es/index.js.map +1 -1
- package/dist/index.js +2 -13
- package/dist/index.js.map +1 -1
- package/package.json +7 -7
package/dist/index.js
CHANGED
|
@@ -18350,17 +18350,6 @@ class WidgetContainer extends React__namespace.Component {
|
|
|
18350
18350
|
widget_id: this.props.id
|
|
18351
18351
|
},
|
|
18352
18352
|
onError: error => {
|
|
18353
|
-
// TODO(LEMS-2826): Remove analytics event in LEMS-2826 in favor of ti below.
|
|
18354
|
-
analytics.onAnalyticsEvent({
|
|
18355
|
-
type: "perseus:widget-rendering-error",
|
|
18356
|
-
payload: {
|
|
18357
|
-
widgetSubType: subType,
|
|
18358
|
-
widgetType: type,
|
|
18359
|
-
widgetId: this.props.id,
|
|
18360
|
-
message: error.message,
|
|
18361
|
-
userAgent: userAgent
|
|
18362
|
-
}
|
|
18363
|
-
});
|
|
18364
18353
|
analytics.onAnalyticsEvent({
|
|
18365
18354
|
type: "perseus:widget-rendering-error:ti",
|
|
18366
18355
|
payload: {
|
|
@@ -30324,7 +30313,7 @@ const PolygonAngle = _ref => {
|
|
|
30324
30313
|
}), /*#__PURE__*/React__namespace.createElement("feComposite", {
|
|
30325
30314
|
operator: "over",
|
|
30326
30315
|
in: "SourceGraphic"
|
|
30327
|
-
}))), !isOutside &&
|
|
30316
|
+
}))), !isOutside && isRightPolygonAngle(angle) ? /*#__PURE__*/React__namespace.createElement(RightAngleSquare, {
|
|
30328
30317
|
start: [x1, y1],
|
|
30329
30318
|
vertex: [x2, y2],
|
|
30330
30319
|
end: [x3, y3]
|
|
@@ -41962,7 +41951,7 @@ const addLibraryVersionToPerseusDebug = (libraryName, libraryVersion) => {
|
|
|
41962
41951
|
|
|
41963
41952
|
// This file is processed by a Rollup plugin (replace) to inject the production
|
|
41964
41953
|
const libName = "@khanacademy/perseus";
|
|
41965
|
-
const libVersion = "56.
|
|
41954
|
+
const libVersion = "56.2.0";
|
|
41966
41955
|
addLibraryVersionToPerseusDebug(libName, libVersion);
|
|
41967
41956
|
|
|
41968
41957
|
const apiVersion = {
|