@flamingo-stack/openframe-frontend-core 0.0.633 → 0.0.634

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.
@@ -113,31 +113,17 @@ type Step = 'slot' | 'details' | 'confirmed';
113
113
  */
114
114
  export declare const MEETING_SCHEDULER_H = "md:h-[34.375rem] lg:h-[23.75rem]";
115
115
  /**
116
- * The same box for `flow="details-first"`, where the tallest stage is the
117
- * DETAILS FORM (email + first/last + the link's declared questions + the
118
- * consent block + Continue) rather than the calendar.
116
+ * The box for `flow="details-first"`'s CALENDAR and confirmation stages (and its
117
+ * degraded stand-in), 638px from `md` (`4904:118213`), 812px on phones (the
118
+ * calendar stage's natural height at 375px: header strip + six fixed weeks +
119
+ * the 9.75rem chip cap). Fixed, not a floor, for the slot-first reason: the
120
+ * times column scrolls inside a stated height.
119
121
  *
120
- * Still a fixed pair, not a floor: everything below the card derives a definite
121
- * height from it, and a floor was already tried here — it pinned the short
122
- * stages and let the tall one push the wrapper, which is the screen-shake the
123
- * fixed height exists to remove.
124
- *
125
- * ONE number from `md` up, not two: 638px, the card both mocks draw
126
- * (`4904:117130` form-only, `4904:118213` three columns). The form stage has no
127
- * sidebar to stack into a header strip, so nothing about it changes between
128
- * tablet and desktop, and the calendar stage fits the same box at both — the
129
- * times column scrolls inside it as it always has.
130
- *
131
- * PHONES get a stated height too — the one place this flow departs from
132
- * slot-first's "the page is the scroller". Slot-first's two stages are the
133
- * same shape on a phone (calendar + a capped times list either way), so it
134
- * needs none. Details-first's are not: the form stage, the calendar stage and
135
- * the two-line confirmation each have their own natural height, and a paid
136
- * landing page that grows and shrinks by tens of pixels on every step reads as
137
- * broken. 812px is the calendar stage's natural height at 375px (header strip
138
- * + six fixed weeks + the 9.75rem chip cap), so that stage fits exactly and the
139
- * form stage — shorter on the shipped links — sits in it; a link declaring more
140
- * questions scrolls the form inside the card, as it already does from `md`.
122
+ * The FORM stage is NOT boxed. It renders at its natural height, so every
123
+ * question the HubSpot link declares is on the page instead of scrolling inside
124
+ * a card cut off mid-consent. What keeps that from jumping is the form's own
125
+ * footprint discipline: the SSR seed renders the real form on first paint, and
126
+ * the cold-start `BookingFormSkeleton` draws the same rows through the same grid.
141
127
  *
142
128
  * Hosts read it through `SCHEDULER_FLOW_PRESETS[flow].height`, never directly.
143
129
  */
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/meeting-scheduler/index.tsx"],"names":[],"mappings":"AA0CA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAKtD,OAAO,EAEL,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,uBAAuB,EAC5B,KAAK,WAAW,EACjB,MAAM,sCAAsC,CAAC;AAI9C,OAAO,EAA0D,KAAK,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAwB/G,MAAM,WAAW,4BAA4B;IAC3C,kFAAkF;IAClF,SAAS,EAAE,MAAM,CAAC;IAClB,2FAA2F;IAC3F,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,iFAAiF;IACjF,mBAAmB,CAAC,EAAE,mBAAmB,CAAC;IAC1C,wEAAwE;IACxE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,8DAA8D;IAC9D,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,mEAAmE;IACnE,KAAK,CAAC,EAAE,WAAW,EAAE,CAAC;IACtB,sFAAsF;IACtF,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,yFAAyF;IACzF,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;;;OAMG;IACH,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,mBAAmB,KAAK,IAAI,CAAC;IAC5C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;;;;;;;OAUG;IACH,IAAI,CAAC,EAAE,aAAa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K,EACL,WAAW,EACX,KAAK,EACL,eAAe,EACf,WAAW,EACX,MAAM,EACN,QAAQ,EACR,SAAS,EACT,IAA6B,EAC7B,WAAW,EAAE,WAAyB,EACtC,gBAAgB,GACjB,EAAE,4BAA4B,+BA4hB9B;AAKD,OAAO,EACL,WAAW,EACX,mBAAmB,EACnB,KAAK,gBAAgB,EACrB,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,GACxB,MAAM,gBAAgB,CAAC;AAExB,OAAO,EACL,yBAAyB,EACzB,oCAAoC,EACpC,KAAK,8BAA8B,GACpC,MAAM,aAAa,CAAC;AACrB,YAAY,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,uBAAuB,EAAE,WAAW,EAAE,CAAC;AAC/F,YAAY,EAAE,cAAc,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/meeting-scheduler/index.tsx"],"names":[],"mappings":"AA0CA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAKtD,OAAO,EAEL,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,uBAAuB,EAC5B,KAAK,WAAW,EACjB,MAAM,sCAAsC,CAAC;AAI9C,OAAO,EAA0D,KAAK,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAwB/G,MAAM,WAAW,4BAA4B;IAC3C,kFAAkF;IAClF,SAAS,EAAE,MAAM,CAAC;IAClB,2FAA2F;IAC3F,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,iFAAiF;IACjF,mBAAmB,CAAC,EAAE,mBAAmB,CAAC;IAC1C,wEAAwE;IACxE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,8DAA8D;IAC9D,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,mEAAmE;IACnE,KAAK,CAAC,EAAE,WAAW,EAAE,CAAC;IACtB,sFA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I,CAAC,EAAE,aAAa,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,gHAAgH;IAChH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,gEAAgE;IAChE,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB,+BAQA;AAkBD,wBAAgB,uBAAuB,CAAC,EACtC,SAAS,EACT,UAAe,EACf,mBAAmB,EACnB,KAAK,EACL,WAAW,EACX,KAAK,EACL,eAAe,EACf,WAAW,EACX,MAAM,EACN,QAAQ,EACR,SAAS,EACT,IAA6B,EAC7B,WAAW,EAAE,WAAyB,EACtC,gBAAgB,GACjB,EAAE,4BAA4B,+BAuiB9B;AAKD,OAAO,EACL,WAAW,EACX,mBAAmB,EACnB,KAAK,gBAAgB,EACrB,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,GACxB,MAAM,gBAAgB,CAAC;AAExB,OAAO,EACL,yBAAyB,EACzB,oCAAoC,EACpC,KAAK,8BAA8B,GACpC,MAAM,aAAa,CAAC;AACrB,YAAY,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,uBAAuB,EAAE,WAAW,EAAE,CAAC;AAC/F,YAAY,EAAE,cAAc,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAC"}
@@ -1474,10 +1474,17 @@ function HubSpotMeetingScheduler({
1474
1474
  );
1475
1475
  const escapeHatch = fallbackUrl ? /* @__PURE__ */ jsx6(Button, { variant: "outline", size: "small-legacy", href: fallbackUrl, openInNewTab: true, children: "Open in HubSpot" }) : null;
1476
1476
  const backEdge = detailsFirst ? step === "slot" ? backToDetails : onBack : step === "details" ? backToSlot : onBack;
1477
- const cardClass = cn(CARD_CLASS, preset.height, detailsFirst && "flex flex-col", formOnly && "bg-ods-bg", className);
1478
- const innerClass = cn(CARD_INNER_CLASS, detailsFirst && "min-h-0 flex-1");
1479
- const actionPanelClass = cn(ACTION_PANEL_CLASS, detailsFirst && "min-h-0 overflow-y-auto");
1480
- const stepPanelClass = cn(STEP_PANEL_CLASS, detailsFirst && "min-h-0 overflow-y-auto");
1477
+ const boxed = !formOnly;
1478
+ const cardClass = cn(
1479
+ CARD_CLASS,
1480
+ boxed ? preset.height : "md:h-auto",
1481
+ detailsFirst && "flex flex-col",
1482
+ formOnly && "bg-ods-bg",
1483
+ className
1484
+ );
1485
+ const innerClass = cn(CARD_INNER_CLASS, detailsFirst && boxed && "min-h-0 flex-1");
1486
+ const actionPanelClass = cn(ACTION_PANEL_CLASS, detailsFirst && boxed && "min-h-0 overflow-y-auto");
1487
+ const stepPanelClass = cn(STEP_PANEL_CLASS, detailsFirst && boxed && "min-h-0 overflow-y-auto");
1481
1488
  const degraded = (message) => /* @__PURE__ */ jsx6(SchedulerDegradedCard, { flow, className, message, action: escapeHatch });
1482
1489
  const degradedCard = degraded("We couldn't load available call times. Please try again shortly.");
1483
1490
  if (isLoadingAvailability && !availability) {