@flamingo-stack/openframe-frontend-core 0.0.361-snapshot.20260702223540 → 0.0.361
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/dist/{chunk-CDQY7PJI.js → chunk-267JJUAP.js} +4 -4
- package/dist/{chunk-KCJS6HWH.js → chunk-27T2PUJZ.js} +4 -4
- package/dist/{chunk-ECK3O7S7.js → chunk-2T6BQFJN.js} +2 -2
- package/dist/{chunk-57ZLSUWZ.cjs → chunk-4RXV4UBA.cjs} +56 -56
- package/dist/{chunk-57ZLSUWZ.cjs.map → chunk-4RXV4UBA.cjs.map} +1 -1
- package/dist/{chunk-4ZHXIY5J.js → chunk-5B2IOQXZ.js} +7 -12
- package/dist/chunk-5B2IOQXZ.js.map +1 -0
- package/dist/{chunk-SXM5YHP2.cjs → chunk-5WXXFSRE.cjs} +26 -26
- package/dist/{chunk-SXM5YHP2.cjs.map → chunk-5WXXFSRE.cjs.map} +1 -1
- package/dist/{chunk-TSNXAJOJ.cjs → chunk-7W7C66KK.cjs} +9 -9
- package/dist/{chunk-TSNXAJOJ.cjs.map → chunk-7W7C66KK.cjs.map} +1 -1
- package/dist/{chunk-33CU7BKK.js → chunk-AD2WYDPL.js} +4 -4
- package/dist/{chunk-LI4WU5DO.js → chunk-BC5I4C5V.js} +2 -2
- package/dist/{chunk-3L34VSKP.js → chunk-BJ7NV7AO.js} +2 -2
- package/dist/{chunk-R27F2P55.cjs → chunk-BQFUPAEY.cjs} +7 -12
- package/dist/chunk-BQFUPAEY.cjs.map +1 -0
- package/dist/{chunk-5EFJJBU5.cjs → chunk-HR4PF6FJ.cjs} +31 -31
- package/dist/{chunk-5EFJJBU5.cjs.map → chunk-HR4PF6FJ.cjs.map} +1 -1
- package/dist/{chunk-IU3ADZVS.cjs → chunk-IOHKIL7O.cjs} +7 -7
- package/dist/{chunk-IU3ADZVS.cjs.map → chunk-IOHKIL7O.cjs.map} +1 -1
- package/dist/{chunk-25VKZ2QM.js → chunk-IURUIQGY.js} +2 -2
- package/dist/{chunk-PREABAGF.cjs → chunk-JREHVZBN.cjs} +12 -12
- package/dist/{chunk-PREABAGF.cjs.map → chunk-JREHVZBN.cjs.map} +1 -1
- package/dist/{chunk-NOJCRTFP.cjs → chunk-K6XWRBOV.cjs} +5 -5
- package/dist/{chunk-NOJCRTFP.cjs.map → chunk-K6XWRBOV.cjs.map} +1 -1
- package/dist/{chunk-KKZMWFCK.cjs → chunk-KQXR27VF.cjs} +25 -25
- package/dist/{chunk-KKZMWFCK.cjs.map → chunk-KQXR27VF.cjs.map} +1 -1
- package/dist/{chunk-5PO6CQVE.cjs → chunk-LNXM2OQ6.cjs} +62 -62
- package/dist/{chunk-5PO6CQVE.cjs.map → chunk-LNXM2OQ6.cjs.map} +1 -1
- package/dist/{chunk-BLUIJE4A.js → chunk-MYP4I5B2.js} +4 -4
- package/dist/{chunk-MLWAQ3QJ.cjs → chunk-ODDTSUU7.cjs} +37 -37
- package/dist/{chunk-MLWAQ3QJ.cjs.map → chunk-ODDTSUU7.cjs.map} +1 -1
- package/dist/{chunk-O4J55Q6W.js → chunk-OIQEFSO4.js} +2 -2
- package/dist/{chunk-ACAVASHV.js → chunk-QTKCL36K.js} +2 -2
- package/dist/{chunk-PU7UCMSL.cjs → chunk-RPLL2CTZ.cjs} +15 -15
- package/dist/{chunk-PU7UCMSL.cjs.map → chunk-RPLL2CTZ.cjs.map} +1 -1
- package/dist/{chunk-U3LE33OX.js → chunk-RSBCKRRK.js} +2 -2
- package/dist/components/case-studies/index.cjs +8 -8
- package/dist/components/case-studies/index.js +2 -2
- package/dist/components/chat/chat-input.d.ts.map +1 -1
- package/dist/components/chat/index.cjs +2 -2
- package/dist/components/chat/index.js +1 -1
- package/dist/components/contact/index.cjs +3 -3
- package/dist/components/contact/index.js +2 -2
- package/dist/components/docs/index.cjs +5 -5
- package/dist/components/docs/index.js +4 -4
- package/dist/components/embeds/index.cjs +3 -3
- package/dist/components/embeds/index.js +2 -2
- package/dist/components/faq/index.cjs +3 -3
- package/dist/components/faq/index.js +2 -2
- package/dist/components/features/index.cjs +2 -2
- package/dist/components/features/index.js +1 -1
- package/dist/components/help-center-pages/index.cjs +20 -20
- package/dist/components/help-center-pages/index.js +11 -11
- package/dist/components/index.cjs +120 -120
- package/dist/components/index.js +9 -9
- package/dist/components/navigation/index.cjs +2 -2
- package/dist/components/navigation/index.js +1 -1
- package/dist/components/onboarding-guides/index.cjs +5 -5
- package/dist/components/onboarding-guides/index.js +4 -4
- package/dist/components/related-content/index.cjs +3 -3
- package/dist/components/related-content/index.js +2 -2
- package/dist/components/tickets/index.cjs +5 -5
- package/dist/components/tickets/index.js +4 -4
- package/dist/components/ui/index.cjs +2 -2
- package/dist/components/ui/index.js +1 -1
- package/dist/components/ui/tab-navigation.d.ts.map +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/src/components/chat/chat-input.tsx +9 -16
- package/src/components/ui/tab-navigation.tsx +2 -8
- package/src/stories/EmbeddableChat.stories.tsx +0 -75
- package/dist/chunk-4ZHXIY5J.js.map +0 -1
- package/dist/chunk-R27F2P55.cjs.map +0 -1
- package/src/stories/QuickActionChip.stories.tsx +0 -149
- package/src/stories/QuickActionMarquee.stories.tsx +0 -114
- /package/dist/{chunk-CDQY7PJI.js.map → chunk-267JJUAP.js.map} +0 -0
- /package/dist/{chunk-KCJS6HWH.js.map → chunk-27T2PUJZ.js.map} +0 -0
- /package/dist/{chunk-ECK3O7S7.js.map → chunk-2T6BQFJN.js.map} +0 -0
- /package/dist/{chunk-33CU7BKK.js.map → chunk-AD2WYDPL.js.map} +0 -0
- /package/dist/{chunk-LI4WU5DO.js.map → chunk-BC5I4C5V.js.map} +0 -0
- /package/dist/{chunk-3L34VSKP.js.map → chunk-BJ7NV7AO.js.map} +0 -0
- /package/dist/{chunk-25VKZ2QM.js.map → chunk-IURUIQGY.js.map} +0 -0
- /package/dist/{chunk-BLUIJE4A.js.map → chunk-MYP4I5B2.js.map} +0 -0
- /package/dist/{chunk-O4J55Q6W.js.map → chunk-OIQEFSO4.js.map} +0 -0
- /package/dist/{chunk-ACAVASHV.js.map → chunk-QTKCL36K.js.map} +0 -0
- /package/dist/{chunk-U3LE33OX.js.map → chunk-RSBCKRRK.js.map} +0 -0
|
@@ -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
|
|
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 }),
|
|
4317
4317
|
/* @__PURE__ */ jsx20(
|
|
4318
4318
|
"div",
|
|
4319
4319
|
{
|
|
@@ -4340,11 +4340,9 @@ 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
|
|
4344
|
-
//
|
|
4345
|
-
|
|
4346
|
-
// the absolutely-positioned single-line preview paints over it.
|
|
4347
|
-
showPreview && "opacity-0",
|
|
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",
|
|
4348
4346
|
// `leading-9` (36px) sits just above the 32px chip's line-box need
|
|
4349
4347
|
// (~35.5px incl. vertical-align overhead): the LINE drives row
|
|
4350
4348
|
// height (deterministic 48px, no overflow) AND the near-zero slack
|
|
@@ -16536,7 +16534,6 @@ function TabNavigation({
|
|
|
16536
16534
|
};
|
|
16537
16535
|
const scrollRef = useRef21(null);
|
|
16538
16536
|
const activeTabRef = useRef21(null);
|
|
16539
|
-
const isFirstActiveScrollRef = useRef21(true);
|
|
16540
16537
|
const [canScrollLeft, setCanScrollLeft] = useState35(false);
|
|
16541
16538
|
const [canScrollRight, setCanScrollRight] = useState35(false);
|
|
16542
16539
|
const updateScrollShadows = useCallback17(() => {
|
|
@@ -16573,14 +16570,12 @@ function TabNavigation({
|
|
|
16573
16570
|
const el = scrollRef.current;
|
|
16574
16571
|
const active = activeTabRef.current;
|
|
16575
16572
|
if (!el || !active) return;
|
|
16576
|
-
const behavior = isFirstActiveScrollRef.current ? "auto" : "smooth";
|
|
16577
|
-
isFirstActiveScrollRef.current = false;
|
|
16578
16573
|
const elRect = el.getBoundingClientRect();
|
|
16579
16574
|
const aRect = active.getBoundingClientRect();
|
|
16580
16575
|
if (aRect.left < elRect.left) {
|
|
16581
|
-
el.scrollBy({ left: aRect.left - elRect.left, behavior });
|
|
16576
|
+
el.scrollBy({ left: aRect.left - elRect.left, behavior: "smooth" });
|
|
16582
16577
|
} else if (aRect.right > elRect.right) {
|
|
16583
|
-
el.scrollBy({ left: aRect.right - elRect.right, behavior });
|
|
16578
|
+
el.scrollBy({ left: aRect.right - elRect.right, behavior: "smooth" });
|
|
16584
16579
|
}
|
|
16585
16580
|
}, [activeTab]);
|
|
16586
16581
|
const leftFade = canScrollLeft || showLeftGradient;
|
|
@@ -50694,4 +50689,4 @@ export {
|
|
|
50694
50689
|
LogsList,
|
|
50695
50690
|
assets
|
|
50696
50691
|
};
|
|
50697
|
-
//# sourceMappingURL=chunk-
|
|
50692
|
+
//# sourceMappingURL=chunk-5B2IOQXZ.js.map
|