@flamingo-stack/openframe-frontend-core 0.0.210 → 0.0.212
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-R5RNRH62.js → chunk-3E5ANY55.js} +14 -5
- package/dist/chunk-3E5ANY55.js.map +1 -0
- package/dist/{chunk-WJBPLMBX.js → chunk-5BNWGK6D.js} +2 -2
- package/dist/{chunk-6RZYJICV.cjs → chunk-P5EE2VJX.cjs} +1 -1
- package/dist/chunk-P5EE2VJX.cjs.map +1 -0
- package/dist/{chunk-ATEUJQKU.js → chunk-QKFBZLIR.js} +2 -2
- package/dist/{chunk-MDTIOPVS.cjs → chunk-VTUIMMHO.cjs} +24 -24
- package/dist/{chunk-MDTIOPVS.cjs.map → chunk-VTUIMMHO.cjs.map} +1 -1
- package/dist/{chunk-TWKPYZNQ.cjs → chunk-WI76ZUBE.cjs} +26 -17
- package/dist/chunk-WI76ZUBE.cjs.map +1 -0
- package/dist/{chunk-VBFOCTMD.cjs → chunk-ZFBLC5GV.cjs} +17 -17
- package/dist/{chunk-VBFOCTMD.cjs.map → chunk-ZFBLC5GV.cjs.map} +1 -1
- package/dist/{chunk-7L4DWM7P.js → chunk-ZG2YY5E7.js} +1 -1
- package/dist/chunk-ZG2YY5E7.js.map +1 -0
- package/dist/components/chat/hooks/use-chat-identity.d.ts +3 -3
- package/dist/components/chat/hooks/use-chat-identity.d.ts.map +1 -1
- package/dist/components/chat/index.cjs +3 -3
- package/dist/components/chat/index.js +2 -2
- package/dist/components/contact/index.cjs +4 -4
- package/dist/components/contact/index.js +3 -3
- package/dist/components/features/index.cjs +3 -3
- package/dist/components/features/index.js +2 -2
- package/dist/components/footer-waitlist-button.d.ts +21 -2
- package/dist/components/footer-waitlist-button.d.ts.map +1 -1
- package/dist/components/index.cjs +87 -91
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.js +12 -16
- package/dist/components/index.js.map +1 -1
- package/dist/components/navigation/index.cjs +3 -3
- package/dist/components/navigation/index.js +2 -2
- package/dist/components/navigation/sticky-section-nav.d.ts.map +1 -1
- package/dist/components/tickets/help-center-card.d.ts.map +1 -1
- package/dist/components/tickets/index.cjs +139 -98
- package/dist/components/tickets/index.cjs.map +1 -1
- package/dist/components/tickets/index.js +95 -54
- package/dist/components/tickets/index.js.map +1 -1
- package/dist/components/tickets/ticket-row.d.ts.map +1 -1
- package/dist/components/ui/index.cjs +3 -3
- package/dist/components/ui/index.js +2 -2
- package/dist/contexts/chat-runtime-context.d.ts +6 -3
- package/dist/contexts/chat-runtime-context.d.ts.map +1 -1
- package/dist/contexts/index.cjs +2 -2
- package/dist/contexts/index.js +1 -1
- package/dist/index.cjs +5 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -2
- package/dist/utils/index.cjs +10 -0
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +10 -1
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/scroll-into-view.d.ts +63 -0
- package/dist/utils/scroll-into-view.d.ts.map +1 -0
- package/package.json +1 -1
- package/src/components/chat/hooks/use-chat-identity.ts +8 -7
- package/src/components/footer-waitlist-button.tsx +33 -16
- package/src/components/navigation/sticky-section-nav.tsx +6 -4
- package/src/components/tickets/help-center-card.tsx +55 -1
- package/src/components/tickets/help-center-list.tsx +9 -1
- package/src/components/tickets/ticket-detail-drawer.tsx +19 -4
- package/src/components/tickets/ticket-row.tsx +30 -19
- package/src/contexts/chat-runtime-context.tsx +6 -3
- package/src/stories/EmbeddableChat.stories.tsx +1 -1
- package/src/utils/index.ts +12 -0
- package/src/utils/scroll-into-view.ts +74 -0
- package/dist/chunk-6RZYJICV.cjs.map +0 -1
- package/dist/chunk-7L4DWM7P.js.map +0 -1
- package/dist/chunk-R5RNRH62.js.map +0 -1
- package/dist/chunk-TWKPYZNQ.cjs.map +0 -1
- /package/dist/{chunk-WJBPLMBX.js.map → chunk-5BNWGK6D.js.map} +0 -0
- /package/dist/{chunk-ATEUJQKU.js.map → chunk-QKFBZLIR.js.map} +0 -0
package/dist/components/index.js
CHANGED
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
UnifiedPagination,
|
|
12
12
|
init_unified_pagination,
|
|
13
13
|
unified_pagination_exports
|
|
14
|
-
} from "../chunk-
|
|
14
|
+
} from "../chunk-QKFBZLIR.js";
|
|
15
15
|
import "../chunk-4XLJWX2N.js";
|
|
16
16
|
import {
|
|
17
17
|
AIEnrichButton,
|
|
@@ -617,7 +617,7 @@ import {
|
|
|
617
617
|
useTheme,
|
|
618
618
|
useThemeToggle,
|
|
619
619
|
useUnifiedChat
|
|
620
|
-
} from "../chunk-
|
|
620
|
+
} from "../chunk-3E5ANY55.js";
|
|
621
621
|
import {
|
|
622
622
|
CommandApprovalToast,
|
|
623
623
|
ToastCard,
|
|
@@ -785,7 +785,9 @@ import {
|
|
|
785
785
|
PlayIcon
|
|
786
786
|
} from "../chunk-EDW2NVRV.js";
|
|
787
787
|
import "../chunk-W72U7OU7.js";
|
|
788
|
-
import
|
|
788
|
+
import {
|
|
789
|
+
useChatRuntime
|
|
790
|
+
} from "../chunk-ZG2YY5E7.js";
|
|
789
791
|
import {
|
|
790
792
|
useEndpointsRuntime
|
|
791
793
|
} from "../chunk-MJNXIEV2.js";
|
|
@@ -2546,21 +2548,15 @@ init_button();
|
|
|
2546
2548
|
import { jsx as jsx17 } from "react/jsx-runtime";
|
|
2547
2549
|
function FooterWaitlistButton({ className }) {
|
|
2548
2550
|
const router = useRouter();
|
|
2549
|
-
const
|
|
2551
|
+
const runtime = useChatRuntime();
|
|
2550
2552
|
const handleClick = useCallback2(() => {
|
|
2551
|
-
|
|
2552
|
-
|
|
2553
|
-
|
|
2554
|
-
|
|
2555
|
-
setTimeout(() => {
|
|
2556
|
-
const input = anchor.querySelector('input[type="email"]');
|
|
2557
|
-
input?.focus();
|
|
2558
|
-
}, 400);
|
|
2559
|
-
return;
|
|
2560
|
-
}
|
|
2553
|
+
const href = "/waitlist#top";
|
|
2554
|
+
if (runtime?.navigation?.navigate) {
|
|
2555
|
+
const handled = runtime.navigation.navigate({ href });
|
|
2556
|
+
if (handled) return;
|
|
2561
2557
|
}
|
|
2562
|
-
router.push(
|
|
2563
|
-
}, [
|
|
2558
|
+
router.push(href);
|
|
2559
|
+
}, [router, runtime]);
|
|
2564
2560
|
return /* @__PURE__ */ jsx17(
|
|
2565
2561
|
Button,
|
|
2566
2562
|
{
|