@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/es/index.js
CHANGED
|
@@ -18020,17 +18020,6 @@ class WidgetContainer extends React.Component {
|
|
|
18020
18020
|
widget_id: this.props.id
|
|
18021
18021
|
},
|
|
18022
18022
|
onError: error => {
|
|
18023
|
-
// TODO(LEMS-2826): Remove analytics event in LEMS-2826 in favor of ti below.
|
|
18024
|
-
analytics.onAnalyticsEvent({
|
|
18025
|
-
type: "perseus:widget-rendering-error",
|
|
18026
|
-
payload: {
|
|
18027
|
-
widgetSubType: subType,
|
|
18028
|
-
widgetType: type,
|
|
18029
|
-
widgetId: this.props.id,
|
|
18030
|
-
message: error.message,
|
|
18031
|
-
userAgent: userAgent
|
|
18032
|
-
}
|
|
18033
|
-
});
|
|
18034
18023
|
analytics.onAnalyticsEvent({
|
|
18035
18024
|
type: "perseus:widget-rendering-error:ti",
|
|
18036
18025
|
payload: {
|
|
@@ -29860,7 +29849,7 @@ const PolygonAngle = ({
|
|
|
29860
29849
|
}), /*#__PURE__*/React.createElement("feComposite", {
|
|
29861
29850
|
operator: "over",
|
|
29862
29851
|
in: "SourceGraphic"
|
|
29863
|
-
}))), !isOutside &&
|
|
29852
|
+
}))), !isOutside && isRightPolygonAngle(angle) ? /*#__PURE__*/React.createElement(RightAngleSquare, {
|
|
29864
29853
|
start: [x1, y1],
|
|
29865
29854
|
vertex: [x2, y2],
|
|
29866
29855
|
end: [x3, y3]
|
|
@@ -41399,7 +41388,7 @@ const addLibraryVersionToPerseusDebug = (libraryName, libraryVersion) => {
|
|
|
41399
41388
|
|
|
41400
41389
|
// This file is processed by a Rollup plugin (replace) to inject the production
|
|
41401
41390
|
const libName = "@khanacademy/perseus";
|
|
41402
|
-
const libVersion = "56.
|
|
41391
|
+
const libVersion = "56.2.0";
|
|
41403
41392
|
addLibraryVersionToPerseusDebug(libName, libVersion);
|
|
41404
41393
|
|
|
41405
41394
|
const apiVersion = {
|