@flamingo-stack/openframe-frontend-core 0.0.376 → 0.0.378-snapshot.20260707164821
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-KXGZNF5D.js → chunk-3QYRS76U.js} +2 -2
- package/dist/{chunk-MFHF2HXR.cjs → chunk-5W24HFZ4.cjs} +62 -62
- package/dist/{chunk-MFHF2HXR.cjs.map → chunk-5W24HFZ4.cjs.map} +1 -1
- package/dist/{chunk-SKK6BTG2.js → chunk-74M3BAYD.js} +2 -2
- package/dist/{chunk-PTJ7YD4I.cjs → chunk-7JPCRKHH.cjs} +5 -5
- package/dist/{chunk-PTJ7YD4I.cjs.map → chunk-7JPCRKHH.cjs.map} +1 -1
- package/dist/{chunk-ESPAEWRE.js → chunk-7SJEMWYV.js} +4 -4
- package/dist/{chunk-GRXWSYCA.cjs → chunk-BUMSDW4V.cjs} +37 -37
- package/dist/{chunk-GRXWSYCA.cjs.map → chunk-BUMSDW4V.cjs.map} +1 -1
- package/dist/{chunk-COCH3ZAK.js → chunk-CUPMDWOS.js} +4 -3
- package/dist/{chunk-COCH3ZAK.js.map → chunk-CUPMDWOS.js.map} +1 -1
- package/dist/{chunk-WPHON3S7.js → chunk-EWFAYBX5.js} +4 -4
- package/dist/{chunk-L5YQ3CRZ.js → chunk-FKEEYYFY.js} +2 -2
- package/dist/{chunk-F3VPCOXK.cjs → chunk-GTR7QDQB.cjs} +7 -7
- package/dist/{chunk-F3VPCOXK.cjs.map → chunk-GTR7QDQB.cjs.map} +1 -1
- package/dist/{chunk-NGCDFIZM.cjs → chunk-JTDUWTLU.cjs} +15 -15
- package/dist/{chunk-NGCDFIZM.cjs.map → chunk-JTDUWTLU.cjs.map} +1 -1
- package/dist/{chunk-UBWIZFYA.js → chunk-L2O3YFZA.js} +2 -2
- package/dist/{chunk-YIPGFHB4.cjs → chunk-LX5QUXCY.cjs} +31 -31
- package/dist/{chunk-YIPGFHB4.cjs.map → chunk-LX5QUXCY.cjs.map} +1 -1
- package/dist/{chunk-MJKAHB67.js → chunk-MZ6RAK42.js} +4 -4
- package/dist/{chunk-OX4YV33F.js → chunk-QUWURL55.js} +2 -2
- package/dist/{chunk-3WUDPAD5.js → chunk-TGH76LMF.js} +2 -2
- package/dist/{chunk-5MHP6LBX.cjs → chunk-TL2DJCCI.cjs} +4 -3
- package/dist/chunk-TL2DJCCI.cjs.map +1 -0
- package/dist/{chunk-U64IC7BM.js → chunk-UR6UEGR3.js} +2 -2
- package/dist/{chunk-UFTPGB7P.cjs → chunk-VEWX7ZJB.cjs} +57 -57
- package/dist/{chunk-UFTPGB7P.cjs.map → chunk-VEWX7ZJB.cjs.map} +1 -1
- package/dist/{chunk-2YZZ7LLP.cjs → chunk-VMRKUVJU.cjs} +25 -25
- package/dist/{chunk-2YZZ7LLP.cjs.map → chunk-VMRKUVJU.cjs.map} +1 -1
- package/dist/{chunk-MSWVZQUZ.js → chunk-WDAXSWA2.js} +4 -4
- package/dist/{chunk-TUGHCOY5.cjs → chunk-XQEIB5KA.cjs} +9 -9
- package/dist/{chunk-TUGHCOY5.cjs.map → chunk-XQEIB5KA.cjs.map} +1 -1
- package/dist/{chunk-6TQDCQD2.cjs → chunk-ZANLJU7R.cjs} +12 -12
- package/dist/{chunk-6TQDCQD2.cjs.map → chunk-ZANLJU7R.cjs.map} +1 -1
- package/dist/{chunk-I7RQIXJ4.cjs → chunk-ZY2APXSE.cjs} +26 -26
- package/dist/{chunk-I7RQIXJ4.cjs.map → chunk-ZY2APXSE.cjs.map} +1 -1
- package/dist/components/case-studies/index.cjs +8 -8
- package/dist/components/case-studies/index.js +2 -2
- package/dist/components/chat/index.cjs +2 -2
- package/dist/components/chat/index.js +1 -1
- package/dist/components/contact/index.cjs +3 -3
- package/dist/components/contact/index.js +2 -2
- package/dist/components/docs/index.cjs +5 -5
- package/dist/components/docs/index.js +4 -4
- package/dist/components/embeds/index.cjs +3 -3
- package/dist/components/embeds/index.js +2 -2
- package/dist/components/embeds/og-link-preview.d.ts +2 -2
- package/dist/components/faq/index.cjs +3 -3
- package/dist/components/faq/index.js +2 -2
- package/dist/components/features/index.cjs +2 -2
- package/dist/components/features/index.js +1 -1
- package/dist/components/help-center-pages/index.cjs +20 -20
- package/dist/components/help-center-pages/index.js +11 -11
- package/dist/components/index.cjs +120 -120
- package/dist/components/index.js +9 -9
- package/dist/components/navigation/index.cjs +2 -2
- package/dist/components/navigation/index.js +1 -1
- package/dist/components/onboarding-guides/index.cjs +5 -5
- package/dist/components/onboarding-guides/index.js +4 -4
- package/dist/components/related-content/index.cjs +3 -3
- package/dist/components/related-content/index.js +2 -2
- package/dist/components/tickets/index.cjs +5 -5
- package/dist/components/tickets/index.js +4 -4
- package/dist/components/ui/index.cjs +2 -2
- package/dist/components/ui/index.js +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.js +1 -1
- package/dist/utils/brand-marks.d.ts.map +1 -1
- package/dist/utils/index.cjs +1 -0
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.js +1 -0
- package/dist/utils/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/embeds/og-link-preview.tsx +3 -3
- package/src/components/embeds/rich-markdown-runtime.tsx +1 -1
- package/src/utils/brand-marks.ts +1 -0
- package/dist/chunk-5MHP6LBX.cjs.map +0 -1
- /package/dist/{chunk-KXGZNF5D.js.map → chunk-3QYRS76U.js.map} +0 -0
- /package/dist/{chunk-SKK6BTG2.js.map → chunk-74M3BAYD.js.map} +0 -0
- /package/dist/{chunk-ESPAEWRE.js.map → chunk-7SJEMWYV.js.map} +0 -0
- /package/dist/{chunk-WPHON3S7.js.map → chunk-EWFAYBX5.js.map} +0 -0
- /package/dist/{chunk-L5YQ3CRZ.js.map → chunk-FKEEYYFY.js.map} +0 -0
- /package/dist/{chunk-UBWIZFYA.js.map → chunk-L2O3YFZA.js.map} +0 -0
- /package/dist/{chunk-MJKAHB67.js.map → chunk-MZ6RAK42.js.map} +0 -0
- /package/dist/{chunk-OX4YV33F.js.map → chunk-QUWURL55.js.map} +0 -0
- /package/dist/{chunk-3WUDPAD5.js.map → chunk-TGH76LMF.js.map} +0 -0
- /package/dist/{chunk-U64IC7BM.js.map → chunk-UR6UEGR3.js.map} +0 -0
- /package/dist/{chunk-MSWVZQUZ.js.map → chunk-WDAXSWA2.js.map} +0 -0
package/package.json
CHANGED
|
@@ -8,7 +8,7 @@ import { useImageEdgeColor } from '../../hooks'
|
|
|
8
8
|
* Open-Graph metadata returned by the consumer's scrape endpoint.
|
|
9
9
|
*
|
|
10
10
|
* The shape MUST match the JSON the OG endpoint serves at `ogEndpointPath`.
|
|
11
|
-
* The hub's `/api/
|
|
11
|
+
* The hub's `/api/og-scraper` returns exactly these fields — embedders
|
|
12
12
|
* with a different endpoint must return the same shape (or adapt at the
|
|
13
13
|
* route boundary). Keeps the consumer surface trivial: one URL → one card.
|
|
14
14
|
*/
|
|
@@ -90,7 +90,7 @@ export interface OGLinkPreviewProps {
|
|
|
90
90
|
* one configuration knob. */
|
|
91
91
|
apiBaseUrl?: string
|
|
92
92
|
/** Path of the OG endpoint on the configured base. Default
|
|
93
|
-
* `'/api/
|
|
93
|
+
* `'/api/og-scraper'` matches the hub's route. Override if the
|
|
94
94
|
* embedder serves the same `OGData` shape from a different path. */
|
|
95
95
|
ogEndpointPath?: string
|
|
96
96
|
/** Optional placeholder-builder. Omit to disable the placeholder image
|
|
@@ -158,7 +158,7 @@ const Favicon = ({ src, size = 'w-6 h-6' }: { src: string; size?: string }) => (
|
|
|
158
158
|
export const OGLinkPreview: React.FC<OGLinkPreviewProps> = ({
|
|
159
159
|
url,
|
|
160
160
|
apiBaseUrl,
|
|
161
|
-
ogEndpointPath = '/api/
|
|
161
|
+
ogEndpointPath = '/api/og-scraper',
|
|
162
162
|
buildPlaceholderUrl,
|
|
163
163
|
fallbackTitle,
|
|
164
164
|
fallbackDescription,
|
|
@@ -34,7 +34,7 @@ export interface RichMarkdownRuntime {
|
|
|
34
34
|
const DEFAULT_RUNTIME: RichMarkdownRuntime = {
|
|
35
35
|
redditProxyUrl: '/api/blog/reddit-proxy',
|
|
36
36
|
twitterProxyUrl: '/api/blog/twitter-proxy',
|
|
37
|
-
ogScraperUrl: '/api/
|
|
37
|
+
ogScraperUrl: '/api/og-scraper',
|
|
38
38
|
transformImageSrc: () => null,
|
|
39
39
|
}
|
|
40
40
|
|
package/src/utils/brand-marks.ts
CHANGED
|
@@ -19,6 +19,7 @@ export const BRAND_MARK_SVGS: Record<string, string> = {
|
|
|
19
19
|
redhat: `<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Red Hat</title><path d="M16.009 13.386c1.577 0 3.86-.326 3.86-2.202a1.765 1.765 0 0 0-.04-.431l-.94-4.08c-.216-.898-.406-1.305-1.982-2.093-1.223-.625-3.888-1.658-4.676-1.658-.733 0-.947.946-1.822.946-.842 0-1.467-.706-2.255-.706-.757 0-1.25.515-1.63 1.576 0 0-1.06 2.99-1.197 3.424a.81.81 0 0 0-.028.245c0 1.162 4.577 4.974 10.71 4.974m4.101-1.435c.218 1.032.218 1.14.218 1.277 0 1.765-1.984 2.745-4.593 2.745-5.895.004-11.06-3.451-11.06-5.734a2.326 2.326 0 0 1 .19-.925C2.746 9.415 0 9.794 0 12.217c0 3.969 9.405 8.861 16.851 8.861 5.71 0 7.149-2.582 7.149-4.62 0-1.605-1.387-3.425-3.887-4.512"/></svg>`,
|
|
20
20
|
slack: `<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Slack</title><path d="M5.042 15.165a2.528 2.528 0 0 1-2.52 2.523A2.528 2.528 0 0 1 0 15.165a2.527 2.527 0 0 1 2.522-2.52h2.52v2.52zM6.313 15.165a2.527 2.527 0 0 1 2.521-2.52 2.527 2.527 0 0 1 2.521 2.52v6.313A2.528 2.528 0 0 1 8.834 24a2.528 2.528 0 0 1-2.521-2.522v-6.313zM8.834 5.042a2.528 2.528 0 0 1-2.521-2.52A2.528 2.528 0 0 1 8.834 0a2.528 2.528 0 0 1 2.521 2.522v2.52H8.834zM8.834 6.313a2.528 2.528 0 0 1 2.521 2.521 2.528 2.528 0 0 1-2.521 2.521H2.522A2.528 2.528 0 0 1 0 8.834a2.528 2.528 0 0 1 2.522-2.521h6.312zM18.956 8.834a2.528 2.528 0 0 1 2.522-2.521A2.528 2.528 0 0 1 24 8.834a2.528 2.528 0 0 1-2.522 2.521h-2.522V8.834zM17.688 8.834a2.528 2.528 0 0 1-2.523 2.521 2.527 2.527 0 0 1-2.52-2.521V2.522A2.527 2.527 0 0 1 15.165 0a2.528 2.528 0 0 1 2.523 2.522v6.312zM15.165 18.956a2.528 2.528 0 0 1 2.523 2.522A2.528 2.528 0 0 1 15.165 24a2.527 2.527 0 0 1-2.52-2.522v-2.522h2.52zM15.165 17.688a2.527 2.527 0 0 1-2.52-2.523 2.526 2.526 0 0 1 2.52-2.52h6.313A2.527 2.527 0 0 1 24 15.165a2.528 2.528 0 0 1-2.522 2.523h-6.313z"/></svg>`,
|
|
21
21
|
splunk: `<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Splunk</title><path d="M23.348 11.911l-2.241-1.091v-.65L24 11.621v.593l-2.893 1.438v-.636zm-5.397 1.841h-.961v-5.31h.961v3.116h.102l1.28-1.481.723.31-1.23 1.316 1.453 1.809-.888.311-1.44-1.996zm-2.577-.002v-2.068a2.685 2.685 0 0 0-.026-.42.791.791 0 0 0-.09-.26c-.113-.202-.308-.304-.59-.304a.888.888 0 0 0-.461.113.673.673 0 0 0-.286.33 1.012 1.012 0 0 0-.07.263c-.012.13-.019.262-.017.395v1.95h-.961v-3.614h.961l.002.485c.185-.2.373-.348.566-.437.192-.089.418-.134.673-.134.286 0 .527.058.721.177a1.016 1.016 0 0 1 .475.665 1.972 1.972 0 0 1 .054.448c.002.1.004.22.004.358v2.053zm-4.115.002l-.002-.485a1.783 1.783 0 0 1-.565.437 1.597 1.597 0 0 1-.674.135c-.285 0-.524-.057-.72-.17a.972.972 0 0 1-.425-.504.75.75 0 0 1-.054-.167 1.918 1.918 0 0 1-.033-.199 2.033 2.033 0 0 1-.017-.258 15.516 15.516 0 0 1-.005-.355V10.13h.956v2.07c-.003.141.006.282.026.42.015.092.045.18.09.26.113.204.308.306.59.306.36 0 .606-.15.74-.449.035-.082.06-.168.074-.257.017-.134.024-.269.022-.403v-1.95h.955v3.624zM7.184 8.44h.955v5.31h-.955zM5.759 11.9c0-.396-.08-.708-.24-.937a.759.759 0 0 0-.657-.345.804.804 0 0 0-.693.366c-.171.245-.256.574-.253.99 0 .405.084.723.25.957a.796.796 0 0 0 .69.347.685.685 0 0 0 .433-.135.985.985 0 0 0 .277-.34c.071-.14.121-.292.147-.448.03-.151.043-.3.046-.455m1.01-.036c.003.266-.04.532-.129.786-.082.23-.204.441-.364.626-.31.361-.764.567-1.24.563a1.67 1.67 0 0 1-.313-.028 1.041 1.041 0 0 1-.275-.098 1.33 1.33 0 0 1-.257-.178 2.379 2.379 0 0 1-.265-.268v2.293h-.929v-5.425h.93l.004.529c.169-.212.353-.368.55-.468.197-.1.426-.15.688-.147a1.509 1.509 0 0 1 1.156.507c.148.166.259.361.33.571.08.236.12.485.115.737m-4.21.89a.946.946 0 0 1-.102.441 1.007 1.007 0 0 1-.282.345c-.13.1-.275.173-.43.22a1.8 1.8 0 0 1-.546.08 1.985 1.985 0 0 1-.637-.097 1.964 1.964 0 0 1-.563-.32l.312-.505c.15.126.284.217.405.275.115.057.24.087.368.087a.557.557 0 0 0 .373-.12.396.396 0 0 0 .14-.322.475.475 0 0 0-.12-.318 1.306 1.306 0 0 0-.187-.173 9.231 9.231 0 0 0-.308-.232 6.787 6.787 0 0 1-.281-.21 2.11 2.11 0 0 1-.252-.232 1.039 1.039 0 0 1-.18-.275.826.826 0 0 1-.069-.347.893.893 0 0 1 .094-.409.935.935 0 0 1 .255-.314 1.22 1.22 0 0 1 .39-.203c.16-.05.327-.074.494-.072.184 0 .368.026.545.076.174.05.338.123.488.219l-.282.454a1.05 1.05 0 0 0-.608-.201.504.504 0 0 0-.323.102.307.307 0 0 0-.126.253c0 .098.041.193.113.26.074.078.203.186.385.325.185.136.336.253.457.355.104.085.202.182.286.286.065.08.115.173.145.273a.808.808 0 0 1 .046.299Z"/></svg>`,
|
|
22
|
+
supabase: `<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Supabase</title><path d="M11.9 1.036c-.015-.986-1.26-1.41-1.874-.637L.764 12.05C-.33 13.427.65 15.455 2.409 15.455h9.579l.113 7.51c.014.985 1.259 1.408 1.873.636l9.262-11.653c1.093-1.375.113-3.403-1.645-3.403h-9.642z"/></svg>`,
|
|
22
23
|
vicarius: `<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
23
24
|
<g clip-path="url(#clip0_3987_3816)">
|
|
24
25
|
<path d="M20.867 18.9738C20.6247 18.2663 20.2007 17.7357 19.2921 17.2051C19.8978 17.0282 20.3218 16.9103 20.5641 16.7924C20.3824 16.3207 20.2007 16.0849 19.7767 15.7901C20.867 13.7266 22.1996 12.7833 22.0785 11.9579C21.4121 12.3116 20.7459 13.5497 19.5344 14.0803C19.7767 12.0758 20.6853 10.8967 20.6853 10.1892C20.6853 9.83543 20.2613 9.12793 19.8978 8.65625C17.8989 11.5452 16.6875 15.0237 16.6875 18.7969C16.6875 21.2731 17.2327 23.6903 18.1413 25.8718C18.747 26.2845 19.2315 26.6383 19.7161 27.3457C19.6556 25.7539 20.3218 25.1643 19.7767 21.9806C20.019 22.0985 20.2613 22.2754 20.5035 22.2754C20.5642 21.3911 20.5035 20.2708 19.8978 18.62C20.2007 18.62 20.3824 18.738 20.867 18.9738Z" fill="url(#paint0_linear_3987_3816)"/>
|