Skip to content

Commit

Permalink
Update API report
Browse files Browse the repository at this point in the history
  • Loading branch information
benchristel committed Mar 6, 2024
1 parent ea71276 commit 1fe4979
Showing 1 changed file with 31 additions and 20 deletions.
51 changes: 31 additions & 20 deletions .api-report/mafs.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,28 +139,28 @@ export namespace MovablePoint {
}

// @public (undocumented)
export interface MovablePointProps {
// (undocumented)
color?: string;
// Warning: (ae-forgotten-export) The symbol "ConstraintFunction_2" needs to be exported by the entry point index.d.ts
constrain?: ConstraintFunction_2;
onMove: (point: vec.Vector2) => void;
point: vec.Vector2;
}

// @public (undocumented)
export const MovablePointSVG: React_2.ForwardRefExoticComponent<MovablePointSVGProps & React_2.RefAttributes<SVGGElement>>;
export const MovablePointDisplay: React_2.ForwardRefExoticComponent<MovablePointDisplayProps & React_2.RefAttributes<SVGGElement>>;

// @public (undocumented)
export interface MovablePointSVGProps {
export interface MovablePointDisplayProps {
// (undocumented)
color: string;
color?: string;
// (undocumented)
dragging: boolean;
// (undocumented)
point: vec.Vector2;
// (undocumented)
ringRadiusPx: number;
ringRadiusPx?: number;
}

// @public (undocumented)
export interface MovablePointProps {
// (undocumented)
color?: string;
// Warning: (ae-forgotten-export) The symbol "ConstraintFunction_2" needs to be exported by the entry point index.d.ts
constrain?: ConstraintFunction_2;
onMove: (point: vec.Vector2) => void;
point: vec.Vector2;
}

// @public (undocumented)
Expand Down Expand Up @@ -389,14 +389,25 @@ export interface UseMovablePointArguments {
}

// @public (undocumented)
export function useMovementInteraction({ target, onMove, point, constrain, }: {
target: React_2.RefObject<Element>;
export interface UseMovementInteraction {
// (undocumented)
dragging: boolean;
}

// @public (undocumented)
export function useMovementInteraction(args: UseMovementInteractionArguments): UseMovementInteraction;

// @public (undocumented)
export interface UseMovementInteractionArguments {
// (undocumented)
constrain: (point: vec.Vector2) => vec.Vector2;
// (undocumented)
gestureTarget: React_2.RefObject<Element>;
// (undocumented)
onMove: (point: vec.Vector2) => unknown;
// (undocumented)
point: vec.Vector2;
constrain: (point: vec.Vector2) => vec.Vector2;
}): {
dragging: boolean;
};
}

// Warning: (ae-forgotten-export) The symbol "PaneContextShape" needs to be exported by the entry point index.d.ts
//
Expand Down

0 comments on commit 1fe4979

Please sign in to comment.