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

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 (74) hide show
  1. package/dist/{chunk-HZT4YU33.js → chunk-3E5ANY55.js} +49 -26
  2. package/dist/chunk-3E5ANY55.js.map +1 -0
  3. package/dist/{chunk-RFSBDUXD.js → chunk-5BNWGK6D.js} +2 -2
  4. package/dist/{chunk-6RZYJICV.cjs → chunk-P5EE2VJX.cjs} +1 -1
  5. package/dist/chunk-P5EE2VJX.cjs.map +1 -0
  6. package/dist/{chunk-GIKD2LWD.js → chunk-QKFBZLIR.js} +2 -2
  7. package/dist/{chunk-Y7IXGY7T.cjs → chunk-VTUIMMHO.cjs} +24 -24
  8. package/dist/{chunk-Y7IXGY7T.cjs.map → chunk-VTUIMMHO.cjs.map} +1 -1
  9. package/dist/{chunk-SJQLTQC7.cjs → chunk-WI76ZUBE.cjs} +57 -34
  10. package/dist/chunk-WI76ZUBE.cjs.map +1 -0
  11. package/dist/{chunk-S2B3UFVP.cjs → chunk-ZFBLC5GV.cjs} +17 -17
  12. package/dist/{chunk-S2B3UFVP.cjs.map → chunk-ZFBLC5GV.cjs.map} +1 -1
  13. package/dist/{chunk-7L4DWM7P.js → chunk-ZG2YY5E7.js} +1 -1
  14. package/dist/chunk-ZG2YY5E7.js.map +1 -0
  15. package/dist/components/chat/entity-cards/blog-card.d.ts.map +1 -1
  16. package/dist/components/chat/hooks/use-chat-identity.d.ts +3 -3
  17. package/dist/components/chat/hooks/use-chat-identity.d.ts.map +1 -1
  18. package/dist/components/chat/index.cjs +3 -3
  19. package/dist/components/chat/index.js +2 -2
  20. package/dist/components/contact/index.cjs +4 -4
  21. package/dist/components/contact/index.js +3 -3
  22. package/dist/components/features/index.cjs +3 -3
  23. package/dist/components/features/index.js +2 -2
  24. package/dist/components/footer-waitlist-button.d.ts +21 -2
  25. package/dist/components/footer-waitlist-button.d.ts.map +1 -1
  26. package/dist/components/index.cjs +87 -91
  27. package/dist/components/index.cjs.map +1 -1
  28. package/dist/components/index.js +12 -16
  29. package/dist/components/index.js.map +1 -1
  30. package/dist/components/navigation/index.cjs +3 -3
  31. package/dist/components/navigation/index.js +2 -2
  32. package/dist/components/navigation/sticky-section-nav.d.ts.map +1 -1
  33. package/dist/components/tickets/help-center-card.d.ts.map +1 -1
  34. package/dist/components/tickets/index.cjs +139 -98
  35. package/dist/components/tickets/index.cjs.map +1 -1
  36. package/dist/components/tickets/index.js +95 -54
  37. package/dist/components/tickets/index.js.map +1 -1
  38. package/dist/components/tickets/ticket-row.d.ts.map +1 -1
  39. package/dist/components/ui/index.cjs +3 -3
  40. package/dist/components/ui/index.js +2 -2
  41. package/dist/contexts/chat-runtime-context.d.ts +6 -3
  42. package/dist/contexts/chat-runtime-context.d.ts.map +1 -1
  43. package/dist/contexts/index.cjs +2 -2
  44. package/dist/contexts/index.js +1 -1
  45. package/dist/index.cjs +5 -3
  46. package/dist/index.cjs.map +1 -1
  47. package/dist/index.js +4 -2
  48. package/dist/utils/index.cjs +10 -0
  49. package/dist/utils/index.cjs.map +1 -1
  50. package/dist/utils/index.d.ts +1 -0
  51. package/dist/utils/index.d.ts.map +1 -1
  52. package/dist/utils/index.js +10 -1
  53. package/dist/utils/index.js.map +1 -1
  54. package/dist/utils/scroll-into-view.d.ts +63 -0
  55. package/dist/utils/scroll-into-view.d.ts.map +1 -0
  56. package/package.json +1 -1
  57. package/src/components/chat/entity-cards/blog-card.tsx +25 -16
  58. package/src/components/chat/hooks/use-chat-identity.ts +8 -7
  59. package/src/components/footer-waitlist-button.tsx +33 -16
  60. package/src/components/navigation/sticky-section-nav.tsx +6 -4
  61. package/src/components/tickets/help-center-card.tsx +55 -1
  62. package/src/components/tickets/help-center-list.tsx +9 -1
  63. package/src/components/tickets/ticket-detail-drawer.tsx +19 -4
  64. package/src/components/tickets/ticket-row.tsx +30 -19
  65. package/src/contexts/chat-runtime-context.tsx +6 -3
  66. package/src/stories/EmbeddableChat.stories.tsx +1 -1
  67. package/src/utils/index.ts +12 -0
  68. package/src/utils/scroll-into-view.ts +74 -0
  69. package/dist/chunk-6RZYJICV.cjs.map +0 -1
  70. package/dist/chunk-7L4DWM7P.js.map +0 -1
  71. package/dist/chunk-HZT4YU33.js.map +0 -1
  72. package/dist/chunk-SJQLTQC7.cjs.map +0 -1
  73. /package/dist/{chunk-RFSBDUXD.js.map → chunk-5BNWGK6D.js.map} +0 -0
  74. /package/dist/{chunk-GIKD2LWD.js.map → chunk-QKFBZLIR.js.map} +0 -0
@@ -90,12 +90,12 @@ import {
90
90
  useOptionalNotifications,
91
91
  useTheme,
92
92
  useThemeToggle
93
- } from "../../chunk-HZT4YU33.js";
93
+ } from "../../chunk-3E5ANY55.js";
94
94
  import "../../chunk-UYQOPC57.js";
95
95
  import "../../chunk-CIPO6DXK.js";
96
96
  import "../../chunk-EDW2NVRV.js";
97
97
  import "../../chunk-W72U7OU7.js";
98
- import "../../chunk-7L4DWM7P.js";
98
+ import "../../chunk-ZG2YY5E7.js";
99
99
  import "../../chunk-MJNXIEV2.js";
100
100
  import "../../chunk-EL5YVPD5.js";
101
101
  import "../../chunk-PLJLE4A4.js";
@@ -3,8 +3,27 @@ export interface FooterWaitlistButtonProps {
3
3
  }
4
4
  /**
5
5
  * Small wrapper around JoinWaitlistButton for use inside the footer.
6
- * Provides a default click handler that scrolls/focuses the wait-list form
7
- * if the user is already on /waitlist; otherwise navigates to it.
6
+ *
7
+ * Routes through the host's unified-navigation hook
8
+ * (`runtime.navigation.navigate`) when a `ChatRuntimeContext` is
9
+ * mounted — that's the same path EVERY other in-app navigation
10
+ * surface uses (source chips, inline cards, search-autocomplete,
11
+ * action cards). One rule, one decision tree across the whole app.
12
+ * The hub's `HubRuntimeProvider` wires `navigate` to its `useUnifiedNav`
13
+ * helper, so this button picks up cross-platform new-tab decisions,
14
+ * same-URL re-scroll handling, embed-mode short-circuiting, and any
15
+ * future host-side nav rules for free.
16
+ *
17
+ * Falls back to the embed-shim's `router.push` when no runtime is
18
+ * mounted (third-party embedders who haven't set up
19
+ * `ChatRuntimeContext` — the lib stays usable without forcing them
20
+ * to wire the full chat-runtime).
21
+ *
22
+ * Target URL: `/waitlist#top`. `#top` is the canonical "scroll to
23
+ * page top" anchor — the destination page has an explicit
24
+ * `<div id="top">` at the top of `<main>` so native browser anchor
25
+ * scroll works in every browser regardless of the HTML5 magic-anchor
26
+ * behavior.
8
27
  */
9
28
  export declare function FooterWaitlistButton({ className }: FooterWaitlistButtonProps): import("react/jsx-runtime").JSX.Element;
10
29
  //# sourceMappingURL=footer-waitlist-button.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"footer-waitlist-button.d.ts","sourceRoot":"","sources":["../../src/components/footer-waitlist-button.tsx"],"names":[],"mappings":"AAOA,MAAM,WAAW,yBAAyB;IACxC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,EAAE,SAAS,EAAE,EAAE,yBAAyB,2CA4B5E"}
1
+ {"version":3,"file":"footer-waitlist-button.d.ts","sourceRoot":"","sources":["../../src/components/footer-waitlist-button.tsx"],"names":[],"mappings":"AAQA,MAAM,WAAW,yBAAyB;IACxC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,wBAAgB,oBAAoB,CAAC,EAAE,SAAS,EAAE,EAAE,yBAAyB,2CAyB5E"}