@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.
Files changed (147) hide show
  1. package/dist/{chunk-GYKDSPC4.cjs → chunk-3DC6MHW6.cjs} +31 -31
  2. package/dist/{chunk-GYKDSPC4.cjs.map → chunk-3DC6MHW6.cjs.map} +1 -1
  3. package/dist/{chunk-EFIEQ4XD.js → chunk-46DHPQY6.js} +4 -4
  4. package/dist/{chunk-RCW2IL4K.cjs → chunk-6F5CGBVT.cjs} +692 -728
  5. package/dist/chunk-6F5CGBVT.cjs.map +1 -0
  6. package/dist/{chunk-HMFBMVJC.js → chunk-6GBA6YJN.js} +2 -2
  7. package/dist/{chunk-4HHYUEMD.js → chunk-7RLV3U5C.js} +2 -2
  8. package/dist/{chunk-SGJBUL2Y.cjs → chunk-7VMEOFEA.cjs} +45 -2
  9. package/dist/chunk-7VMEOFEA.cjs.map +1 -0
  10. package/dist/{chunk-UGFSMA7K.cjs → chunk-CMWRZECW.cjs} +77 -42
  11. package/dist/chunk-CMWRZECW.cjs.map +1 -0
  12. package/dist/{chunk-D524LJYO.js → chunk-HCMVLEC3.js} +4 -4
  13. package/dist/{chunk-LZL6P7SN.cjs → chunk-IG4QRNYZ.cjs} +10 -10
  14. package/dist/{chunk-LZL6P7SN.cjs.map → chunk-IG4QRNYZ.cjs.map} +1 -1
  15. package/dist/{chunk-CVGZJBHT.cjs → chunk-ISALYOFX.cjs} +19 -19
  16. package/dist/{chunk-CVGZJBHT.cjs.map → chunk-ISALYOFX.cjs.map} +1 -1
  17. package/dist/{chunk-MKVKVJQQ.js → chunk-J3QMPOS6.js} +5 -4
  18. package/dist/chunk-J3QMPOS6.js.map +1 -0
  19. package/dist/{chunk-LHR7MBUY.js → chunk-JK25REDL.js} +48 -13
  20. package/dist/chunk-JK25REDL.js.map +1 -0
  21. package/dist/{chunk-Z4IBEIWD.cjs → chunk-LGLPNWS6.cjs} +3 -3
  22. package/dist/{chunk-Z4IBEIWD.cjs.map → chunk-LGLPNWS6.cjs.map} +1 -1
  23. package/dist/{chunk-VAUI3CND.js → chunk-NR535XIY.js} +44 -1
  24. package/dist/chunk-NR535XIY.js.map +1 -0
  25. package/dist/{chunk-2FCXJTOV.js → chunk-QXSRQVRO.js} +3 -1
  26. package/dist/chunk-QXSRQVRO.js.map +1 -0
  27. package/dist/{chunk-6TB24AUH.js → chunk-S7IX7YU4.js} +154 -190
  28. package/dist/chunk-S7IX7YU4.js.map +1 -0
  29. package/dist/{chunk-6LK4VEXE.cjs → chunk-TSZBJVYK.cjs} +35 -31
  30. package/dist/chunk-TSZBJVYK.cjs.map +1 -0
  31. package/dist/{chunk-TU26IZPO.cjs → chunk-U6UNAC32.cjs} +3 -1
  32. package/dist/chunk-U6UNAC32.cjs.map +1 -0
  33. package/dist/{chunk-265KKBV2.js → chunk-V4IIBNTA.js} +3 -3
  34. package/dist/chunk-V4IIBNTA.js.map +1 -0
  35. package/dist/{chunk-2FAX6LZB.cjs → chunk-V4Q5PIBV.cjs} +30 -30
  36. package/dist/{chunk-2FAX6LZB.cjs.map → chunk-V4Q5PIBV.cjs.map} +1 -1
  37. package/dist/{chunk-LKI3YCAX.js → chunk-V5L4D454.js} +10 -6
  38. package/dist/chunk-V5L4D454.js.map +1 -0
  39. package/dist/{chunk-3TDLFCCS.cjs → chunk-ZJP2BB3E.cjs} +6 -5
  40. package/dist/chunk-ZJP2BB3E.cjs.map +1 -0
  41. package/dist/components/chat/entity-cards/entity-author-card.d.ts +13 -9
  42. package/dist/components/chat/entity-cards/entity-author-card.d.ts.map +1 -1
  43. package/dist/components/chat/index.cjs +9 -7
  44. package/dist/components/chat/index.cjs.map +1 -1
  45. package/dist/components/chat/index.d.ts +1 -0
  46. package/dist/components/chat/index.d.ts.map +1 -1
  47. package/dist/components/chat/index.js +8 -6
  48. package/dist/components/chat/types/entities/onboarding-guide.d.ts +2 -7
  49. package/dist/components/chat/types/entities/onboarding-guide.d.ts.map +1 -1
  50. package/dist/components/contact/index.cjs +8 -8
  51. package/dist/components/contact/index.js +7 -7
  52. package/dist/components/faq/faq-section.d.ts.map +1 -1
  53. package/dist/components/faq/index.cjs +3 -3
  54. package/dist/components/faq/index.js +2 -2
  55. package/dist/components/features/index.cjs +7 -7
  56. package/dist/components/features/index.js +6 -6
  57. package/dist/components/icons/index.cjs +2 -2
  58. package/dist/components/icons/index.js +1 -1
  59. package/dist/components/index.cjs +166 -156
  60. package/dist/components/index.cjs.map +1 -1
  61. package/dist/components/index.js +54 -44
  62. package/dist/components/index.js.map +1 -1
  63. package/dist/components/navigation/index.cjs +7 -7
  64. package/dist/components/navigation/index.js +6 -6
  65. package/dist/components/onboarding-guides/index.cjs +25 -23
  66. package/dist/components/onboarding-guides/index.cjs.map +1 -1
  67. package/dist/components/onboarding-guides/index.js +6 -4
  68. package/dist/components/onboarding-guides/index.js.map +1 -1
  69. package/dist/components/onboarding-guides/onboarding-guide-detail-view.d.ts +4 -1
  70. package/dist/components/onboarding-guides/onboarding-guide-detail-view.d.ts.map +1 -1
  71. package/dist/components/related-content/index.cjs +10 -8
  72. package/dist/components/related-content/index.cjs.map +1 -1
  73. package/dist/components/related-content/index.d.ts +1 -1
  74. package/dist/components/related-content/index.d.ts.map +1 -1
  75. package/dist/components/related-content/index.js +9 -7
  76. package/dist/components/related-content/related-content-section.d.ts +16 -1
  77. package/dist/components/related-content/related-content-section.d.ts.map +1 -1
  78. package/dist/components/shared/product-release/release-detail-page.d.ts +4 -1
  79. package/dist/components/shared/product-release/release-detail-page.d.ts.map +1 -1
  80. package/dist/components/social-icon-row.d.ts +17 -4
  81. package/dist/components/social-icon-row.d.ts.map +1 -1
  82. package/dist/components/tickets/index.cjs +80 -80
  83. package/dist/components/tickets/index.js +8 -8
  84. package/dist/components/ui/button/button.d.ts.map +1 -1
  85. package/dist/components/ui/file-manager/index.cjs +20 -20
  86. package/dist/components/ui/file-manager/index.js +1 -1
  87. package/dist/components/ui/index.cjs +9 -7
  88. package/dist/components/ui/index.cjs.map +1 -1
  89. package/dist/components/ui/index.js +8 -6
  90. package/dist/hooks/index.cjs +3 -3
  91. package/dist/hooks/index.js +2 -2
  92. package/dist/index.cjs +12 -8
  93. package/dist/index.cjs.map +1 -1
  94. package/dist/index.js +16 -12
  95. package/dist/types/blog.d.ts +7 -0
  96. package/dist/types/blog.d.ts.map +1 -1
  97. package/dist/types/entity-author.d.ts +18 -0
  98. package/dist/types/entity-author.d.ts.map +1 -0
  99. package/dist/types/index.cjs.map +1 -1
  100. package/dist/types/index.d.ts +1 -0
  101. package/dist/types/index.d.ts.map +1 -1
  102. package/dist/types/index.js.map +1 -1
  103. package/dist/types/product-release.d.ts +2 -7
  104. package/dist/types/product-release.d.ts.map +1 -1
  105. package/dist/utils/common.d.ts +9 -0
  106. package/dist/utils/common.d.ts.map +1 -1
  107. package/dist/utils/index.cjs +6 -2
  108. package/dist/utils/index.cjs.map +1 -1
  109. package/dist/utils/index.d.ts +1 -1
  110. package/dist/utils/index.d.ts.map +1 -1
  111. package/dist/utils/index.js +6 -3
  112. package/dist/utils/index.js.map +1 -1
  113. package/package.json +1 -1
  114. package/src/components/chat/entity-cards/entity-author-card.tsx +30 -11
  115. package/src/components/chat/index.ts +1 -0
  116. package/src/components/chat/types/entities/onboarding-guide.ts +3 -7
  117. package/src/components/faq/faq-section.tsx +4 -1
  118. package/src/components/icons/x-logo.tsx +2 -2
  119. package/src/components/onboarding-guides/onboarding-guide-detail-view.tsx +5 -0
  120. package/src/components/related-content/index.ts +1 -0
  121. package/src/components/related-content/related-content-section.tsx +84 -8
  122. package/src/components/shared/product-release/release-detail-page.tsx +18 -21
  123. package/src/components/social-icon-row.tsx +51 -22
  124. package/src/components/ui/button/button.tsx +7 -0
  125. package/src/types/blog.ts +9 -1
  126. package/src/types/entity-author.ts +17 -0
  127. package/src/types/index.ts +1 -0
  128. package/src/types/product-release.ts +2 -7
  129. package/src/utils/common.ts +12 -0
  130. package/src/utils/index.ts +1 -1
  131. package/dist/chunk-265KKBV2.js.map +0 -1
  132. package/dist/chunk-2FCXJTOV.js.map +0 -1
  133. package/dist/chunk-3TDLFCCS.cjs.map +0 -1
  134. package/dist/chunk-6LK4VEXE.cjs.map +0 -1
  135. package/dist/chunk-6TB24AUH.js.map +0 -1
  136. package/dist/chunk-LHR7MBUY.js.map +0 -1
  137. package/dist/chunk-LKI3YCAX.js.map +0 -1
  138. package/dist/chunk-MKVKVJQQ.js.map +0 -1
  139. package/dist/chunk-RCW2IL4K.cjs.map +0 -1
  140. package/dist/chunk-SGJBUL2Y.cjs.map +0 -1
  141. package/dist/chunk-TU26IZPO.cjs.map +0 -1
  142. package/dist/chunk-UGFSMA7K.cjs.map +0 -1
  143. package/dist/chunk-VAUI3CND.js.map +0 -1
  144. /package/dist/{chunk-EFIEQ4XD.js.map → chunk-46DHPQY6.js.map} +0 -0
  145. /package/dist/{chunk-HMFBMVJC.js.map → chunk-6GBA6YJN.js.map} +0 -0
  146. /package/dist/{chunk-4HHYUEMD.js.map → chunk-7RLV3U5C.js.map} +0 -0
  147. /package/dist/{chunk-D524LJYO.js.map → chunk-HCMVLEC3.js.map} +0 -0
@@ -3,10 +3,11 @@
3
3
  import {
4
4
  FaqAccordion,
5
5
  FaqSection
6
- } from "../chunk-MKVKVJQQ.js";
6
+ } from "../chunk-J3QMPOS6.js";
7
7
  import {
8
+ GROUP_PAGE_SIZE,
8
9
  RelatedContentSection
9
- } from "../chunk-LHR7MBUY.js";
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-D524LJYO.js";
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-4HHYUEMD.js";
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-6TB24AUH.js";
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-HMFBMVJC.js";
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-VAUI3CND.js";
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-LKI3YCAX.js";
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-2FCXJTOV.js";
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-265KKBV2.js";
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) => /* @__PURE__ */ jsx14(
2181
- Button,
2182
- {
2183
- asChild: true,
2184
- variant,
2185
- size: "icon",
2186
- className: "flex-1",
2187
- children: /* @__PURE__ */ jsx14(
2188
- "a",
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
- target: "_blank",
2192
- rel: "noopener noreferrer",
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
- index
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__ */ jsxs42("div", { className: "bg-ods-card p-4 flex items-center gap-3", children: [
5938
- /* @__PURE__ */ jsx52(
5939
- SquareAvatar,
5940
- {
5941
- src: author?.avatar_url || "",
5942
- alt: author?.full_name || "Author",
5943
- fallback: nameInitials(author?.full_name || "Unknown", ""),
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,