@ohhwells/bridge 0.1.33-next.37 → 0.1.33-next.38
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/README.md +12 -0
- package/dist/index.cjs +17 -10
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +17 -10
- package/dist/index.js.map +1 -1
- package/dist/styles.css +0 -18
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -318,6 +318,18 @@ npm run build
|
|
|
318
318
|
npm publish --access public
|
|
319
319
|
```
|
|
320
320
|
|
|
321
|
+
### Staging → rebound-template auto-bump
|
|
322
|
+
|
|
323
|
+
When `staging` publishes successfully, the bridge workflow dispatches a `bridge-published` event to `TheFlowOps-Eng/rebound-template`. That repo’s `bump-bridge.yml` workflow checks out `staging`, runs `npm install @ohhwells/bridge@<version> --save-exact`, and pushes the lockfile bump.
|
|
324
|
+
|
|
325
|
+
**One-time setup** (in `ohhwells-bridge` GitHub repo → Settings → Secrets):
|
|
326
|
+
|
|
327
|
+
| Secret | Value |
|
|
328
|
+
|--------|--------|
|
|
329
|
+
| `REBOUND_TEMPLATE_DISPATCH_TOKEN` | Fine-grained or classic PAT with `repo` access to `rebound-template` (needs permission to trigger `repository_dispatch`) |
|
|
330
|
+
|
|
331
|
+
The published staging version looks like `0.1.31-next.42` and is tagged `next` on npm.
|
|
332
|
+
|
|
321
333
|
---
|
|
322
334
|
|
|
323
335
|
## Link dialog (Canvas Editor)
|
package/dist/index.cjs
CHANGED
|
@@ -762,15 +762,10 @@ function SchedulingWidget({ notifyOnConnect = false, initialScheduleId, insertAf
|
|
|
762
762
|
};
|
|
763
763
|
const handleReplaceSchedule = () => {
|
|
764
764
|
setIsHovered(false);
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
insertAfter
|
|
770
|
-
}, "*");
|
|
771
|
-
} else {
|
|
772
|
-
window.parent.postMessage({ type: "ow:scheduling-not-connected", insertAfter }, "*");
|
|
773
|
-
}
|
|
765
|
+
window.parent.postMessage(
|
|
766
|
+
{ type: "ow:scheduling-not-connected", insertAfter, currentScheduleId: schedule?.id },
|
|
767
|
+
"*"
|
|
768
|
+
);
|
|
774
769
|
};
|
|
775
770
|
if (!inEditor && !loading && !schedule) return null;
|
|
776
771
|
const sectionId = `scheduling-${insertAfter}`;
|
|
@@ -813,7 +808,19 @@ function SchedulingWidget({ notifyOnConnect = false, initialScheduleId, insertAf
|
|
|
813
808
|
),
|
|
814
809
|
/* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("div", { className: "max-w-[1280px] mx-auto flex flex-col items-center gap-16", children: [
|
|
815
810
|
/* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("div", { className: "flex flex-col items-center gap-4", children: [
|
|
816
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
811
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
812
|
+
"h2",
|
|
813
|
+
{
|
|
814
|
+
className: "font-display text-center m-0 text-(--color-dark,#200C02)",
|
|
815
|
+
style: {
|
|
816
|
+
fontSize: "var(--fs-section-h2, clamp(40px, 4.4vw, 64px))",
|
|
817
|
+
fontWeight: "var(--font-weight-heading, 400)",
|
|
818
|
+
lineHeight: 1.05,
|
|
819
|
+
letterSpacing: "-0.02em"
|
|
820
|
+
},
|
|
821
|
+
children: schedule?.name ?? "Book an appointment"
|
|
822
|
+
}
|
|
823
|
+
),
|
|
817
824
|
schedule?.description && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("p", { className: "font-body text-body text-center m-0 text-(--color-accent,#A89B83)", children: schedule.description })
|
|
818
825
|
] }),
|
|
819
826
|
/* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("div", { className: "w-full flex flex-col items-end gap-3", children: [
|