@ohhwells/bridge 0.1.120 → 0.1.122
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.cjs +2457 -400
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -1
- package/dist/index.d.ts +7 -1
- package/dist/index.js +2456 -399
- package/dist/index.js.map +1 -1
- package/dist/styles.css +79 -8
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -440,9 +440,15 @@ type ItemInteractionLayerProps = {
|
|
|
440
440
|
chromeGap?: number;
|
|
441
441
|
/** Toolbar alignment over the element; forms hang theirs on the left edge (OHH-642). */
|
|
442
442
|
toolbarAlign?: 'center' | 'left';
|
|
443
|
+
/**
|
|
444
|
+
* Parent-scroll hide. `applyToolbarPos` sets `display:none` on this node when the
|
|
445
|
+
* selection leaves the canvas; React will not clear that on the next selection unless
|
|
446
|
+
* we own `display` here (same node, same `display:block` in the prev VDOM).
|
|
447
|
+
*/
|
|
448
|
+
hidden?: boolean;
|
|
443
449
|
className?: string;
|
|
444
450
|
};
|
|
445
|
-
declare function ItemInteractionLayer({ rect, state, elRef, toolbar, toolbarBelowRect, toolbarBelowEl, showHandle, dragDisabled, dragHandleLabel, onDragHandleDragStart, onDragHandleDragEnd, onItemPointerDown, onItemClick, itemDragSurface, chromeGap, toolbarAlign, className, }: ItemInteractionLayerProps): react_jsx_runtime.JSX.Element | null;
|
|
451
|
+
declare function ItemInteractionLayer({ rect, state, elRef, toolbar, toolbarBelowRect, toolbarBelowEl, showHandle, dragDisabled, dragHandleLabel, onDragHandleDragStart, onDragHandleDragEnd, onItemPointerDown, onItemClick, itemDragSurface, chromeGap, toolbarAlign, hidden, className, }: ItemInteractionLayerProps): react_jsx_runtime.JSX.Element | null;
|
|
446
452
|
|
|
447
453
|
declare function DropdownMenu({ ...props }: React.ComponentProps<typeof DropdownMenu$1.Root>): react_jsx_runtime.JSX.Element;
|
|
448
454
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -440,9 +440,15 @@ type ItemInteractionLayerProps = {
|
|
|
440
440
|
chromeGap?: number;
|
|
441
441
|
/** Toolbar alignment over the element; forms hang theirs on the left edge (OHH-642). */
|
|
442
442
|
toolbarAlign?: 'center' | 'left';
|
|
443
|
+
/**
|
|
444
|
+
* Parent-scroll hide. `applyToolbarPos` sets `display:none` on this node when the
|
|
445
|
+
* selection leaves the canvas; React will not clear that on the next selection unless
|
|
446
|
+
* we own `display` here (same node, same `display:block` in the prev VDOM).
|
|
447
|
+
*/
|
|
448
|
+
hidden?: boolean;
|
|
443
449
|
className?: string;
|
|
444
450
|
};
|
|
445
|
-
declare function ItemInteractionLayer({ rect, state, elRef, toolbar, toolbarBelowRect, toolbarBelowEl, showHandle, dragDisabled, dragHandleLabel, onDragHandleDragStart, onDragHandleDragEnd, onItemPointerDown, onItemClick, itemDragSurface, chromeGap, toolbarAlign, className, }: ItemInteractionLayerProps): react_jsx_runtime.JSX.Element | null;
|
|
451
|
+
declare function ItemInteractionLayer({ rect, state, elRef, toolbar, toolbarBelowRect, toolbarBelowEl, showHandle, dragDisabled, dragHandleLabel, onDragHandleDragStart, onDragHandleDragEnd, onItemPointerDown, onItemClick, itemDragSurface, chromeGap, toolbarAlign, hidden, className, }: ItemInteractionLayerProps): react_jsx_runtime.JSX.Element | null;
|
|
446
452
|
|
|
447
453
|
declare function DropdownMenu({ ...props }: React.ComponentProps<typeof DropdownMenu$1.Root>): react_jsx_runtime.JSX.Element;
|
|
448
454
|
/**
|