@ohhwells/bridge 0.1.67-next.196 → 0.1.68-next.198

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 CHANGED
@@ -12519,6 +12519,15 @@ function FloatingPanel({
12519
12519
  (e) => {
12520
12520
  const drag = dragRef.current;
12521
12521
  if (!drag || drag.pointerId !== e.pointerId) return;
12522
+ if (e.buttons === 0) {
12523
+ dragRef.current = null;
12524
+ document.documentElement.removeAttribute("data-ohw-panel-dragging");
12525
+ try {
12526
+ e.currentTarget.releasePointerCapture(e.pointerId);
12527
+ } catch {
12528
+ }
12529
+ return;
12530
+ }
12522
12531
  e.preventDefault();
12523
12532
  const next = clampPosition(
12524
12533
  {
@@ -20152,7 +20161,7 @@ function OhhwellsBridge() {
20152
20161
  postToParent2({
20153
20162
  type: "ow:ready",
20154
20163
  version: "1",
20155
- bridgeVersion: "0.1.67",
20164
+ bridgeVersion: "0.1.68",
20156
20165
  path: pathname,
20157
20166
  nodes: collectEditableNodes(editContentRef.current),
20158
20167
  sections