@flamingo-stack/openframe-frontend-core 0.0.361 → 0.0.362

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 (88) hide show
  1. package/dist/{chunk-IURUIQGY.js → chunk-25VKZ2QM.js} +2 -2
  2. package/dist/{chunk-AD2WYDPL.js → chunk-33CU7BKK.js} +4 -4
  3. package/dist/{chunk-BJ7NV7AO.js → chunk-3L34VSKP.js} +2 -2
  4. package/dist/{chunk-5B2IOQXZ.js → chunk-4ZHXIY5J.js} +12 -7
  5. package/dist/chunk-4ZHXIY5J.js.map +1 -0
  6. package/dist/{chunk-4RXV4UBA.cjs → chunk-57ZLSUWZ.cjs} +56 -56
  7. package/dist/{chunk-4RXV4UBA.cjs.map → chunk-57ZLSUWZ.cjs.map} +1 -1
  8. package/dist/{chunk-HR4PF6FJ.cjs → chunk-5EFJJBU5.cjs} +31 -31
  9. package/dist/{chunk-HR4PF6FJ.cjs.map → chunk-5EFJJBU5.cjs.map} +1 -1
  10. package/dist/{chunk-LNXM2OQ6.cjs → chunk-5PO6CQVE.cjs} +62 -62
  11. package/dist/{chunk-LNXM2OQ6.cjs.map → chunk-5PO6CQVE.cjs.map} +1 -1
  12. package/dist/{chunk-QTKCL36K.js → chunk-ACAVASHV.js} +2 -2
  13. package/dist/{chunk-MYP4I5B2.js → chunk-BLUIJE4A.js} +4 -4
  14. package/dist/{chunk-267JJUAP.js → chunk-CDQY7PJI.js} +4 -4
  15. package/dist/{chunk-2T6BQFJN.js → chunk-ECK3O7S7.js} +2 -2
  16. package/dist/{chunk-IOHKIL7O.cjs → chunk-IU3ADZVS.cjs} +7 -7
  17. package/dist/{chunk-IOHKIL7O.cjs.map → chunk-IU3ADZVS.cjs.map} +1 -1
  18. package/dist/{chunk-27T2PUJZ.js → chunk-KCJS6HWH.js} +4 -4
  19. package/dist/{chunk-KQXR27VF.cjs → chunk-KKZMWFCK.cjs} +25 -25
  20. package/dist/{chunk-KQXR27VF.cjs.map → chunk-KKZMWFCK.cjs.map} +1 -1
  21. package/dist/{chunk-BC5I4C5V.js → chunk-LI4WU5DO.js} +2 -2
  22. package/dist/{chunk-ODDTSUU7.cjs → chunk-MLWAQ3QJ.cjs} +37 -37
  23. package/dist/{chunk-ODDTSUU7.cjs.map → chunk-MLWAQ3QJ.cjs.map} +1 -1
  24. package/dist/{chunk-K6XWRBOV.cjs → chunk-NOJCRTFP.cjs} +5 -5
  25. package/dist/{chunk-K6XWRBOV.cjs.map → chunk-NOJCRTFP.cjs.map} +1 -1
  26. package/dist/{chunk-OIQEFSO4.js → chunk-O4J55Q6W.js} +2 -2
  27. package/dist/{chunk-JREHVZBN.cjs → chunk-PREABAGF.cjs} +12 -12
  28. package/dist/{chunk-JREHVZBN.cjs.map → chunk-PREABAGF.cjs.map} +1 -1
  29. package/dist/{chunk-RPLL2CTZ.cjs → chunk-PU7UCMSL.cjs} +15 -15
  30. package/dist/{chunk-RPLL2CTZ.cjs.map → chunk-PU7UCMSL.cjs.map} +1 -1
  31. package/dist/{chunk-BQFUPAEY.cjs → chunk-R27F2P55.cjs} +12 -7
  32. package/dist/chunk-R27F2P55.cjs.map +1 -0
  33. package/dist/{chunk-5WXXFSRE.cjs → chunk-SXM5YHP2.cjs} +26 -26
  34. package/dist/{chunk-5WXXFSRE.cjs.map → chunk-SXM5YHP2.cjs.map} +1 -1
  35. package/dist/{chunk-7W7C66KK.cjs → chunk-TSNXAJOJ.cjs} +9 -9
  36. package/dist/{chunk-7W7C66KK.cjs.map → chunk-TSNXAJOJ.cjs.map} +1 -1
  37. package/dist/{chunk-RSBCKRRK.js → chunk-U3LE33OX.js} +2 -2
  38. package/dist/components/case-studies/index.cjs +8 -8
  39. package/dist/components/case-studies/index.js +2 -2
  40. package/dist/components/chat/chat-input.d.ts.map +1 -1
  41. package/dist/components/chat/index.cjs +2 -2
  42. package/dist/components/chat/index.js +1 -1
  43. package/dist/components/contact/index.cjs +3 -3
  44. package/dist/components/contact/index.js +2 -2
  45. package/dist/components/docs/index.cjs +5 -5
  46. package/dist/components/docs/index.js +4 -4
  47. package/dist/components/embeds/index.cjs +3 -3
  48. package/dist/components/embeds/index.js +2 -2
  49. package/dist/components/faq/index.cjs +3 -3
  50. package/dist/components/faq/index.js +2 -2
  51. package/dist/components/features/index.cjs +2 -2
  52. package/dist/components/features/index.js +1 -1
  53. package/dist/components/help-center-pages/index.cjs +20 -20
  54. package/dist/components/help-center-pages/index.js +11 -11
  55. package/dist/components/index.cjs +120 -120
  56. package/dist/components/index.js +9 -9
  57. package/dist/components/navigation/index.cjs +2 -2
  58. package/dist/components/navigation/index.js +1 -1
  59. package/dist/components/onboarding-guides/index.cjs +5 -5
  60. package/dist/components/onboarding-guides/index.js +4 -4
  61. package/dist/components/related-content/index.cjs +3 -3
  62. package/dist/components/related-content/index.js +2 -2
  63. package/dist/components/tickets/index.cjs +5 -5
  64. package/dist/components/tickets/index.js +4 -4
  65. package/dist/components/ui/index.cjs +2 -2
  66. package/dist/components/ui/index.js +1 -1
  67. package/dist/components/ui/tab-navigation.d.ts.map +1 -1
  68. package/dist/index.cjs +2 -2
  69. package/dist/index.js +1 -1
  70. package/package.json +1 -1
  71. package/src/components/chat/chat-input.tsx +16 -9
  72. package/src/components/ui/tab-navigation.tsx +8 -2
  73. package/src/stories/EmbeddableChat.stories.tsx +75 -0
  74. package/src/stories/QuickActionChip.stories.tsx +149 -0
  75. package/src/stories/QuickActionMarquee.stories.tsx +114 -0
  76. package/dist/chunk-5B2IOQXZ.js.map +0 -1
  77. package/dist/chunk-BQFUPAEY.cjs.map +0 -1
  78. /package/dist/{chunk-IURUIQGY.js.map → chunk-25VKZ2QM.js.map} +0 -0
  79. /package/dist/{chunk-AD2WYDPL.js.map → chunk-33CU7BKK.js.map} +0 -0
  80. /package/dist/{chunk-BJ7NV7AO.js.map → chunk-3L34VSKP.js.map} +0 -0
  81. /package/dist/{chunk-QTKCL36K.js.map → chunk-ACAVASHV.js.map} +0 -0
  82. /package/dist/{chunk-MYP4I5B2.js.map → chunk-BLUIJE4A.js.map} +0 -0
  83. /package/dist/{chunk-267JJUAP.js.map → chunk-CDQY7PJI.js.map} +0 -0
  84. /package/dist/{chunk-2T6BQFJN.js.map → chunk-ECK3O7S7.js.map} +0 -0
  85. /package/dist/{chunk-27T2PUJZ.js.map → chunk-KCJS6HWH.js.map} +0 -0
  86. /package/dist/{chunk-BC5I4C5V.js.map → chunk-LI4WU5DO.js.map} +0 -0
  87. /package/dist/{chunk-OIQEFSO4.js.map → chunk-O4J55Q6W.js.map} +0 -0
  88. /package/dist/{chunk-RSBCKRRK.js.map → chunk-U3LE33OX.js.map} +0 -0
@@ -12,7 +12,7 @@ import {
12
12
  SelectValue,
13
13
  Textarea,
14
14
  useChatAttachments
15
- } from "./chunk-5B2IOQXZ.js";
15
+ } from "./chunk-4ZHXIY5J.js";
16
16
  import {
17
17
  useContactSubmission,
18
18
  useHumanitySignals
@@ -372,4 +372,4 @@ function ContactForm({
372
372
  export {
373
373
  ContactForm
374
374
  };
375
- //# sourceMappingURL=chunk-IURUIQGY.js.map
375
+ //# sourceMappingURL=chunk-25VKZ2QM.js.map
@@ -4,10 +4,10 @@ import {
4
4
  EmptyState,
5
5
  init_unified_pagination,
6
6
  unified_pagination_exports
7
- } from "./chunk-BC5I4C5V.js";
7
+ } from "./chunk-LI4WU5DO.js";
8
8
  import {
9
9
  DetailPageSkeleton
10
- } from "./chunk-OIQEFSO4.js";
10
+ } from "./chunk-O4J55Q6W.js";
11
11
  import {
12
12
  useSelfFetch
13
13
  } from "./chunk-7RQM23VH.js";
@@ -39,7 +39,7 @@ import {
39
39
  isModifierClick,
40
40
  resolveContentHref,
41
41
  useEntityCardLink
42
- } from "./chunk-5B2IOQXZ.js";
42
+ } from "./chunk-4ZHXIY5J.js";
43
43
  import {
44
44
  STICKY_HEADER_OFFSET_PX,
45
45
  contentFetch,
@@ -1461,4 +1461,4 @@ export {
1461
1461
  useLegalDocs,
1462
1462
  LegalDocumentPage
1463
1463
  };
1464
- //# sourceMappingURL=chunk-AD2WYDPL.js.map
1464
+ //# sourceMappingURL=chunk-33CU7BKK.js.map
@@ -12,7 +12,7 @@ import {
12
12
  faqSectionSlug,
13
13
  parseFaqHash,
14
14
  serializeJsonLd
15
- } from "./chunk-5B2IOQXZ.js";
15
+ } from "./chunk-4ZHXIY5J.js";
16
16
  import {
17
17
  STICKY_HEADER_OFFSET_PX,
18
18
  navigateSamePageHash,
@@ -379,4 +379,4 @@ export {
379
379
  FaqSection,
380
380
  FaqDocumentPage
381
381
  };
382
- //# sourceMappingURL=chunk-BJ7NV7AO.js.map
382
+ //# sourceMappingURL=chunk-3L34VSKP.js.map
@@ -4313,7 +4313,7 @@ var ChatInput = forwardRef9((allProps, ref) => {
4313
4313
  startIcon && /* @__PURE__ */ jsx20("span", { className: "flex h-6 shrink-0 items-center", children: startIcon }),
4314
4314
  /* @__PURE__ */ jsxs16("div", { className: "relative flex-1 min-w-0", children: [
4315
4315
  isEmpty && !showPreview && /* @__PURE__ */ jsx20("span", { className: "pointer-events-none absolute left-0 top-0 select-none text-h4 !leading-9 text-ods-text-secondary", children: disabled ? "Connection lost. Waiting to reconnect..." : placeholder }),
4316
- showPreview && /* @__PURE__ */ jsx20("p", { className: "pointer-events-none m-0 select-none whitespace-pre-wrap break-words text-h4 !leading-9 text-ods-text-secondary", children: previewText }),
4316
+ showPreview && /* @__PURE__ */ jsx20("p", { className: "pointer-events-none absolute inset-x-0 top-0 m-0 select-none truncate text-h4 !leading-9 text-ods-text-secondary", children: previewText }),
4317
4317
  /* @__PURE__ */ jsx20(
4318
4318
  "div",
4319
4319
  {
@@ -4340,9 +4340,11 @@ var ChatInput = forwardRef9((allProps, ref) => {
4340
4340
  onBlur: () => setFocused(false),
4341
4341
  className: cn(
4342
4342
  "max-h-[160px] overflow-y-auto whitespace-pre-wrap break-words outline-none",
4343
- // While a ghost preview shows, the editor is empty collapse it
4344
- // out of flow + transparent so the in-flow preview drives height.
4345
- showPreview && "absolute inset-0 opacity-0",
4343
+ // While a ghost preview shows, the editor stays IN FLOW (it
4344
+ // alone drives the row height, which must NOT change on hover —
4345
+ // see the preview comment above) and is only made transparent;
4346
+ // the absolutely-positioned single-line preview paints over it.
4347
+ showPreview && "opacity-0",
4346
4348
  // `leading-9` (36px) sits just above the 32px chip's line-box need
4347
4349
  // (~35.5px incl. vertical-align overhead): the LINE drives row
4348
4350
  // height (deterministic 48px, no overflow) AND the near-zero slack
@@ -16534,6 +16536,7 @@ function TabNavigation({
16534
16536
  };
16535
16537
  const scrollRef = useRef21(null);
16536
16538
  const activeTabRef = useRef21(null);
16539
+ const isFirstActiveScrollRef = useRef21(true);
16537
16540
  const [canScrollLeft, setCanScrollLeft] = useState35(false);
16538
16541
  const [canScrollRight, setCanScrollRight] = useState35(false);
16539
16542
  const updateScrollShadows = useCallback17(() => {
@@ -16570,12 +16573,14 @@ function TabNavigation({
16570
16573
  const el = scrollRef.current;
16571
16574
  const active = activeTabRef.current;
16572
16575
  if (!el || !active) return;
16576
+ const behavior = isFirstActiveScrollRef.current ? "auto" : "smooth";
16577
+ isFirstActiveScrollRef.current = false;
16573
16578
  const elRect = el.getBoundingClientRect();
16574
16579
  const aRect = active.getBoundingClientRect();
16575
16580
  if (aRect.left < elRect.left) {
16576
- el.scrollBy({ left: aRect.left - elRect.left, behavior: "smooth" });
16581
+ el.scrollBy({ left: aRect.left - elRect.left, behavior });
16577
16582
  } else if (aRect.right > elRect.right) {
16578
- el.scrollBy({ left: aRect.right - elRect.right, behavior: "smooth" });
16583
+ el.scrollBy({ left: aRect.right - elRect.right, behavior });
16579
16584
  }
16580
16585
  }, [activeTab]);
16581
16586
  const leftFade = canScrollLeft || showLeftGradient;
@@ -50689,4 +50694,4 @@ export {
50689
50694
  LogsList,
50690
50695
  assets
50691
50696
  };
50692
- //# sourceMappingURL=chunk-5B2IOQXZ.js.map
50697
+ //# sourceMappingURL=chunk-4ZHXIY5J.js.map