@flamingo-stack/openframe-frontend-core 0.0.292 → 0.0.293

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 (155) hide show
  1. package/dist/{chunk-6FHO73AP.js → chunk-26PKDALD.js} +7 -79
  2. package/dist/chunk-26PKDALD.js.map +1 -0
  3. package/dist/{chunk-B2U6INNO.js → chunk-2U2M2TG2.js} +4 -4
  4. package/dist/{chunk-OXOTKEYY.cjs → chunk-4W7NYJ3B.cjs} +23 -23
  5. package/dist/{chunk-OXOTKEYY.cjs.map → chunk-4W7NYJ3B.cjs.map} +1 -1
  6. package/dist/{chunk-KBKZYJRI.cjs → chunk-5E2HOSSH.cjs} +66 -19
  7. package/dist/chunk-5E2HOSSH.cjs.map +1 -0
  8. package/dist/{chunk-PZZGDS5I.cjs → chunk-6G2INVGG.cjs} +24 -22
  9. package/dist/chunk-6G2INVGG.cjs.map +1 -0
  10. package/dist/{chunk-CUQH4SHH.js → chunk-6GCI7JOE.js} +2 -2
  11. package/dist/{chunk-N6ZM5PYZ.js → chunk-7RIYT7ZH.js} +49 -2
  12. package/dist/chunk-7RIYT7ZH.js.map +1 -0
  13. package/dist/{chunk-E2YXRSDG.js → chunk-BRNHX6C6.js} +15 -13
  14. package/dist/chunk-BRNHX6C6.js.map +1 -0
  15. package/dist/{chunk-5FK7X3EE.js → chunk-DOMJSNXW.js} +8 -7
  16. package/dist/chunk-DOMJSNXW.js.map +1 -0
  17. package/dist/{chunk-VK4B6UGU.js → chunk-E4XABBSU.js} +16 -8
  18. package/dist/{chunk-VK4B6UGU.js.map → chunk-E4XABBSU.js.map} +1 -1
  19. package/dist/{chunk-DUIWR7RQ.js → chunk-EJXHZX2E.js} +3 -3
  20. package/dist/{chunk-5PELVUFT.cjs → chunk-EYEW6PTA.cjs} +44 -36
  21. package/dist/chunk-EYEW6PTA.cjs.map +1 -0
  22. package/dist/{chunk-HTYUZXQP.js → chunk-FJDPUPXC.js} +5 -5
  23. package/dist/{chunk-SLP4KXP6.js → chunk-FQJK446R.js} +8 -2
  24. package/dist/chunk-FQJK446R.js.map +1 -0
  25. package/dist/{chunk-JC5RN7ZS.cjs → chunk-FT4FCV7L.cjs} +6 -6
  26. package/dist/{chunk-JC5RN7ZS.cjs.map → chunk-FT4FCV7L.cjs.map} +1 -1
  27. package/dist/{chunk-ZHNL2IPK.cjs → chunk-J54Z3OCR.cjs} +8 -2
  28. package/dist/chunk-J54Z3OCR.cjs.map +1 -0
  29. package/dist/{chunk-2NJ44RTT.cjs → chunk-JSOMFVEV.cjs} +30 -30
  30. package/dist/{chunk-2NJ44RTT.cjs.map → chunk-JSOMFVEV.cjs.map} +1 -1
  31. package/dist/{chunk-Z6BK4XHH.cjs → chunk-KXCRGTRN.cjs} +10 -82
  32. package/dist/chunk-KXCRGTRN.cjs.map +1 -0
  33. package/dist/{chunk-5KD3S25X.cjs → chunk-LFGGF7OT.cjs} +139 -2
  34. package/dist/chunk-LFGGF7OT.cjs.map +1 -0
  35. package/dist/{chunk-N45M3TK3.js → chunk-NSPOYUBH.js} +2 -2
  36. package/dist/{chunk-TYZEMPPH.js → chunk-OQ6X7ZOC.js} +138 -1
  37. package/dist/chunk-OQ6X7ZOC.js.map +1 -0
  38. package/dist/{chunk-MDLWEJAV.cjs → chunk-RJL6PIOK.cjs} +454 -453
  39. package/dist/chunk-RJL6PIOK.cjs.map +1 -0
  40. package/dist/{chunk-IXDTNQF4.js → chunk-SOJCR63T.js} +4 -4
  41. package/dist/{chunk-5R5OODNE.cjs → chunk-TYMUKFP2.cjs} +40 -40
  42. package/dist/{chunk-5R5OODNE.cjs.map → chunk-TYMUKFP2.cjs.map} +1 -1
  43. package/dist/{chunk-CDJOKNCS.cjs → chunk-VTY7S2QG.cjs} +25 -19
  44. package/dist/chunk-VTY7S2QG.cjs.map +1 -0
  45. package/dist/{chunk-FFP2A77V.cjs → chunk-X3TSMCKX.cjs} +12 -12
  46. package/dist/{chunk-FFP2A77V.cjs.map → chunk-X3TSMCKX.cjs.map} +1 -1
  47. package/dist/{chunk-C667P6LZ.js → chunk-YICTMMXP.js} +13 -7
  48. package/dist/{chunk-C667P6LZ.js.map → chunk-YICTMMXP.js.map} +1 -1
  49. package/dist/{chunk-2BMVBPC7.cjs → chunk-YIGPRLQY.cjs} +9 -9
  50. package/dist/{chunk-2BMVBPC7.cjs.map → chunk-YIGPRLQY.cjs.map} +1 -1
  51. package/dist/components/chat/entity-cards/roadmap-card.d.ts +7 -1
  52. package/dist/components/chat/entity-cards/roadmap-card.d.ts.map +1 -1
  53. package/dist/components/chat/index.cjs +7 -7
  54. package/dist/components/chat/index.js +6 -6
  55. package/dist/components/contact/index.cjs +8 -8
  56. package/dist/components/contact/index.js +7 -7
  57. package/dist/components/docs/index.cjs +6 -6
  58. package/dist/components/docs/index.js +5 -5
  59. package/dist/components/docs/use-document-tree.d.ts.map +1 -1
  60. package/dist/components/embeds/index.cjs +8 -8
  61. package/dist/components/embeds/index.js +7 -7
  62. package/dist/components/faq/faq-section.d.ts.map +1 -1
  63. package/dist/components/faq/index.cjs +8 -8
  64. package/dist/components/faq/index.js +7 -7
  65. package/dist/components/features/index.cjs +7 -7
  66. package/dist/components/features/index.js +6 -6
  67. package/dist/components/index.cjs +214 -193
  68. package/dist/components/index.cjs.map +1 -1
  69. package/dist/components/index.js +50 -29
  70. package/dist/components/index.js.map +1 -1
  71. package/dist/components/navigation/index.cjs +7 -7
  72. package/dist/components/navigation/index.js +6 -6
  73. package/dist/components/onboarding-guides/index.cjs +24 -24
  74. package/dist/components/onboarding-guides/index.js +4 -4
  75. package/dist/components/related-content/index.cjs +8 -8
  76. package/dist/components/related-content/index.js +7 -7
  77. package/dist/components/shared/delivery/delivery-lists.d.ts.map +1 -1
  78. package/dist/components/shared/delivery/delivery-row.d.ts +8 -1
  79. package/dist/components/shared/delivery/delivery-row.d.ts.map +1 -1
  80. package/dist/components/shared/delivery/delivery-table.d.ts.map +1 -1
  81. package/dist/components/shared/roadmap/roadmap-grid.d.ts.map +1 -1
  82. package/dist/components/shared/roadmap/roadmap-view.d.ts.map +1 -1
  83. package/dist/components/tickets/help-center-card.d.ts +7 -1
  84. package/dist/components/tickets/help-center-card.d.ts.map +1 -1
  85. package/dist/components/tickets/help-center-list.d.ts.map +1 -1
  86. package/dist/components/tickets/index.cjs +82 -73
  87. package/dist/components/tickets/index.cjs.map +1 -1
  88. package/dist/components/tickets/index.js +24 -15
  89. package/dist/components/tickets/index.js.map +1 -1
  90. package/dist/components/tickets/ticket-center.d.ts.map +1 -1
  91. package/dist/components/tickets/ticket-row.d.ts +6 -1
  92. package/dist/components/tickets/ticket-row.d.ts.map +1 -1
  93. package/dist/components/ui/index.cjs +7 -7
  94. package/dist/components/ui/index.js +6 -6
  95. package/dist/hooks/index.cjs +5 -3
  96. package/dist/hooks/index.cjs.map +1 -1
  97. package/dist/hooks/index.d.ts +1 -0
  98. package/dist/hooks/index.d.ts.map +1 -1
  99. package/dist/hooks/index.js +4 -2
  100. package/dist/hooks/use-scroll-to-hash.d.ts +17 -0
  101. package/dist/hooks/use-scroll-to-hash.d.ts.map +1 -0
  102. package/dist/index.cjs +19 -7
  103. package/dist/index.cjs.map +1 -1
  104. package/dist/index.js +19 -7
  105. package/dist/utils/dev-sections/dev-section-param-keys.d.ts +10 -0
  106. package/dist/utils/dev-sections/dev-section-param-keys.d.ts.map +1 -1
  107. package/dist/utils/index.cjs +71 -1
  108. package/dist/utils/index.cjs.map +1 -1
  109. package/dist/utils/index.d.ts +2 -1
  110. package/dist/utils/index.d.ts.map +1 -1
  111. package/dist/utils/index.js +67 -2
  112. package/dist/utils/index.js.map +1 -1
  113. package/dist/utils/same-page-hash-nav.d.ts +37 -0
  114. package/dist/utils/same-page-hash-nav.d.ts.map +1 -0
  115. package/dist/utils/source-icons.d.ts.map +1 -1
  116. package/package.json +1 -1
  117. package/src/components/chat/entity-cards/roadmap-card.tsx +8 -1
  118. package/src/components/docs/use-document-tree.ts +45 -3
  119. package/src/components/faq/faq-section.tsx +22 -9
  120. package/src/components/shared/delivery/delivery-lists.tsx +9 -0
  121. package/src/components/shared/delivery/delivery-row.tsx +15 -2
  122. package/src/components/shared/delivery/delivery-table.tsx +7 -1
  123. package/src/components/shared/roadmap/roadmap-grid.tsx +7 -0
  124. package/src/components/shared/roadmap/roadmap-view.tsx +11 -0
  125. package/src/components/tickets/help-center-card.tsx +9 -17
  126. package/src/components/tickets/help-center-list.tsx +13 -0
  127. package/src/components/tickets/ticket-center.tsx +2 -0
  128. package/src/components/tickets/ticket-row.tsx +7 -1
  129. package/src/hooks/index.ts +5 -0
  130. package/src/hooks/use-scroll-to-hash.ts +74 -0
  131. package/src/utils/.source-icons.md +1 -1
  132. package/src/utils/dev-sections/dev-section-param-keys.ts +14 -0
  133. package/src/utils/index.ts +17 -1
  134. package/src/utils/same-page-hash-nav.ts +115 -0
  135. package/src/utils/source-icons.ts +7 -1
  136. package/dist/chunk-5FK7X3EE.js.map +0 -1
  137. package/dist/chunk-5KD3S25X.cjs.map +0 -1
  138. package/dist/chunk-5PELVUFT.cjs.map +0 -1
  139. package/dist/chunk-6FHO73AP.js.map +0 -1
  140. package/dist/chunk-CDJOKNCS.cjs.map +0 -1
  141. package/dist/chunk-E2YXRSDG.js.map +0 -1
  142. package/dist/chunk-KBKZYJRI.cjs.map +0 -1
  143. package/dist/chunk-MDLWEJAV.cjs.map +0 -1
  144. package/dist/chunk-N6ZM5PYZ.js.map +0 -1
  145. package/dist/chunk-PZZGDS5I.cjs.map +0 -1
  146. package/dist/chunk-SLP4KXP6.js.map +0 -1
  147. package/dist/chunk-TYZEMPPH.js.map +0 -1
  148. package/dist/chunk-Z6BK4XHH.cjs.map +0 -1
  149. package/dist/chunk-ZHNL2IPK.cjs.map +0 -1
  150. /package/dist/{chunk-B2U6INNO.js.map → chunk-2U2M2TG2.js.map} +0 -0
  151. /package/dist/{chunk-CUQH4SHH.js.map → chunk-6GCI7JOE.js.map} +0 -0
  152. /package/dist/{chunk-DUIWR7RQ.js.map → chunk-EJXHZX2E.js.map} +0 -0
  153. /package/dist/{chunk-HTYUZXQP.js.map → chunk-FJDPUPXC.js.map} +0 -0
  154. /package/dist/{chunk-N45M3TK3.js.map → chunk-NSPOYUBH.js.map} +0 -0
  155. /package/dist/{chunk-IXDTNQF4.js.map → chunk-SOJCR63T.js.map} +0 -0
@@ -29,7 +29,7 @@ import {
29
29
  useDocNavigation,
30
30
  useDocumentTree,
31
31
  useScrollSpy
32
- } from "../chunk-VK4B6UGU.js";
32
+ } from "../chunk-E4XABBSU.js";
33
33
  import {
34
34
  EmbedIframe,
35
35
  FigmaEmbed,
@@ -37,16 +37,16 @@ import {
37
37
  OGLinkErrorBoundary,
38
38
  OGLinkPreview,
39
39
  PdfViewer
40
- } from "../chunk-B2U6INNO.js";
40
+ } from "../chunk-2U2M2TG2.js";
41
41
  import {
42
42
  FaqAccordion,
43
43
  FaqDocumentPage,
44
44
  FaqSection
45
- } from "../chunk-E2YXRSDG.js";
45
+ } from "../chunk-BRNHX6C6.js";
46
46
  import {
47
47
  GROUP_PAGE_SIZE,
48
48
  RelatedContentSection
49
- } from "../chunk-HTYUZXQP.js";
49
+ } from "../chunk-FJDPUPXC.js";
50
50
  import {
51
51
  DeliveryRow,
52
52
  DevCardRowContent,
@@ -58,11 +58,11 @@ import {
58
58
  UnifiedPagination,
59
59
  init_unified_pagination,
60
60
  unified_pagination_exports
61
- } from "../chunk-C667P6LZ.js";
61
+ } from "../chunk-YICTMMXP.js";
62
62
  import {
63
63
  ArticleAuthorByline,
64
64
  DetailPageSkeleton
65
- } from "../chunk-DUIWR7RQ.js";
65
+ } from "../chunk-EJXHZX2E.js";
66
66
  import {
67
67
  DocSearchBar,
68
68
  DocSearchResultRow,
@@ -70,7 +70,7 @@ import {
70
70
  mapDocSearchResults,
71
71
  resolveSearchResultAction,
72
72
  useDocSearch
73
- } from "../chunk-CUQH4SHH.js";
73
+ } from "../chunk-6GCI7JOE.js";
74
74
  import {
75
75
  useSelfFetch
76
76
  } from "../chunk-3ZXUQQL4.js";
@@ -650,7 +650,7 @@ import {
650
650
  useTrackerClock,
651
651
  useUnifiedChat,
652
652
  usesCanonicalStatusStyle
653
- } from "../chunk-5FK7X3EE.js";
653
+ } from "../chunk-DOMJSNXW.js";
654
654
  import {
655
655
  ANTHROPIC_SUPPORTED_IMAGE_MIME,
656
656
  AUTO_CONTINUATION_DIRECTIVE_PREFIX,
@@ -670,6 +670,7 @@ import {
670
670
  buildChatAttachmentViewUrl,
671
671
  buildDiscussAddendum,
672
672
  clickupTaskUrl,
673
+ devSectionAnchorId,
673
674
  escapeMarkdownInline,
674
675
  extractEntityIdFilter,
675
676
  flattenAssistantContent,
@@ -684,7 +685,7 @@ import {
684
685
  sanitizeTitleForChat,
685
686
  stripChatAttachmentMarkdown,
686
687
  useSectionNavigation
687
- } from "../chunk-6FHO73AP.js";
688
+ } from "../chunk-26PKDALD.js";
688
689
  import {
689
690
  CommandApprovalToast,
690
691
  ToastCard,
@@ -694,9 +695,12 @@ import {
694
695
  showCommandApprovalToast,
695
696
  showToast,
696
697
  useOnboardingState,
698
+ useScrollToHash,
697
699
  useToast
698
- } from "../chunk-N6ZM5PYZ.js";
699
- import "../chunk-TYZEMPPH.js";
700
+ } from "../chunk-7RIYT7ZH.js";
701
+ import {
702
+ STICKY_HEADER_OFFSET_PX
703
+ } from "../chunk-OQ6X7ZOC.js";
700
704
  import {
701
705
  useEndpointsRuntime
702
706
  } from "../chunk-MJNXIEV2.js";
@@ -773,7 +777,7 @@ import {
773
777
  usePageActionsBottomPadding,
774
778
  useVideoOriginPreconnect,
775
779
  useVideoWarmup
776
- } from "../chunk-N45M3TK3.js";
780
+ } from "../chunk-NSPOYUBH.js";
777
781
  import {
778
782
  COMPACT_CARD_ICON_SLOT,
779
783
  COMPACT_CARD_IMAGE_SLOT,
@@ -819,7 +823,7 @@ import {
819
823
  safeHref,
820
824
  stripSameOriginToPath,
821
825
  tagVariants
822
- } from "../chunk-SLP4KXP6.js";
826
+ } from "../chunk-FQJK446R.js";
823
827
  import {
824
828
  contentFetch
825
829
  } from "../chunk-3MCHAFHB.js";
@@ -5503,15 +5507,23 @@ function RoadmapGridSingle({
5503
5507
  onVote,
5504
5508
  votingTasks
5505
5509
  }) {
5506
- return /* @__PURE__ */ jsx51("div", { className: `grid grid-cols-1 md:grid-cols-2 gap-6 ${showLeftMargin ? "md:ml-[120px]" : ""}`, children: items.map((item) => /* @__PURE__ */ jsx51(
5507
- RoadmapCard,
5508
- {
5509
- item,
5510
- userVote: getVote(item.id),
5511
- onVote: (voteType) => onVote(item.id, voteType),
5512
- isVoting: votingTasks.has(item.id)
5513
- },
5514
- item.id
5510
+ return /* @__PURE__ */ jsx51("div", { className: `grid grid-cols-1 md:grid-cols-2 gap-6 ${showLeftMargin ? "md:ml-[120px]" : ""}`, children: items.map((item) => (
5511
+ // DOM id + sticky-header scroll offset live ON RoadmapCard's own
5512
+ // outer element (no wrapper div). Anchor mirrors
5513
+ // `buildDevSectionUrl('roadmap', <id>)` → `#roadmap-<external_id>`;
5514
+ // `useScrollToHash` in `roadmap-view.tsx` finds the card by id
5515
+ // and scrolls.
5516
+ /* @__PURE__ */ jsx51(
5517
+ RoadmapCard,
5518
+ {
5519
+ item,
5520
+ id: devSectionAnchorId("roadmap", item.id),
5521
+ userVote: getVote(item.id),
5522
+ onVote: (voteType) => onVote(item.id, voteType),
5523
+ isVoting: votingTasks.has(item.id)
5524
+ },
5525
+ item.id
5526
+ )
5515
5527
  )) });
5516
5528
  }
5517
5529
  function RoadmapGrid({
@@ -5728,6 +5740,7 @@ function RoadmapView({
5728
5740
  { initialData }
5729
5741
  );
5730
5742
  const items = data?.items ?? [];
5743
+ useScrollToHash(data, { headerOffset: STICKY_HEADER_OFFSET_PX });
5731
5744
  if (error) {
5732
5745
  return /* @__PURE__ */ jsx53(LoadError, { message: "Failed to load roadmap.", onRetry: reload });
5733
5746
  }
@@ -5779,13 +5792,20 @@ function DeliveryTable({ items, isLoading = false }) {
5779
5792
  if (items.length === 0) {
5780
5793
  return /* @__PURE__ */ jsx54("div", { className: "bg-ods-card border border-ods-border rounded-[6px] p-[40px] text-center w-full", children: /* @__PURE__ */ jsx54("p", { className: "text-ods-text-secondary text-[14px] font-['DM_Sans'] font-medium", children: "No tasks available" }) });
5781
5794
  }
5782
- return /* @__PURE__ */ jsx54("div", { className: "bg-ods-card border border-ods-border rounded-[6px] overflow-hidden w-full", children: /* @__PURE__ */ jsx54("div", { className: "w-full", children: items.map((item) => /* @__PURE__ */ jsx54(
5783
- "div",
5784
- {
5785
- className: "border-b border-ods-border last:border-b-0",
5786
- children: /* @__PURE__ */ jsx54(DeliveryRow, { item })
5787
- },
5788
- item.id
5795
+ return /* @__PURE__ */ jsx54("div", { className: "bg-ods-card border border-ods-border rounded-[6px] overflow-hidden w-full", children: /* @__PURE__ */ jsx54("div", { className: "w-full", children: items.map((item) => (
5796
+ // DOM id lives on DeliveryRow's own outer element (no wrapper
5797
+ // div). Anchor mirrors `buildDevSectionUrl('delivery', <id>)`
5798
+ // `#delivery-<external_id>`; `useScrollToHash` in
5799
+ // `delivery-lists.tsx` finds the row by id and scrolls. The
5800
+ // outer wrapper here ONLY exists for the row separators.
5801
+ /* @__PURE__ */ jsx54(
5802
+ "div",
5803
+ {
5804
+ className: "border-b border-ods-border last:border-b-0",
5805
+ children: /* @__PURE__ */ jsx54(DeliveryRow, { item, id: devSectionAnchorId("delivery", item.id) })
5806
+ },
5807
+ item.id
5808
+ )
5789
5809
  )) }) });
5790
5810
  }
5791
5811
 
@@ -5849,6 +5869,7 @@ function DeliveryLists({
5849
5869
  }, [searchQuery, taskTypeFilter, completedApiEndpoint, inProgressApiEndpoint, searchParamKey, taskTypeParamKey]);
5850
5870
  const filteredCompleted = data?.completed || [];
5851
5871
  const filteredInProgress = data?.inProgress || [];
5872
+ useScrollToHash(data, { headerOffset: STICKY_HEADER_OFFSET_PX });
5852
5873
  const showCompleted = true;
5853
5874
  const showInProgress = true;
5854
5875
  const hasActiveFilters = searchQuery !== "" || taskTypeFilter !== "all";