@khanacademy/perseus-editor 6.1.0 → 6.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.
@@ -1,8 +1,10 @@
1
1
  /// <reference types="react" />
2
2
  import type { LockedFigureColor } from "@khanacademy/perseus";
3
+ import type { StyleType } from "@khanacademy/wonder-blocks-core";
3
4
  type Props = {
4
5
  id: string;
5
6
  selectedValue: LockedFigureColor;
7
+ style?: StyleType;
6
8
  onChange: (newValue: string) => void;
7
9
  };
8
10
  declare const ColorSelect: (props: Props) => JSX.Element;
@@ -0,0 +1,10 @@
1
+ /// <reference types="react" />
2
+ import type { StyleType } from "@khanacademy/wonder-blocks-core";
3
+ type Props = {
4
+ label: string;
5
+ checked: boolean;
6
+ style?: StyleType;
7
+ onChange: (newValue: boolean) => void;
8
+ };
9
+ declare const LabeledSwitch: (props: Props) => JSX.Element;
10
+ export default LabeledSwitch;
@@ -0,0 +1,10 @@
1
+ import * as React from "react";
2
+ import type { StyleType } from "@khanacademy/wonder-blocks-core";
3
+ type Props = {
4
+ children: React.ReactNode | React.ReactNode[];
5
+ header: string | React.ReactElement;
6
+ containerStyle?: StyleType;
7
+ panelStyle?: StyleType;
8
+ };
9
+ declare const LockedFigureSettingsAccordion: (props: Props) => JSX.Element;
10
+ export default LockedFigureSettingsAccordion;