@ohhwells/bridge 0.1.178 → 0.1.179
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 +5 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1266,7 +1266,8 @@ function toneOverlayLogos(deps, root, photoSections, boxes) {
|
|
|
1266
1266
|
if (root.matches(OVERLAY_LOGO_SELECTOR)) logos.unshift(root);
|
|
1267
1267
|
for (const logo of logos) {
|
|
1268
1268
|
if (onOwnSurface(deps, logo, root)) {
|
|
1269
|
-
logo.removeAttribute(OVERLAY_TONE_ATTR);
|
|
1269
|
+
if (paintOver(deps.style(logo), { r: 0, g: 0, b: 0, a: 0 }).painted) logo.removeAttribute(OVERLAY_TONE_ATTR);
|
|
1270
|
+
else clearOverlayTone(logo);
|
|
1270
1271
|
continue;
|
|
1271
1272
|
}
|
|
1272
1273
|
const box = deps.rect(logo);
|
|
@@ -19208,7 +19209,7 @@ function apiBase() {
|
|
|
19208
19209
|
function bridgeVersion() {
|
|
19209
19210
|
try {
|
|
19210
19211
|
if (true) {
|
|
19211
|
-
return "0.1.
|
|
19212
|
+
return "0.1.179";
|
|
19212
19213
|
}
|
|
19213
19214
|
} catch {
|
|
19214
19215
|
}
|
|
@@ -19222,7 +19223,7 @@ function stampBridgeVersionOnDocument() {
|
|
|
19222
19223
|
return;
|
|
19223
19224
|
}
|
|
19224
19225
|
try {
|
|
19225
|
-
const v = true ? "0.1.
|
|
19226
|
+
const v = true ? "0.1.179" : "";
|
|
19226
19227
|
if (v) {
|
|
19227
19228
|
document.documentElement.setAttribute("data-ohw-bridge-version", v);
|
|
19228
19229
|
window.__OHW_BRIDGE_VERSION__ = v;
|
|
@@ -34564,7 +34565,7 @@ function OhhwellsBridge() {
|
|
|
34564
34565
|
postToParent2({
|
|
34565
34566
|
type: "ow:ready",
|
|
34566
34567
|
version: "1",
|
|
34567
|
-
bridgeVersion: "0.1.
|
|
34568
|
+
bridgeVersion: "0.1.179",
|
|
34568
34569
|
path: pathname,
|
|
34569
34570
|
nodes: collectEditableNodes(editContentRef.current),
|
|
34570
34571
|
sections
|