@flamingo-stack/openframe-frontend-core 0.0.596-2034.5670.1 → 0.0.596-2034.5671.1

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.
@@ -38,14 +38,6 @@ export interface SchedulerContextPanelProps {
38
38
  * states the length and a live selector beside a filled-in form invites a
39
39
  * change that would throw the form away. Going Back restores them. */
40
40
  locked?: boolean;
41
- /**
42
- * The link's length is not the visitor's to choose here: the static duration
43
- * line renders and the chips never do, at every step. `flow="details-first"`
44
- * sets it — the mock draws "30 min call" beside the host on the calendar step
45
- * and offers no selector — and unlike `locked` it has NO effect on the
46
- * timezone picker, which on that step is the only control the visitor has.
47
- */
48
- fixedDuration?: boolean;
49
41
  /** Whether the timezone picker renders. Default true: the zone governs every
50
42
  * time on screen, the form's summary line included, so it stays reachable
51
43
  * right up to the confirmation — where there is nothing left to re-read. */
@@ -62,5 +54,5 @@ export declare function ContextPanelSkeleton({ className, onBack, backLabel, }:
62
54
  onBack?: () => void;
63
55
  backLabel?: string;
64
56
  }): import("react").JSX.Element;
65
- export declare function SchedulerContextPanel({ hosts, title, description, durationsMs, selectedDurationMs, onSelectDuration, timezone, onTimezoneChange, onBack, backLabel, locked, fixedDuration, showTimezone, className, }: SchedulerContextPanelProps): import("react").JSX.Element;
57
+ export declare function SchedulerContextPanel({ hosts, title, description, durationsMs, selectedDurationMs, onSelectDuration, timezone, onTimezoneChange, onBack, backLabel, locked, showTimezone, className, }: SchedulerContextPanelProps): import("react").JSX.Element;
66
58
  //# sourceMappingURL=context-panel.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"context-panel.d.ts","sourceRoot":"","sources":["../../../src/components/meeting-scheduler/context-panel.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sCAAsC,CAAC;AAMxE;;;;;;;;;;;;;;;;;;GAkBG;AAEH,MAAM,WAAW,0BAA0B;IACzC,KAAK,EAAE,WAAW,EAAE,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,kBAAkB,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,gBAAgB,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,8DAA8D;IAC9D,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,gBAAgB,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC;gFAC4E;IAC5E,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,gCAAgC;IAChC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;2EAGuE;IACvE,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;;;;;OAMG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;iFAE6E;IAC7E,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AA0DD;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,EACnC,SAAS,EACT,MAAM,EACN,SAAkB,GACnB,EAAE;IACD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,+BA4BA;AAED,wBAAgB,qBAAqB,CAAC,EACpC,KAAK,EACL,KAAK,EACL,WAAW,EACX,WAAW,EACX,kBAAkB,EAClB,gBAAgB,EAChB,QAAQ,EACR,gBAAgB,EAChB,MAAM,EACN,SAAkB,EAClB,MAAc,EACd,aAAqB,EACrB,YAAmB,EACnB,SAAS,GACV,EAAE,0BAA0B,+BAwH5B"}
1
+ {"version":3,"file":"context-panel.d.ts","sourceRoot":"","sources":["../../../src/components/meeting-scheduler/context-panel.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE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backLabel = "Back",
679
679
  locked = false,
680
- fixedDuration = false,
681
680
  showTimezone = true,
682
681
  className
683
682
  }) {
@@ -721,9 +720,8 @@ function SchedulerContextPanel({
721
720
  " hosts on this calendar"
722
721
  ] })
723
722
  ] }),
724
- locked || fixedDuration || durationsMs.length <= 1 ? (
725
- // Post-selection, a fixed-length flow, or a link that offers one
726
- // length: a static line,
723
+ locked || durationsMs.length <= 1 ? (
724
+ // Post-selection, or a link that offers one length: a static line,
727
725
  // which is what sits beside the host on the header-strip layouts.
728
726
  selectedDurationMs != null && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "shrink-0 text-ods-text-secondary text-h6", children: [
729
727
  _chunkWCBRZCU4cjs.formatDurationCompact.call(void 0, selectedDurationMs / 1e3),
@@ -733,7 +731,7 @@ function SchedulerContextPanel({
733
731
  ] }),
734
732
  title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-primary text-h3", children: title }),
735
733
  description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: description }),
736
- !locked && !fixedDuration && durationsMs.length > 1 && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xxs)]", children: [
734
+ !locked && durationsMs.length > 1 && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xxs)]", children: [
737
735
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: FIELD_LABEL_CLASS, children: "Duration" }),
738
736
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-wrap gap-[var(--spacing-system-xs)]", children: durationsMs.map((ms) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
739
737
  _chunkCJBSU3XBcjs.Button,
@@ -1367,7 +1365,6 @@ function HubSpotMeetingScheduler({
1367
1365
  onBack: detailsFirst ? step === "slot" ? backToDetails : onBack : step === "details" ? backToSlot : onBack,
1368
1366
  locked: detailsFirst ? step === "confirmed" || isSubmitting : step !== "slot",
1369
1367
  showTimezone: step !== "confirmed",
1370
- fixedDuration: detailsFirst,
1371
1368
  className: CONTEXT_PANEL_CLASS
1372
1369
  }
1373
1370
  ),