@flamingo-stack/openframe-frontend-core 0.0.299 → 0.0.300-snapshot.20260621190412
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-2FI3USTC.js +43 -0
- package/dist/chunk-2FI3USTC.js.map +1 -0
- package/dist/{chunk-54KNMC2R.cjs → chunk-2ZHDP22R.cjs} +3 -3
- package/dist/{chunk-54KNMC2R.cjs.map → chunk-2ZHDP22R.cjs.map} +1 -1
- package/dist/{chunk-56X3EFTG.cjs → chunk-3I7T732P.cjs} +19 -19
- package/dist/{chunk-56X3EFTG.cjs.map → chunk-3I7T732P.cjs.map} +1 -1
- package/dist/{chunk-NEVMYN4G.js → chunk-5D76BUKB.js} +3 -3
- package/dist/{chunk-DVHQGII5.js → chunk-A22ZO5SB.js} +4 -4
- package/dist/{chunk-PLNR6BHN.cjs → chunk-BD4YJSRZ.cjs} +7 -7
- package/dist/{chunk-PLNR6BHN.cjs.map → chunk-BD4YJSRZ.cjs.map} +1 -1
- package/dist/{chunk-WMSTJAZT.cjs → chunk-G56GYN7Z.cjs} +47 -15
- package/dist/chunk-G56GYN7Z.cjs.map +1 -0
- package/dist/{chunk-Q77BDAR7.cjs → chunk-HLJLLNOB.cjs} +36 -36
- package/dist/{chunk-Q77BDAR7.cjs.map → chunk-HLJLLNOB.cjs.map} +1 -1
- package/dist/{chunk-5MLYCLOI.js → chunk-HRDN27UP.js} +7 -11
- package/dist/chunk-HRDN27UP.js.map +1 -0
- package/dist/{chunk-XKIO5K5N.js → chunk-IXCQFNF7.js} +3 -3
- package/dist/{chunk-N4DEX22O.js → chunk-JHNAQUWK.js} +2 -2
- package/dist/{chunk-2QG57XOJ.js → chunk-JQ2EYXWR.js} +42 -10
- package/dist/chunk-JQ2EYXWR.js.map +1 -0
- package/dist/{chunk-PI4WSYQV.js → chunk-JQLC2FVM.js} +2 -2
- package/dist/{chunk-57HYFVTZ.cjs → chunk-K4ZENCQE.cjs} +29 -29
- package/dist/{chunk-57HYFVTZ.cjs.map → chunk-K4ZENCQE.cjs.map} +1 -1
- package/dist/{chunk-B2IN2IND.js → chunk-LFXZJZKO.js} +4 -4
- package/dist/{chunk-XG2KGQ76.cjs → chunk-LWJYIEPP.cjs} +40 -40
- package/dist/{chunk-XG2KGQ76.cjs.map → chunk-LWJYIEPP.cjs.map} +1 -1
- package/dist/chunk-N2DVKXN4.cjs +43 -0
- package/dist/chunk-N2DVKXN4.cjs.map +1 -0
- package/dist/{chunk-WDWGFUT2.js → chunk-N7XM5HTI.js} +6 -6
- package/dist/{chunk-X26HXH3L.cjs → chunk-RBZCSKFW.cjs} +7 -7
- package/dist/{chunk-X26HXH3L.cjs.map → chunk-RBZCSKFW.cjs.map} +1 -1
- package/dist/{chunk-67WXHSCX.cjs → chunk-TMLDWPTS.cjs} +13 -13
- package/dist/{chunk-67WXHSCX.cjs.map → chunk-TMLDWPTS.cjs.map} +1 -1
- package/dist/{chunk-PQEQUMSS.cjs → chunk-TTHXHSVU.cjs} +16 -16
- package/dist/{chunk-PQEQUMSS.cjs.map → chunk-TTHXHSVU.cjs.map} +1 -1
- package/dist/{chunk-RY62M66O.js → chunk-YLD4WH67.js} +2 -2
- package/dist/{chunk-BL6XZ2XD.cjs → chunk-ZDN6OEWV.cjs} +618 -622
- package/dist/chunk-ZDN6OEWV.cjs.map +1 -0
- package/dist/{chunk-QE5CNWPF.js → chunk-ZUALRZHW.js} +3 -3
- package/dist/components/case-studies/index.cjs +10 -11
- package/dist/components/case-studies/index.cjs.map +1 -1
- package/dist/components/case-studies/index.js +4 -5
- package/dist/components/case-studies/index.js.map +1 -1
- package/dist/components/chat/entity-cards/admin-content-card.d.ts +1 -1
- package/dist/components/chat/entity-cards/blog-card.d.ts +2 -2
- package/dist/components/chat/entity-cards/blog-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/blog-image-placeholder.d.ts +1 -1
- package/dist/components/chat/entity-cards/case-study-card.d.ts +1 -1
- package/dist/components/chat/entity-cards/onboarding-guide-card.d.ts +4 -3
- package/dist/components/chat/entity-cards/onboarding-guide-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/use-entity-card-placeholder.d.ts +4 -3
- package/dist/components/chat/entity-cards/use-entity-card-placeholder.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/what-i-shipped-card.d.ts +1 -1
- package/dist/components/chat/index.cjs +4 -5
- package/dist/components/chat/index.cjs.map +1 -1
- package/dist/components/chat/index.js +3 -4
- package/dist/components/contact/index.cjs +5 -6
- package/dist/components/contact/index.cjs.map +1 -1
- package/dist/components/contact/index.js +4 -5
- package/dist/components/docs/index.cjs +7 -8
- package/dist/components/docs/index.cjs.map +1 -1
- package/dist/components/docs/index.js +6 -7
- package/dist/components/embeds/index.cjs +5 -6
- package/dist/components/embeds/index.cjs.map +1 -1
- package/dist/components/embeds/index.js +4 -5
- package/dist/components/embeds/og-link-preview.d.ts +2 -2
- package/dist/components/faq/index.cjs +6 -7
- package/dist/components/faq/index.cjs.map +1 -1
- package/dist/components/faq/index.js +5 -6
- package/dist/components/features/index.cjs +4 -5
- package/dist/components/features/index.cjs.map +1 -1
- package/dist/components/features/index.js +3 -4
- package/dist/components/index.cjs +193 -195
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.js +12 -14
- package/dist/components/index.js.map +1 -1
- package/dist/components/layout/article-detail-layout.d.ts +9 -0
- package/dist/components/layout/article-detail-layout.d.ts.map +1 -1
- package/dist/components/layout/page-with-header.d.ts +1 -1
- package/dist/components/navigation/index.cjs +4 -5
- package/dist/components/navigation/index.cjs.map +1 -1
- package/dist/components/navigation/index.js +3 -4
- package/dist/components/onboarding-guides/index.cjs +44 -41
- package/dist/components/onboarding-guides/index.cjs.map +1 -1
- package/dist/components/onboarding-guides/index.js +11 -8
- package/dist/components/onboarding-guides/index.js.map +1 -1
- package/dist/components/onboarding-guides/onboarding-guide-detail-view.d.ts.map +1 -1
- package/dist/components/related-content/index.cjs +6 -7
- package/dist/components/related-content/index.cjs.map +1 -1
- package/dist/components/related-content/index.js +5 -6
- package/dist/components/tickets/index.cjs +75 -76
- package/dist/components/tickets/index.cjs.map +1 -1
- package/dist/components/tickets/index.js +5 -6
- package/dist/components/tickets/index.js.map +1 -1
- package/dist/components/ui/index.cjs +4 -5
- package/dist/components/ui/index.cjs.map +1 -1
- package/dist/components/ui/index.js +3 -4
- package/dist/contexts/chat-runtime-context.d.ts +17 -13
- package/dist/contexts/chat-runtime-context.d.ts.map +1 -1
- package/dist/contexts/index.cjs +2 -4
- package/dist/contexts/index.cjs.map +1 -1
- package/dist/contexts/index.js +3 -5
- package/dist/contexts/index.js.map +1 -1
- package/dist/hooks/index.cjs +3 -3
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.d.ts +1 -1
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/index.js +4 -4
- package/dist/hooks/use-og-placeholder-url.d.ts +27 -0
- package/dist/hooks/use-og-placeholder-url.d.ts.map +1 -0
- package/dist/index.cjs +6 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +7 -6
- package/dist/utils/index.cjs +26 -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 +26 -1
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/og-placeholder.d.ts +59 -0
- package/dist/utils/og-placeholder.d.ts.map +1 -0
- package/package.json +1 -1
- package/src/components/chat/entity-cards/admin-content-card.tsx +1 -1
- package/src/components/chat/entity-cards/blog-card.tsx +2 -2
- package/src/components/chat/entity-cards/blog-image-placeholder.tsx +1 -1
- package/src/components/chat/entity-cards/case-study-card.tsx +1 -1
- package/src/components/chat/entity-cards/onboarding-guide-card.tsx +4 -3
- package/src/components/chat/entity-cards/use-entity-card-placeholder.ts +13 -26
- package/src/components/chat/entity-cards/what-i-shipped-card.tsx +1 -1
- package/src/components/embeds/og-link-preview.tsx +2 -2
- package/src/components/layout/.article-detail-layout.md +1 -1
- package/src/components/layout/article-detail-layout.tsx +11 -2
- package/src/components/layout/page-with-header.tsx +1 -1
- package/src/components/onboarding-guides/onboarding-guide-detail-view.tsx +4 -2
- package/src/contexts/chat-runtime-context.tsx +17 -13
- package/src/hooks/index.ts +2 -2
- package/src/hooks/use-og-placeholder-url.ts +46 -0
- package/src/utils/index.ts +4 -0
- package/src/utils/og-placeholder.ts +105 -0
- package/dist/chunk-27APPAJN.cjs +0 -24
- package/dist/chunk-27APPAJN.cjs.map +0 -1
- package/dist/chunk-2QG57XOJ.js.map +0 -1
- package/dist/chunk-5MLYCLOI.js.map +0 -1
- package/dist/chunk-BL6XZ2XD.cjs.map +0 -1
- package/dist/chunk-IZ7JSBFP.js +0 -24
- package/dist/chunk-IZ7JSBFP.js.map +0 -1
- package/dist/chunk-L6PSSIUQ.cjs +0 -24
- package/dist/chunk-L6PSSIUQ.cjs.map +0 -1
- package/dist/chunk-MJNXIEV2.js +0 -24
- package/dist/chunk-MJNXIEV2.js.map +0 -1
- package/dist/chunk-WMSTJAZT.cjs.map +0 -1
- package/dist/hooks/use-og-placeholder.d.ts +0 -31
- package/dist/hooks/use-og-placeholder.d.ts.map +0 -1
- package/src/hooks/use-og-placeholder.ts +0 -45
- /package/dist/{chunk-NEVMYN4G.js.map → chunk-5D76BUKB.js.map} +0 -0
- /package/dist/{chunk-DVHQGII5.js.map → chunk-A22ZO5SB.js.map} +0 -0
- /package/dist/{chunk-XKIO5K5N.js.map → chunk-IXCQFNF7.js.map} +0 -0
- /package/dist/{chunk-N4DEX22O.js.map → chunk-JHNAQUWK.js.map} +0 -0
- /package/dist/{chunk-PI4WSYQV.js.map → chunk-JQLC2FVM.js.map} +0 -0
- /package/dist/{chunk-B2IN2IND.js.map → chunk-LFXZJZKO.js.map} +0 -0
- /package/dist/{chunk-WDWGFUT2.js.map → chunk-N7XM5HTI.js.map} +0 -0
- /package/dist/{chunk-RY62M66O.js.map → chunk-YLD4WH67.js.map} +0 -0
- /package/dist/{chunk-QE5CNWPF.js.map → chunk-ZUALRZHW.js.map} +0 -0
|
@@ -20,14 +20,14 @@ import {
|
|
|
20
20
|
useMdUp,
|
|
21
21
|
useNearViewport,
|
|
22
22
|
useNotificationPermission,
|
|
23
|
-
|
|
23
|
+
useOgPlaceholderUrl,
|
|
24
24
|
useOnboardingState,
|
|
25
25
|
useToast
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-JQ2EYXWR.js";
|
|
27
27
|
import {
|
|
28
28
|
useChatRuntime,
|
|
29
29
|
useRequiredChatRuntime
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-2FI3USTC.js";
|
|
31
31
|
import {
|
|
32
32
|
dynamic
|
|
33
33
|
} from "./chunk-EL5YVPD5.js";
|
|
@@ -9974,17 +9974,13 @@ function useEntityCardLink({
|
|
|
9974
9974
|
}
|
|
9975
9975
|
|
|
9976
9976
|
// src/components/chat/entity-cards/use-entity-card-placeholder.ts
|
|
9977
|
-
var NO_OP_BUILDER = () => "";
|
|
9978
9977
|
function useEntityCardPlaceholder({
|
|
9979
9978
|
title,
|
|
9980
9979
|
placeholderUrl,
|
|
9981
9980
|
siteName = "",
|
|
9982
9981
|
aspect = "wide"
|
|
9983
9982
|
}) {
|
|
9984
|
-
const
|
|
9985
|
-
const builder = runtime?.resolvePlaceholderUrl ?? NO_OP_BUILDER;
|
|
9986
|
-
const enabled = placeholderUrl === void 0 && !!runtime?.resolvePlaceholderUrl;
|
|
9987
|
-
const derived = useOgPlaceholder(builder, title, siteName, enabled, aspect);
|
|
9983
|
+
const derived = useOgPlaceholderUrl({ title, siteName, aspect });
|
|
9988
9984
|
return placeholderUrl !== void 0 ? placeholderUrl : derived;
|
|
9989
9985
|
}
|
|
9990
9986
|
|
|
@@ -19014,13 +19010,13 @@ init_next_navigation();
|
|
|
19014
19010
|
init_cn();
|
|
19015
19011
|
import { jsx as jsx141, jsxs as jsxs112 } from "react/jsx-runtime";
|
|
19016
19012
|
function PageShell({ children, schemas, contentClassName }) {
|
|
19017
|
-
return /* @__PURE__ */ jsxs112("main", { className: "bg-ods-bg
|
|
19013
|
+
return /* @__PURE__ */ jsxs112("main", { className: "bg-ods-bg", children: [
|
|
19018
19014
|
schemas,
|
|
19019
19015
|
/* @__PURE__ */ jsx141("div", { className: cn("page-shell-content max-w-[1920px] mx-auto", contentClassName), children })
|
|
19020
19016
|
] });
|
|
19021
19017
|
}
|
|
19022
19018
|
function ArticleDetailLayout({ children, schemas, contentClassName }) {
|
|
19023
|
-
return /* @__PURE__ */ jsxs112("main", { className: "bg-ods-bg
|
|
19019
|
+
return /* @__PURE__ */ jsxs112("main", { className: "bg-ods-bg", children: [
|
|
19024
19020
|
schemas,
|
|
19025
19021
|
/* @__PURE__ */ jsx141("div", { className: cn("max-w-[1280px] mx-auto px-6 md:px-20 py-6 md:py-10", contentClassName), children })
|
|
19026
19022
|
] });
|
|
@@ -49075,4 +49071,4 @@ export {
|
|
|
49075
49071
|
LogsList,
|
|
49076
49072
|
assets
|
|
49077
49073
|
};
|
|
49078
|
-
//# sourceMappingURL=chunk-
|
|
49074
|
+
//# sourceMappingURL=chunk-HRDN27UP.js.map
|