made-refine 0.2.18-beta.0 → 0.2.20

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.
package/dist/index.d.mts CHANGED
@@ -98,6 +98,7 @@ interface DirectEditActionsContextValue {
98
98
  startTextEditing: (element: HTMLElement) => void;
99
99
  commitTextEditing: () => void;
100
100
  groupSelection: () => void;
101
+ deleteSelection: () => void;
101
102
  insertElement: (kind: CanvasElementKind) => void;
102
103
  toggleCanvas: () => void;
103
104
  setCanvasZoom: (zoom: number) => void;
@@ -270,8 +271,11 @@ interface SelectionOverlayProps {
270
271
  isComponentPrimitive?: boolean;
271
272
  enableResizeHandles?: boolean;
272
273
  onResizeSizingChange?: (changes: Partial<Record<SizingPropertyKey, SizingValue>>, options?: SizingChangeOptions) => void;
274
+ showCommentPill?: boolean;
275
+ isCommentActive?: boolean;
276
+ onCommentPillClick?: () => void;
273
277
  }
274
- declare function SelectionOverlay({ selectedElement, pageFrameElement, pageFrameLabel, canvasZoom, draggedElement, isDragging, ghostPosition, onMoveStart, showMoveHandle, isTextEditing, onDoubleClick, onHoverElement, onClickThrough, onSelectPageFrame, isComponentPrimitive, enableResizeHandles, onResizeSizingChange, }: SelectionOverlayProps): react_jsx_runtime.JSX.Element;
278
+ declare function SelectionOverlay({ selectedElement, pageFrameElement, pageFrameLabel, canvasZoom, draggedElement, isDragging, ghostPosition, onMoveStart, showMoveHandle, isTextEditing, onDoubleClick, onHoverElement, onClickThrough, onSelectPageFrame, isComponentPrimitive, enableResizeHandles, onResizeSizingChange, showCommentPill, isCommentActive, onCommentPillClick, }: SelectionOverlayProps): react_jsx_runtime.JSX.Element;
275
279
 
276
280
  interface MoveOverlayProps {
277
281
  dropIndicator: DropIndicator | null;
package/dist/index.d.ts CHANGED
@@ -98,6 +98,7 @@ interface DirectEditActionsContextValue {
98
98
  startTextEditing: (element: HTMLElement) => void;
99
99
  commitTextEditing: () => void;
100
100
  groupSelection: () => void;
101
+ deleteSelection: () => void;
101
102
  insertElement: (kind: CanvasElementKind) => void;
102
103
  toggleCanvas: () => void;
103
104
  setCanvasZoom: (zoom: number) => void;
@@ -270,8 +271,11 @@ interface SelectionOverlayProps {
270
271
  isComponentPrimitive?: boolean;
271
272
  enableResizeHandles?: boolean;
272
273
  onResizeSizingChange?: (changes: Partial<Record<SizingPropertyKey, SizingValue>>, options?: SizingChangeOptions) => void;
274
+ showCommentPill?: boolean;
275
+ isCommentActive?: boolean;
276
+ onCommentPillClick?: () => void;
273
277
  }
274
- declare function SelectionOverlay({ selectedElement, pageFrameElement, pageFrameLabel, canvasZoom, draggedElement, isDragging, ghostPosition, onMoveStart, showMoveHandle, isTextEditing, onDoubleClick, onHoverElement, onClickThrough, onSelectPageFrame, isComponentPrimitive, enableResizeHandles, onResizeSizingChange, }: SelectionOverlayProps): react_jsx_runtime.JSX.Element;
278
+ declare function SelectionOverlay({ selectedElement, pageFrameElement, pageFrameLabel, canvasZoom, draggedElement, isDragging, ghostPosition, onMoveStart, showMoveHandle, isTextEditing, onDoubleClick, onHoverElement, onClickThrough, onSelectPageFrame, isComponentPrimitive, enableResizeHandles, onResizeSizingChange, showCommentPill, isCommentActive, onCommentPillClick, }: SelectionOverlayProps): react_jsx_runtime.JSX.Element;
275
279
 
276
280
  interface MoveOverlayProps {
277
281
  dropIndicator: DropIndicator | null;