@flamingo-stack/openframe-frontend-core 0.0.568 → 0.0.569

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 (176) hide show
  1. package/dist/{chunk-P7QGTNEW.cjs → chunk-2DSDGWWU.cjs} +101 -101
  2. package/dist/{chunk-P7QGTNEW.cjs.map → chunk-2DSDGWWU.cjs.map} +1 -1
  3. package/dist/{chunk-ZARYIFCI.js → chunk-3UPQAOES.js} +5 -3
  4. package/dist/{chunk-ZARYIFCI.js.map → chunk-3UPQAOES.js.map} +1 -1
  5. package/dist/{chunk-KL6ZDLDF.js → chunk-4NN7V443.js} +2 -2
  6. package/dist/{chunk-G2PAUMV6.js → chunk-6STF67EF.js} +4 -4
  7. package/dist/{chunk-6RSKK4E7.cjs → chunk-74DB5H5T.cjs} +1258 -1162
  8. package/dist/chunk-74DB5H5T.cjs.map +1 -0
  9. package/dist/{chunk-6TDWCBQM.js → chunk-A2T266F3.js} +7 -7
  10. package/dist/{chunk-HKG7BZON.cjs → chunk-AAROYQ4O.cjs} +14 -14
  11. package/dist/{chunk-HKG7BZON.cjs.map → chunk-AAROYQ4O.cjs.map} +1 -1
  12. package/dist/{chunk-CEAAOVCV.cjs → chunk-AJPGQCZ2.cjs} +1 -1
  13. package/dist/chunk-AJPGQCZ2.cjs.map +1 -0
  14. package/dist/{chunk-ZXASQL3E.js → chunk-C5GKBUT7.js} +4 -4
  15. package/dist/{chunk-RBYMJF2V.cjs → chunk-D6SBYELJ.cjs} +35 -35
  16. package/dist/{chunk-RBYMJF2V.cjs.map → chunk-D6SBYELJ.cjs.map} +1 -1
  17. package/dist/{chunk-LNUXUOPN.cjs → chunk-EBE22KOQ.cjs} +4 -4
  18. package/dist/{chunk-LNUXUOPN.cjs.map → chunk-EBE22KOQ.cjs.map} +1 -1
  19. package/dist/{chunk-EYXZF46V.js → chunk-FE5QR7PT.js} +995 -899
  20. package/dist/chunk-FE5QR7PT.js.map +1 -0
  21. package/dist/{chunk-6PWUUWCO.cjs → chunk-FMWIA5IH.cjs} +42 -42
  22. package/dist/{chunk-6PWUUWCO.cjs.map → chunk-FMWIA5IH.cjs.map} +1 -1
  23. package/dist/{chunk-DHTT77AG.cjs → chunk-GY22CIEF.cjs} +78 -78
  24. package/dist/{chunk-DHTT77AG.cjs.map → chunk-GY22CIEF.cjs.map} +1 -1
  25. package/dist/{chunk-O3JCKEVG.js → chunk-HOMYI5RR.js} +2 -2
  26. package/dist/{chunk-BZ7B255K.js → chunk-KCAGMTJ6.js} +9 -9
  27. package/dist/{chunk-DZ2Z7HRF.js → chunk-KO333Q2B.js} +3 -3
  28. package/dist/{chunk-MQQM4NCN.js → chunk-LJBNHO6B.js} +3 -3
  29. package/dist/{chunk-KZS2DFC2.cjs → chunk-ME346OJF.cjs} +42 -42
  30. package/dist/{chunk-KZS2DFC2.cjs.map → chunk-ME346OJF.cjs.map} +1 -1
  31. package/dist/{chunk-UWY722RH.js → chunk-MR6RRXSD.js} +1 -1
  32. package/dist/chunk-MR6RRXSD.js.map +1 -0
  33. package/dist/{chunk-ZIZJDXUI.js → chunk-MZG3QQUR.js} +2 -2
  34. package/dist/{chunk-HB3IG2MC.js → chunk-OS5RFMW5.js} +3 -3
  35. package/dist/{chunk-VEXTUGUA.js → chunk-OWCN3BM6.js} +7 -7
  36. package/dist/{chunk-QVQLNKFS.js → chunk-P7ZENKIA.js} +2 -2
  37. package/dist/{chunk-T7AE7CKV.cjs → chunk-PCL6WYYT.cjs} +7 -7
  38. package/dist/{chunk-T7AE7CKV.cjs.map → chunk-PCL6WYYT.cjs.map} +1 -1
  39. package/dist/{chunk-2LKVYI7H.js → chunk-PLJAOZYZ.js} +6 -6
  40. package/dist/{chunk-L22CSZZU.cjs → chunk-QY3VTOB6.cjs} +18 -18
  41. package/dist/{chunk-L22CSZZU.cjs.map → chunk-QY3VTOB6.cjs.map} +1 -1
  42. package/dist/{chunk-Y2BYHTEN.cjs → chunk-SMW5Z4NW.cjs} +23 -23
  43. package/dist/{chunk-Y2BYHTEN.cjs.map → chunk-SMW5Z4NW.cjs.map} +1 -1
  44. package/dist/{chunk-LXWQLUBR.cjs → chunk-SW3K3JSP.cjs} +9 -7
  45. package/dist/chunk-SW3K3JSP.cjs.map +1 -0
  46. package/dist/{chunk-NKEOD2AD.cjs → chunk-TDYTAED2.cjs} +3 -3
  47. package/dist/{chunk-NKEOD2AD.cjs.map → chunk-TDYTAED2.cjs.map} +1 -1
  48. package/dist/{chunk-ZNEVGXMU.js → chunk-TXEI4PES.js} +112 -4
  49. package/dist/chunk-TXEI4PES.js.map +1 -0
  50. package/dist/{chunk-KZ3PIUCH.cjs → chunk-VNE2EHCD.cjs} +14 -14
  51. package/dist/{chunk-KZ3PIUCH.cjs.map → chunk-VNE2EHCD.cjs.map} +1 -1
  52. package/dist/{chunk-6I76UK2Z.cjs → chunk-XMECOGLY.cjs} +3 -3
  53. package/dist/{chunk-6I76UK2Z.cjs.map → chunk-XMECOGLY.cjs.map} +1 -1
  54. package/dist/{chunk-NK3M6F5A.cjs → chunk-Z3SRMLMK.cjs} +121 -13
  55. package/dist/chunk-Z3SRMLMK.cjs.map +1 -0
  56. package/dist/components/case-studies/index.cjs +10 -10
  57. package/dist/components/case-studies/index.js +4 -4
  58. package/dist/components/chat/index.cjs +4 -17
  59. package/dist/components/chat/index.cjs.map +1 -1
  60. package/dist/components/chat/index.js +3 -16
  61. package/dist/components/chat/utils/index.d.ts +0 -2
  62. package/dist/components/chat/utils/index.d.ts.map +1 -1
  63. package/dist/components/contact/index.cjs +5 -5
  64. package/dist/components/contact/index.js +4 -4
  65. package/dist/components/docs/index.cjs +7 -7
  66. package/dist/components/docs/index.js +6 -6
  67. package/dist/components/embeds/claude-embed.d.ts +15 -8
  68. package/dist/components/embeds/claude-embed.d.ts.map +1 -1
  69. package/dist/components/embeds/embed-viewer-frame.d.ts +8 -1
  70. package/dist/components/embeds/embed-viewer-frame.d.ts.map +1 -1
  71. package/dist/components/embeds/index.cjs +5 -5
  72. package/dist/components/embeds/index.js +4 -4
  73. package/dist/components/faq/index.cjs +6 -6
  74. package/dist/components/faq/index.js +5 -5
  75. package/dist/components/features/index.cjs +4 -4
  76. package/dist/components/features/index.js +3 -3
  77. package/dist/components/help-center-pages/index.cjs +25 -25
  78. package/dist/components/help-center-pages/index.js +16 -16
  79. package/dist/components/index.cjs +142 -154
  80. package/dist/components/index.cjs.map +1 -1
  81. package/dist/components/index.js +14 -26
  82. package/dist/components/index.js.map +1 -1
  83. package/dist/components/meeting-scheduler/index.cjs +36 -36
  84. package/dist/components/meeting-scheduler/index.js +5 -5
  85. package/dist/components/navigation/index.cjs +4 -4
  86. package/dist/components/navigation/index.js +3 -3
  87. package/dist/components/onboarding-guides/index.cjs +8 -8
  88. package/dist/components/onboarding-guides/index.js +7 -7
  89. package/dist/components/related-content/index.cjs +6 -6
  90. package/dist/components/related-content/index.js +5 -5
  91. package/dist/components/tickets/index.cjs +8 -8
  92. package/dist/components/tickets/index.js +7 -7
  93. package/dist/components/ui/index.cjs +4 -16
  94. package/dist/components/ui/index.cjs.map +1 -1
  95. package/dist/components/ui/index.js +3 -15
  96. package/dist/components/ui/markdown/sanitize.d.ts.map +1 -1
  97. package/dist/components/ui/table/table.d.ts +1 -1
  98. package/dist/components/ui/table/table.d.ts.map +1 -1
  99. package/dist/components/ui/table/types.d.ts +9 -0
  100. package/dist/components/ui/table/types.d.ts.map +1 -1
  101. package/dist/contexts/endpoints-runtime-context.d.ts +6 -0
  102. package/dist/contexts/endpoints-runtime-context.d.ts.map +1 -1
  103. package/dist/contexts/index.cjs +2 -2
  104. package/dist/contexts/index.js +1 -1
  105. package/dist/hooks/index.cjs +5 -3
  106. package/dist/hooks/index.cjs.map +1 -1
  107. package/dist/hooks/index.d.ts +1 -0
  108. package/dist/hooks/index.d.ts.map +1 -1
  109. package/dist/hooks/index.js +4 -2
  110. package/dist/hooks/use-claude-mirror-src.d.ts +17 -0
  111. package/dist/hooks/use-claude-mirror-src.d.ts.map +1 -0
  112. package/dist/index.cjs +10 -8
  113. package/dist/index.cjs.map +1 -1
  114. package/dist/index.js +15 -13
  115. package/dist/utils/embed-proxy-auth-storage.d.ts.map +1 -1
  116. package/dist/utils/embed-url-converters.d.ts +20 -0
  117. package/dist/utils/embed-url-converters.d.ts.map +1 -1
  118. package/dist/utils/fullscreen-switch.d.ts +85 -0
  119. package/dist/utils/fullscreen-switch.d.ts.map +1 -0
  120. package/dist/utils/index.cjs +114 -0
  121. package/dist/utils/index.cjs.map +1 -1
  122. package/dist/utils/index.d.ts +1 -0
  123. package/dist/utils/index.d.ts.map +1 -1
  124. package/dist/utils/index.js +113 -1
  125. package/dist/utils/index.js.map +1 -1
  126. package/package.json +1 -1
  127. package/src/components/chat/hooks/use-chat-attachments.ts +3 -3
  128. package/src/components/chat/hooks/use-chat-history-hydration.ts +2 -2
  129. package/src/components/chat/hooks/use-chat-identity.ts +5 -5
  130. package/src/components/chat/hooks/use-sse-chat-adapter.ts +3 -3
  131. package/src/components/chat/utils/.index.md +1 -2
  132. package/src/components/chat/utils/chat-conversation-storage.ts +2 -2
  133. package/src/components/chat/utils/index.ts +3 -10
  134. package/src/components/embeds/claude-embed.tsx +41 -14
  135. package/src/components/embeds/embed-viewer-frame.tsx +77 -4
  136. package/src/components/ui/markdown/__tests__/sanitize-invariant.test.ts +30 -0
  137. package/src/components/ui/markdown/rich/__tests__/shortcodes.test.ts +8 -0
  138. package/src/components/ui/markdown/sanitize.ts +4 -0
  139. package/src/components/ui/table/table.tsx +7 -2
  140. package/src/components/ui/table/types.ts +9 -0
  141. package/src/contexts/endpoints-runtime-context.tsx +6 -0
  142. package/src/hooks/index.ts +4 -0
  143. package/src/hooks/use-claude-mirror-src.ts +43 -0
  144. package/src/utils/.embed-proxy-auth-storage.md +2 -2
  145. package/src/utils/embed-proxy-auth-storage.ts +19 -14
  146. package/src/utils/embed-url-converters.ts +45 -0
  147. package/src/utils/fullscreen-switch.ts +180 -0
  148. package/src/utils/index.ts +8 -6
  149. package/dist/chunk-6RSKK4E7.cjs.map +0 -1
  150. package/dist/chunk-CEAAOVCV.cjs.map +0 -1
  151. package/dist/chunk-EYXZF46V.js.map +0 -1
  152. package/dist/chunk-LXWQLUBR.cjs.map +0 -1
  153. package/dist/chunk-NK3M6F5A.cjs.map +0 -1
  154. package/dist/chunk-UWY722RH.js.map +0 -1
  155. package/dist/chunk-ZNEVGXMU.js.map +0 -1
  156. package/dist/components/chat/utils/chat-authed-fetch.d.ts +0 -15
  157. package/dist/components/chat/utils/chat-authed-fetch.d.ts.map +0 -1
  158. package/dist/components/chat/utils/chat-proxy-auth-storage.d.ts +0 -16
  159. package/dist/components/chat/utils/chat-proxy-auth-storage.d.ts.map +0 -1
  160. package/src/components/chat/utils/.chat-authed-fetch.md +0 -25
  161. package/src/components/chat/utils/.chat-proxy-auth-storage.md +0 -38
  162. package/src/components/chat/utils/chat-authed-fetch.ts +0 -17
  163. package/src/components/chat/utils/chat-proxy-auth-storage.ts +0 -25
  164. /package/dist/{chunk-KL6ZDLDF.js.map → chunk-4NN7V443.js.map} +0 -0
  165. /package/dist/{chunk-G2PAUMV6.js.map → chunk-6STF67EF.js.map} +0 -0
  166. /package/dist/{chunk-6TDWCBQM.js.map → chunk-A2T266F3.js.map} +0 -0
  167. /package/dist/{chunk-ZXASQL3E.js.map → chunk-C5GKBUT7.js.map} +0 -0
  168. /package/dist/{chunk-O3JCKEVG.js.map → chunk-HOMYI5RR.js.map} +0 -0
  169. /package/dist/{chunk-BZ7B255K.js.map → chunk-KCAGMTJ6.js.map} +0 -0
  170. /package/dist/{chunk-DZ2Z7HRF.js.map → chunk-KO333Q2B.js.map} +0 -0
  171. /package/dist/{chunk-MQQM4NCN.js.map → chunk-LJBNHO6B.js.map} +0 -0
  172. /package/dist/{chunk-ZIZJDXUI.js.map → chunk-MZG3QQUR.js.map} +0 -0
  173. /package/dist/{chunk-HB3IG2MC.js.map → chunk-OS5RFMW5.js.map} +0 -0
  174. /package/dist/{chunk-VEXTUGUA.js.map → chunk-OWCN3BM6.js.map} +0 -0
  175. /package/dist/{chunk-QVQLNKFS.js.map → chunk-P7ZENKIA.js.map} +0 -0
  176. /package/dist/{chunk-2LKVYI7H.js.map → chunk-PLJAOZYZ.js.map} +0 -0
@@ -1,15 +0,0 @@
1
- /**
2
- * @deprecated The canonical implementation lives at
3
- * `@flamingo-stack/openframe-frontend-core/utils` as `embed-authed-fetch.ts`.
4
- *
5
- * This shim preserves the legacy `chatAuthedFetch` name so existing
6
- * chat-namespace callers keep compiling. New code (chat OR ticket center)
7
- * should import from `…/utils` directly:
8
- *
9
- * import { embedAuthedFetch } from '@flamingo-stack/openframe-frontend-core/utils'
10
- *
11
- * Wire headers (`X-Chat-Act-As`, etc.) are unchanged — that's a server
12
- * contract the rename intentionally does NOT touch.
13
- */
14
- export { embedAuthedFetch as chatAuthedFetch } from '../../../utils/embed-authed-fetch';
15
- //# sourceMappingURL=chat-authed-fetch.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"chat-authed-fetch.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/utils/chat-authed-fetch.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;GAYG;AAEH,OAAO,EAAE,gBAAgB,IAAI,eAAe,EAAE,MAAM,mCAAmC,CAAA"}
@@ -1,16 +0,0 @@
1
- /**
2
- * @deprecated The canonical implementation lives at
3
- * `@flamingo-stack/openframe-frontend-core/utils` as `embed-proxy-auth-storage.ts`.
4
- *
5
- * This shim preserves the legacy `chat-`-prefixed export names so existing
6
- * chat-namespace callers keep compiling. New code should import from
7
- * `…/utils` directly:
8
- *
9
- * import { embedAuthedFetch, getEmbedProxyAuth } from '@flamingo-stack/openframe-frontend-core/utils'
10
- *
11
- * Wire headers (`X-Chat-Act-As`, etc.) and the storage key
12
- * (`chat.proxy-auth.v1`) are unchanged — those are deployment contracts
13
- * the rename intentionally does NOT touch.
14
- */
15
- export { type EmbedProxyAuth as ChatProxyAuth, getEmbedProxyAuth as getChatProxyAuth, setEmbedProxyAuth as setChatProxyAuth, clearEmbedProxyAuth as clearChatProxyAuth, getPersistedProxyEmail, applyProxyAuth, } from '../../../utils/embed-proxy-auth-storage';
16
- //# sourceMappingURL=chat-proxy-auth-storage.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"chat-proxy-auth-storage.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/utils/chat-proxy-auth-storage.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;GAaG;AAEH,OAAO,EACL,KAAK,cAAc,IAAI,aAAa,EACpC,iBAAiB,IAAI,gBAAgB,EACrC,iBAAiB,IAAI,gBAAgB,EACrC,mBAAmB,IAAI,kBAAkB,EACzC,sBAAsB,EACtB,cAAc,GACf,MAAM,yCAAyC,CAAA"}
@@ -1,25 +0,0 @@
1
- <!-- source-hash: b57cf7dd5609e4a80ebf96f0658340cc -->
2
- Re-exports `embedAuthedFetch` under the legacy `chatAuthedFetch` alias to maintain backwards compatibility for existing chat-namespace callers.
3
-
4
- ## Key Components
5
-
6
- | Export | Type | Description |
7
- |--------|------|-------------|
8
- | `chatAuthedFetch` | Re-export (alias) | Legacy alias for `embedAuthedFetch` from `utils/embed-authed-fetch` |
9
-
10
- ## Usage Example
11
-
12
- **New code** should import directly from the canonical source:
13
-
14
- ```typescript
15
- import { embedAuthedFetch } from '@flamingo-stack/openframe-frontend-core/utils'
16
- ```
17
-
18
- **Legacy callers** (still compiling via this shim):
19
-
20
- ```typescript
21
- import { chatAuthedFetch } from './chat-authed-fetch'
22
- // chatAuthedFetch === embedAuthedFetch — same function, legacy name
23
- ```
24
-
25
- > **⚠️ Deprecated:** This file is a compatibility shim only. All new code — whether in the chat or ticket center namespace — should import `embedAuthedFetch` from `@flamingo-stack/openframe-frontend-core/utils` directly. Wire headers (`X-Chat-Act-As`, etc.) are unchanged by the rename.
@@ -1,38 +0,0 @@
1
- <!-- source-hash: 951b153c177b85c14bc55650838662fe -->
2
- Thin compatibility shim that re-exports the canonical embed proxy authentication utilities under legacy `chat-`-prefixed names, preserving backward compatibility for existing chat-namespace callers.
3
-
4
- ## Key Components
5
-
6
- | Export | Original Name | Description |
7
- |--------|--------------|-------------|
8
- | `ChatProxyAuth` | `EmbedProxyAuth` | Type alias for the proxy auth object |
9
- | `getChatProxyAuth` | `getEmbedProxyAuth` | Retrieves current proxy auth from storage |
10
- | `setChatProxyAuth` | `setEmbedProxyAuth` | Persists proxy auth to storage |
11
- | `clearChatProxyAuth` | `clearEmbedProxyAuth` | Clears proxy auth from storage |
12
- | `getPersistedProxyEmail` | *(unchanged)* | Reads the persisted proxy email |
13
- | `applyProxyAuth` | *(unchanged)* | Applies proxy auth headers to requests |
14
-
15
- > **Deprecated:** All exports here are forwarded from `@flamingo-stack/openframe-frontend-core/utils/embed-proxy-auth-storage`. New code should import from that module directly. Wire headers (`X-Chat-Act-As`, etc.) and the storage key (`chat.proxy-auth.v1`) remain unchanged.
16
-
17
- ## Usage Example
18
-
19
- **Legacy callers (still valid, but deprecated):**
20
-
21
- ```typescript
22
- import { getChatProxyAuth, setChatProxyAuth, clearChatProxyAuth } from './chat-proxy-auth-storage'
23
-
24
- const auth = getChatProxyAuth()
25
- setChatProxyAuth({ token: 'abc123', email: 'tech@msp.com' })
26
- clearChatProxyAuth()
27
- ```
28
-
29
- **New code should import from the canonical path:**
30
-
31
- ```typescript
32
- import {
33
- getEmbedProxyAuth,
34
- setEmbedProxyAuth,
35
- clearEmbedProxyAuth,
36
- applyProxyAuth,
37
- } from '@flamingo-stack/openframe-frontend-core/utils'
38
- ```
@@ -1,17 +0,0 @@
1
- 'use client'
2
-
3
- /**
4
- * @deprecated The canonical implementation lives at
5
- * `@flamingo-stack/openframe-frontend-core/utils` as `embed-authed-fetch.ts`.
6
- *
7
- * This shim preserves the legacy `chatAuthedFetch` name so existing
8
- * chat-namespace callers keep compiling. New code (chat OR ticket center)
9
- * should import from `…/utils` directly:
10
- *
11
- * import { embedAuthedFetch } from '@flamingo-stack/openframe-frontend-core/utils'
12
- *
13
- * Wire headers (`X-Chat-Act-As`, etc.) are unchanged — that's a server
14
- * contract the rename intentionally does NOT touch.
15
- */
16
-
17
- export { embedAuthedFetch as chatAuthedFetch } from '../../../utils/embed-authed-fetch'
@@ -1,25 +0,0 @@
1
- 'use client'
2
-
3
- /**
4
- * @deprecated The canonical implementation lives at
5
- * `@flamingo-stack/openframe-frontend-core/utils` as `embed-proxy-auth-storage.ts`.
6
- *
7
- * This shim preserves the legacy `chat-`-prefixed export names so existing
8
- * chat-namespace callers keep compiling. New code should import from
9
- * `…/utils` directly:
10
- *
11
- * import { embedAuthedFetch, getEmbedProxyAuth } from '@flamingo-stack/openframe-frontend-core/utils'
12
- *
13
- * Wire headers (`X-Chat-Act-As`, etc.) and the storage key
14
- * (`chat.proxy-auth.v1`) are unchanged — those are deployment contracts
15
- * the rename intentionally does NOT touch.
16
- */
17
-
18
- export {
19
- type EmbedProxyAuth as ChatProxyAuth,
20
- getEmbedProxyAuth as getChatProxyAuth,
21
- setEmbedProxyAuth as setChatProxyAuth,
22
- clearEmbedProxyAuth as clearChatProxyAuth,
23
- getPersistedProxyEmail,
24
- applyProxyAuth,
25
- } from '../../../utils/embed-proxy-auth-storage'