@flamingo-stack/openframe-frontend-core 0.0.255 → 0.0.256
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-GYKDSPC4.cjs → chunk-3DC6MHW6.cjs} +31 -31
- package/dist/{chunk-GYKDSPC4.cjs.map → chunk-3DC6MHW6.cjs.map} +1 -1
- package/dist/{chunk-EFIEQ4XD.js → chunk-46DHPQY6.js} +4 -4
- package/dist/{chunk-RCW2IL4K.cjs → chunk-6F5CGBVT.cjs} +692 -728
- package/dist/chunk-6F5CGBVT.cjs.map +1 -0
- package/dist/{chunk-HMFBMVJC.js → chunk-6GBA6YJN.js} +2 -2
- package/dist/{chunk-4HHYUEMD.js → chunk-7RLV3U5C.js} +2 -2
- package/dist/{chunk-SGJBUL2Y.cjs → chunk-7VMEOFEA.cjs} +45 -2
- package/dist/chunk-7VMEOFEA.cjs.map +1 -0
- package/dist/{chunk-UGFSMA7K.cjs → chunk-CMWRZECW.cjs} +77 -42
- package/dist/chunk-CMWRZECW.cjs.map +1 -0
- package/dist/{chunk-D524LJYO.js → chunk-HCMVLEC3.js} +4 -4
- package/dist/{chunk-LZL6P7SN.cjs → chunk-IG4QRNYZ.cjs} +10 -10
- package/dist/{chunk-LZL6P7SN.cjs.map → chunk-IG4QRNYZ.cjs.map} +1 -1
- package/dist/{chunk-CVGZJBHT.cjs → chunk-ISALYOFX.cjs} +19 -19
- package/dist/{chunk-CVGZJBHT.cjs.map → chunk-ISALYOFX.cjs.map} +1 -1
- package/dist/{chunk-MKVKVJQQ.js → chunk-J3QMPOS6.js} +5 -4
- package/dist/chunk-J3QMPOS6.js.map +1 -0
- package/dist/{chunk-LHR7MBUY.js → chunk-JK25REDL.js} +48 -13
- package/dist/chunk-JK25REDL.js.map +1 -0
- package/dist/{chunk-Z4IBEIWD.cjs → chunk-LGLPNWS6.cjs} +3 -3
- package/dist/{chunk-Z4IBEIWD.cjs.map → chunk-LGLPNWS6.cjs.map} +1 -1
- package/dist/{chunk-VAUI3CND.js → chunk-NR535XIY.js} +44 -1
- package/dist/chunk-NR535XIY.js.map +1 -0
- package/dist/{chunk-2FCXJTOV.js → chunk-QXSRQVRO.js} +3 -1
- package/dist/chunk-QXSRQVRO.js.map +1 -0
- package/dist/{chunk-6TB24AUH.js → chunk-S7IX7YU4.js} +154 -190
- package/dist/chunk-S7IX7YU4.js.map +1 -0
- package/dist/{chunk-6LK4VEXE.cjs → chunk-TSZBJVYK.cjs} +35 -31
- package/dist/chunk-TSZBJVYK.cjs.map +1 -0
- package/dist/{chunk-TU26IZPO.cjs → chunk-U6UNAC32.cjs} +3 -1
- package/dist/chunk-U6UNAC32.cjs.map +1 -0
- package/dist/{chunk-265KKBV2.js → chunk-V4IIBNTA.js} +3 -3
- package/dist/chunk-V4IIBNTA.js.map +1 -0
- package/dist/{chunk-2FAX6LZB.cjs → chunk-V4Q5PIBV.cjs} +30 -30
- package/dist/{chunk-2FAX6LZB.cjs.map → chunk-V4Q5PIBV.cjs.map} +1 -1
- package/dist/{chunk-LKI3YCAX.js → chunk-V5L4D454.js} +10 -6
- package/dist/chunk-V5L4D454.js.map +1 -0
- package/dist/{chunk-3TDLFCCS.cjs → chunk-ZJP2BB3E.cjs} +6 -5
- package/dist/chunk-ZJP2BB3E.cjs.map +1 -0
- package/dist/components/chat/entity-cards/entity-author-card.d.ts +13 -9
- package/dist/components/chat/entity-cards/entity-author-card.d.ts.map +1 -1
- package/dist/components/chat/index.cjs +9 -7
- package/dist/components/chat/index.cjs.map +1 -1
- package/dist/components/chat/index.d.ts +1 -0
- package/dist/components/chat/index.d.ts.map +1 -1
- package/dist/components/chat/index.js +8 -6
- package/dist/components/chat/types/entities/onboarding-guide.d.ts +2 -7
- package/dist/components/chat/types/entities/onboarding-guide.d.ts.map +1 -1
- package/dist/components/contact/index.cjs +8 -8
- package/dist/components/contact/index.js +7 -7
- package/dist/components/faq/faq-section.d.ts.map +1 -1
- package/dist/components/faq/index.cjs +3 -3
- package/dist/components/faq/index.js +2 -2
- package/dist/components/features/index.cjs +7 -7
- package/dist/components/features/index.js +6 -6
- package/dist/components/icons/index.cjs +2 -2
- package/dist/components/icons/index.js +1 -1
- package/dist/components/index.cjs +166 -156
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.js +54 -44
- package/dist/components/index.js.map +1 -1
- package/dist/components/navigation/index.cjs +7 -7
- package/dist/components/navigation/index.js +6 -6
- package/dist/components/onboarding-guides/index.cjs +25 -23
- package/dist/components/onboarding-guides/index.cjs.map +1 -1
- package/dist/components/onboarding-guides/index.js +6 -4
- package/dist/components/onboarding-guides/index.js.map +1 -1
- package/dist/components/onboarding-guides/onboarding-guide-detail-view.d.ts +4 -1
- package/dist/components/onboarding-guides/onboarding-guide-detail-view.d.ts.map +1 -1
- package/dist/components/related-content/index.cjs +10 -8
- package/dist/components/related-content/index.cjs.map +1 -1
- package/dist/components/related-content/index.d.ts +1 -1
- package/dist/components/related-content/index.d.ts.map +1 -1
- package/dist/components/related-content/index.js +9 -7
- package/dist/components/related-content/related-content-section.d.ts +16 -1
- package/dist/components/related-content/related-content-section.d.ts.map +1 -1
- package/dist/components/shared/product-release/release-detail-page.d.ts +4 -1
- package/dist/components/shared/product-release/release-detail-page.d.ts.map +1 -1
- package/dist/components/social-icon-row.d.ts +17 -4
- package/dist/components/social-icon-row.d.ts.map +1 -1
- package/dist/components/tickets/index.cjs +80 -80
- package/dist/components/tickets/index.js +8 -8
- package/dist/components/ui/button/button.d.ts.map +1 -1
- package/dist/components/ui/file-manager/index.cjs +20 -20
- package/dist/components/ui/file-manager/index.js +1 -1
- package/dist/components/ui/index.cjs +9 -7
- package/dist/components/ui/index.cjs.map +1 -1
- package/dist/components/ui/index.js +8 -6
- package/dist/hooks/index.cjs +3 -3
- package/dist/hooks/index.js +2 -2
- package/dist/index.cjs +12 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +16 -12
- package/dist/types/blog.d.ts +7 -0
- package/dist/types/blog.d.ts.map +1 -1
- package/dist/types/entity-author.d.ts +18 -0
- package/dist/types/entity-author.d.ts.map +1 -0
- package/dist/types/index.cjs.map +1 -1
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js.map +1 -1
- package/dist/types/product-release.d.ts +2 -7
- package/dist/types/product-release.d.ts.map +1 -1
- package/dist/utils/common.d.ts +9 -0
- package/dist/utils/common.d.ts.map +1 -1
- package/dist/utils/index.cjs +6 -2
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +6 -3
- package/dist/utils/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/chat/entity-cards/entity-author-card.tsx +30 -11
- package/src/components/chat/index.ts +1 -0
- package/src/components/chat/types/entities/onboarding-guide.ts +3 -7
- package/src/components/faq/faq-section.tsx +4 -1
- package/src/components/icons/x-logo.tsx +2 -2
- package/src/components/onboarding-guides/onboarding-guide-detail-view.tsx +5 -0
- package/src/components/related-content/index.ts +1 -0
- package/src/components/related-content/related-content-section.tsx +84 -8
- package/src/components/shared/product-release/release-detail-page.tsx +18 -21
- package/src/components/social-icon-row.tsx +51 -22
- package/src/components/ui/button/button.tsx +7 -0
- package/src/types/blog.ts +9 -1
- package/src/types/entity-author.ts +17 -0
- package/src/types/index.ts +1 -0
- package/src/types/product-release.ts +2 -7
- package/src/utils/common.ts +12 -0
- package/src/utils/index.ts +1 -1
- package/dist/chunk-265KKBV2.js.map +0 -1
- package/dist/chunk-2FCXJTOV.js.map +0 -1
- package/dist/chunk-3TDLFCCS.cjs.map +0 -1
- package/dist/chunk-6LK4VEXE.cjs.map +0 -1
- package/dist/chunk-6TB24AUH.js.map +0 -1
- package/dist/chunk-LHR7MBUY.js.map +0 -1
- package/dist/chunk-LKI3YCAX.js.map +0 -1
- package/dist/chunk-MKVKVJQQ.js.map +0 -1
- package/dist/chunk-RCW2IL4K.cjs.map +0 -1
- package/dist/chunk-SGJBUL2Y.cjs.map +0 -1
- package/dist/chunk-TU26IZPO.cjs.map +0 -1
- package/dist/chunk-UGFSMA7K.cjs.map +0 -1
- package/dist/chunk-VAUI3CND.js.map +0 -1
- /package/dist/{chunk-EFIEQ4XD.js.map → chunk-46DHPQY6.js.map} +0 -0
- /package/dist/{chunk-HMFBMVJC.js.map → chunk-6GBA6YJN.js.map} +0 -0
- /package/dist/{chunk-4HHYUEMD.js.map → chunk-7RLV3U5C.js.map} +0 -0
- /package/dist/{chunk-D524LJYO.js.map → chunk-HCMVLEC3.js.map} +0 -0
package/dist/components/index.js
CHANGED
|
@@ -3,10 +3,11 @@
|
|
|
3
3
|
import {
|
|
4
4
|
FaqAccordion,
|
|
5
5
|
FaqSection
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-J3QMPOS6.js";
|
|
7
7
|
import {
|
|
8
|
+
GROUP_PAGE_SIZE,
|
|
8
9
|
RelatedContentSection
|
|
9
|
-
} from "../chunk-
|
|
10
|
+
} from "../chunk-JK25REDL.js";
|
|
10
11
|
import {
|
|
11
12
|
DeliveryRow,
|
|
12
13
|
DevCardRowContent,
|
|
@@ -18,7 +19,7 @@ import {
|
|
|
18
19
|
UnifiedPagination,
|
|
19
20
|
init_unified_pagination,
|
|
20
21
|
unified_pagination_exports
|
|
21
|
-
} from "../chunk-
|
|
22
|
+
} from "../chunk-HCMVLEC3.js";
|
|
22
23
|
import {
|
|
23
24
|
DetailPageSkeleton,
|
|
24
25
|
DocSearchBar,
|
|
@@ -27,7 +28,7 @@ import {
|
|
|
27
28
|
mapDocSearchResults,
|
|
28
29
|
resolveSearchResultAction,
|
|
29
30
|
useDocSearch
|
|
30
|
-
} from "../chunk-
|
|
31
|
+
} from "../chunk-7RLV3U5C.js";
|
|
31
32
|
import {
|
|
32
33
|
useSelfFetch
|
|
33
34
|
} from "../chunk-L4LAAA5Q.js";
|
|
@@ -143,6 +144,7 @@ import {
|
|
|
143
144
|
ChatMessageSkeleton,
|
|
144
145
|
ChatPanelHeader,
|
|
145
146
|
ChatQuickAction,
|
|
147
|
+
ChatQuickActionRow,
|
|
146
148
|
ChatSidebar,
|
|
147
149
|
ChatTicketItem,
|
|
148
150
|
ChatTicketList,
|
|
@@ -604,7 +606,7 @@ import {
|
|
|
604
606
|
useThemeToggle,
|
|
605
607
|
useUnifiedChat,
|
|
606
608
|
usesCanonicalStatusStyle
|
|
607
|
-
} from "../chunk-
|
|
609
|
+
} from "../chunk-S7IX7YU4.js";
|
|
608
610
|
import {
|
|
609
611
|
CommandApprovalToast,
|
|
610
612
|
ToastCard,
|
|
@@ -615,13 +617,13 @@ import {
|
|
|
615
617
|
showToast,
|
|
616
618
|
useOnboardingState,
|
|
617
619
|
useToast
|
|
618
|
-
} from "../chunk-
|
|
620
|
+
} from "../chunk-6GBA6YJN.js";
|
|
619
621
|
import {
|
|
620
622
|
useEndpointsRuntime
|
|
621
623
|
} from "../chunk-MJNXIEV2.js";
|
|
622
624
|
import {
|
|
623
625
|
ChevronButton
|
|
624
|
-
} from "../chunk-
|
|
626
|
+
} from "../chunk-NR535XIY.js";
|
|
625
627
|
import {
|
|
626
628
|
Checkbox,
|
|
627
629
|
FieldWrapper,
|
|
@@ -721,7 +723,6 @@ import {
|
|
|
721
723
|
groupByAspectRatio,
|
|
722
724
|
isCrossOriginUrl,
|
|
723
725
|
isModifierClick,
|
|
724
|
-
nameInitials,
|
|
725
726
|
newTabAnchorAttrs,
|
|
726
727
|
normalizeIconKey,
|
|
727
728
|
ratioToCategory,
|
|
@@ -737,7 +738,7 @@ import {
|
|
|
737
738
|
usePageActionsBottomPadding,
|
|
738
739
|
useVideoOriginPreconnect,
|
|
739
740
|
useVideoWarmup
|
|
740
|
-
} from "../chunk-
|
|
741
|
+
} from "../chunk-V5L4D454.js";
|
|
741
742
|
import "../chunk-ZXZJSTNV.js";
|
|
742
743
|
import {
|
|
743
744
|
useChatRuntime
|
|
@@ -772,7 +773,7 @@ import {
|
|
|
772
773
|
SplitButton,
|
|
773
774
|
buttonVariants,
|
|
774
775
|
init_button2 as init_button
|
|
775
|
-
} from "../chunk-
|
|
776
|
+
} from "../chunk-QXSRQVRO.js";
|
|
776
777
|
import {
|
|
777
778
|
init_next_link,
|
|
778
779
|
next_link_default
|
|
@@ -928,7 +929,7 @@ import {
|
|
|
928
929
|
YouTubeIcon,
|
|
929
930
|
getDeviceTypeIcon,
|
|
930
931
|
renderSvgIcon
|
|
931
|
-
} from "../chunk-
|
|
932
|
+
} from "../chunk-V4IIBNTA.js";
|
|
932
933
|
import {
|
|
933
934
|
cn,
|
|
934
935
|
getBaseUrl,
|
|
@@ -2172,31 +2173,46 @@ function renderSocialIcon(platform) {
|
|
|
2172
2173
|
case "facebook":
|
|
2173
2174
|
case "fb":
|
|
2174
2175
|
return /* @__PURE__ */ jsx14(FacebookIcon, { className: "w-5 h-5" });
|
|
2176
|
+
case "copy":
|
|
2177
|
+
return /* @__PURE__ */ jsx14(CopyIcon, { className: "w-5 h-5", color: "var(--ods-text-primary)" });
|
|
2175
2178
|
default:
|
|
2176
2179
|
return /* @__PURE__ */ jsx14(GlobeIcon, { className: "w-5 h-5" });
|
|
2177
2180
|
}
|
|
2178
2181
|
}
|
|
2179
|
-
function SocialIconRow({ className = "", links = defaultLinks, variant = "outline" }) {
|
|
2180
|
-
return /* @__PURE__ */ jsx14("div", { className: `flex flex-row gap-3 w-full ${className}`, children: links.map((link, index) =>
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
"
|
|
2182
|
+
function SocialIconRow({ className = "", links = defaultLinks, variant = "outline", compact = false }) {
|
|
2183
|
+
return /* @__PURE__ */ jsx14("div", { className: `flex flex-row gap-3 ${compact ? "w-fit" : "w-full"} ${className}`, children: links.map((link, index) => {
|
|
2184
|
+
const ariaLabel = link.label || link.platform;
|
|
2185
|
+
return link.onClick ? /* @__PURE__ */ jsx14(
|
|
2186
|
+
Button,
|
|
2187
|
+
{
|
|
2188
|
+
type: "button",
|
|
2189
|
+
variant,
|
|
2190
|
+
size: "icon",
|
|
2191
|
+
className: compact ? void 0 : "flex-1",
|
|
2192
|
+
"aria-label": ariaLabel,
|
|
2193
|
+
onClick: link.onClick,
|
|
2194
|
+
children: renderSocialIcon(link.platform)
|
|
2195
|
+
},
|
|
2196
|
+
index
|
|
2197
|
+
) : (
|
|
2198
|
+
// Props-based linking — Button renders the anchor itself
|
|
2199
|
+
// (openInNewTab carries target="_blank" + rel="noopener noreferrer");
|
|
2200
|
+
// no asChild/<a> nesting.
|
|
2201
|
+
/* @__PURE__ */ jsx14(
|
|
2202
|
+
Button,
|
|
2189
2203
|
{
|
|
2204
|
+
variant,
|
|
2205
|
+
size: "icon",
|
|
2206
|
+
className: compact ? void 0 : "flex-1",
|
|
2190
2207
|
href: link.href,
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
"aria-label": link.label || link.platform,
|
|
2208
|
+
openInNewTab: true,
|
|
2209
|
+
"aria-label": ariaLabel,
|
|
2194
2210
|
children: renderSocialIcon(link.platform)
|
|
2195
|
-
}
|
|
2211
|
+
},
|
|
2212
|
+
index
|
|
2196
2213
|
)
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
)) });
|
|
2214
|
+
);
|
|
2215
|
+
}) });
|
|
2200
2216
|
}
|
|
2201
2217
|
|
|
2202
2218
|
// src/components/footer.tsx
|
|
@@ -5817,6 +5833,7 @@ function DefaultMarkdownRenderer({ content }) {
|
|
|
5817
5833
|
return /* @__PURE__ */ jsx52("div", { className: "whitespace-pre-wrap", children: content });
|
|
5818
5834
|
}
|
|
5819
5835
|
function ReleaseDetailPage({
|
|
5836
|
+
authorHref,
|
|
5820
5837
|
slug,
|
|
5821
5838
|
initialData,
|
|
5822
5839
|
useRelease,
|
|
@@ -5934,22 +5951,13 @@ function ReleaseDetailPage({
|
|
|
5934
5951
|
/* @__PURE__ */ jsx52("p", { className: "text-h4 text-ods-text-primary", children: formatReleaseDate(releaseDate) }),
|
|
5935
5952
|
/* @__PURE__ */ jsx52("p", { className: "font-['DM_Sans'] font-medium text-[14px] leading-[20px] text-ods-text-secondary", children: "Release Date" })
|
|
5936
5953
|
] }) }),
|
|
5937
|
-
/* @__PURE__ */
|
|
5938
|
-
|
|
5939
|
-
|
|
5940
|
-
{
|
|
5941
|
-
|
|
5942
|
-
|
|
5943
|
-
|
|
5944
|
-
size: "md",
|
|
5945
|
-
variant: "round"
|
|
5946
|
-
}
|
|
5947
|
-
),
|
|
5948
|
-
/* @__PURE__ */ jsxs42("div", { className: "flex flex-col gap-0 flex-1 min-w-0", children: [
|
|
5949
|
-
/* @__PURE__ */ jsx52("p", { className: "text-h3 tracking-[-0.36px] text-ods-text-primary truncate", title: author?.full_name || "Unknown Author", children: author?.full_name || "Unknown Author" }),
|
|
5950
|
-
/* @__PURE__ */ jsx52("p", { className: "font-['DM_Sans'] font-medium text-[14px] leading-[20px] text-ods-text-secondary", children: "Author" })
|
|
5951
|
-
] })
|
|
5952
|
-
] })
|
|
5954
|
+
/* @__PURE__ */ jsx52(
|
|
5955
|
+
EntityMetadataAuthorCell,
|
|
5956
|
+
{
|
|
5957
|
+
author: author ?? { full_name: null, avatar_url: null },
|
|
5958
|
+
authorHref: author?.full_name ? authorHref : void 0
|
|
5959
|
+
}
|
|
5960
|
+
)
|
|
5953
5961
|
] }),
|
|
5954
5962
|
releaseMedia && releaseMedia.length > 0 && /* @__PURE__ */ jsx52("div", { className: "flex gap-6 overflow-x-auto w-full", children: releaseMedia.slice(0, 5).map((mediaItem, index) => /* @__PURE__ */ jsx52(
|
|
5955
5963
|
"div",
|
|
@@ -7036,6 +7044,7 @@ export {
|
|
|
7036
7044
|
ChatMessageSkeleton,
|
|
7037
7045
|
ChatPanelHeader,
|
|
7038
7046
|
ChatQuickAction,
|
|
7047
|
+
ChatQuickActionRow,
|
|
7039
7048
|
ChatSidebar,
|
|
7040
7049
|
ChatTicketItem,
|
|
7041
7050
|
ChatTicketList,
|
|
@@ -7218,6 +7227,7 @@ export {
|
|
|
7218
7227
|
FormPageContainer,
|
|
7219
7228
|
FormSkeleton,
|
|
7220
7229
|
G2Icon,
|
|
7230
|
+
GROUP_PAGE_SIZE,
|
|
7221
7231
|
GenericEntityCard,
|
|
7222
7232
|
GenericEntityCardSkeleton,
|
|
7223
7233
|
GetAppIcon,
|