@flamingo-stack/openframe-frontend-core 0.0.455-snapshot.20260719161719 → 0.0.455

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.
Files changed (122) hide show
  1. package/dist/{chunk-UXKSOJR7.js → chunk-2KUIA2AR.js} +3 -3
  2. package/dist/{chunk-LMBPJAQ2.js → chunk-5YPKZM6Y.js} +6 -6
  3. package/dist/{chunk-YMGOTPY7.cjs → chunk-62AXZKYN.cjs} +866 -981
  4. package/dist/chunk-62AXZKYN.cjs.map +1 -0
  5. package/dist/{chunk-JHIT44TA.js → chunk-6W4ZEVIC.js} +3 -3
  6. package/dist/{chunk-MK2YWJAA.js → chunk-BD3JBEUC.js} +40 -64
  7. package/dist/chunk-BD3JBEUC.js.map +1 -0
  8. package/dist/{chunk-KH5VTGCS.cjs → chunk-BE77G7GW.cjs} +40 -40
  9. package/dist/{chunk-KH5VTGCS.cjs.map → chunk-BE77G7GW.cjs.map} +1 -1
  10. package/dist/{chunk-DYBATZJP.cjs → chunk-D5PBUVGB.cjs} +5 -5
  11. package/dist/{chunk-DYBATZJP.cjs.map → chunk-D5PBUVGB.cjs.map} +1 -1
  12. package/dist/{chunk-2I3GN7WW.js → chunk-DGPKGESY.js} +4 -4
  13. package/dist/{chunk-F3IBBAKV.js → chunk-EGTGRG7N.js} +2 -2
  14. package/dist/{chunk-UHVVNVUE.cjs → chunk-FCVF4YAB.cjs} +40 -40
  15. package/dist/{chunk-UHVVNVUE.cjs.map → chunk-FCVF4YAB.cjs.map} +1 -1
  16. package/dist/{chunk-VZNJ3RYI.cjs → chunk-GNYV6HYO.cjs} +15 -15
  17. package/dist/{chunk-VZNJ3RYI.cjs.map → chunk-GNYV6HYO.cjs.map} +1 -1
  18. package/dist/{chunk-F2CCUPKC.cjs → chunk-IDCPYG7N.cjs} +29 -29
  19. package/dist/{chunk-F2CCUPKC.cjs.map → chunk-IDCPYG7N.cjs.map} +1 -1
  20. package/dist/{chunk-YLTY4Z4B.js → chunk-JUUPMMKI.js} +3 -3
  21. package/dist/{chunk-IOHQJOLR.cjs → chunk-KTGGM5WA.cjs} +12 -36
  22. package/dist/chunk-KTGGM5WA.cjs.map +1 -0
  23. package/dist/{chunk-U27TXTAK.js → chunk-LB3OZE4B.js} +6 -6
  24. package/dist/{chunk-GC63K4VD.cjs → chunk-M5RT26WQ.cjs} +73 -73
  25. package/dist/{chunk-GC63K4VD.cjs.map → chunk-M5RT26WQ.cjs.map} +1 -1
  26. package/dist/{chunk-UEKCD6WV.js → chunk-N4CHA7T7.js} +16 -131
  27. package/dist/chunk-N4CHA7T7.js.map +1 -0
  28. package/dist/{chunk-6K6LAD6H.cjs → chunk-NNDNJCJ3.cjs} +18 -18
  29. package/dist/{chunk-6K6LAD6H.cjs.map → chunk-NNDNJCJ3.cjs.map} +1 -1
  30. package/dist/{chunk-DU6R7XNU.js → chunk-QSIZW6EX.js} +2 -2
  31. package/dist/{chunk-6TI3DCOG.cjs → chunk-RT7DIGTN.cjs} +3 -3
  32. package/dist/{chunk-6TI3DCOG.cjs.map → chunk-RT7DIGTN.cjs.map} +1 -1
  33. package/dist/{chunk-GQZGCMRF.cjs → chunk-RZL7I6YN.cjs} +7 -7
  34. package/dist/{chunk-GQZGCMRF.cjs.map → chunk-RZL7I6YN.cjs.map} +1 -1
  35. package/dist/{chunk-TXS2AMFV.cjs → chunk-UJZ6O2ON.cjs} +32 -32
  36. package/dist/{chunk-TXS2AMFV.cjs.map → chunk-UJZ6O2ON.cjs.map} +1 -1
  37. package/dist/{chunk-ZQHGSR3H.js → chunk-VNE5R4LQ.js} +5 -5
  38. package/dist/{chunk-ILUX3DXS.js → chunk-X62ICFPJ.js} +2 -2
  39. package/dist/{chunk-DAEKUR3J.js → chunk-XAQLBUCP.js} +2 -2
  40. package/dist/{chunk-INH6SIP5.cjs → chunk-XT6S6DYS.cjs} +12 -12
  41. package/dist/{chunk-INH6SIP5.cjs.map → chunk-XT6S6DYS.cjs.map} +1 -1
  42. package/dist/{chunk-A7FTNFBX.cjs → chunk-YSKSBLCG.cjs} +73 -73
  43. package/dist/{chunk-A7FTNFBX.cjs.map → chunk-YSKSBLCG.cjs.map} +1 -1
  44. package/dist/{chunk-LAFCXJVT.js → chunk-YXCYQKAX.js} +5 -5
  45. package/dist/components/case-studies/index.cjs +9 -9
  46. package/dist/components/case-studies/index.js +3 -3
  47. package/dist/components/chat/chat-message-list.d.ts.map +1 -1
  48. package/dist/components/chat/guide-welcome.d.ts.map +1 -1
  49. package/dist/components/chat/index.cjs +3 -3
  50. package/dist/components/chat/index.js +2 -2
  51. package/dist/components/chat/mingo-welcome.d.ts.map +1 -1
  52. package/dist/components/chat/quick-action-wall.d.ts +1 -5
  53. package/dist/components/chat/quick-action-wall.d.ts.map +1 -1
  54. package/dist/components/chat/types/component.types.d.ts +0 -17
  55. package/dist/components/chat/types/component.types.d.ts.map +1 -1
  56. package/dist/components/contact/index.cjs +4 -4
  57. package/dist/components/contact/index.js +3 -3
  58. package/dist/components/docs/index.cjs +6 -6
  59. package/dist/components/docs/index.js +5 -5
  60. package/dist/components/embeds/index.cjs +4 -4
  61. package/dist/components/embeds/index.js +3 -3
  62. package/dist/components/faq/index.cjs +5 -5
  63. package/dist/components/faq/index.js +4 -4
  64. package/dist/components/features/cards-strip.d.ts.map +1 -1
  65. package/dist/components/features/index.cjs +3 -3
  66. package/dist/components/features/index.js +2 -2
  67. package/dist/components/help-center-pages/index.cjs +22 -22
  68. package/dist/components/help-center-pages/index.js +13 -13
  69. package/dist/components/index.cjs +135 -135
  70. package/dist/components/index.js +11 -11
  71. package/dist/components/navigation/index.cjs +3 -3
  72. package/dist/components/navigation/index.js +2 -2
  73. package/dist/components/onboarding-guides/index.cjs +7 -7
  74. package/dist/components/onboarding-guides/index.js +6 -6
  75. package/dist/components/related-content/index.cjs +5 -5
  76. package/dist/components/related-content/index.js +4 -4
  77. package/dist/components/tickets/index.cjs +6 -6
  78. package/dist/components/tickets/index.js +5 -5
  79. package/dist/components/ui/index.cjs +3 -3
  80. package/dist/components/ui/index.js +2 -2
  81. package/dist/components/ui/marquee-wall.d.ts +1 -8
  82. package/dist/components/ui/marquee-wall.d.ts.map +1 -1
  83. package/dist/hooks/index.cjs +2 -4
  84. package/dist/hooks/index.cjs.map +1 -1
  85. package/dist/hooks/index.js +1 -3
  86. package/dist/hooks/ui/index.d.ts +0 -1
  87. package/dist/hooks/ui/index.d.ts.map +1 -1
  88. package/dist/hooks/use-near-viewport.d.ts +1 -3
  89. package/dist/hooks/use-near-viewport.d.ts.map +1 -1
  90. package/dist/index.cjs +3 -5
  91. package/dist/index.cjs.map +1 -1
  92. package/dist/index.js +2 -4
  93. package/package.json +1 -1
  94. package/src/components/chat/chat-message-list.tsx +5 -48
  95. package/src/components/chat/embeddable-chat.tsx +3 -31
  96. package/src/components/chat/guide-welcome.tsx +0 -1
  97. package/src/components/chat/mingo-welcome.tsx +0 -1
  98. package/src/components/chat/quick-action-wall.tsx +0 -7
  99. package/src/components/chat/types/component.types.ts +0 -17
  100. package/src/components/features/cards-strip.tsx +0 -16
  101. package/src/components/ui/marquee-wall.tsx +10 -160
  102. package/src/hooks/ui/index.ts +0 -1
  103. package/src/hooks/use-near-viewport.ts +12 -36
  104. package/dist/chunk-IOHQJOLR.cjs.map +0 -1
  105. package/dist/chunk-MK2YWJAA.js.map +0 -1
  106. package/dist/chunk-UEKCD6WV.js.map +0 -1
  107. package/dist/chunk-YMGOTPY7.cjs.map +0 -1
  108. package/dist/hooks/ui/use-reset-on-page-hidden.d.ts +0 -19
  109. package/dist/hooks/ui/use-reset-on-page-hidden.d.ts.map +0 -1
  110. package/src/hooks/ui/use-reset-on-page-hidden.ts +0 -32
  111. /package/dist/{chunk-UXKSOJR7.js.map → chunk-2KUIA2AR.js.map} +0 -0
  112. /package/dist/{chunk-LMBPJAQ2.js.map → chunk-5YPKZM6Y.js.map} +0 -0
  113. /package/dist/{chunk-JHIT44TA.js.map → chunk-6W4ZEVIC.js.map} +0 -0
  114. /package/dist/{chunk-2I3GN7WW.js.map → chunk-DGPKGESY.js.map} +0 -0
  115. /package/dist/{chunk-F3IBBAKV.js.map → chunk-EGTGRG7N.js.map} +0 -0
  116. /package/dist/{chunk-YLTY4Z4B.js.map → chunk-JUUPMMKI.js.map} +0 -0
  117. /package/dist/{chunk-U27TXTAK.js.map → chunk-LB3OZE4B.js.map} +0 -0
  118. /package/dist/{chunk-DU6R7XNU.js.map → chunk-QSIZW6EX.js.map} +0 -0
  119. /package/dist/{chunk-ZQHGSR3H.js.map → chunk-VNE5R4LQ.js.map} +0 -0
  120. /package/dist/{chunk-ILUX3DXS.js.map → chunk-X62ICFPJ.js.map} +0 -0
  121. /package/dist/{chunk-DAEKUR3J.js.map → chunk-XAQLBUCP.js.map} +0 -0
  122. /package/dist/{chunk-LAFCXJVT.js.map → chunk-YXCYQKAX.js.map} +0 -0
@@ -29,10 +29,9 @@ import {
29
29
  useNotificationPermission,
30
30
  useOgPlaceholderUrl,
31
31
  useOnboardingState,
32
- useResetOnPageHidden,
33
32
  useSuppressCloneFocus,
34
33
  useToast
35
- } from "./chunk-MK2YWJAA.js";
34
+ } from "./chunk-BD3JBEUC.js";
36
35
  import {
37
36
  AlertCircleIcon,
38
37
  AnthropicLogoGreyIcon,
@@ -5996,8 +5995,6 @@ var ChatMessageList = forwardRef12(
5996
5995
  isLoading = false,
5997
5996
  isTyping = false,
5998
5997
  autoScroll = true,
5999
- overscrollContain = true,
6000
- pinBottom = false,
6001
5998
  showAvatars = true,
6002
5999
  fullWidth = false,
6003
6000
  contentClassName,
@@ -6068,18 +6065,6 @@ var ChatMessageList = forwardRef12(
6068
6065
  }
6069
6066
  }
6070
6067
  }, [autoScroll, messages, dialogId, scrollToBottom, contentRef]);
6071
- const pinPrevHeightRef = useRef7(0);
6072
- useLayoutEffect4(() => {
6073
- if (!pinBottom) {
6074
- pinPrevHeightRef.current = 0;
6075
- return;
6076
- }
6077
- const el = scrollRef.current;
6078
- if (!el) return;
6079
- if (el.scrollHeight === pinPrevHeightRef.current) return;
6080
- pinPrevHeightRef.current = el.scrollHeight;
6081
- el.scrollTop = el.scrollHeight;
6082
- }, [pinBottom, messages, isTyping, pendingApprovals, scrollRef]);
6083
6068
  useLayoutEffect4(() => {
6084
6069
  const el = scrollRef.current;
6085
6070
  const anchor = loadOlderAnchorRef.current;
@@ -6210,16 +6195,11 @@ var ChatMessageList = forwardRef12(
6210
6195
  {
6211
6196
  ref: setScrollRef,
6212
6197
  className: cn(
6213
- "flex h-full w-full flex-col overflow-y-auto overflow-x-hidden flex-1",
6214
- // `overscroll-contain` (default ON, opt-out via `overscrollContain={false}`):
6215
- // reaching the top/bottom of the thread must NOT chain the wheel/
6216
- // touch scroll to the page behind the chat — e.g. the company-hub
6217
- // deck (native body scroll + sticky slide panels) would otherwise
6218
- // advance slides while you scroll the chat (fixed in #1501; kept as
6219
- // the prop default here). Passive in-page DEMO chats disable it so
6220
- // the surrounding page keeps scrolling normally when the pointer is
6221
- // over the (non-interactive) thread.
6222
- overscrollContain && "overscroll-contain",
6198
+ // `overscroll-contain`: reaching the top/bottom of the thread must
6199
+ // NOT chain the wheel/touch scroll to the page behind the chat —
6200
+ // e.g. the company-hub deck (native body scroll + sticky slide
6201
+ // panels) would otherwise advance slides while you scroll the chat.
6202
+ "flex h-full w-full flex-col overflow-y-auto overflow-x-hidden overscroll-contain flex-1",
6223
6203
  "scrollbar-thin scrollbar-track-transparent scrollbar-thumb-ods-border/30 hover:scrollbar-thumb-ods-text-secondary/30",
6224
6204
  className
6225
6205
  ),
@@ -6692,7 +6672,6 @@ function MarqueeWall({
6692
6672
  speed = 40,
6693
6673
  animate = true,
6694
6674
  pauseOnHover = true,
6695
- dragScroll = false,
6696
6675
  fade,
6697
6676
  fadeColor = "var(--color-bg)",
6698
6677
  fadeSize,
@@ -6748,9 +6727,6 @@ function MarqueeWall({
6748
6727
  return () => io.disconnect();
6749
6728
  }, []);
6750
6729
  const pointerInsideRef = React11.useRef(false);
6751
- const clearPointerInside = React11.useCallback(() => {
6752
- pointerInsideRef.current = false;
6753
- }, []);
6754
6730
  const onPointerEnter = React11.useCallback((e) => {
6755
6731
  if (e.pointerType === "touch") return;
6756
6732
  pointerInsideRef.current = true;
@@ -6759,9 +6735,6 @@ function MarqueeWall({
6759
6735
  if (e.pointerType === "touch") return;
6760
6736
  pointerInsideRef.current = false;
6761
6737
  }, []);
6762
- useResetOnPageHidden(clearPointerInside);
6763
- const draggingRef = React11.useRef(false);
6764
- const dragSuppressUntilRef = React11.useRef(0);
6765
6738
  const applyTransform = React11.useCallback(
6766
6739
  (pos) => {
6767
6740
  const track = trackRef.current;
@@ -6778,17 +6751,6 @@ function MarqueeWall({
6778
6751
  },
6779
6752
  [axis, reverse, trackId]
6780
6753
  );
6781
- const applyPos = React11.useCallback(
6782
- (pos) => {
6783
- if (sync) {
6784
- sync.position = pos;
6785
- sync.members.forEach((m) => m.apply(pos));
6786
- } else {
6787
- applyTransform(pos);
6788
- }
6789
- },
6790
- [sync, applyTransform]
6791
- );
6792
6754
  React11.useEffect(() => {
6793
6755
  if (marqueeMounted) return;
6794
6756
  const track = trackRef.current;
@@ -6814,12 +6776,15 @@ function MarqueeWall({
6814
6776
  }
6815
6777
  };
6816
6778
  }, [sync, applyTransform]);
6817
- const { posRef, wrap } = useMarqueeEngine({
6779
+ const { posRef } = useMarqueeEngine({
6818
6780
  active: marqueeActive && nearViewport && isDriver,
6819
6781
  speed,
6820
- isPaused: (now) => pauseOnHover && pointerInsideRef.current || draggingRef.current || now < dragSuppressUntilRef.current || document.visibilityState === "hidden",
6782
+ isPaused: () => pauseOnHover && pointerInsideRef.current || document.visibilityState === "hidden",
6821
6783
  getWrapSize: () => wrapSizeRef.current,
6822
- apply: applyPos,
6784
+ apply: sync ? (pos) => {
6785
+ sync.position = pos;
6786
+ sync.members.forEach((m) => m.apply(pos));
6787
+ } : applyTransform,
6823
6788
  // Synced pairs: a re-elected driver resumes from the pair's live position
6824
6789
  // (engine seeds from readBack on activation) instead of restarting at 0.
6825
6790
  readBack: sync ? () => sync.position : void 0
@@ -6833,81 +6798,15 @@ function MarqueeWall({
6833
6798
  posRef.current = Math.max(0, wrapSizeRef.current - 0.01);
6834
6799
  }
6835
6800
  }, [marqueeMounted, reverse, posRef]);
6836
- const DRAG_RESUME_MS = 1200;
6837
- const dragStartRef = React11.useRef({ coord: 0, pos: 0 });
6838
- const dragMovedRef = React11.useRef(false);
6839
- const suppressClickRef = React11.useRef(false);
6840
- const onDragPointerDown = React11.useCallback((e) => {
6841
- if (!marqueeMounted) return;
6842
- draggingRef.current = true;
6843
- dragMovedRef.current = false;
6844
- suppressClickRef.current = false;
6845
- dragStartRef.current = { coord: axis === "y" ? e.clientY : e.clientX, pos: posRef.current };
6846
- try {
6847
- containerRef.current?.setPointerCapture(e.pointerId);
6848
- } catch {
6849
- }
6850
- }, [marqueeMounted, axis, posRef]);
6851
- const onDragPointerMove = React11.useCallback((e) => {
6852
- if (!draggingRef.current) return;
6853
- const delta = (axis === "y" ? e.clientY : e.clientX) - dragStartRef.current.coord;
6854
- if (Math.abs(delta) > 3) dragMovedRef.current = true;
6855
- posRef.current = wrap(dragStartRef.current.pos + (reverse ? delta : -delta));
6856
- applyPos(posRef.current);
6857
- dragSuppressUntilRef.current = performance.now() + DRAG_RESUME_MS;
6858
- }, [axis, reverse, wrap, posRef, applyPos]);
6859
- const onDragPointerUp = React11.useCallback((e) => {
6860
- if (!draggingRef.current) return;
6861
- draggingRef.current = false;
6862
- if (dragMovedRef.current) suppressClickRef.current = true;
6863
- dragSuppressUntilRef.current = performance.now() + DRAG_RESUME_MS;
6864
- try {
6865
- containerRef.current?.releasePointerCapture(e.pointerId);
6866
- } catch {
6867
- }
6868
- }, []);
6869
- const onDragClickCapture = React11.useCallback((e) => {
6870
- if (suppressClickRef.current) {
6871
- suppressClickRef.current = false;
6872
- e.preventDefault();
6873
- e.stopPropagation();
6874
- }
6875
- }, []);
6876
- React11.useEffect(() => {
6877
- const el = containerRef.current;
6878
- if (!el || !dragScroll || !marqueeMounted) return;
6879
- const onWheel = (e) => {
6880
- const primary = axis === "y" ? Math.abs(e.deltaY) >= Math.abs(e.deltaX) ? e.deltaY : 0 : Math.abs(e.deltaX) >= Math.abs(e.deltaY) ? e.deltaX : 0;
6881
- if (primary === 0) return;
6882
- e.preventDefault();
6883
- posRef.current = wrap(posRef.current + (reverse ? -primary : primary));
6884
- applyPos(posRef.current);
6885
- dragSuppressUntilRef.current = performance.now() + DRAG_RESUME_MS;
6886
- };
6887
- el.addEventListener("wheel", onWheel, { passive: false });
6888
- return () => el.removeEventListener("wheel", onWheel);
6889
- }, [dragScroll, marqueeMounted, axis, reverse, wrap, posRef, applyPos]);
6890
6801
  const renderContent = (isClone) => typeof children === "function" ? children({ isClone }) : children;
6891
- const staticScrollable = dragScroll && overflows && !marqueeMounted;
6892
6802
  return /* @__PURE__ */ jsxs28(
6893
6803
  "div",
6894
6804
  {
6895
6805
  ref: containerRef,
6896
- className: cn(
6897
- "relative",
6898
- staticScrollable ? axis === "y" ? "overflow-y-auto" : "overflow-x-auto" : "overflow-hidden",
6899
- dragScroll && marqueeMounted && "cursor-grab active:cursor-grabbing select-none",
6900
- className
6901
- ),
6902
- style: dragScroll && marqueeMounted ? { touchAction: axis === "y" ? "pan-x" : "pan-y" } : void 0,
6806
+ className: cn("relative overflow-hidden", className),
6903
6807
  "data-marquee-track": trackId,
6904
6808
  onPointerEnter,
6905
6809
  onPointerLeave,
6906
- onPointerDown: dragScroll ? onDragPointerDown : void 0,
6907
- onPointerMove: dragScroll ? onDragPointerMove : void 0,
6908
- onPointerUp: dragScroll ? onDragPointerUp : void 0,
6909
- onPointerCancel: dragScroll ? onDragPointerUp : void 0,
6910
- onClickCapture: dragScroll ? onDragClickCapture : void 0,
6911
6810
  children: [
6912
6811
  /* @__PURE__ */ jsxs28(
6913
6812
  "div",
@@ -6964,7 +6863,6 @@ function QuickActionWall({
6964
6863
  speed,
6965
6864
  animate = true,
6966
6865
  pauseOnHover,
6967
- dragScroll = false,
6968
6866
  fade,
6969
6867
  fadeColor,
6970
6868
  fadeSize,
@@ -7020,7 +6918,6 @@ function QuickActionWall({
7020
6918
  speed,
7021
6919
  animate: animate && !loading,
7022
6920
  pauseOnHover,
7023
- dragScroll,
7024
6921
  copyGap: gap,
7025
6922
  contentClassName: cn("flex items-center", contentClassName),
7026
6923
  contentStyle: { gap },
@@ -7040,7 +6937,6 @@ function QuickActionWall({
7040
6937
  speed,
7041
6938
  animate: animate && !loading,
7042
6939
  pauseOnHover,
7043
- dragScroll,
7044
6940
  fade,
7045
6941
  fadeColor,
7046
6942
  fadeSize,
@@ -7803,7 +7699,6 @@ function MingoWelcome({
7803
7699
  })),
7804
7700
  rows: 4,
7805
7701
  pauseOnHover: true,
7806
- dragScroll: true,
7807
7702
  fade: ["left", "right"],
7808
7703
  fadeSize: { left: 32 },
7809
7704
  fadeColor: "var(--color-bg)",
@@ -7905,7 +7800,6 @@ function GuideWelcome({
7905
7800
  chips: chipItems,
7906
7801
  rows: 4,
7907
7802
  pauseOnHover: true,
7908
- dragScroll: true,
7909
7803
  fade: ["left", "right"],
7910
7804
  fadeSize: { left: 32 },
7911
7805
  fadeColor: "var(--color-bg)",
@@ -11460,12 +11354,6 @@ function CardsStrip(props) {
11460
11354
  const current = activeKeyRef.current;
11461
11355
  if (current !== null) deactivate(current);
11462
11356
  }, [deactivate]);
11463
- const clearHover = useCallback14(() => {
11464
- hoverPointerRef.current.inside = false;
11465
- const current = activeKeyRef.current;
11466
- if (current !== null) deactivate(current);
11467
- }, [deactivate]);
11468
- useResetOnPageHidden(clearHover);
11469
11357
  const syncHoverIfScrolled = useCallback14(() => {
11470
11358
  const scroller = scrollerRef.current;
11471
11359
  if (!scroller) return;
@@ -11626,7 +11514,6 @@ function CardsStrip(props) {
11626
11514
  onPointerEnter: onHoverPointerEnter,
11627
11515
  onPointerMove: onHoverPointerMove,
11628
11516
  onPointerLeave: onHoverPointerLeave,
11629
- onPointerCancel: clearHover,
11630
11517
  onScroll: onSeamWarp,
11631
11518
  children: /* @__PURE__ */ jsx78("div", { ref: trackRef, "data-copies": copies, className: "flex w-max items-stretch gap-4", children: Array.from(
11632
11519
  { length: copies },
@@ -53768,9 +53655,7 @@ function EmbeddableChatInner({
53768
53655
  {
53769
53656
  messages,
53770
53657
  isTyping: chatLoading,
53771
- autoScroll: !previewMode,
53772
- pinBottom: previewMode,
53773
- overscrollContain: !previewMode,
53658
+ autoScroll: true,
53774
53659
  assistantType: "mingo",
53775
53660
  assistantIcon: mingoAssistantIcon,
53776
53661
  renderEntityCard,
@@ -53778,7 +53663,7 @@ function EmbeddableChatInner({
53778
53663
  renderContextItem,
53779
53664
  renderMention,
53780
53665
  NavLinkAnchor: NavLinkAnchorViaRuntime,
53781
- className: previewMode ? "flex-1 pointer-events-auto" : "flex-1 [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",
53666
+ className: "flex-1 [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",
53782
53667
  contentClassName: "max-w-none pb-0",
53783
53668
  fullWidth: true,
53784
53669
  hasNextPage: hasMoreMessages,
@@ -54993,4 +54878,4 @@ export {
54993
54878
  LogsList,
54994
54879
  assets
54995
54880
  };
54996
- //# sourceMappingURL=chunk-UEKCD6WV.js.map
54881
+ //# sourceMappingURL=chunk-N4CHA7T7.js.map