@ohhwells/bridge 0.1.108 → 0.1.110
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 +285 -125
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -1
- package/dist/index.d.ts +6 -1
- package/dist/index.js +366 -206
- package/dist/index.js.map +1 -1
- package/dist/styles.css +3 -0
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -386,6 +386,11 @@ type ItemInteractionLayerProps = {
|
|
|
386
386
|
* under `rect` (open nav dropdown panel — chrome stays on the trigger only).
|
|
387
387
|
*/
|
|
388
388
|
toolbarBelowRect?: DOMRect | null;
|
|
389
|
+
/**
|
|
390
|
+
* Live panel node for `toolbarBelowRect`. Observed so add/delete of dropdown
|
|
391
|
+
* children repositions Open/Closed without waiting for a selection remount.
|
|
392
|
+
*/
|
|
393
|
+
toolbarBelowEl?: HTMLElement | null;
|
|
389
394
|
showHandle?: boolean;
|
|
390
395
|
dragDisabled?: boolean;
|
|
391
396
|
dragHandleLabel?: string;
|
|
@@ -406,7 +411,7 @@ type ItemInteractionLayerProps = {
|
|
|
406
411
|
toolbarAlign?: 'center' | 'left';
|
|
407
412
|
className?: string;
|
|
408
413
|
};
|
|
409
|
-
declare function ItemInteractionLayer({ rect, state, elRef, toolbar, toolbarBelowRect, showHandle, dragDisabled, dragHandleLabel, onDragHandleDragStart, onDragHandleDragEnd, onItemPointerDown, onItemClick, itemDragSurface, chromeGap, toolbarAlign, className, }: ItemInteractionLayerProps): react_jsx_runtime.JSX.Element | null;
|
|
414
|
+
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;
|
|
410
415
|
|
|
411
416
|
declare function DropdownMenu({ ...props }: React.ComponentProps<typeof DropdownMenu$1.Root>): react_jsx_runtime.JSX.Element;
|
|
412
417
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -386,6 +386,11 @@ type ItemInteractionLayerProps = {
|
|
|
386
386
|
* under `rect` (open nav dropdown panel — chrome stays on the trigger only).
|
|
387
387
|
*/
|
|
388
388
|
toolbarBelowRect?: DOMRect | null;
|
|
389
|
+
/**
|
|
390
|
+
* Live panel node for `toolbarBelowRect`. Observed so add/delete of dropdown
|
|
391
|
+
* children repositions Open/Closed without waiting for a selection remount.
|
|
392
|
+
*/
|
|
393
|
+
toolbarBelowEl?: HTMLElement | null;
|
|
389
394
|
showHandle?: boolean;
|
|
390
395
|
dragDisabled?: boolean;
|
|
391
396
|
dragHandleLabel?: string;
|
|
@@ -406,7 +411,7 @@ type ItemInteractionLayerProps = {
|
|
|
406
411
|
toolbarAlign?: 'center' | 'left';
|
|
407
412
|
className?: string;
|
|
408
413
|
};
|
|
409
|
-
declare function ItemInteractionLayer({ rect, state, elRef, toolbar, toolbarBelowRect, showHandle, dragDisabled, dragHandleLabel, onDragHandleDragStart, onDragHandleDragEnd, onItemPointerDown, onItemClick, itemDragSurface, chromeGap, toolbarAlign, className, }: ItemInteractionLayerProps): react_jsx_runtime.JSX.Element | null;
|
|
414
|
+
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;
|
|
410
415
|
|
|
411
416
|
declare function DropdownMenu({ ...props }: React.ComponentProps<typeof DropdownMenu$1.Root>): react_jsx_runtime.JSX.Element;
|
|
412
417
|
/**
|