@khanacademy/perseus-editor 6.2.3 → 6.3.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,8 @@
1
+ /// <reference types="react" />
2
+ import { type LockedFigureColor } from "@khanacademy/perseus";
3
+ type Props = {
4
+ color: LockedFigureColor;
5
+ lineStyle: "solid" | "dashed";
6
+ };
7
+ declare const LineSwatch: (props: Props) => JSX.Element;
8
+ export default LineSwatch;
@@ -1,6 +1,5 @@
1
1
  import type { LockedFigure, LockedFigureType, LockedPointType, LockedLineType } from "@khanacademy/perseus";
2
2
  export declare function focusWithChromeStickyFocusBugWorkaround(element: Element): void;
3
- export declare function getValidNumberFromString(value: string): number;
4
3
  export declare function getDefaultFigureForType(type: "point"): LockedPointType;
5
4
  export declare function getDefaultFigureForType(type: "line"): LockedLineType;
6
5
  export declare function getDefaultFigureForType(type: LockedFigureType): LockedFigure;