@khanacademy/perseus 6.4.3 → 6.4.4
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/CHANGELOG.md +8 -0
- package/dist/components/graph.d.ts +2 -2
- package/dist/components/graph.js.flow +2 -2
- package/dist/components/svg-image.d.ts +1 -1
- package/dist/components/svg-image.js.flow +1 -1
- package/dist/es/index.js +0 -2
- package/dist/es/index.js.map +1 -1
- package/dist/index.js +0 -2
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
- package/src/components/graph.tsx +3 -2
- package/src/components/svg-image.tsx +1 -1
- package/src/widgets/__tests__/expression.test.ts +0 -3
- package/src/widgets/expression.tsx +0 -1
- package/tsconfig-build.tsbuildinfo +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import { Coord } from "../interactive2/types";
|
|
3
|
-
import { PerseusImageBackground } from "../perseus-types";
|
|
2
|
+
import type { Coord } from "../interactive2/types";
|
|
3
|
+
import type { PerseusImageBackground } from "../perseus-types";
|
|
4
4
|
type Props = {
|
|
5
5
|
box: Readonly<[number, number]>;
|
|
6
6
|
labels: ReadonlyArray<string>;
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
* @flow
|
|
6
6
|
*/
|
|
7
7
|
import * as React from "react";
|
|
8
|
-
import { Coord } from "../interactive2/types";
|
|
9
|
-
import { PerseusImageBackground } from "../perseus-types";
|
|
8
|
+
import type { Coord } from "../interactive2/types";
|
|
9
|
+
import type { PerseusImageBackground } from "../perseus-types";
|
|
10
10
|
declare type Props = {|
|
|
11
11
|
box: $ReadOnly<[number, number]>,
|
|
12
12
|
labels: $ReadOnlyArray<string>,
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* @flow
|
|
6
6
|
*/
|
|
7
7
|
import * as React from "react";
|
|
8
|
-
import { Coord } from "../interactive2/types";
|
|
8
|
+
import type { Coord } from "../interactive2/types";
|
|
9
9
|
import type { Size } from "../perseus-types";
|
|
10
10
|
import type { Alignment, Dimensions } from "../types";
|
|
11
11
|
declare type Props = {|
|
package/dist/es/index.js
CHANGED
|
@@ -2428,8 +2428,6 @@ const sendExpressionEvaluatedEvent = result => {
|
|
|
2428
2428
|
getDependencies().analytics({
|
|
2429
2429
|
type: "perseus:expression-evaluated",
|
|
2430
2430
|
payload: {
|
|
2431
|
-
virtualKeypadVersion: "PERSEUS_MATH_INPUT",
|
|
2432
|
-
// STOPSHIP: Or do we push that onto host application?
|
|
2433
2431
|
result
|
|
2434
2432
|
}
|
|
2435
2433
|
});
|