@flamingo-stack/openframe-frontend-core 0.0.210-snapshot.20260528032637 → 0.0.210

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 (72) hide show
  1. package/dist/{chunk-P5EE2VJX.cjs → chunk-6RZYJICV.cjs} +1 -1
  2. package/dist/chunk-6RZYJICV.cjs.map +1 -0
  3. package/dist/{chunk-ZG2YY5E7.js → chunk-7L4DWM7P.js} +1 -1
  4. package/dist/chunk-7L4DWM7P.js.map +1 -0
  5. package/dist/{chunk-QKFBZLIR.js → chunk-ATEUJQKU.js} +2 -2
  6. package/dist/{chunk-VTUIMMHO.cjs → chunk-MDTIOPVS.cjs} +24 -24
  7. package/dist/{chunk-VTUIMMHO.cjs.map → chunk-MDTIOPVS.cjs.map} +1 -1
  8. package/dist/{chunk-3E5ANY55.js → chunk-R5RNRH62.js} +5 -14
  9. package/dist/chunk-R5RNRH62.js.map +1 -0
  10. package/dist/{chunk-WI76ZUBE.cjs → chunk-TWKPYZNQ.cjs} +17 -26
  11. package/dist/chunk-TWKPYZNQ.cjs.map +1 -0
  12. package/dist/{chunk-ZFBLC5GV.cjs → chunk-VBFOCTMD.cjs} +17 -17
  13. package/dist/{chunk-ZFBLC5GV.cjs.map → chunk-VBFOCTMD.cjs.map} +1 -1
  14. package/dist/{chunk-5BNWGK6D.js → chunk-WJBPLMBX.js} +2 -2
  15. package/dist/components/chat/hooks/use-chat-identity.d.ts +3 -3
  16. package/dist/components/chat/hooks/use-chat-identity.d.ts.map +1 -1
  17. package/dist/components/chat/index.cjs +3 -3
  18. package/dist/components/chat/index.js +2 -2
  19. package/dist/components/contact/index.cjs +4 -4
  20. package/dist/components/contact/index.js +3 -3
  21. package/dist/components/features/index.cjs +3 -3
  22. package/dist/components/features/index.js +2 -2
  23. package/dist/components/footer-waitlist-button.d.ts +2 -21
  24. package/dist/components/footer-waitlist-button.d.ts.map +1 -1
  25. package/dist/components/index.cjs +91 -87
  26. package/dist/components/index.cjs.map +1 -1
  27. package/dist/components/index.js +16 -12
  28. package/dist/components/index.js.map +1 -1
  29. package/dist/components/navigation/index.cjs +3 -3
  30. package/dist/components/navigation/index.js +2 -2
  31. package/dist/components/navigation/sticky-section-nav.d.ts.map +1 -1
  32. package/dist/components/tickets/help-center-card.d.ts.map +1 -1
  33. package/dist/components/tickets/index.cjs +98 -139
  34. package/dist/components/tickets/index.cjs.map +1 -1
  35. package/dist/components/tickets/index.js +54 -95
  36. package/dist/components/tickets/index.js.map +1 -1
  37. package/dist/components/tickets/ticket-row.d.ts.map +1 -1
  38. package/dist/components/ui/index.cjs +3 -3
  39. package/dist/components/ui/index.js +2 -2
  40. package/dist/contexts/chat-runtime-context.d.ts +3 -6
  41. package/dist/contexts/chat-runtime-context.d.ts.map +1 -1
  42. package/dist/contexts/index.cjs +2 -2
  43. package/dist/contexts/index.js +1 -1
  44. package/dist/index.cjs +3 -5
  45. package/dist/index.cjs.map +1 -1
  46. package/dist/index.js +2 -4
  47. package/dist/utils/index.cjs +0 -10
  48. package/dist/utils/index.cjs.map +1 -1
  49. package/dist/utils/index.d.ts +0 -1
  50. package/dist/utils/index.d.ts.map +1 -1
  51. package/dist/utils/index.js +1 -10
  52. package/dist/utils/index.js.map +1 -1
  53. package/package.json +1 -1
  54. package/src/components/chat/hooks/use-chat-identity.ts +7 -8
  55. package/src/components/footer-waitlist-button.tsx +16 -33
  56. package/src/components/navigation/sticky-section-nav.tsx +4 -6
  57. package/src/components/tickets/help-center-card.tsx +1 -55
  58. package/src/components/tickets/help-center-list.tsx +1 -9
  59. package/src/components/tickets/ticket-detail-drawer.tsx +4 -19
  60. package/src/components/tickets/ticket-row.tsx +19 -30
  61. package/src/contexts/chat-runtime-context.tsx +3 -6
  62. package/src/stories/EmbeddableChat.stories.tsx +1 -1
  63. package/src/utils/index.ts +0 -12
  64. package/dist/chunk-3E5ANY55.js.map +0 -1
  65. package/dist/chunk-P5EE2VJX.cjs.map +0 -1
  66. package/dist/chunk-WI76ZUBE.cjs.map +0 -1
  67. package/dist/chunk-ZG2YY5E7.js.map +0 -1
  68. package/dist/utils/scroll-into-view.d.ts +0 -63
  69. package/dist/utils/scroll-into-view.d.ts.map +0 -1
  70. package/src/utils/scroll-into-view.ts +0 -74
  71. /package/dist/{chunk-QKFBZLIR.js.map → chunk-ATEUJQKU.js.map} +0 -0
  72. /package/dist/{chunk-5BNWGK6D.js.map → chunk-WJBPLMBX.js.map} +0 -0
@@ -11,7 +11,7 @@ import {
11
11
  UnifiedPagination,
12
12
  init_unified_pagination,
13
13
  unified_pagination_exports
14
- } from "../chunk-QKFBZLIR.js";
14
+ } from "../chunk-ATEUJQKU.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-3E5ANY55.js";
620
+ } from "../chunk-R5RNRH62.js";
621
621
  import {
622
622
  CommandApprovalToast,
623
623
  ToastCard,
@@ -785,9 +785,7 @@ import {
785
785
  PlayIcon
786
786
  } from "../chunk-EDW2NVRV.js";
787
787
  import "../chunk-W72U7OU7.js";
788
- import {
789
- useChatRuntime
790
- } from "../chunk-ZG2YY5E7.js";
788
+ import "../chunk-7L4DWM7P.js";
791
789
  import {
792
790
  useEndpointsRuntime
793
791
  } from "../chunk-MJNXIEV2.js";
@@ -2548,15 +2546,21 @@ init_button();
2548
2546
  import { jsx as jsx17 } from "react/jsx-runtime";
2549
2547
  function FooterWaitlistButton({ className }) {
2550
2548
  const router = useRouter();
2551
- const runtime = useChatRuntime();
2549
+ const pathname = usePathname();
2552
2550
  const handleClick = useCallback2(() => {
2553
- const href = "/waitlist#top";
2554
- if (runtime?.navigation?.navigate) {
2555
- const handled = runtime.navigation.navigate({ href });
2556
- if (handled) return;
2551
+ if (pathname?.startsWith("/waitlist")) {
2552
+ const anchor = document.getElementById("waitlist-form");
2553
+ if (anchor) {
2554
+ anchor.scrollIntoView({ behavior: "smooth", block: "center" });
2555
+ setTimeout(() => {
2556
+ const input = anchor.querySelector('input[type="email"]');
2557
+ input?.focus();
2558
+ }, 400);
2559
+ return;
2560
+ }
2557
2561
  }
2558
- router.push(href);
2559
- }, [router, runtime]);
2562
+ router.push("/waitlist#waitlist-form");
2563
+ }, [pathname, router]);
2560
2564
  return /* @__PURE__ */ jsx17(
2561
2565
  Button,
2562
2566
  {