@flamingo-stack/openframe-frontend-core 0.0.706 → 0.0.707
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-K6O43WDL.cjs → chunk-2G7UYK35.cjs} +32 -32
- package/dist/{chunk-7SCNMP2B.cjs → chunk-2KXTOP6G.cjs} +26 -13
- package/dist/{chunk-DDVBX42E.cjs → chunk-2RNB5DTN.cjs} +7 -7
- package/dist/{chunk-TE773HEH.js → chunk-36BCTE7D.js} +4 -4
- package/dist/{chunk-STHZBOQI.cjs → chunk-3AHTOSXJ.cjs} +9 -9
- package/dist/{chunk-G6UMNAVI.js → chunk-4L6XCMOU.js} +10 -2
- package/dist/{chunk-T5TMCHWM.js → chunk-4UM2ETLM.js} +2 -2
- package/dist/{chunk-3PLDQDE6.cjs → chunk-6I4ZAFO2.cjs} +9 -9
- package/dist/{chunk-YGJKKDDM.js → chunk-6IW7TWPV.js} +1 -1
- package/dist/{chunk-3EZ4HHAP.js → chunk-6YKAT7NV.js} +2 -2
- package/dist/{chunk-HZ7CBXPL.cjs → chunk-AOWDNSTM.cjs} +40 -40
- package/dist/{chunk-SW5ZV2BN.cjs → chunk-B73373AG.cjs} +20 -20
- package/dist/{chunk-4ILM7W2R.js → chunk-CNWOMQQJ.js} +1 -1
- package/dist/{chunk-DWPAAWMR.js → chunk-CZSZSDD4.js} +4 -4
- package/dist/{chunk-PXOQIA5K.js → chunk-DA5UDTLG.js} +2 -2
- package/dist/{chunk-BHI6GVC4.js → chunk-HDOYSEOJ.js} +3 -3
- package/dist/{chunk-IKJA3Y7Z.js → chunk-I3ST4PLM.js} +1 -1
- package/dist/{chunk-LVSFKENJ.cjs → chunk-JRU2CXLB.cjs} +2 -2
- package/dist/{chunk-SEKYEWQG.cjs → chunk-L6Y6OOKG.cjs} +20 -20
- package/dist/{chunk-3NCM4ZQB.js → chunk-LFFB6EMB.js} +15 -2
- package/dist/{chunk-O2RSAA5M.js → chunk-LNW45N2C.js} +5 -5
- package/dist/{chunk-M75XEEGT.cjs → chunk-LRQTJOF2.cjs} +24 -24
- package/dist/{chunk-6232S532.js → chunk-MR3A4MZV.js} +1 -1
- package/dist/{chunk-RTIPR53L.cjs → chunk-NSGXARGJ.cjs} +70 -70
- package/dist/{chunk-UJ33ZXDT.cjs → chunk-OJLR5MEO.cjs} +4 -4
- package/dist/{chunk-GWQEYPYM.cjs → chunk-P42V6N34.cjs} +321 -313
- package/dist/{chunk-7GEBFJT2.js → chunk-PO33GZVY.js} +24 -4
- package/dist/{chunk-TQ4LB2DS.cjs → chunk-QAOFMK2A.cjs} +3 -3
- package/dist/{chunk-7OFPU7WE.cjs → chunk-SEXWHIMS.cjs} +351 -331
- package/dist/{chunk-4CJMQLB5.js → chunk-SS5MBHDP.js} +2 -2
- package/dist/{chunk-VZICIQW2.js → chunk-TDYIREDJ.js} +4 -4
- package/dist/{chunk-MB4PNY7C.cjs → chunk-YBUT4AMG.cjs} +2 -2
- package/dist/components/case-studies/index.cjs +14 -14
- package/dist/components/case-studies/index.js +3 -3
- package/dist/components/chat/index.cjs +4 -2
- package/dist/components/chat/index.d.ts +1 -1
- package/dist/components/chat/index.d.ts.map +1 -1
- package/dist/components/chat/index.js +3 -1
- package/dist/components/chat/nav-link-anchor-via-runtime.d.ts +34 -5
- package/dist/components/chat/nav-link-anchor-via-runtime.d.ts.map +1 -1
- package/dist/components/contact/index.cjs +4 -4
- package/dist/components/contact/index.js +3 -3
- package/dist/components/docs/index.cjs +7 -7
- package/dist/components/docs/index.js +6 -6
- package/dist/components/embeds/index.cjs +4 -4
- package/dist/components/embeds/index.js +3 -3
- package/dist/components/faq/index.cjs +4 -4
- package/dist/components/faq/index.js +3 -3
- package/dist/components/features/index.cjs +3 -3
- package/dist/components/features/index.js +2 -2
- package/dist/components/help-center-pages/index.cjs +70 -70
- package/dist/components/help-center-pages/index.js +14 -14
- package/dist/components/index.cjs +38 -36
- package/dist/components/index.js +15 -13
- package/dist/components/meeting-scheduler/index.cjs +25 -25
- package/dist/components/meeting-scheduler/index.js +2 -2
- package/dist/components/navigation/index.cjs +6 -6
- package/dist/components/navigation/index.js +5 -5
- package/dist/components/onboarding-guides/index.cjs +6 -6
- package/dist/components/onboarding-guides/index.js +5 -5
- package/dist/components/platform/ToolBadge.d.ts +6 -0
- package/dist/components/platform/ToolBadge.d.ts.map +1 -1
- package/dist/components/tickets/index.cjs +7 -7
- package/dist/components/tickets/index.js +6 -6
- package/dist/components/ui/brand-association-card.d.ts +7 -0
- package/dist/components/ui/brand-association-card.d.ts.map +1 -1
- package/dist/components/ui/index.cjs +5 -3
- package/dist/components/ui/index.js +4 -2
- package/dist/index.cjs +9 -7
- package/dist/index.js +8 -6
- package/package.json +1 -1
- package/src/components/chat/index.ts +7 -1
- package/src/components/chat/nav-link-anchor-via-runtime.tsx +62 -9
- package/src/components/platform/ToolBadge.tsx +18 -1
- package/src/components/ui/brand-association-card.tsx +25 -3
|
@@ -11929,12 +11929,11 @@ function handleChatNavClick(event, runtime, { href, path, targetPlatform }, fall
|
|
|
11929
11929
|
|
|
11930
11930
|
// src/components/chat/nav-link-anchor-via-runtime.tsx
|
|
11931
11931
|
import { jsx as jsx75 } from "react/jsx-runtime";
|
|
11932
|
-
function
|
|
11932
|
+
function useNavLinkViaRuntime({
|
|
11933
11933
|
href,
|
|
11934
11934
|
path,
|
|
11935
11935
|
targetPlatform,
|
|
11936
|
-
|
|
11937
|
-
children
|
|
11936
|
+
onClick: onClickProp
|
|
11938
11937
|
}) {
|
|
11939
11938
|
const runtime = useRequiredChatRuntime();
|
|
11940
11939
|
const router = useRouter();
|
|
@@ -11942,6 +11941,8 @@ function NavLinkAnchorViaRuntime({
|
|
|
11942
11941
|
const resolvedHref = resolveHrefForRuntime(href, runtime);
|
|
11943
11942
|
const isNewTab = computeIsNewTab(runtime, resolvedHref, targetPlatform ?? null);
|
|
11944
11943
|
const onClick = (e) => {
|
|
11944
|
+
onClickProp?.(e);
|
|
11945
|
+
if (e.defaultPrevented) return;
|
|
11945
11946
|
const handled = executeNavigation({
|
|
11946
11947
|
event: e,
|
|
11947
11948
|
runtime,
|
|
@@ -11952,7 +11953,25 @@ function NavLinkAnchorViaRuntime({
|
|
|
11952
11953
|
});
|
|
11953
11954
|
if (handled && !isNewTab && panel?.closeChat) panel.closeChat();
|
|
11954
11955
|
};
|
|
11955
|
-
|
|
11956
|
+
const attrs = newTabAnchorAttrs(isNewTab);
|
|
11957
|
+
return {
|
|
11958
|
+
href: resolvedHref,
|
|
11959
|
+
...attrs,
|
|
11960
|
+
...isNewTab && targetPlatform && { rel: "noopener" },
|
|
11961
|
+
onClick
|
|
11962
|
+
};
|
|
11963
|
+
}
|
|
11964
|
+
function NavLinkAnchorViaRuntime({
|
|
11965
|
+
href,
|
|
11966
|
+
path,
|
|
11967
|
+
targetPlatform,
|
|
11968
|
+
className,
|
|
11969
|
+
children,
|
|
11970
|
+
onClick,
|
|
11971
|
+
...anchorAttrs
|
|
11972
|
+
}) {
|
|
11973
|
+
const linkProps = useNavLinkViaRuntime({ href, path, targetPlatform, onClick });
|
|
11974
|
+
return /* @__PURE__ */ jsx75("a", { ...linkProps, ...anchorAttrs, className, children });
|
|
11956
11975
|
}
|
|
11957
11976
|
|
|
11958
11977
|
// src/components/chat/source-action-button.tsx
|
|
@@ -26290,6 +26309,7 @@ export {
|
|
|
26290
26309
|
executeNavigation,
|
|
26291
26310
|
executeNavigationImperative,
|
|
26292
26311
|
handleChatNavClick,
|
|
26312
|
+
useNavLinkViaRuntime,
|
|
26293
26313
|
NavLinkAnchorViaRuntime,
|
|
26294
26314
|
SourceActionButton,
|
|
26295
26315
|
getCaptionsUrl,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkP42V6N34cjs = require('./chunk-P42V6N34.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
@@ -46,7 +46,7 @@ function GoogleSheetsViewer({ externalUrl, fileName, height }) {
|
|
|
46
46
|
] });
|
|
47
47
|
}
|
|
48
48
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
49
|
-
|
|
49
|
+
_chunkP42V6N34cjs.EmbedViewerFrame,
|
|
50
50
|
{
|
|
51
51
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.GoogleSheetsIcon, { className: "h-5 w-5 shrink-0" }),
|
|
52
52
|
title: displayName,
|
|
@@ -81,7 +81,7 @@ function PdfViewer({ src, fileName, onPreview, onDownload, height }) {
|
|
|
81
81
|
] });
|
|
82
82
|
}
|
|
83
83
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
84
|
-
|
|
84
|
+
_chunkP42V6N34cjs.EmbedViewerFrame,
|
|
85
85
|
{
|
|
86
86
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.AdobePdfIcon, { className: "h-5 w-5 shrink-0" }),
|
|
87
87
|
title: displayName,
|