@overmap-ai/forms 1.0.3 → 1.0.4-conditional-arrows.3

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,11 @@
1
+ /// <reference types="react" />
2
+ export type Point = {
3
+ x: number;
4
+ y: number;
5
+ };
6
+ type ConditionalArrowProps = {
7
+ start: Point | undefined;
8
+ end: Point | undefined;
9
+ };
10
+ export declare const ConditionalArrows: import("react").NamedExoticComponent<ConditionalArrowProps>;
11
+ export {};
@@ -5,6 +5,7 @@ interface FieldSectionWithActionsProps {
5
5
  field: SerializedFieldSection;
6
6
  index: number;
7
7
  dropState: DropState;
8
+ getFieldNodeMap: () => Map<string, HTMLDivElement>;
8
9
  }
9
10
  export declare const FieldSectionWithActions: import("react").NamedExoticComponent<FieldSectionWithActionsProps>;
10
11
  export {};
@@ -6,6 +6,7 @@ interface FieldWithActionsProps {
6
6
  sectionIndex: number;
7
7
  takenLabels: string[];
8
8
  remove: () => void;
9
+ getFieldNodeMap: () => Map<string, HTMLDivElement>;
9
10
  }
10
11
  export declare const FieldWithActions: import("react").NamedExoticComponent<FieldWithActionsProps>;
11
12
  export {};