@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.
@@ -0,0 +1,12 @@
1
+ import * as React from "react";
2
+ import type { Changeable } from "@khanacademy/perseus";
3
+ type Props = {
4
+ value?: string;
5
+ } & Changeable.ChangeableProps;
6
+ declare class ArrowPicker extends React.Component<Props> {
7
+ static defaultProps: {
8
+ value: string;
9
+ };
10
+ render(): React.ReactNode;
11
+ }
12
+ export default ArrowPicker;
@@ -0,0 +1,14 @@
1
+ import * as React from "react";
2
+ import type { Changeable } from "@khanacademy/perseus";
3
+ type Props = {
4
+ lightColors?: boolean;
5
+ value?: string;
6
+ } & Changeable.ChangeableProps;
7
+ declare class ColorPicker extends React.Component<Props> {
8
+ static defaultProps: {
9
+ lightColors: boolean;
10
+ value: any;
11
+ };
12
+ render(): React.ReactNode;
13
+ }
14
+ export default ColorPicker;
@@ -0,0 +1,12 @@
1
+ import * as React from "react";
2
+ import type { Changeable } from "@khanacademy/perseus";
3
+ type Props = {
4
+ value?: string;
5
+ } & Changeable.ChangeableProps;
6
+ declare class DashPicker extends React.Component<Props> {
7
+ static defaultProps: {
8
+ value: string;
9
+ };
10
+ render(): React.ReactNode;
11
+ }
12
+ export default DashPicker;
@@ -0,0 +1,22 @@
1
+ import * as React from "react";
2
+ type Props = {
3
+ children: React.ReactElement<any> | ReadonlyArray<React.ReactElement<any>>;
4
+ initiallyVisible: boolean;
5
+ onDelete?: () => void | null | undefined;
6
+ onDown?: () => void | null | undefined;
7
+ onUp?: () => void | null | undefined;
8
+ title: string | React.ReactElement<any>;
9
+ };
10
+ type State = {
11
+ show: boolean;
12
+ };
13
+ declare class ElementContainer extends React.Component<Props, State> {
14
+ static defaultProps: {
15
+ initiallyVisible: boolean;
16
+ title: string;
17
+ };
18
+ constructor(props: Props);
19
+ toggle: (e: React.SyntheticEvent) => void;
20
+ render(): React.ReactNode;
21
+ }
22
+ export default ElementContainer;