@flamingo-stack/openframe-frontend-core 0.0.423 → 0.0.424-snapshot.20260714200421
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-MSZ4WBCD.cjs → chunk-5DAVSIXQ.cjs} +21 -21
- package/dist/{chunk-MSZ4WBCD.cjs.map → chunk-5DAVSIXQ.cjs.map} +1 -1
- package/dist/{chunk-WWS3R3UD.js → chunk-5RFLFMCS.js} +4 -4
- package/dist/{chunk-4XLJWX2N.js → chunk-7EUIW46X.js} +2 -2
- package/dist/{chunk-JPZE2P4Y.js → chunk-7OMNZR2A.js} +6 -6
- package/dist/{chunk-7W4474XS.js → chunk-7TA6WMMV.js} +5 -5
- package/dist/{chunk-KNO5CB3W.cjs → chunk-BESGMTIN.cjs} +7 -7
- package/dist/{chunk-KNO5CB3W.cjs.map → chunk-BESGMTIN.cjs.map} +1 -1
- package/dist/{chunk-YOEQWHUD.js → chunk-BY3NKTNZ.js} +2 -2
- package/dist/{chunk-VFKQMAUF.cjs → chunk-C5RS3QLV.cjs} +3 -3
- package/dist/{chunk-VFKQMAUF.cjs.map → chunk-C5RS3QLV.cjs.map} +1 -1
- package/dist/{chunk-WOHMJJKD.cjs → chunk-C7AXZBFC.cjs} +29 -29
- package/dist/{chunk-WOHMJJKD.cjs.map → chunk-C7AXZBFC.cjs.map} +1 -1
- package/dist/{chunk-LK3KXZIN.js → chunk-CRPQEP7D.js} +3 -3
- package/dist/{chunk-ZKIYCRVQ.cjs → chunk-EE5NH5SH.cjs} +3 -3
- package/dist/{chunk-ZKIYCRVQ.cjs.map → chunk-EE5NH5SH.cjs.map} +1 -1
- package/dist/{chunk-SVUDKNS7.js → chunk-FBCN76VE.js} +3 -3
- package/dist/{chunk-IRIPRXO5.cjs → chunk-GA6MWC56.cjs} +14 -14
- package/dist/{chunk-IRIPRXO5.cjs.map → chunk-GA6MWC56.cjs.map} +1 -1
- package/dist/{chunk-FVI2ESVQ.cjs → chunk-HNRGQCTE.cjs} +112 -87
- package/dist/chunk-HNRGQCTE.cjs.map +1 -0
- package/dist/{chunk-B2255TIZ.js → chunk-IQW3LEUV.js} +29 -4
- package/dist/chunk-IQW3LEUV.js.map +1 -0
- package/dist/{chunk-GR2CMONR.js → chunk-LHWLXA4X.js} +7 -7
- package/dist/{chunk-2Q2SKYCZ.js → chunk-LKMUH4IO.js} +6 -6
- package/dist/{chunk-WO2NOBF3.cjs → chunk-LRDVU7NB.cjs} +43 -43
- package/dist/{chunk-WO2NOBF3.cjs.map → chunk-LRDVU7NB.cjs.map} +1 -1
- package/dist/{chunk-SR6LEWCF.cjs → chunk-N2TJ3HAM.cjs} +10 -10
- package/dist/{chunk-SR6LEWCF.cjs.map → chunk-N2TJ3HAM.cjs.map} +1 -1
- package/dist/{chunk-FFCGB73K.js → chunk-QXYOGJQJ.js} +2 -2
- package/dist/{chunk-NNF5XOMH.js → chunk-RAGHFNE7.js} +2 -2
- package/dist/{chunk-OTNL36LC.cjs → chunk-RUPCSQLF.cjs} +40 -40
- package/dist/{chunk-OTNL36LC.cjs.map → chunk-RUPCSQLF.cjs.map} +1 -1
- package/dist/{chunk-OMUCATVA.js → chunk-RVWC4P3H.js} +2 -2
- package/dist/{chunk-TIFJIHV2.cjs → chunk-SHDV5QCI.cjs} +77 -77
- package/dist/{chunk-TIFJIHV2.cjs.map → chunk-SHDV5QCI.cjs.map} +1 -1
- package/dist/{chunk-CBY3VQKJ.cjs → chunk-SPR4MJX5.cjs} +86 -86
- package/dist/{chunk-CBY3VQKJ.cjs.map → chunk-SPR4MJX5.cjs.map} +1 -1
- package/dist/{chunk-G7UE6RKV.cjs → chunk-SSJNN5BS.cjs} +20 -3
- package/dist/chunk-SSJNN5BS.cjs.map +1 -0
- package/dist/{chunk-HGBEKYXL.cjs → chunk-SZWVVAZ6.cjs} +5 -5
- package/dist/{chunk-HGBEKYXL.cjs.map → chunk-SZWVVAZ6.cjs.map} +1 -1
- package/dist/{chunk-TMSP5FYV.cjs → chunk-THVQWRV6.cjs} +36 -36
- package/dist/{chunk-TMSP5FYV.cjs.map → chunk-THVQWRV6.cjs.map} +1 -1
- package/dist/{chunk-SMUKHJJM.cjs → chunk-UDRJ6KOT.cjs} +27 -27
- package/dist/{chunk-SMUKHJJM.cjs.map → chunk-UDRJ6KOT.cjs.map} +1 -1
- package/dist/{chunk-I4YIWY3O.js → chunk-VR3VNXUT.js} +7 -7
- package/dist/{chunk-MOBZMJAP.js → chunk-ZGE4KMI6.js} +3 -3
- package/dist/{chunk-PLJLE4A4.js → chunk-ZJJERZUA.js} +20 -3
- package/dist/chunk-ZJJERZUA.js.map +1 -0
- package/dist/components/case-studies/index.cjs +11 -11
- package/dist/components/case-studies/index.js +5 -5
- package/dist/components/chat/index.cjs +5 -5
- package/dist/components/chat/index.js +4 -4
- package/dist/components/contact/index.cjs +6 -6
- package/dist/components/contact/index.js +5 -5
- package/dist/components/docs/index.cjs +8 -8
- package/dist/components/docs/index.js +7 -7
- package/dist/components/embeds/index.cjs +6 -6
- package/dist/components/embeds/index.js +5 -5
- package/dist/components/faq/index.cjs +7 -7
- package/dist/components/faq/index.js +6 -6
- package/dist/components/features/index.cjs +5 -5
- package/dist/components/features/index.js +4 -4
- package/dist/components/features/seo-editor-preview.d.ts.map +1 -1
- package/dist/components/help-center-pages/index.cjs +24 -24
- package/dist/components/help-center-pages/index.js +15 -15
- package/dist/components/index.cjs +141 -141
- package/dist/components/index.js +13 -13
- package/dist/components/navigation/index.cjs +5 -5
- package/dist/components/navigation/index.js +4 -4
- package/dist/components/onboarding-guides/index.cjs +9 -9
- package/dist/components/onboarding-guides/index.js +8 -8
- package/dist/components/related-content/index.cjs +7 -7
- package/dist/components/related-content/index.js +6 -6
- package/dist/components/tickets/index.cjs +8 -8
- package/dist/components/tickets/index.js +7 -7
- package/dist/components/ui/index.cjs +5 -5
- package/dist/components/ui/index.js +4 -4
- package/dist/embed-shims/index.cjs +3 -3
- package/dist/embed-shims/index.js +2 -2
- package/dist/embed-shims/next-navigation.cjs +3 -3
- package/dist/embed-shims/next-navigation.d.ts.map +1 -1
- package/dist/embed-shims/next-navigation.js +1 -1
- package/dist/hooks/index.cjs +3 -3
- package/dist/hooks/index.js +2 -2
- package/dist/index.cjs +7 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +6 -4
- package/dist/utils/index.cjs +4 -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 +4 -1
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/seo-description.d.ts +14 -0
- package/dist/utils/seo-description.d.ts.map +1 -0
- package/package.json +1 -1
- package/src/components/.tool-icon.md +3 -3
- package/src/components/features/seo-editor-preview.tsx +24 -1
- package/src/components/icons-v2-generated/brand-logos/.index.md +1 -2
- package/src/components/platform/.ShellTypeBadge.md +1 -1
- package/src/components/platform/.ToolBadge.md +2 -2
- package/src/embed-shims/__tests__/next-navigation.test.ts +165 -0
- package/src/embed-shims/next-navigation.tsx +46 -9
- package/src/stories/.OSTypeBadge.stories.md +1 -1
- package/src/stories/.ShellTypeBadge.stories.md +1 -1
- package/src/stories/.Toaster.stories.md +1 -1
- package/src/stories/.ToolBadge.stories.md +2 -2
- package/src/stories/.ToolExecutionDisplay.stories.md +4 -4
- package/src/types/.os.types.md +1 -1
- package/src/types/.shell.types.md +1 -1
- package/src/types/.tool.types.md +3 -3
- package/src/utils/.tool-utils.md +1 -3
- package/src/utils/index.ts +1 -0
- package/src/utils/seo-description.ts +13 -0
- package/dist/chunk-B2255TIZ.js.map +0 -1
- package/dist/chunk-FVI2ESVQ.cjs.map +0 -1
- package/dist/chunk-G7UE6RKV.cjs.map +0 -1
- package/dist/chunk-PLJLE4A4.js.map +0 -1
- /package/dist/{chunk-WWS3R3UD.js.map → chunk-5RFLFMCS.js.map} +0 -0
- /package/dist/{chunk-4XLJWX2N.js.map → chunk-7EUIW46X.js.map} +0 -0
- /package/dist/{chunk-JPZE2P4Y.js.map → chunk-7OMNZR2A.js.map} +0 -0
- /package/dist/{chunk-7W4474XS.js.map → chunk-7TA6WMMV.js.map} +0 -0
- /package/dist/{chunk-YOEQWHUD.js.map → chunk-BY3NKTNZ.js.map} +0 -0
- /package/dist/{chunk-LK3KXZIN.js.map → chunk-CRPQEP7D.js.map} +0 -0
- /package/dist/{chunk-SVUDKNS7.js.map → chunk-FBCN76VE.js.map} +0 -0
- /package/dist/{chunk-GR2CMONR.js.map → chunk-LHWLXA4X.js.map} +0 -0
- /package/dist/{chunk-2Q2SKYCZ.js.map → chunk-LKMUH4IO.js.map} +0 -0
- /package/dist/{chunk-FFCGB73K.js.map → chunk-QXYOGJQJ.js.map} +0 -0
- /package/dist/{chunk-NNF5XOMH.js.map → chunk-RAGHFNE7.js.map} +0 -0
- /package/dist/{chunk-OMUCATVA.js.map → chunk-RVWC4P3H.js.map} +0 -0
- /package/dist/{chunk-I4YIWY3O.js.map → chunk-VR3VNXUT.js.map} +0 -0
- /package/dist/{chunk-MOBZMJAP.js.map → chunk-ZGE4KMI6.js.map} +0 -0
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
useOgPlaceholderUrl,
|
|
28
28
|
useOnboardingState,
|
|
29
29
|
useToast
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-RVWC4P3H.js";
|
|
31
31
|
import {
|
|
32
32
|
AlertCircleIcon,
|
|
33
33
|
AnthropicLogoGreyIcon,
|
|
@@ -161,7 +161,7 @@ import {
|
|
|
161
161
|
usePathname,
|
|
162
162
|
useRouter,
|
|
163
163
|
useSearchParams
|
|
164
|
-
} from "./chunk-
|
|
164
|
+
} from "./chunk-ZJJERZUA.js";
|
|
165
165
|
import {
|
|
166
166
|
next_image_default
|
|
167
167
|
} from "./chunk-LXC6P2EO.js";
|
|
@@ -22633,6 +22633,9 @@ init_cn();
|
|
|
22633
22633
|
// src/utils/seo-title.ts
|
|
22634
22634
|
var SEO_TITLE_MAX_LENGTH = 60;
|
|
22635
22635
|
|
|
22636
|
+
// src/utils/seo-description.ts
|
|
22637
|
+
var SEO_DESCRIPTION_MAX_LENGTH = 160;
|
|
22638
|
+
|
|
22636
22639
|
// src/utils/brand-marks.ts
|
|
22637
22640
|
var BRAND_MARK_SVGS = {
|
|
22638
22641
|
amazonwebservices: `<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Amazon Web Services</title><path d="M6.763 10.036c0 .296.032.535.088.71.064.176.144.368.256.576.04.063.056.127.056.183 0 .08-.048.16-.152.24l-.503.335a.383.383 0 0 1-.208.072c-.08 0-.16-.04-.239-.112a2.47 2.47 0 0 1-.287-.375 6.18 6.18 0 0 1-.248-.471c-.622.734-1.405 1.101-2.347 1.101-.67 0-1.205-.191-1.596-.574-.391-.384-.59-.894-.59-1.533 0-.678.239-1.23.726-1.644.487-.415 1.133-.623 1.955-.623.272 0 .551.024.846.064.296.04.6.104.918.176v-.583c0-.607-.127-1.03-.375-1.277-.255-.248-.686-.367-1.3-.367-.28 0-.568.031-.863.103-.295.072-.583.16-.862.272a2.287 2.287 0 0 1-.28.104.488.488 0 0 1-.127.023c-.112 0-.168-.08-.168-.247v-.391c0-.128.016-.224.056-.28a.597.597 0 0 1 .224-.167c.279-.144.614-.264 1.005-.36a4.84 4.84 0 0 1 1.246-.151c.95 0 1.644.216 2.091.647.439.43.662 1.085.662 1.963v2.586zm-3.24 1.214c.263 0 .534-.048.822-.144.287-.096.543-.271.758-.51.128-.152.224-.32.272-.512.047-.191.08-.423.08-.694v-.335a6.66 6.66 0 0 0-.735-.136 6.02 6.02 0 0 0-.75-.048c-.535 0-.926.104-1.19.32-.263.215-.39.518-.39.917 0 .375.095.655.295.846.191.2.47.296.838.296zm6.41.862c-.144 0-.24-.024-.304-.08-.064-.048-.12-.16-.168-.311L7.586 5.55a1.398 1.398 0 0 1-.072-.32c0-.128.064-.2.191-.2h.783c.151 0 .255.025.31.08.065.048.113.16.16.312l1.342 5.284 1.245-5.284c.04-.16.088-.264.151-.312a.549.549 0 0 1 .32-.08h.638c.152 0 .256.025.32.08.063.048.12.16.151.312l1.261 5.348 1.381-5.348c.048-.16.104-.264.16-.312a.52.52 0 0 1 .311-.08h.743c.127 0 .2.065.2.2 0 .04-.009.08-.017.128a1.137 1.137 0 0 1-.056.2l-1.923 6.17c-.048.16-.104.263-.168.311a.51.51 0 0 1-.303.08h-.687c-.151 0-.255-.024-.32-.08-.063-.056-.119-.16-.15-.32l-1.238-5.148-1.23 5.14c-.04.16-.087.264-.15.32-.065.056-.177.08-.32.08zm10.256.215c-.415 0-.83-.048-1.229-.143-.399-.096-.71-.2-.918-.32-.128-.071-.215-.151-.247-.223a.563.563 0 0 1-.048-.224v-.407c0-.167.064-.247.183-.247.048 0 .096.008.144.024.048.016.12.048.2.08.271.12.566.215.878.279.319.064.63.096.95.096.502 0 .894-.088 1.165-.264a.86.86 0 0 0 .415-.758.777.777 0 0 0-.215-.559c-.144-.151-.416-.287-.807-.415l-1.157-.36c-.583-.183-1.014-.454-1.277-.813a1.902 1.902 0 0 1-.4-1.158c0-.335.073-.63.216-.886.144-.255.335-.479.575-.654.24-.184.51-.32.83-.415.32-.096.655-.136 1.006-.136.175 0 .359.008.535.032.183.024.35.056.518.088.16.04.312.08.455.127.144.048.256.096.336.144a.69.69 0 0 1 .24.2.43.43 0 0 1 .071.263v.375c0 .168-.064.256-.184.256a.83.83 0 0 1-.303-.096 3.652 3.652 0 0 0-1.532-.311c-.455 0-.815.071-1.062.223-.248.152-.375.383-.375.71 0 .224.08.416.24.567.159.152.454.304.877.44l1.134.358c.574.184.99.44 1.237.767.247.327.367.702.367 1.117 0 .343-.072.655-.207.926-.144.272-.336.511-.583.703-.248.2-.543.343-.886.447-.36.111-.734.167-1.142.167zM21.698 16.207c-2.626 1.94-6.442 2.969-9.722 2.969-4.598 0-8.74-1.7-11.87-4.526-.247-.223-.024-.527.272-.351 3.384 1.963 7.559 3.153 11.877 3.153 2.914 0 6.114-.607 9.06-1.852.439-.2.814.287.383.607zM22.792 14.961c-.336-.43-2.22-.207-3.074-.103-.255.032-.295-.192-.063-.36 1.5-1.053 3.967-.75 4.254-.399.287.36-.08 2.826-1.485 4.007-.215.184-.423.088-.327-.151.32-.79 1.03-2.57.695-2.994z"/></svg>`,
|
|
@@ -29444,6 +29447,8 @@ function SEOEditorPreview({
|
|
|
29444
29447
|
const [fileInputRef, setFileInputRef] = useState66(null);
|
|
29445
29448
|
const seoTitleLength = (seoTitle || "").length;
|
|
29446
29449
|
const seoTitleTooLong = seoTitleLength > SEO_TITLE_MAX_LENGTH;
|
|
29450
|
+
const seoDescriptionLength = (seoDescription || "").length;
|
|
29451
|
+
const seoDescriptionTooLong = seoDescriptionLength > SEO_DESCRIPTION_MAX_LENGTH;
|
|
29447
29452
|
const displayTitle = seoTitle.trim() || title || "Untitled";
|
|
29448
29453
|
const displayDescription = seoDescription.trim() || summary || "No description";
|
|
29449
29454
|
const hasOgImage = ogImageUrl.trim();
|
|
@@ -29495,7 +29500,7 @@ function SEOEditorPreview({
|
|
|
29495
29500
|
}
|
|
29496
29501
|
),
|
|
29497
29502
|
/* @__PURE__ */ jsxs174("div", { className: "flex items-center justify-between gap-2", children: [
|
|
29498
|
-
/* @__PURE__ */ jsx225("span", { className: "text-[11px] text-ods-error font-['DM_Sans']", children: seoTitleTooLong ? `Too long
|
|
29503
|
+
/* @__PURE__ */ jsx225("span", { className: "text-[11px] text-ods-error font-['DM_Sans']", children: seoTitleTooLong ? `Too long: search engines may truncate this title (keep it under ${SEO_TITLE_MAX_LENGTH})` : "" }),
|
|
29499
29504
|
/* @__PURE__ */ jsxs174(
|
|
29500
29505
|
"span",
|
|
29501
29506
|
{
|
|
@@ -29564,11 +29569,30 @@ function SEOEditorPreview({
|
|
|
29564
29569
|
value: seoDescription || "",
|
|
29565
29570
|
onChange: (e) => onSeoDescriptionChange(e.target.value),
|
|
29566
29571
|
disabled,
|
|
29572
|
+
maxLength: SEO_DESCRIPTION_MAX_LENGTH,
|
|
29573
|
+
invalid: seoDescriptionTooLong,
|
|
29567
29574
|
placeholder: "Enter SEO meta description...",
|
|
29568
29575
|
className: "bg-ods-bg border-ods-border text-ods-text-primary flex-1 resize-none",
|
|
29569
29576
|
rows: 6
|
|
29570
29577
|
}
|
|
29571
29578
|
),
|
|
29579
|
+
/* @__PURE__ */ jsxs174("div", { className: "flex items-center justify-between gap-2", children: [
|
|
29580
|
+
/* @__PURE__ */ jsx225("span", { className: "text-[11px] text-ods-error font-['DM_Sans']", children: seoDescriptionTooLong ? `Too long: search engines may truncate this description (keep it under ${SEO_DESCRIPTION_MAX_LENGTH})` : "" }),
|
|
29581
|
+
/* @__PURE__ */ jsxs174(
|
|
29582
|
+
"span",
|
|
29583
|
+
{
|
|
29584
|
+
className: cn(
|
|
29585
|
+
"text-[11px] font-['DM_Sans'] tabular-nums shrink-0",
|
|
29586
|
+
seoDescriptionTooLong ? "text-ods-error font-semibold" : "text-ods-text-secondary"
|
|
29587
|
+
),
|
|
29588
|
+
children: [
|
|
29589
|
+
seoDescriptionLength,
|
|
29590
|
+
"/",
|
|
29591
|
+
SEO_DESCRIPTION_MAX_LENGTH
|
|
29592
|
+
]
|
|
29593
|
+
}
|
|
29594
|
+
)
|
|
29595
|
+
] }),
|
|
29572
29596
|
!seoDescription && summary && /* @__PURE__ */ jsx225("p", { className: "text-[11px] text-ods-accent font-['DM_Sans']", children: "Auto-populated from summary" })
|
|
29573
29597
|
] }),
|
|
29574
29598
|
/* @__PURE__ */ jsxs174("div", { className: "space-y-2 flex flex-col h-full", children: [
|
|
@@ -53161,6 +53185,7 @@ export {
|
|
|
53161
53185
|
deepClone,
|
|
53162
53186
|
getSlackCommunityJoinUrl,
|
|
53163
53187
|
SEO_TITLE_MAX_LENGTH,
|
|
53188
|
+
SEO_DESCRIPTION_MAX_LENGTH,
|
|
53164
53189
|
BRAND_MARK_SVGS,
|
|
53165
53190
|
brandMarkDataUri,
|
|
53166
53191
|
OS_PLATFORMS,
|
|
@@ -53529,4 +53554,4 @@ export {
|
|
|
53529
53554
|
LogsList,
|
|
53530
53555
|
assets
|
|
53531
53556
|
};
|
|
53532
|
-
//# sourceMappingURL=chunk-
|
|
53557
|
+
//# sourceMappingURL=chunk-IQW3LEUV.js.map
|