@flamingo-stack/openframe-frontend-core 0.0.315 → 0.0.316

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 (163) hide show
  1. package/dist/{chunk-7U4YFQX2.js → chunk-2Y4DLBFO.js} +96 -92
  2. package/dist/{chunk-7U4YFQX2.js.map → chunk-2Y4DLBFO.js.map} +1 -1
  3. package/dist/{chunk-HATCNFQL.cjs → chunk-4MCMPYEM.cjs} +12 -12
  4. package/dist/{chunk-HATCNFQL.cjs.map → chunk-4MCMPYEM.cjs.map} +1 -1
  5. package/dist/{chunk-VY5YF4B7.js → chunk-4NVA6W3J.js} +27 -22
  6. package/dist/chunk-4NVA6W3J.js.map +1 -0
  7. package/dist/chunk-4V3TCOFC.cjs +394 -0
  8. package/dist/chunk-4V3TCOFC.cjs.map +1 -0
  9. package/dist/{chunk-A2H6TFS4.cjs → chunk-63A53WQN.cjs} +33 -33
  10. package/dist/{chunk-A2H6TFS4.cjs.map → chunk-63A53WQN.cjs.map} +1 -1
  11. package/dist/{chunk-6W54MBU2.js → chunk-64DZ2J7Q.js} +5 -5
  12. package/dist/{chunk-47JZOP7Y.js → chunk-6KERXOFE.js} +3 -3
  13. package/dist/{chunk-JALO4TAZ.js → chunk-AI5X5JTD.js} +4 -4
  14. package/dist/chunk-CSLMCBZV.js +1464 -0
  15. package/dist/chunk-CSLMCBZV.js.map +1 -0
  16. package/dist/{chunk-BSAFGQVW.cjs → chunk-CUNMBP3A.cjs} +13 -13
  17. package/dist/{chunk-BSAFGQVW.cjs.map → chunk-CUNMBP3A.cjs.map} +1 -1
  18. package/dist/{chunk-TVNILN2F.cjs → chunk-DHVL36CA.cjs} +40 -40
  19. package/dist/{chunk-TVNILN2F.cjs.map → chunk-DHVL36CA.cjs.map} +1 -1
  20. package/dist/chunk-FCEVVNWY.cjs +1916 -0
  21. package/dist/chunk-FCEVVNWY.cjs.map +1 -0
  22. package/dist/chunk-FOVX3W3C.cjs +1464 -0
  23. package/dist/chunk-FOVX3W3C.cjs.map +1 -0
  24. package/dist/{chunk-4D37W55K.js → chunk-GHVVOST5.js} +95 -116
  25. package/dist/chunk-GHVVOST5.js.map +1 -0
  26. package/dist/{chunk-TRSDXD23.js → chunk-JAZM3A7E.js} +2 -2
  27. package/dist/{chunk-TK6OABYF.js → chunk-JEBL5PQK.js} +21 -35
  28. package/dist/{chunk-TK6OABYF.js.map → chunk-JEBL5PQK.js.map} +1 -1
  29. package/dist/{chunk-5ATH263N.cjs → chunk-L5JSGNT3.cjs} +35 -35
  30. package/dist/{chunk-5ATH263N.cjs.map → chunk-L5JSGNT3.cjs.map} +1 -1
  31. package/dist/{chunk-TQ7CMFSY.cjs → chunk-LAMDFGE3.cjs} +41 -36
  32. package/dist/chunk-LAMDFGE3.cjs.map +1 -0
  33. package/dist/{chunk-V4IIBNTA.js → chunk-LQHMXPOJ.js} +5 -5
  34. package/dist/{chunk-LGLPNWS6.cjs → chunk-LWNPMLIH.cjs} +3 -3
  35. package/dist/{chunk-LGLPNWS6.cjs.map → chunk-LWNPMLIH.cjs.map} +1 -1
  36. package/dist/chunk-M3NULYCR.js +1916 -0
  37. package/dist/chunk-M3NULYCR.js.map +1 -0
  38. package/dist/{chunk-MOOV4ORG.js → chunk-OKGZK6TT.js} +3 -3
  39. package/dist/{chunk-WFHNXCI3.cjs → chunk-OLEW7FYZ.cjs} +123 -144
  40. package/dist/chunk-OLEW7FYZ.cjs.map +1 -0
  41. package/dist/chunk-PIJ4JLJU.js +394 -0
  42. package/dist/chunk-PIJ4JLJU.js.map +1 -0
  43. package/dist/{chunk-E4CQ4RUG.js → chunk-Q4AMYLKX.js} +11 -11
  44. package/dist/{chunk-FQOTC3UU.cjs → chunk-QJGRP2YE.cjs} +4 -4
  45. package/dist/{chunk-FQOTC3UU.cjs.map → chunk-QJGRP2YE.cjs.map} +1 -1
  46. package/dist/{chunk-ZPK5HW7B.cjs → chunk-UGDGUO26.cjs} +3 -3
  47. package/dist/{chunk-ZPK5HW7B.cjs.map → chunk-UGDGUO26.cjs.map} +1 -1
  48. package/dist/{chunk-QW6OL4NY.cjs → chunk-VCE3ZEN3.cjs} +5 -5
  49. package/dist/{chunk-QW6OL4NY.cjs.map → chunk-VCE3ZEN3.cjs.map} +1 -1
  50. package/dist/{chunk-2JPSWDSM.cjs → chunk-XAQJ4ZLY.cjs} +447 -443
  51. package/dist/{chunk-2JPSWDSM.cjs.map → chunk-XAQJ4ZLY.cjs.map} +1 -1
  52. package/dist/{chunk-2MLMZAK4.js → chunk-YFGDZFUG.js} +4 -4
  53. package/dist/{chunk-VFIWQGJZ.js → chunk-Z3YORGG4.js} +2 -2
  54. package/dist/{chunk-OSEKWT6X.cjs → chunk-ZYGVJXJ5.cjs} +33 -47
  55. package/dist/chunk-ZYGVJXJ5.cjs.map +1 -0
  56. package/dist/components/case-studies/index.cjs +18 -18
  57. package/dist/components/case-studies/index.cjs.map +1 -1
  58. package/dist/components/case-studies/index.js +8 -8
  59. package/dist/components/chat/index.cjs +8 -8
  60. package/dist/components/chat/index.js +7 -7
  61. package/dist/components/contact/index.cjs +9 -9
  62. package/dist/components/contact/index.js +8 -8
  63. package/dist/components/docs/doc-viewer.d.ts +4 -0
  64. package/dist/components/docs/doc-viewer.d.ts.map +1 -1
  65. package/dist/components/docs/index.cjs +11 -11
  66. package/dist/components/docs/index.js +10 -10
  67. package/dist/components/embeds/index.cjs +9 -9
  68. package/dist/components/embeds/index.js +8 -8
  69. package/dist/components/faq/faq-document-page.d.ts +18 -20
  70. package/dist/components/faq/faq-document-page.d.ts.map +1 -1
  71. package/dist/components/faq/index.cjs +10 -10
  72. package/dist/components/faq/index.js +9 -9
  73. package/dist/components/features/index.cjs +8 -8
  74. package/dist/components/features/index.js +7 -7
  75. package/dist/components/help-center-pages/delivery-page.d.ts +27 -0
  76. package/dist/components/help-center-pages/delivery-page.d.ts.map +1 -0
  77. package/dist/components/help-center-pages/index.cjs +164 -0
  78. package/dist/components/help-center-pages/index.cjs.map +1 -0
  79. package/dist/components/help-center-pages/index.d.ts +25 -0
  80. package/dist/components/help-center-pages/index.d.ts.map +1 -0
  81. package/dist/components/help-center-pages/index.js +164 -0
  82. package/dist/components/help-center-pages/index.js.map +1 -0
  83. package/dist/components/help-center-pages/onboarding-guides-catalog-page.d.ts +41 -0
  84. package/dist/components/help-center-pages/onboarding-guides-catalog-page.d.ts.map +1 -0
  85. package/dist/components/help-center-pages/product-releases-list-page.d.ts +34 -0
  86. package/dist/components/help-center-pages/product-releases-list-page.d.ts.map +1 -0
  87. package/dist/components/help-center-pages/roadmap-page.d.ts +40 -0
  88. package/dist/components/help-center-pages/roadmap-page.d.ts.map +1 -0
  89. package/dist/components/icons/index.cjs +3 -3
  90. package/dist/components/icons/index.js +2 -2
  91. package/dist/components/index.cjs +177 -1555
  92. package/dist/components/index.cjs.map +1 -1
  93. package/dist/components/index.js +348 -1726
  94. package/dist/components/index.js.map +1 -1
  95. package/dist/components/layout/page-layout.d.ts +4 -1
  96. package/dist/components/layout/page-layout.d.ts.map +1 -1
  97. package/dist/components/layout/title-block.d.ts +5 -1
  98. package/dist/components/layout/title-block.d.ts.map +1 -1
  99. package/dist/components/navigation/index.cjs +8 -8
  100. package/dist/components/navigation/index.js +7 -7
  101. package/dist/components/onboarding-guides/index.cjs +15 -364
  102. package/dist/components/onboarding-guides/index.cjs.map +1 -1
  103. package/dist/components/onboarding-guides/index.js +20 -369
  104. package/dist/components/onboarding-guides/index.js.map +1 -1
  105. package/dist/components/onboarding-guides/onboarding-guide-detail-view.d.ts +9 -1
  106. package/dist/components/onboarding-guides/onboarding-guide-detail-view.d.ts.map +1 -1
  107. package/dist/components/related-content/index.cjs +10 -10
  108. package/dist/components/related-content/index.js +9 -9
  109. package/dist/components/shared/dev-section/dev-section-page.d.ts +7 -1
  110. package/dist/components/shared/dev-section/dev-section-page.d.ts.map +1 -1
  111. package/dist/components/shared/dev-section/dev-section-view.d.ts +7 -1
  112. package/dist/components/shared/dev-section/dev-section-view.d.ts.map +1 -1
  113. package/dist/components/shared/legal-document/legal-document-page.d.ts +5 -1
  114. package/dist/components/shared/legal-document/legal-document-page.d.ts.map +1 -1
  115. package/dist/components/shared/product-release/release-detail-page.d.ts +11 -2
  116. package/dist/components/shared/product-release/release-detail-page.d.ts.map +1 -1
  117. package/dist/components/tickets/help-center-list.d.ts +5 -1
  118. package/dist/components/tickets/help-center-list.d.ts.map +1 -1
  119. package/dist/components/tickets/index.cjs +15 -1882
  120. package/dist/components/tickets/index.cjs.map +1 -1
  121. package/dist/components/tickets/index.js +28 -1895
  122. package/dist/components/tickets/index.js.map +1 -1
  123. package/dist/components/ui/file-manager/index.cjs +53 -53
  124. package/dist/components/ui/file-manager/index.cjs.map +1 -1
  125. package/dist/components/ui/file-manager/index.js +4 -4
  126. package/dist/components/ui/index.cjs +8 -8
  127. package/dist/components/ui/index.cjs.map +1 -1
  128. package/dist/components/ui/index.js +7 -7
  129. package/dist/hooks/index.cjs +5 -5
  130. package/dist/hooks/index.js +4 -4
  131. package/dist/index.cjs +10 -10
  132. package/dist/index.cjs.map +1 -1
  133. package/dist/index.js +9 -9
  134. package/package.json +7 -1
  135. package/src/components/docs/doc-viewer.tsx +21 -34
  136. package/src/components/faq/faq-document-page.tsx +33 -60
  137. package/src/components/help-center-pages/delivery-page.tsx +45 -0
  138. package/src/components/help-center-pages/index.ts +41 -0
  139. package/src/components/help-center-pages/onboarding-guides-catalog-page.tsx +66 -0
  140. package/src/components/help-center-pages/product-releases-list-page.tsx +58 -0
  141. package/src/components/help-center-pages/roadmap-page.tsx +68 -0
  142. package/src/components/layout/page-layout.tsx +11 -0
  143. package/src/components/layout/title-block.tsx +15 -2
  144. package/src/components/onboarding-guides/onboarding-guide-detail-view.tsx +30 -19
  145. package/src/components/shared/dev-section/dev-section-page.tsx +29 -19
  146. package/src/components/shared/dev-section/dev-section-view.tsx +26 -19
  147. package/src/components/shared/legal-document/legal-document-page.tsx +19 -23
  148. package/src/components/shared/product-release/release-detail-page.tsx +36 -36
  149. package/src/components/tickets/help-center-list.tsx +11 -3
  150. package/dist/chunk-4D37W55K.js.map +0 -1
  151. package/dist/chunk-OSEKWT6X.cjs.map +0 -1
  152. package/dist/chunk-TQ7CMFSY.cjs.map +0 -1
  153. package/dist/chunk-VY5YF4B7.js.map +0 -1
  154. package/dist/chunk-WFHNXCI3.cjs.map +0 -1
  155. /package/dist/{chunk-6W54MBU2.js.map → chunk-64DZ2J7Q.js.map} +0 -0
  156. /package/dist/{chunk-47JZOP7Y.js.map → chunk-6KERXOFE.js.map} +0 -0
  157. /package/dist/{chunk-JALO4TAZ.js.map → chunk-AI5X5JTD.js.map} +0 -0
  158. /package/dist/{chunk-TRSDXD23.js.map → chunk-JAZM3A7E.js.map} +0 -0
  159. /package/dist/{chunk-V4IIBNTA.js.map → chunk-LQHMXPOJ.js.map} +0 -0
  160. /package/dist/{chunk-MOOV4ORG.js.map → chunk-OKGZK6TT.js.map} +0 -0
  161. /package/dist/{chunk-E4CQ4RUG.js.map → chunk-Q4AMYLKX.js.map} +0 -0
  162. /package/dist/{chunk-2MLMZAK4.js.map → chunk-YFGDZFUG.js.map} +0 -0
  163. /package/dist/{chunk-VFIWQGJZ.js.map → chunk-Z3YORGG4.js.map} +0 -0
@@ -112,19 +112,19 @@ import {
112
112
  useTrackerClock,
113
113
  useVideoOriginPreconnect,
114
114
  useVideoWarmup
115
- } from "../../chunk-7U4YFQX2.js";
116
- import "../../chunk-E4CQ4RUG.js";
115
+ } from "../../chunk-2Y4DLBFO.js";
116
+ import "../../chunk-Q4AMYLKX.js";
117
+ import "../../chunk-J7AV6H63.js";
117
118
  import "../../chunk-2FI3USTC.js";
118
119
  import "../../chunk-EL5YVPD5.js";
119
120
  import "../../chunk-PLJLE4A4.js";
120
121
  import "../../chunk-LXC6P2EO.js";
121
- import "../../chunk-JALO4TAZ.js";
122
- import "../../chunk-OHPI2HRK.js";
123
- import "../../chunk-V4IIBNTA.js";
124
- import "../../chunk-XTCBRQN2.js";
125
- import "../../chunk-J7AV6H63.js";
122
+ import "../../chunk-AI5X5JTD.js";
126
123
  import "../../chunk-6U3IUD57.js";
124
+ import "../../chunk-OHPI2HRK.js";
125
+ import "../../chunk-LQHMXPOJ.js";
127
126
  import "../../chunk-W72U7OU7.js";
127
+ import "../../chunk-XTCBRQN2.js";
128
128
  import "../../chunk-PHWQLKVE.js";
129
129
  import "../../chunk-GGWZFCYS.js";
130
130
  export {
@@ -0,0 +1,27 @@
1
+ /**
2
+ * `<DeliveryPage>` — the full bug-fixes & enhancements (`delivery`) page:
3
+ * `DevSectionPage sectionKey="delivery"` chrome wrapping the self-contained
4
+ * `<DeliveryLists>` (Recently Completed + Active Tasks tables). Hosts configure
5
+ * only the two bucket api routes.
6
+ */
7
+ import type { ReactNode } from 'react';
8
+ export interface DeliveryPageProps {
9
+ /** GET endpoint for the "Recently Completed" bucket. Default `/api/delivery/completed`. */
10
+ completedEndpoint?: string;
11
+ /** GET endpoint for the "Active Tasks" bucket. Default `/api/delivery/in-progress`. */
12
+ inProgressEndpoint?: string;
13
+ /** Back-button config. Pass `false` to hide. Default `{ href: '/' }`. */
14
+ backButton?: {
15
+ label?: string;
16
+ href?: string;
17
+ } | false;
18
+ title?: string;
19
+ subtitle?: string;
20
+ /** Optional slot rendered below the lists, inside the page chrome. */
21
+ belowContent?: ReactNode;
22
+ /** Render the standalone `<PageShell>`. Default true. Pass false when the host
23
+ * layout already provides the page container (forwarded to `DevSectionPage`). */
24
+ shell?: boolean;
25
+ }
26
+ export declare function DeliveryPage({ completedEndpoint, inProgressEndpoint, backButton, title, subtitle, belowContent, shell, }: DeliveryPageProps): import("react").JSX.Element;
27
+ //# sourceMappingURL=delivery-page.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delivery-page.d.ts","sourceRoot":"","sources":["../../../src/components/help-center-pages/delivery-page.tsx"],"names":[],"mappings":"AAEA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAItC,MAAM,WAAW,iBAAiB;IAChC,2FAA2F;IAC3F,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,uFAAuF;IACvF,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,yEAAyE;IACzE,UAAU,CAAC,EAAE;QAAE,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,KAAK,CAAA;IACtD,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,sEAAsE;IACtE,YAAY,CAAC,EAAE,SAAS,CAAA;IACxB;sFACkF;IAClF,KAAK,CAAC,EAAE,OAAO,CAAA;CAChB;AAED,wBAAgB,YAAY,CAAC,EAC3B,iBAAiB,EACjB,kBAAkB,EAClB,UAAU,EACV,KAAK,EACL,QAAQ,EACR,YAAY,EACZ,KAAK,GACN,EAAE,iBAAiB,+BAOnB"}
@@ -0,0 +1,164 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }"use client";
2
+ "use client";
3
+
4
+
5
+
6
+
7
+
8
+
9
+ var _chunkFOVX3W3Ccjs = require('../../chunk-FOVX3W3C.cjs');
10
+
11
+
12
+ var _chunkOLEW7FYZcjs = require('../../chunk-OLEW7FYZ.cjs');
13
+ require('../../chunk-CUNMBP3A.cjs');
14
+
15
+
16
+ var _chunkZYGVJXJ5cjs = require('../../chunk-ZYGVJXJ5.cjs');
17
+
18
+
19
+ var _chunkFCEVVNWYcjs = require('../../chunk-FCEVVNWY.cjs');
20
+ require('../../chunk-63A53WQN.cjs');
21
+
22
+
23
+ var _chunkLAMDFGE3cjs = require('../../chunk-LAMDFGE3.cjs');
24
+
25
+
26
+
27
+ var _chunk4V3TCOFCcjs = require('../../chunk-4V3TCOFC.cjs');
28
+ require('../../chunk-VCE3ZEN3.cjs');
29
+ require('../../chunk-4MCMPYEM.cjs');
30
+ require('../../chunk-UGDGUO26.cjs');
31
+ require('../../chunk-VFKQMAUF.cjs');
32
+ require('../../chunk-XAQJ4ZLY.cjs');
33
+ require('../../chunk-L5JSGNT3.cjs');
34
+ require('../../chunk-ZS2SBWBR.cjs');
35
+ require('../../chunk-N2DVKXN4.cjs');
36
+ require('../../chunk-BZFW3FOF.cjs');
37
+ require('../../chunk-G7UE6RKV.cjs');
38
+ require('../../chunk-XL4V2PYG.cjs');
39
+ require('../../chunk-QJGRP2YE.cjs');
40
+ require('../../chunk-WZW7C7TF.cjs');
41
+ require('../../chunk-WBR7H6E3.cjs');
42
+ require('../../chunk-LWNPMLIH.cjs');
43
+ require('../../chunk-XQFFGR6U.cjs');
44
+ require('../../chunk-FIG2RKZF.cjs');
45
+ require('../../chunk-PXXS27EE.cjs');
46
+ require('../../chunk-VRHGVLSL.cjs');
47
+
48
+ // src/components/help-center-pages/roadmap-page.tsx
49
+ var _jsxruntime = require('react/jsx-runtime');
50
+ function RoadmapPage({
51
+ roadmapEndpoint,
52
+ buildRefreshUrl,
53
+ voteApiEndpoint,
54
+ votingOptions,
55
+ initialItems,
56
+ showLeftMargin,
57
+ backButton,
58
+ title,
59
+ subtitle,
60
+ belowContent,
61
+ shell
62
+ }) {
63
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkLAMDFGE3cjs.DevSectionPage, { sectionKey: "roadmap", backButton, title, subtitle, shell, children: [
64
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
65
+ _chunkFOVX3W3Ccjs.RoadmapView,
66
+ {
67
+ endpoint: roadmapEndpoint,
68
+ initialItems,
69
+ showLeftMargin,
70
+ buildRefreshUrl,
71
+ votingOptions: _nullishCoalesce(votingOptions, () => ( (voteApiEndpoint ? { voteApiEndpoint } : void 0)))
72
+ }
73
+ ),
74
+ belowContent
75
+ ] });
76
+ }
77
+
78
+ // src/components/help-center-pages/product-releases-list-page.tsx
79
+
80
+ function ProductReleasesListPage({
81
+ releasesEndpoint,
82
+ basePath,
83
+ buildCardProps,
84
+ initialData,
85
+ backButton,
86
+ title,
87
+ subtitle,
88
+ belowContent,
89
+ shell
90
+ }) {
91
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkLAMDFGE3cjs.DevSectionPage, { sectionKey: "releases", backButton, title, subtitle, shell, children: [
92
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
93
+ _chunkFOVX3W3Ccjs.ProductReleasesView,
94
+ {
95
+ endpoint: releasesEndpoint,
96
+ basePath,
97
+ buildCardProps,
98
+ initialData
99
+ }
100
+ ),
101
+ belowContent
102
+ ] });
103
+ }
104
+
105
+ // src/components/help-center-pages/delivery-page.tsx
106
+
107
+ function DeliveryPage({
108
+ completedEndpoint,
109
+ inProgressEndpoint,
110
+ backButton,
111
+ title,
112
+ subtitle,
113
+ belowContent,
114
+ shell
115
+ }) {
116
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkLAMDFGE3cjs.DevSectionPage, { sectionKey: "delivery", backButton, title, subtitle, shell, children: [
117
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFOVX3W3Ccjs.DeliveryLists, { completedApiEndpoint: completedEndpoint, inProgressApiEndpoint: inProgressEndpoint }),
118
+ belowContent
119
+ ] });
120
+ }
121
+
122
+ // src/components/help-center-pages/onboarding-guides-catalog-page.tsx
123
+
124
+ function OnboardingGuidesCatalogPage({
125
+ guidesEndpoint,
126
+ sectionsEndpoint,
127
+ initialGuides,
128
+ initialSections,
129
+ initialSection,
130
+ basePath,
131
+ backButton,
132
+ title,
133
+ subtitle,
134
+ belowContent,
135
+ shell
136
+ }) {
137
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkLAMDFGE3cjs.DevSectionPage, { sectionKey: "onboarding", backButton, title, subtitle, shell, children: [
138
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
139
+ _chunk4V3TCOFCcjs.OnboardingGuidesCatalogView,
140
+ {
141
+ guidesEndpoint,
142
+ sectionsEndpoint,
143
+ initialGuides,
144
+ initialSections,
145
+ initialSection,
146
+ basePath
147
+ }
148
+ ),
149
+ belowContent
150
+ ] });
151
+ }
152
+
153
+
154
+
155
+
156
+
157
+
158
+
159
+
160
+
161
+
162
+
163
+ exports.DeliveryPage = DeliveryPage; exports.DocsHubPage = _chunkOLEW7FYZcjs.DocsHubPage; exports.FaqDocumentPage = _chunkZYGVJXJ5cjs.FaqDocumentPage; exports.HelpCenterList = _chunkFCEVVNWYcjs.HelpCenterList; exports.LegalDocumentPage = _chunkFOVX3W3Ccjs.LegalDocumentPage; exports.OnboardingGuideDetailView = _chunk4V3TCOFCcjs.OnboardingGuideDetailView; exports.OnboardingGuidesCatalogPage = OnboardingGuidesCatalogPage; exports.ProductReleasesListPage = ProductReleasesListPage; exports.ReleaseDetailPage = _chunkFOVX3W3Ccjs.ReleaseDetailPage; exports.RoadmapPage = RoadmapPage;
164
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["/home/runner/work/openframe-oss-lib/openframe-oss-lib/openframe-frontend-core/dist/components/help-center-pages/index.cjs","../../../src/components/help-center-pages/roadmap-page.tsx","../../../src/components/help-center-pages/product-releases-list-page.tsx","../../../src/components/help-center-pages/delivery-page.tsx","../../../src/components/help-center-pages/onboarding-guides-catalog-page.tsx"],"names":["jsxs","jsx"],"mappings":"AAAA,yLAAY;AACZ,YAAY;AACZ;AACE;AACA;AACA;AACA;AACA;AACF,4DAAiC;AACjC;AACE;AACF,4DAAiC;AACjC,oCAAiC;AACjC;AACE;AACF,4DAAiC;AACjC;AACE;AACF,4DAAiC;AACjC,oCAAiC;AACjC;AACE;AACF,4DAAiC;AACjC;AACE;AACA;AACF,4DAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC;AACA;ACSI,+CAAA;AAdG,SAAS,WAAA,CAAY;AAAA,EAC1B,eAAA;AAAA,EACA,eAAA;AAAA,EACA,eAAA;AAAA,EACA,aAAA;AAAA,EACA,YAAA;AAAA,EACA,cAAA;AAAA,EACA,UAAA;AAAA,EACA,KAAA;AAAA,EACA,QAAA;AAAA,EACA,YAAA;AAAA,EACA;AACF,CAAA,EAAqB;AACnB,EAAA,uBACE,8BAAA,gCAAC,EAAA,EAAe,UAAA,EAAW,SAAA,EAAU,UAAA,EAAwB,KAAA,EAAc,QAAA,EAAoB,KAAA,EAC7F,QAAA,EAAA;AAAA,oBAAA,6BAAA;AAAA,MAAC,6BAAA;AAAA,MAAA;AAAA,QACC,QAAA,EAAU,eAAA;AAAA,QACV,YAAA;AAAA,QACA,cAAA;AAAA,QACA,eAAA;AAAA,QACA,aAAA,mBAAe,aAAA,UAAA,CAAkB,gBAAA,EAAkB,EAAE,gBAAgB,EAAA,EAAI,KAAA,CAAA;AAAA,MAAA;AAAA,IAC3E,CAAA;AAAA,IACC;AAAA,EAAA,EAAA,CACH,CAAA;AAEJ;ADSA;AACA;AE9BI;AAZG,SAAS,uBAAA,CAAwB;AAAA,EACtC,gBAAA;AAAA,EACA,QAAA;AAAA,EACA,cAAA;AAAA,EACA,WAAA;AAAA,EACA,UAAA;AAAA,EACA,KAAA;AAAA,EACA,QAAA;AAAA,EACA,YAAA;AAAA,EACA;AACF,CAAA,EAAiC;AAC/B,EAAA,uBACEA,8BAAAA,gCAAC,EAAA,EAAe,UAAA,EAAW,UAAA,EAAW,UAAA,EAAwB,KAAA,EAAc,QAAA,EAAoB,KAAA,EAC9F,QAAA,EAAA;AAAA,oBAAAC,6BAAAA;AAAA,MAAC,qCAAA;AAAA,MAAA;AAAA,QACC,QAAA,EAAU,gBAAA;AAAA,QACV,QAAA;AAAA,QACA,cAAA;AAAA,QACA;AAAA,MAAA;AAAA,IACF,CAAA;AAAA,IACC;AAAA,EAAA,EAAA,CACH,CAAA;AAEJ;AF8CA;AACA;AGjEI;AAVG,SAAS,YAAA,CAAa;AAAA,EAC3B,iBAAA;AAAA,EACA,kBAAA;AAAA,EACA,UAAA;AAAA,EACA,KAAA;AAAA,EACA,QAAA;AAAA,EACA,YAAA;AAAA,EACA;AACF,CAAA,EAAsB;AACpB,EAAA,uBACED,8BAAAA,gCAAC,EAAA,EAAe,UAAA,EAAW,UAAA,EAAW,UAAA,EAAwB,KAAA,EAAc,QAAA,EAAoB,KAAA,EAC9F,QAAA,EAAA;AAAA,oBAAAC,6BAAAA,+BAAC,EAAA,EAAc,oBAAA,EAAsB,iBAAA,EAAmB,qBAAA,EAAuB,mBAAA,CAAoB,CAAA;AAAA,IAClG;AAAA,EAAA,EAAA,CACH,CAAA;AAEJ;AH4EA;AACA;AIpEI;AAdG,SAAS,2BAAA,CAA4B;AAAA,EAC1C,cAAA;AAAA,EACA,gBAAA;AAAA,EACA,aAAA;AAAA,EACA,eAAA;AAAA,EACA,cAAA;AAAA,EACA,QAAA;AAAA,EACA,UAAA;AAAA,EACA,KAAA;AAAA,EACA,QAAA;AAAA,EACA,YAAA;AAAA,EACA;AACF,CAAA,EAAqC;AACnC,EAAA,uBACED,8BAAAA,gCAAC,EAAA,EAAe,UAAA,EAAW,YAAA,EAAa,UAAA,EAAwB,KAAA,EAAc,QAAA,EAAoB,KAAA,EAChG,QAAA,EAAA;AAAA,oBAAAC,6BAAAA;AAAA,MAAC,6CAAA;AAAA,MAAA;AAAA,QACC,cAAA;AAAA,QACA,gBAAA;AAAA,QACA,aAAA;AAAA,QACA,eAAA;AAAA,QACA,cAAA;AAAA,QACA;AAAA,MAAA;AAAA,IACF,CAAA;AAAA,IACC;AAAA,EAAA,EAAA,CACH,CAAA;AAEJ;AJsFA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,qkBAAC","file":"/home/runner/work/openframe-oss-lib/openframe-oss-lib/openframe-frontend-core/dist/components/help-center-pages/index.cjs","sourcesContent":[null,"'use client'\n\n/**\n * `<RoadmapPage>` — the full `/roadmap` page: `DevSectionPage sectionKey=\"roadmap\"`\n * (PageShell + PageLayout + hero + search/status chrome) wrapping the\n * self-contained `<RoadmapView>` list. Hosts configure only the api routes\n * (+ optional SSR `initialItems`); both openframe-frontend and the hub mount\n * this instead of hand-composing `DevSectionPage` + `RoadmapView`.\n */\n\nimport type { ReactNode } from 'react'\nimport type { RoadmapItem } from '../chat/types/entities/roadmap-item'\nimport { DevSectionPage } from '../shared/dev-section'\nimport { RoadmapView } from '../shared/roadmap'\nimport type { UseRoadmapVotingOptions } from '../shared/roadmap'\n\nexport interface RoadmapPageProps {\n /** GET list endpoint (the api route). Default `/api/roadmap`. */\n roadmapEndpoint?: string\n /** Per-task refresh URL builder (after a vote). Default `/api/roadmap/<id>`. */\n buildRefreshUrl?: (taskId: string) => string\n /** Vote POST endpoint, forwarded to `RoadmapView` via `votingOptions`. */\n voteApiEndpoint?: string\n /** Full voting options override — takes precedence over `voteApiEndpoint`. */\n votingOptions?: UseRoadmapVotingOptions\n /** Optional SSR hydrate (hub server-fetch) — skips the initial client fetch. */\n initialItems?: RoadmapItem[]\n /** Indent the grid (the hub's full-page roadmap look). Default off. */\n showLeftMargin?: boolean\n /** Back-button config. Pass `false` to hide. Default `{ href: '/' }`. */\n backButton?: { label?: string; href?: string } | false\n /** Override the hero title/subtitle (defaults from `OPENFRAME_DEV_SECTIONS`). */\n title?: string\n subtitle?: string\n /** Optional slot rendered below the list, inside the page chrome — e.g. the\n * hub's related-content rail. */\n belowContent?: ReactNode\n /** Render the standalone `<PageShell>`. Default true. Pass false when the host\n * layout already provides the page container (forwarded to `DevSectionPage`). */\n shell?: boolean\n}\n\nexport function RoadmapPage({\n roadmapEndpoint,\n buildRefreshUrl,\n voteApiEndpoint,\n votingOptions,\n initialItems,\n showLeftMargin,\n backButton,\n title,\n subtitle,\n belowContent,\n shell,\n}: RoadmapPageProps) {\n return (\n <DevSectionPage sectionKey=\"roadmap\" backButton={backButton} title={title} subtitle={subtitle} shell={shell}>\n <RoadmapView\n endpoint={roadmapEndpoint}\n initialItems={initialItems}\n showLeftMargin={showLeftMargin}\n buildRefreshUrl={buildRefreshUrl}\n votingOptions={votingOptions ?? (voteApiEndpoint ? { voteApiEndpoint } : undefined)}\n />\n {belowContent}\n </DevSectionPage>\n )\n}\n","'use client'\n\n/**\n * `<ProductReleasesListPage>` — the full `/releases` list page: `DevSectionPage\n * sectionKey=\"releases\"` chrome wrapping the self-contained `<ProductReleasesView>`.\n * Hosts configure the api route + detail `basePath` (+ optional SSR `initialData`\n * and a custom card-prop builder). Card → detail nav flows through\n * `runtime.composeContentUrl`.\n */\n\nimport type { ReactNode } from 'react'\nimport type { ProductRelease, ProductReleaseListResponse } from '../../types/product-release'\nimport { DevSectionPage } from '../shared/dev-section'\nimport { ProductReleasesView, type ProductReleaseCardExtras } from '../shared/product-release'\n\nexport interface ProductReleasesListPageProps {\n /** GET list endpoint (the api route). Default `/api/releases`. */\n releasesEndpoint?: string\n /** Fallback detail-href prefix when `composeContentUrl` is not wired. Default `/releases`. */\n basePath?: string\n /** Derive the per-card prop bundle (defaults to the lib's rich builder). */\n buildCardProps?: (release: ProductRelease) => ProductReleaseCardExtras\n /** Optional SSR hydrate for the first page (hub server-fetch). */\n initialData?: ProductReleaseListResponse\n /** Back-button config. Pass `false` to hide. Default `{ href: '/' }`. */\n backButton?: { label?: string; href?: string } | false\n title?: string\n subtitle?: string\n /** Optional slot rendered below the list, inside the page chrome. */\n belowContent?: ReactNode\n /** Render the standalone `<PageShell>`. Default true. Pass false when the host\n * layout already provides the page container (forwarded to `DevSectionPage`). */\n shell?: boolean\n}\n\nexport function ProductReleasesListPage({\n releasesEndpoint,\n basePath,\n buildCardProps,\n initialData,\n backButton,\n title,\n subtitle,\n belowContent,\n shell,\n}: ProductReleasesListPageProps) {\n return (\n <DevSectionPage sectionKey=\"releases\" backButton={backButton} title={title} subtitle={subtitle} shell={shell}>\n <ProductReleasesView\n endpoint={releasesEndpoint}\n basePath={basePath}\n buildCardProps={buildCardProps}\n initialData={initialData}\n />\n {belowContent}\n </DevSectionPage>\n )\n}\n","'use client'\n\n/**\n * `<DeliveryPage>` — the full bug-fixes & enhancements (`delivery`) page:\n * `DevSectionPage sectionKey=\"delivery\"` chrome wrapping the self-contained\n * `<DeliveryLists>` (Recently Completed + Active Tasks tables). Hosts configure\n * only the two bucket api routes.\n */\n\nimport type { ReactNode } from 'react'\nimport { DevSectionPage } from '../shared/dev-section'\nimport { DeliveryLists } from '../shared/delivery'\n\nexport interface DeliveryPageProps {\n /** GET endpoint for the \"Recently Completed\" bucket. Default `/api/delivery/completed`. */\n completedEndpoint?: string\n /** GET endpoint for the \"Active Tasks\" bucket. Default `/api/delivery/in-progress`. */\n inProgressEndpoint?: string\n /** Back-button config. Pass `false` to hide. Default `{ href: '/' }`. */\n backButton?: { label?: string; href?: string } | false\n title?: string\n subtitle?: string\n /** Optional slot rendered below the lists, inside the page chrome. */\n belowContent?: ReactNode\n /** Render the standalone `<PageShell>`. Default true. Pass false when the host\n * layout already provides the page container (forwarded to `DevSectionPage`). */\n shell?: boolean\n}\n\nexport function DeliveryPage({\n completedEndpoint,\n inProgressEndpoint,\n backButton,\n title,\n subtitle,\n belowContent,\n shell,\n}: DeliveryPageProps) {\n return (\n <DevSectionPage sectionKey=\"delivery\" backButton={backButton} title={title} subtitle={subtitle} shell={shell}>\n <DeliveryLists completedApiEndpoint={completedEndpoint} inProgressApiEndpoint={inProgressEndpoint} />\n {belowContent}\n </DevSectionPage>\n )\n}\n","'use client'\n\n/**\n * `<OnboardingGuidesCatalogPage>` — the full `/onboarding-guides` catalog page:\n * `DevSectionPage sectionKey=\"onboarding\"` chrome wrapping the self-contained\n * `<OnboardingGuidesCatalogView>` (RAG search + section pills + guide grid).\n * Supports both SSR (`initialGuides`/`initialSections`) and self-fetch\n * (`guidesEndpoint`/`sectionsEndpoint`) modes — forwarded to the view verbatim.\n */\n\nimport type { ReactNode } from 'react'\nimport type { OnboardingGuide } from '../chat/types/entities/onboarding-guide'\nimport { DevSectionPage } from '../shared/dev-section'\nimport { OnboardingGuidesCatalogView } from '../onboarding-guides'\n\ntype SectionSummary = { section: string; section_order: number; count: number }\n\nexport interface OnboardingGuidesCatalogPageProps {\n /** Self-fetch: GET list endpoint (the api route). Appends `?section=`. */\n guidesEndpoint?: string\n /** Self-fetch: GET section-summary endpoint (the api route). */\n sectionsEndpoint?: string\n /** Controlled / SSR: server-fetched guides + sections + active section. */\n initialGuides?: OnboardingGuide[]\n initialSections?: SectionSummary[]\n initialSection?: string\n /** Base path the catalog is mounted under (card href prefix + `?section=` push). */\n basePath?: string\n /** Back-button config. Pass `false` to hide. Default `{ href: '/' }`. */\n backButton?: { label?: string; href?: string } | false\n title?: string\n subtitle?: string\n /** Optional slot rendered below the catalog, inside the page chrome. */\n belowContent?: ReactNode\n /** Render the standalone `<PageShell>`. Default true. Pass false when the host\n * layout already provides the page container (forwarded to `DevSectionPage`). */\n shell?: boolean\n}\n\nexport function OnboardingGuidesCatalogPage({\n guidesEndpoint,\n sectionsEndpoint,\n initialGuides,\n initialSections,\n initialSection,\n basePath,\n backButton,\n title,\n subtitle,\n belowContent,\n shell,\n}: OnboardingGuidesCatalogPageProps) {\n return (\n <DevSectionPage sectionKey=\"onboarding\" backButton={backButton} title={title} subtitle={subtitle} shell={shell}>\n <OnboardingGuidesCatalogView\n guidesEndpoint={guidesEndpoint}\n sectionsEndpoint={sectionsEndpoint}\n initialGuides={initialGuides}\n initialSections={initialSections}\n initialSection={initialSection}\n basePath={basePath}\n />\n {belowContent}\n </DevSectionPage>\n )\n}\n"]}
@@ -0,0 +1,25 @@
1
+ /**
2
+ * Help Center pages — ready-made, full-page components (each owns the canonical
3
+ * `PageShell` + `PageLayout` chrome) so a host route is a one-line mount with NO
4
+ * local wrapper. Shared by openframe-frontend (self-fetch via the `/content`
5
+ * proxy, mounted under `/help-center/*`) and multi-platform-hub (SSR with
6
+ * server-fetched `initialData` + `generateMetadata`/JSON-LD kept in the server
7
+ * route). Endpoint config + SSR data + optional slots are passed as props.
8
+ *
9
+ * This barrel ALSO re-exports the already-existing full-pages (FAQ / Legal /
10
+ * Release detail / Onboarding detail / Docs / Tickets) so consumers have ONE
11
+ * import site for "help center pages". Re-exports are NAMED (not `export *`) to
12
+ * avoid TS2308 ambiguous-re-export collisions, and this barrel is intentionally
13
+ * NOT merged into the top-level `components/index.ts`.
14
+ */
15
+ export { RoadmapPage, type RoadmapPageProps } from './roadmap-page';
16
+ export { ProductReleasesListPage, type ProductReleasesListPageProps } from './product-releases-list-page';
17
+ export { DeliveryPage, type DeliveryPageProps } from './delivery-page';
18
+ export { OnboardingGuidesCatalogPage, type OnboardingGuidesCatalogPageProps, } from './onboarding-guides-catalog-page';
19
+ export { FaqDocumentPage, type FaqDocumentPageProps } from '../faq';
20
+ export { LegalDocumentPage, type LegalDocumentPageProps } from '../shared/legal-document';
21
+ export { ReleaseDetailPage, type ReleaseDetailPageProps, type VideoDisplaySectionProps, } from '../shared/product-release';
22
+ export { OnboardingGuideDetailView, type OnboardingGuideDetailViewProps, } from '../onboarding-guides';
23
+ export { DocsHubPage } from '../docs';
24
+ export { HelpCenterList } from '../tickets';
25
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/help-center-pages/index.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;GAaG;AAIH,OAAO,EAAE,WAAW,EAAE,KAAK,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AACnE,OAAO,EAAE,uBAAuB,EAAE,KAAK,4BAA4B,EAAE,MAAM,8BAA8B,CAAA;AACzG,OAAO,EAAE,YAAY,EAAE,KAAK,iBAAiB,EAAE,MAAM,iBAAiB,CAAA;AACtE,OAAO,EACL,2BAA2B,EAC3B,KAAK,gCAAgC,GACtC,MAAM,kCAAkC,CAAA;AAGzC,OAAO,EAAE,eAAe,EAAE,KAAK,oBAAoB,EAAE,MAAM,QAAQ,CAAA;AACnE,OAAO,EAAE,iBAAiB,EAAE,KAAK,sBAAsB,EAAE,MAAM,0BAA0B,CAAA;AACzF,OAAO,EACL,iBAAiB,EACjB,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,GAC9B,MAAM,2BAA2B,CAAA;AAClC,OAAO,EACL,yBAAyB,EACzB,KAAK,8BAA8B,GACpC,MAAM,sBAAsB,CAAA;AAC7B,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AACrC,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAA"}
@@ -0,0 +1,164 @@
1
+ "use client";
2
+ "use client";
3
+ import {
4
+ DeliveryLists,
5
+ LegalDocumentPage,
6
+ ProductReleasesView,
7
+ ReleaseDetailPage,
8
+ RoadmapView
9
+ } from "../../chunk-CSLMCBZV.js";
10
+ import {
11
+ DocsHubPage
12
+ } from "../../chunk-GHVVOST5.js";
13
+ import "../../chunk-64DZ2J7Q.js";
14
+ import {
15
+ FaqDocumentPage
16
+ } from "../../chunk-JEBL5PQK.js";
17
+ import {
18
+ HelpCenterList
19
+ } from "../../chunk-M3NULYCR.js";
20
+ import "../../chunk-YFGDZFUG.js";
21
+ import {
22
+ DevSectionPage
23
+ } from "../../chunk-4NVA6W3J.js";
24
+ import {
25
+ OnboardingGuideDetailView,
26
+ OnboardingGuidesCatalogView
27
+ } from "../../chunk-PIJ4JLJU.js";
28
+ import "../../chunk-Z3YORGG4.js";
29
+ import "../../chunk-6KERXOFE.js";
30
+ import "../../chunk-JAZM3A7E.js";
31
+ import "../../chunk-4XLJWX2N.js";
32
+ import "../../chunk-2Y4DLBFO.js";
33
+ import "../../chunk-Q4AMYLKX.js";
34
+ import "../../chunk-J7AV6H63.js";
35
+ import "../../chunk-2FI3USTC.js";
36
+ import "../../chunk-EL5YVPD5.js";
37
+ import "../../chunk-PLJLE4A4.js";
38
+ import "../../chunk-LXC6P2EO.js";
39
+ import "../../chunk-AI5X5JTD.js";
40
+ import "../../chunk-6U3IUD57.js";
41
+ import "../../chunk-OHPI2HRK.js";
42
+ import "../../chunk-LQHMXPOJ.js";
43
+ import "../../chunk-W72U7OU7.js";
44
+ import "../../chunk-XTCBRQN2.js";
45
+ import "../../chunk-PHWQLKVE.js";
46
+ import "../../chunk-GGWZFCYS.js";
47
+
48
+ // src/components/help-center-pages/roadmap-page.tsx
49
+ import { jsx, jsxs } from "react/jsx-runtime";
50
+ function RoadmapPage({
51
+ roadmapEndpoint,
52
+ buildRefreshUrl,
53
+ voteApiEndpoint,
54
+ votingOptions,
55
+ initialItems,
56
+ showLeftMargin,
57
+ backButton,
58
+ title,
59
+ subtitle,
60
+ belowContent,
61
+ shell
62
+ }) {
63
+ return /* @__PURE__ */ jsxs(DevSectionPage, { sectionKey: "roadmap", backButton, title, subtitle, shell, children: [
64
+ /* @__PURE__ */ jsx(
65
+ RoadmapView,
66
+ {
67
+ endpoint: roadmapEndpoint,
68
+ initialItems,
69
+ showLeftMargin,
70
+ buildRefreshUrl,
71
+ votingOptions: votingOptions ?? (voteApiEndpoint ? { voteApiEndpoint } : void 0)
72
+ }
73
+ ),
74
+ belowContent
75
+ ] });
76
+ }
77
+
78
+ // src/components/help-center-pages/product-releases-list-page.tsx
79
+ import { jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
80
+ function ProductReleasesListPage({
81
+ releasesEndpoint,
82
+ basePath,
83
+ buildCardProps,
84
+ initialData,
85
+ backButton,
86
+ title,
87
+ subtitle,
88
+ belowContent,
89
+ shell
90
+ }) {
91
+ return /* @__PURE__ */ jsxs2(DevSectionPage, { sectionKey: "releases", backButton, title, subtitle, shell, children: [
92
+ /* @__PURE__ */ jsx2(
93
+ ProductReleasesView,
94
+ {
95
+ endpoint: releasesEndpoint,
96
+ basePath,
97
+ buildCardProps,
98
+ initialData
99
+ }
100
+ ),
101
+ belowContent
102
+ ] });
103
+ }
104
+
105
+ // src/components/help-center-pages/delivery-page.tsx
106
+ import { jsx as jsx3, jsxs as jsxs3 } from "react/jsx-runtime";
107
+ function DeliveryPage({
108
+ completedEndpoint,
109
+ inProgressEndpoint,
110
+ backButton,
111
+ title,
112
+ subtitle,
113
+ belowContent,
114
+ shell
115
+ }) {
116
+ return /* @__PURE__ */ jsxs3(DevSectionPage, { sectionKey: "delivery", backButton, title, subtitle, shell, children: [
117
+ /* @__PURE__ */ jsx3(DeliveryLists, { completedApiEndpoint: completedEndpoint, inProgressApiEndpoint: inProgressEndpoint }),
118
+ belowContent
119
+ ] });
120
+ }
121
+
122
+ // src/components/help-center-pages/onboarding-guides-catalog-page.tsx
123
+ import { jsx as jsx4, jsxs as jsxs4 } from "react/jsx-runtime";
124
+ function OnboardingGuidesCatalogPage({
125
+ guidesEndpoint,
126
+ sectionsEndpoint,
127
+ initialGuides,
128
+ initialSections,
129
+ initialSection,
130
+ basePath,
131
+ backButton,
132
+ title,
133
+ subtitle,
134
+ belowContent,
135
+ shell
136
+ }) {
137
+ return /* @__PURE__ */ jsxs4(DevSectionPage, { sectionKey: "onboarding", backButton, title, subtitle, shell, children: [
138
+ /* @__PURE__ */ jsx4(
139
+ OnboardingGuidesCatalogView,
140
+ {
141
+ guidesEndpoint,
142
+ sectionsEndpoint,
143
+ initialGuides,
144
+ initialSections,
145
+ initialSection,
146
+ basePath
147
+ }
148
+ ),
149
+ belowContent
150
+ ] });
151
+ }
152
+ export {
153
+ DeliveryPage,
154
+ DocsHubPage,
155
+ FaqDocumentPage,
156
+ HelpCenterList,
157
+ LegalDocumentPage,
158
+ OnboardingGuideDetailView,
159
+ OnboardingGuidesCatalogPage,
160
+ ProductReleasesListPage,
161
+ ReleaseDetailPage,
162
+ RoadmapPage
163
+ };
164
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/components/help-center-pages/roadmap-page.tsx","../../../src/components/help-center-pages/product-releases-list-page.tsx","../../../src/components/help-center-pages/delivery-page.tsx","../../../src/components/help-center-pages/onboarding-guides-catalog-page.tsx"],"sourcesContent":["'use client'\n\n/**\n * `<RoadmapPage>` — the full `/roadmap` page: `DevSectionPage sectionKey=\"roadmap\"`\n * (PageShell + PageLayout + hero + search/status chrome) wrapping the\n * self-contained `<RoadmapView>` list. Hosts configure only the api routes\n * (+ optional SSR `initialItems`); both openframe-frontend and the hub mount\n * this instead of hand-composing `DevSectionPage` + `RoadmapView`.\n */\n\nimport type { ReactNode } from 'react'\nimport type { RoadmapItem } from '../chat/types/entities/roadmap-item'\nimport { DevSectionPage } from '../shared/dev-section'\nimport { RoadmapView } from '../shared/roadmap'\nimport type { UseRoadmapVotingOptions } from '../shared/roadmap'\n\nexport interface RoadmapPageProps {\n /** GET list endpoint (the api route). Default `/api/roadmap`. */\n roadmapEndpoint?: string\n /** Per-task refresh URL builder (after a vote). Default `/api/roadmap/<id>`. */\n buildRefreshUrl?: (taskId: string) => string\n /** Vote POST endpoint, forwarded to `RoadmapView` via `votingOptions`. */\n voteApiEndpoint?: string\n /** Full voting options override — takes precedence over `voteApiEndpoint`. */\n votingOptions?: UseRoadmapVotingOptions\n /** Optional SSR hydrate (hub server-fetch) — skips the initial client fetch. */\n initialItems?: RoadmapItem[]\n /** Indent the grid (the hub's full-page roadmap look). Default off. */\n showLeftMargin?: boolean\n /** Back-button config. Pass `false` to hide. Default `{ href: '/' }`. */\n backButton?: { label?: string; href?: string } | false\n /** Override the hero title/subtitle (defaults from `OPENFRAME_DEV_SECTIONS`). */\n title?: string\n subtitle?: string\n /** Optional slot rendered below the list, inside the page chrome — e.g. the\n * hub's related-content rail. */\n belowContent?: ReactNode\n /** Render the standalone `<PageShell>`. Default true. Pass false when the host\n * layout already provides the page container (forwarded to `DevSectionPage`). */\n shell?: boolean\n}\n\nexport function RoadmapPage({\n roadmapEndpoint,\n buildRefreshUrl,\n voteApiEndpoint,\n votingOptions,\n initialItems,\n showLeftMargin,\n backButton,\n title,\n subtitle,\n belowContent,\n shell,\n}: RoadmapPageProps) {\n return (\n <DevSectionPage sectionKey=\"roadmap\" backButton={backButton} title={title} subtitle={subtitle} shell={shell}>\n <RoadmapView\n endpoint={roadmapEndpoint}\n initialItems={initialItems}\n showLeftMargin={showLeftMargin}\n buildRefreshUrl={buildRefreshUrl}\n votingOptions={votingOptions ?? (voteApiEndpoint ? { voteApiEndpoint } : undefined)}\n />\n {belowContent}\n </DevSectionPage>\n )\n}\n","'use client'\n\n/**\n * `<ProductReleasesListPage>` — the full `/releases` list page: `DevSectionPage\n * sectionKey=\"releases\"` chrome wrapping the self-contained `<ProductReleasesView>`.\n * Hosts configure the api route + detail `basePath` (+ optional SSR `initialData`\n * and a custom card-prop builder). Card → detail nav flows through\n * `runtime.composeContentUrl`.\n */\n\nimport type { ReactNode } from 'react'\nimport type { ProductRelease, ProductReleaseListResponse } from '../../types/product-release'\nimport { DevSectionPage } from '../shared/dev-section'\nimport { ProductReleasesView, type ProductReleaseCardExtras } from '../shared/product-release'\n\nexport interface ProductReleasesListPageProps {\n /** GET list endpoint (the api route). Default `/api/releases`. */\n releasesEndpoint?: string\n /** Fallback detail-href prefix when `composeContentUrl` is not wired. Default `/releases`. */\n basePath?: string\n /** Derive the per-card prop bundle (defaults to the lib's rich builder). */\n buildCardProps?: (release: ProductRelease) => ProductReleaseCardExtras\n /** Optional SSR hydrate for the first page (hub server-fetch). */\n initialData?: ProductReleaseListResponse\n /** Back-button config. Pass `false` to hide. Default `{ href: '/' }`. */\n backButton?: { label?: string; href?: string } | false\n title?: string\n subtitle?: string\n /** Optional slot rendered below the list, inside the page chrome. */\n belowContent?: ReactNode\n /** Render the standalone `<PageShell>`. Default true. Pass false when the host\n * layout already provides the page container (forwarded to `DevSectionPage`). */\n shell?: boolean\n}\n\nexport function ProductReleasesListPage({\n releasesEndpoint,\n basePath,\n buildCardProps,\n initialData,\n backButton,\n title,\n subtitle,\n belowContent,\n shell,\n}: ProductReleasesListPageProps) {\n return (\n <DevSectionPage sectionKey=\"releases\" backButton={backButton} title={title} subtitle={subtitle} shell={shell}>\n <ProductReleasesView\n endpoint={releasesEndpoint}\n basePath={basePath}\n buildCardProps={buildCardProps}\n initialData={initialData}\n />\n {belowContent}\n </DevSectionPage>\n )\n}\n","'use client'\n\n/**\n * `<DeliveryPage>` — the full bug-fixes & enhancements (`delivery`) page:\n * `DevSectionPage sectionKey=\"delivery\"` chrome wrapping the self-contained\n * `<DeliveryLists>` (Recently Completed + Active Tasks tables). Hosts configure\n * only the two bucket api routes.\n */\n\nimport type { ReactNode } from 'react'\nimport { DevSectionPage } from '../shared/dev-section'\nimport { DeliveryLists } from '../shared/delivery'\n\nexport interface DeliveryPageProps {\n /** GET endpoint for the \"Recently Completed\" bucket. Default `/api/delivery/completed`. */\n completedEndpoint?: string\n /** GET endpoint for the \"Active Tasks\" bucket. Default `/api/delivery/in-progress`. */\n inProgressEndpoint?: string\n /** Back-button config. Pass `false` to hide. Default `{ href: '/' }`. */\n backButton?: { label?: string; href?: string } | false\n title?: string\n subtitle?: string\n /** Optional slot rendered below the lists, inside the page chrome. */\n belowContent?: ReactNode\n /** Render the standalone `<PageShell>`. Default true. Pass false when the host\n * layout already provides the page container (forwarded to `DevSectionPage`). */\n shell?: boolean\n}\n\nexport function DeliveryPage({\n completedEndpoint,\n inProgressEndpoint,\n backButton,\n title,\n subtitle,\n belowContent,\n shell,\n}: DeliveryPageProps) {\n return (\n <DevSectionPage sectionKey=\"delivery\" backButton={backButton} title={title} subtitle={subtitle} shell={shell}>\n <DeliveryLists completedApiEndpoint={completedEndpoint} inProgressApiEndpoint={inProgressEndpoint} />\n {belowContent}\n </DevSectionPage>\n )\n}\n","'use client'\n\n/**\n * `<OnboardingGuidesCatalogPage>` — the full `/onboarding-guides` catalog page:\n * `DevSectionPage sectionKey=\"onboarding\"` chrome wrapping the self-contained\n * `<OnboardingGuidesCatalogView>` (RAG search + section pills + guide grid).\n * Supports both SSR (`initialGuides`/`initialSections`) and self-fetch\n * (`guidesEndpoint`/`sectionsEndpoint`) modes — forwarded to the view verbatim.\n */\n\nimport type { ReactNode } from 'react'\nimport type { OnboardingGuide } from '../chat/types/entities/onboarding-guide'\nimport { DevSectionPage } from '../shared/dev-section'\nimport { OnboardingGuidesCatalogView } from '../onboarding-guides'\n\ntype SectionSummary = { section: string; section_order: number; count: number }\n\nexport interface OnboardingGuidesCatalogPageProps {\n /** Self-fetch: GET list endpoint (the api route). Appends `?section=`. */\n guidesEndpoint?: string\n /** Self-fetch: GET section-summary endpoint (the api route). */\n sectionsEndpoint?: string\n /** Controlled / SSR: server-fetched guides + sections + active section. */\n initialGuides?: OnboardingGuide[]\n initialSections?: SectionSummary[]\n initialSection?: string\n /** Base path the catalog is mounted under (card href prefix + `?section=` push). */\n basePath?: string\n /** Back-button config. Pass `false` to hide. Default `{ href: '/' }`. */\n backButton?: { label?: string; href?: string } | false\n title?: string\n subtitle?: string\n /** Optional slot rendered below the catalog, inside the page chrome. */\n belowContent?: ReactNode\n /** Render the standalone `<PageShell>`. Default true. Pass false when the host\n * layout already provides the page container (forwarded to `DevSectionPage`). */\n shell?: boolean\n}\n\nexport function OnboardingGuidesCatalogPage({\n guidesEndpoint,\n sectionsEndpoint,\n initialGuides,\n initialSections,\n initialSection,\n basePath,\n backButton,\n title,\n subtitle,\n belowContent,\n shell,\n}: OnboardingGuidesCatalogPageProps) {\n return (\n <DevSectionPage sectionKey=\"onboarding\" backButton={backButton} title={title} subtitle={subtitle} shell={shell}>\n <OnboardingGuidesCatalogView\n guidesEndpoint={guidesEndpoint}\n sectionsEndpoint={sectionsEndpoint}\n initialGuides={initialGuides}\n initialSections={initialSections}\n initialSection={initialSection}\n basePath={basePath}\n />\n {belowContent}\n </DevSectionPage>\n )\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwDI,SACE,KADF;AAdG,SAAS,YAAY;AAAA,EAC1B;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,GAAqB;AACnB,SACE,qBAAC,kBAAe,YAAW,WAAU,YAAwB,OAAc,UAAoB,OAC7F;AAAA;AAAA,MAAC;AAAA;AAAA,QACC,UAAU;AAAA,QACV;AAAA,QACA;AAAA,QACA;AAAA,QACA,eAAe,kBAAkB,kBAAkB,EAAE,gBAAgB,IAAI;AAAA;AAAA,IAC3E;AAAA,IACC;AAAA,KACH;AAEJ;;;ACpBI,SACE,OAAAA,MADF,QAAAC,aAAA;AAZG,SAAS,wBAAwB;AAAA,EACtC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,GAAiC;AAC/B,SACE,gBAAAA,MAAC,kBAAe,YAAW,YAAW,YAAwB,OAAc,UAAoB,OAC9F;AAAA,oBAAAD;AAAA,MAAC;AAAA;AAAA,QACC,UAAU;AAAA,QACV;AAAA,QACA;AAAA,QACA;AAAA;AAAA,IACF;AAAA,IACC;AAAA,KACH;AAEJ;;;AClBI,SACE,OAAAE,MADF,QAAAC,aAAA;AAVG,SAAS,aAAa;AAAA,EAC3B;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,GAAsB;AACpB,SACE,gBAAAA,MAAC,kBAAe,YAAW,YAAW,YAAwB,OAAc,UAAoB,OAC9F;AAAA,oBAAAD,KAAC,iBAAc,sBAAsB,mBAAmB,uBAAuB,oBAAoB;AAAA,IAClG;AAAA,KACH;AAEJ;;;ACSI,SACE,OAAAE,MADF,QAAAC,aAAA;AAdG,SAAS,4BAA4B;AAAA,EAC1C;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,GAAqC;AACnC,SACE,gBAAAA,MAAC,kBAAe,YAAW,cAAa,YAAwB,OAAc,UAAoB,OAChG;AAAA,oBAAAD;AAAA,MAAC;AAAA;AAAA,QACC;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA;AAAA,IACF;AAAA,IACC;AAAA,KACH;AAEJ;","names":["jsx","jsxs","jsx","jsxs","jsx","jsxs"]}
@@ -0,0 +1,41 @@
1
+ /**
2
+ * `<OnboardingGuidesCatalogPage>` — the full `/onboarding-guides` catalog page:
3
+ * `DevSectionPage sectionKey="onboarding"` chrome wrapping the self-contained
4
+ * `<OnboardingGuidesCatalogView>` (RAG search + section pills + guide grid).
5
+ * Supports both SSR (`initialGuides`/`initialSections`) and self-fetch
6
+ * (`guidesEndpoint`/`sectionsEndpoint`) modes — forwarded to the view verbatim.
7
+ */
8
+ import type { ReactNode } from 'react';
9
+ import type { OnboardingGuide } from '../chat/types/entities/onboarding-guide';
10
+ type SectionSummary = {
11
+ section: string;
12
+ section_order: number;
13
+ count: number;
14
+ };
15
+ export interface OnboardingGuidesCatalogPageProps {
16
+ /** Self-fetch: GET list endpoint (the api route). Appends `?section=`. */
17
+ guidesEndpoint?: string;
18
+ /** Self-fetch: GET section-summary endpoint (the api route). */
19
+ sectionsEndpoint?: string;
20
+ /** Controlled / SSR: server-fetched guides + sections + active section. */
21
+ initialGuides?: OnboardingGuide[];
22
+ initialSections?: SectionSummary[];
23
+ initialSection?: string;
24
+ /** Base path the catalog is mounted under (card href prefix + `?section=` push). */
25
+ basePath?: string;
26
+ /** Back-button config. Pass `false` to hide. Default `{ href: '/' }`. */
27
+ backButton?: {
28
+ label?: string;
29
+ href?: string;
30
+ } | false;
31
+ title?: string;
32
+ subtitle?: string;
33
+ /** Optional slot rendered below the catalog, inside the page chrome. */
34
+ belowContent?: ReactNode;
35
+ /** Render the standalone `<PageShell>`. Default true. Pass false when the host
36
+ * layout already provides the page container (forwarded to `DevSectionPage`). */
37
+ shell?: boolean;
38
+ }
39
+ export declare function OnboardingGuidesCatalogPage({ guidesEndpoint, sectionsEndpoint, initialGuides, initialSections, initialSection, basePath, backButton, title, subtitle, belowContent, shell, }: OnboardingGuidesCatalogPageProps): import("react").JSX.Element;
40
+ export {};
41
+ //# sourceMappingURL=onboarding-guides-catalog-page.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"onboarding-guides-catalog-page.d.ts","sourceRoot":"","sources":["../../../src/components/help-center-pages/onboarding-guides-catalog-page.tsx"],"names":[],"mappings":"AAEA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACtC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,yCAAyC,CAAA;AAI9E,KAAK,cAAc,GAAG;IAAE,OAAO,EAAE,MAAM,CAAC;IAAC,aAAa,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAA;AAE/E,MAAM,WAAW,gCAAgC;IAC/C,0EAA0E;IAC1E,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,gEAAgE;IAChE,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,2EAA2E;IAC3E,aAAa,CAAC,EAAE,eAAe,EAAE,CAAA;IACjC,eAAe,CAAC,EAAE,cAAc,EAAE,CAAA;IAClC,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,oFAAoF;IACpF,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,yEAAyE;IACzE,UAAU,CAAC,EAAE;QAAE,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,KAAK,CAAA;IACtD,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,wEAAwE;IACxE,YAAY,CAAC,EAAE,SAAS,CAAA;IACxB;sFACkF;IAClF,KAAK,CAAC,EAAE,OAAO,CAAA;CAChB;AAED,wBAAgB,2BAA2B,CAAC,EAC1C,cAAc,EACd,gBAAgB,EAChB,aAAa,EACb,eAAe,EACf,cAAc,EACd,QAAQ,EACR,UAAU,EACV,KAAK,EACL,QAAQ,EACR,YAAY,EACZ,KAAK,GACN,EAAE,gCAAgC,+BAclC"}
@@ -0,0 +1,34 @@
1
+ /**
2
+ * `<ProductReleasesListPage>` — the full `/releases` list page: `DevSectionPage
3
+ * sectionKey="releases"` chrome wrapping the self-contained `<ProductReleasesView>`.
4
+ * Hosts configure the api route + detail `basePath` (+ optional SSR `initialData`
5
+ * and a custom card-prop builder). Card → detail nav flows through
6
+ * `runtime.composeContentUrl`.
7
+ */
8
+ import type { ReactNode } from 'react';
9
+ import type { ProductRelease, ProductReleaseListResponse } from '../../types/product-release';
10
+ import { type ProductReleaseCardExtras } from '../shared/product-release';
11
+ export interface ProductReleasesListPageProps {
12
+ /** GET list endpoint (the api route). Default `/api/releases`. */
13
+ releasesEndpoint?: string;
14
+ /** Fallback detail-href prefix when `composeContentUrl` is not wired. Default `/releases`. */
15
+ basePath?: string;
16
+ /** Derive the per-card prop bundle (defaults to the lib's rich builder). */
17
+ buildCardProps?: (release: ProductRelease) => ProductReleaseCardExtras;
18
+ /** Optional SSR hydrate for the first page (hub server-fetch). */
19
+ initialData?: ProductReleaseListResponse;
20
+ /** Back-button config. Pass `false` to hide. Default `{ href: '/' }`. */
21
+ backButton?: {
22
+ label?: string;
23
+ href?: string;
24
+ } | false;
25
+ title?: string;
26
+ subtitle?: string;
27
+ /** Optional slot rendered below the list, inside the page chrome. */
28
+ belowContent?: ReactNode;
29
+ /** Render the standalone `<PageShell>`. Default true. Pass false when the host
30
+ * layout already provides the page container (forwarded to `DevSectionPage`). */
31
+ shell?: boolean;
32
+ }
33
+ export declare function ProductReleasesListPage({ releasesEndpoint, basePath, buildCardProps, initialData, backButton, title, subtitle, belowContent, shell, }: ProductReleasesListPageProps): import("react").JSX.Element;
34
+ //# sourceMappingURL=product-releases-list-page.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"product-releases-list-page.d.ts","sourceRoot":"","sources":["../../../src/components/help-center-pages/product-releases-list-page.tsx"],"names":[],"mappings":"AAEA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACtC,OAAO,KAAK,EAAE,cAAc,EAAE,0BAA0B,EAAE,MAAM,6BAA6B,CAAA;AAE7F,OAAO,EAAuB,KAAK,wBAAwB,EAAE,MAAM,2BAA2B,CAAA;AAE9F,MAAM,WAAW,4BAA4B;IAC3C,kEAAkE;IAClE,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,8FAA8F;IAC9F,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,4EAA4E;IAC5E,cAAc,CAAC,EAAE,CAAC,OAAO,EAAE,cAAc,KAAK,wBAAwB,CAAA;IACtE,kEAAkE;IAClE,WAAW,CAAC,EAAE,0BAA0B,CAAA;IACxC,yEAAyE;IACzE,UAAU,CAAC,EAAE;QAAE,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,KAAK,CAAA;IACtD,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,qEAAqE;IACrE,YAAY,CAAC,EAAE,SAAS,CAAA;IACxB;sFACkF;IAClF,KAAK,CAAC,EAAE,OAAO,CAAA;CAChB;AAED,wBAAgB,uBAAuB,CAAC,EACtC,gBAAgB,EAChB,QAAQ,EACR,cAAc,EACd,WAAW,EACX,UAAU,EACV,KAAK,EACL,QAAQ,EACR,YAAY,EACZ,KAAK,GACN,EAAE,4BAA4B,+BAY9B"}
@@ -0,0 +1,40 @@
1
+ /**
2
+ * `<RoadmapPage>` — the full `/roadmap` page: `DevSectionPage sectionKey="roadmap"`
3
+ * (PageShell + PageLayout + hero + search/status chrome) wrapping the
4
+ * self-contained `<RoadmapView>` list. Hosts configure only the api routes
5
+ * (+ optional SSR `initialItems`); both openframe-frontend and the hub mount
6
+ * this instead of hand-composing `DevSectionPage` + `RoadmapView`.
7
+ */
8
+ import type { ReactNode } from 'react';
9
+ import type { RoadmapItem } from '../chat/types/entities/roadmap-item';
10
+ import type { UseRoadmapVotingOptions } from '../shared/roadmap';
11
+ export interface RoadmapPageProps {
12
+ /** GET list endpoint (the api route). Default `/api/roadmap`. */
13
+ roadmapEndpoint?: string;
14
+ /** Per-task refresh URL builder (after a vote). Default `/api/roadmap/<id>`. */
15
+ buildRefreshUrl?: (taskId: string) => string;
16
+ /** Vote POST endpoint, forwarded to `RoadmapView` via `votingOptions`. */
17
+ voteApiEndpoint?: string;
18
+ /** Full voting options override — takes precedence over `voteApiEndpoint`. */
19
+ votingOptions?: UseRoadmapVotingOptions;
20
+ /** Optional SSR hydrate (hub server-fetch) — skips the initial client fetch. */
21
+ initialItems?: RoadmapItem[];
22
+ /** Indent the grid (the hub's full-page roadmap look). Default off. */
23
+ showLeftMargin?: boolean;
24
+ /** Back-button config. Pass `false` to hide. Default `{ href: '/' }`. */
25
+ backButton?: {
26
+ label?: string;
27
+ href?: string;
28
+ } | false;
29
+ /** Override the hero title/subtitle (defaults from `OPENFRAME_DEV_SECTIONS`). */
30
+ title?: string;
31
+ subtitle?: string;
32
+ /** Optional slot rendered below the list, inside the page chrome — e.g. the
33
+ * hub's related-content rail. */
34
+ belowContent?: ReactNode;
35
+ /** Render the standalone `<PageShell>`. Default true. Pass false when the host
36
+ * layout already provides the page container (forwarded to `DevSectionPage`). */
37
+ shell?: boolean;
38
+ }
39
+ export declare function RoadmapPage({ roadmapEndpoint, buildRefreshUrl, voteApiEndpoint, votingOptions, initialItems, showLeftMargin, backButton, title, subtitle, belowContent, shell, }: RoadmapPageProps): import("react").JSX.Element;
40
+ //# sourceMappingURL=roadmap-page.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"roadmap-page.d.ts","sourceRoot":"","sources":["../../../src/components/help-center-pages/roadmap-page.tsx"],"names":[],"mappings":"AAEA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACtC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qCAAqC,CAAA;AAGtE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,mBAAmB,CAAA;AAEhE,MAAM,WAAW,gBAAgB;IAC/B,iEAAiE;IACjE,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,gFAAgF;IAChF,eAAe,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,MAAM,CAAA;IAC5C,0EAA0E;IAC1E,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,8EAA8E;IAC9E,aAAa,CAAC,EAAE,uBAAuB,CAAA;IACvC,gFAAgF;IAChF,YAAY,CAAC,EAAE,WAAW,EAAE,CAAA;IAC5B,uEAAuE;IACvE,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,yEAAyE;IACzE,UAAU,CAAC,EAAE;QAAE,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,KAAK,CAAA;IACtD,iFAAiF;IACjF,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB;sCACkC;IAClC,YAAY,CAAC,EAAE,SAAS,CAAA;IACxB;sFACkF;IAClF,KAAK,CAAC,EAAE,OAAO,CAAA;CAChB;AAED,wBAAgB,WAAW,CAAC,EAC1B,eAAe,EACf,eAAe,EACf,eAAe,EACf,aAAa,EACb,YAAY,EACZ,cAAc,EACd,UAAU,EACV,KAAK,EACL,QAAQ,EACR,YAAY,EACZ,KAAK,GACN,EAAE,gBAAgB,+BAalB"}