@khanacademy/perseus-editor 2.6.2 → 2.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/CHANGELOG.md +11 -0
- package/dist/es/index.js +9 -0
- package/dist/es/index.js.map +1 -1
- package/dist/index.js +9 -0
- package/dist/index.js.map +1 -1
- package/dist/widgets/interactive-graph-editor.d.ts +92 -92
- package/package.json +2 -2
- package/src/multirenderer-editor.tsx +6 -0
- package/tsconfig-build.tsbuildinfo +1 -1
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Perseus editors",
|
|
4
4
|
"author": "Khan Academy",
|
|
5
5
|
"license": "MIT",
|
|
6
|
-
"version": "2.6.
|
|
6
|
+
"version": "2.6.3",
|
|
7
7
|
"publishConfig": {
|
|
8
8
|
"access": "public"
|
|
9
9
|
},
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@khanacademy/kas": "^0.3.1",
|
|
25
25
|
"@khanacademy/kmath": "^0.1.2",
|
|
26
|
-
"@khanacademy/perseus": "^
|
|
26
|
+
"@khanacademy/perseus": "^9.0.0"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@khanacademy/wonder-blocks-button": "^4.1.3",
|
|
@@ -867,6 +867,12 @@ class MultiRendererEditor extends React.Component<MultiRendererEditorProps> {
|
|
|
867
867
|
item={item}
|
|
868
868
|
shape={itemShape}
|
|
869
869
|
apiOptions={apiOptions}
|
|
870
|
+
// Today, with analytics being the only thing in
|
|
871
|
+
// dependencies, we send in a dummy function as we don't
|
|
872
|
+
// want to gather analytics events from within the editor.
|
|
873
|
+
dependencies={{
|
|
874
|
+
analytics: {onAnalyticsEvent: async () => {}},
|
|
875
|
+
}}
|
|
870
876
|
>
|
|
871
877
|
{({renderers}) => (
|
|
872
878
|
<NodeContainer
|