@khanacademy/perseus-editor 14.0.0 → 14.1.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/all-editors.d.ts +1 -1
- package/dist/components/graph-locked-figures/locked-figures-section.d.ts +1 -1
- package/dist/components/graph-locked-figures/locked-function-examples.d.ts +4 -0
- package/dist/components/interactive-graph-description.d.ts +9 -0
- package/dist/es/index.js +671 -299
- package/dist/es/index.js.map +1 -1
- package/dist/index.js +723 -314
- package/dist/index.js.map +1 -1
- package/dist/widgets/interaction-editor/arrow-picker.d.ts +12 -0
- package/dist/widgets/interaction-editor/color-picker.d.ts +14 -0
- package/dist/widgets/interaction-editor/dash-picker.d.ts +12 -0
- package/dist/widgets/interaction-editor/element-container.d.ts +22 -0
- package/dist/widgets/{interactive-graph-editor.d.ts → interactive-graph-editor/interactive-graph-editor.d.ts} +527 -290
- package/package.json +2 -2
package/dist/all-editors.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ import IframeEditor from "./widgets/iframe-editor";
|
|
|
13
13
|
import ImageEditor from "./widgets/image-editor";
|
|
14
14
|
import InputNumberEditor from "./widgets/input-number-editor";
|
|
15
15
|
import InteractionEditor from "./widgets/interaction-editor";
|
|
16
|
-
import InteractiveGraphEditor from "./widgets/interactive-graph-editor";
|
|
16
|
+
import InteractiveGraphEditor from "./widgets/interactive-graph-editor/interactive-graph-editor";
|
|
17
17
|
import LabelImageEditor from "./widgets/label-image-editor";
|
|
18
18
|
import MatcherEditor from "./widgets/matcher-editor";
|
|
19
19
|
import MatrixEditor from "./widgets/matrix-editor";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import type { Props as InteractiveGraphEditorProps } from "../../widgets/interactive-graph-editor";
|
|
2
|
+
import type { Props as InteractiveGraphEditorProps } from "../../widgets/interactive-graph-editor/interactive-graph-editor";
|
|
3
3
|
import type { LockedFigure } from "@khanacademy/perseus";
|
|
4
4
|
type Props = {
|
|
5
5
|
showM2bFeatures: boolean;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import type { Props as EditorProps } from "../widgets/interactive-graph-editor/interactive-graph-editor";
|
|
3
|
+
type Props = {
|
|
4
|
+
ariaLabelValue: string;
|
|
5
|
+
ariaDescriptionValue: string;
|
|
6
|
+
onChange: (graphProps: Partial<EditorProps>) => void;
|
|
7
|
+
};
|
|
8
|
+
export default function InteractiveGraphDescription(props: Props): React.JSX.Element;
|
|
9
|
+
export {};
|