@flamingo-stack/openframe-frontend-core 0.0.736 → 0.0.737

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 (103) hide show
  1. package/dist/build/export-map.json +1 -1
  2. package/dist/{chunk-T27CVQBO.cjs → chunk-4FJZ7RJD.cjs} +16 -16
  3. package/dist/{chunk-URX2YTCL.cjs → chunk-4ISP3XP4.cjs} +42 -36
  4. package/dist/{chunk-BL5GOCHP.cjs → chunk-4RMLAHU2.cjs} +17 -9
  5. package/dist/{chunk-SZFA2LQR.cjs → chunk-CM35DLKS.cjs} +33 -33
  6. package/dist/{chunk-7V2KP2TB.cjs → chunk-DA4VS6TS.cjs} +4 -4
  7. package/dist/{chunk-OJUMVOMP.cjs → chunk-E2JCZU36.cjs} +260 -260
  8. package/dist/{chunk-UBQSOB3X.cjs → chunk-FA2LATDM.cjs} +4 -4
  9. package/dist/{chunk-FTGVG6FW.cjs → chunk-KVGBDWYV.cjs} +17 -17
  10. package/dist/{chunk-JGGSRCRD.cjs → chunk-LW3QSP47.cjs} +11 -11
  11. package/dist/{chunk-NONQUGRP.cjs → chunk-N6YOOGCD.cjs} +6 -6
  12. package/dist/chunk-O4MG7FXW.cjs +57 -0
  13. package/dist/{chunk-P6Z3EBPJ.cjs → chunk-SGVQO5J6.cjs} +9 -9
  14. package/dist/{chunk-JM54CNZZ.cjs → chunk-TJQYX3QC.cjs} +66 -66
  15. package/dist/{chunk-ZEX5WU35.cjs → chunk-URIJ6YUG.cjs} +40 -66
  16. package/dist/{chunk-OV6BGMEL.cjs → chunk-VL4JKXU2.cjs} +125 -113
  17. package/dist/{chunk-BDF3FNOC.cjs → chunk-VYODTHMR.cjs} +25 -25
  18. package/dist/{chunk-LIH5OQLY.cjs → chunk-XPP7VCNY.cjs} +3 -3
  19. package/dist/{cloud-tenants-M55HMW6F.cjs → cloud-tenants-IWQ5FFLY.cjs} +4 -4
  20. package/dist/components/case-studies/index.cjs +14 -14
  21. package/dist/components/chat/entity-cards/index.d.ts +1 -0
  22. package/dist/components/chat/entity-cards/index.d.ts.map +1 -1
  23. package/dist/components/chat/entity-cards/index.js +2 -0
  24. package/dist/components/chat/hooks/use-ask-prompts.d.ts +1 -1
  25. package/dist/components/chat/hooks/use-ask-prompts.js +1 -1
  26. package/dist/components/chat/index.cjs +5 -3
  27. package/dist/components/chat/mingo-info-card.d.ts +17 -1
  28. package/dist/components/chat/mingo-info-card.d.ts.map +1 -1
  29. package/dist/components/chat/mingo-info-card.js +15 -3
  30. package/dist/components/contact/index.cjs +5 -5
  31. package/dist/components/docs/index.cjs +8 -8
  32. package/dist/components/embeds/index.cjs +5 -5
  33. package/dist/components/faq/faq-ask-card.d.ts +5 -4
  34. package/dist/components/faq/faq-ask-card.d.ts.map +1 -1
  35. package/dist/components/faq/faq-document-page.d.ts +3 -1
  36. package/dist/components/faq/faq-document-page.d.ts.map +1 -1
  37. package/dist/components/faq/faq-document-page.js +2 -0
  38. package/dist/components/faq/faq-section.d.ts +37 -5
  39. package/dist/components/faq/faq-section.d.ts.map +1 -1
  40. package/dist/components/faq/faq-section.js +31 -9
  41. package/dist/components/faq/index.cjs +11 -5
  42. package/dist/components/faq/index.d.ts +1 -1
  43. package/dist/components/faq/index.d.ts.map +1 -1
  44. package/dist/components/faq/index.js +4 -2
  45. package/dist/components/features/index.cjs +4 -4
  46. package/dist/components/help-center-pages/delivery-page.d.ts +8 -1
  47. package/dist/components/help-center-pages/delivery-page.d.ts.map +1 -1
  48. package/dist/components/help-center-pages/delivery-page.js +16 -4
  49. package/dist/components/help-center-pages/download-apps-page.d.ts +8 -1
  50. package/dist/components/help-center-pages/download-apps-page.d.ts.map +1 -1
  51. package/dist/components/help-center-pages/download-apps-page.js +11 -6
  52. package/dist/components/help-center-pages/index.cjs +169 -114
  53. package/dist/components/help-center-pages/onboarding-guides-catalog-page.d.ts +8 -1
  54. package/dist/components/help-center-pages/onboarding-guides-catalog-page.d.ts.map +1 -1
  55. package/dist/components/help-center-pages/onboarding-guides-catalog-page.js +26 -14
  56. package/dist/components/help-center-pages/product-releases-list-page.d.ts +8 -1
  57. package/dist/components/help-center-pages/product-releases-list-page.d.ts.map +1 -1
  58. package/dist/components/help-center-pages/product-releases-list-page.js +24 -12
  59. package/dist/components/help-center-pages/roadmap-page.d.ts +8 -1
  60. package/dist/components/help-center-pages/roadmap-page.d.ts.map +1 -1
  61. package/dist/components/help-center-pages/roadmap-page.js +25 -13
  62. package/dist/components/index.cjs +46 -38
  63. package/dist/components/meeting-scheduler/index.cjs +20 -20
  64. package/dist/components/navigation/index.cjs +7 -7
  65. package/dist/components/onboarding-guides/index.cjs +6 -6
  66. package/dist/components/product-demo/index.cjs +6 -6
  67. package/dist/components/shared/dev-section/dev-section-page.d.ts +8 -1
  68. package/dist/components/shared/dev-section/dev-section-page.d.ts.map +1 -1
  69. package/dist/components/shared/dev-section/dev-section-page.js +8 -3
  70. package/dist/components/shared/legal-document/legal-document-page.d.ts +8 -1
  71. package/dist/components/shared/legal-document/legal-document-page.d.ts.map +1 -1
  72. package/dist/components/shared/legal-document/legal-document-page.js +4 -1
  73. package/dist/components/tickets/index.cjs +9 -8
  74. package/dist/components/ui/index.cjs +6 -4
  75. package/dist/contexts/assistant-runtime-context.d.ts +5 -5
  76. package/dist/{devices-WWJZFG6E.cjs → devices-OUHGWA6Y.cjs} +5 -5
  77. package/dist/{embeddable-chat-76IJ6TQZ.cjs → embeddable-chat-U3C4WWB7.cjs} +64 -64
  78. package/dist/index.cjs +14 -8
  79. package/dist/{knowledge-F4YFQT3G.cjs → knowledge-3ZASPWMF.cjs} +5 -5
  80. package/dist/{logs-GAYEGEZM.cjs → logs-E6Y54P6K.cjs} +12 -12
  81. package/dist/{policies-ZOVJCJWX.cjs → policies-LAV75B5B.cjs} +8 -8
  82. package/dist/{software-update-H4YE5GMJ.cjs → software-update-2CAL3AMJ.cjs} +7 -7
  83. package/dist/types/faq.d.ts +17 -0
  84. package/dist/types/faq.d.ts.map +1 -1
  85. package/dist/types/faq.js +4 -0
  86. package/dist/types/index.cjs +4 -0
  87. package/package.json +1 -1
  88. package/src/components/chat/entity-cards/index.ts +1 -0
  89. package/src/components/chat/hooks/use-ask-prompts.ts +2 -2
  90. package/src/components/chat/mingo-info-card.tsx +39 -4
  91. package/src/components/faq/faq-ask-card.tsx +5 -4
  92. package/src/components/faq/faq-document-page.tsx +4 -0
  93. package/src/components/faq/faq-section.tsx +83 -14
  94. package/src/components/faq/index.ts +1 -1
  95. package/src/components/help-center-pages/delivery-page.tsx +16 -1
  96. package/src/components/help-center-pages/download-apps-page.tsx +9 -0
  97. package/src/components/help-center-pages/onboarding-guides-catalog-page.tsx +16 -1
  98. package/src/components/help-center-pages/product-releases-list-page.tsx +16 -1
  99. package/src/components/help-center-pages/roadmap-page.tsx +16 -1
  100. package/src/components/shared/dev-section/dev-section-page.tsx +9 -0
  101. package/src/components/shared/legal-document/legal-document-page.tsx +9 -0
  102. package/src/contexts/assistant-runtime-context.tsx +5 -5
  103. package/src/types/faq.ts +18 -0
@@ -1 +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,CAAC;AAIvC,MAAM,WAAW,iBAAiB;IAChC,2FAA2F;IAC3F,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,uFAAuF;IACvF,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,yEAAyE;IACzE,UAAU,CAAC,EAAE;QAAE,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,KAAK,CAAC;IACvD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,sEAAsE;IACtE,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB;sFACkF;IAClF,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AAED,wBAAgB,YAAY,CAAC,EAC3B,iBAAiB,EACjB,kBAAkB,EAClB,UAAU,EACV,KAAK,EACL,QAAQ,EACR,YAAY,EACZ,KAAK,GACN,EAAE,iBAAiB,+BAOnB"}
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,CAAC;AACvC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAItD,MAAM,WAAW,iBAAiB;IAChC,2FAA2F;IAC3F,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,uFAAuF;IACvF,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,yEAAyE;IACzE,UAAU,CAAC,EAAE;QAAE,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,KAAK,CAAC;IACvD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,sEAAsE;IACtE,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB;;;;OAIG;IACH,GAAG,CAAC,EAAE,WAAW,CAAC;IAClB;sFACkF;IAClF,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AAED,wBAAgB,YAAY,CAAC,EAC3B,iBAAiB,EACjB,kBAAkB,EAClB,UAAU,EACV,KAAK,EACL,QAAQ,EACR,YAAY,EACZ,GAAG,EACH,KAAK,GACN,EAAE,iBAAiB,+BAcnB"}
@@ -9,12 +9,24 @@ function DeliveryPage({
9
9
  title,
10
10
  subtitle,
11
11
  belowContent,
12
+ faq,
12
13
  shell
13
14
  }) {
14
- return /* @__PURE__ */ jsxs(DevSectionPage, { sectionKey: "delivery", backButton, title, subtitle, shell, children: [
15
- /* @__PURE__ */ jsx(DeliveryLists, { completedApiEndpoint: completedEndpoint, inProgressApiEndpoint: inProgressEndpoint }),
16
- belowContent
17
- ] });
15
+ return /* @__PURE__ */ jsxs(
16
+ DevSectionPage,
17
+ {
18
+ sectionKey: "delivery",
19
+ backButton,
20
+ title,
21
+ subtitle,
22
+ faq,
23
+ shell,
24
+ children: [
25
+ /* @__PURE__ */ jsx(DeliveryLists, { completedApiEndpoint: completedEndpoint, inProgressApiEndpoint: inProgressEndpoint }),
26
+ belowContent
27
+ ]
28
+ }
29
+ );
18
30
  }
19
31
  export {
20
32
  DeliveryPage
@@ -31,6 +31,7 @@
31
31
  */
32
32
  import type { ReactNode } from 'react';
33
33
  import { type DownloadActionEvent, type DownloadsPublic } from '../../types/downloads';
34
+ import { type PageFaqSlot } from '../faq/faq-section';
34
35
  export interface DownloadAppsPageProps {
35
36
  /** GET endpoint for the public projection. Default `DOWNLOADS_API_PATH`. */
36
37
  endpoint?: string;
@@ -56,6 +57,12 @@ export interface DownloadAppsPageProps {
56
57
  onDownloadAction?: (event: DownloadActionEvent) => void;
57
58
  /** The closing card, under the mobile app: using OpenFrame without installing anything. Default: none. */
58
59
  web?: DownloadAppsWebOption;
60
+ /**
61
+ * The page's own FAQ block: the topic the page is about (stated by the host,
62
+ * never read from its address) and where the host serves the FAQs. Rendered
63
+ * after the page's content, inside its container. Absent: no FAQ block.
64
+ */
65
+ faq?: PageFaqSlot;
59
66
  }
60
67
  /** The "no install" card: the host's words and its own button (the page holds no signup link). */
61
68
  export interface DownloadAppsWebOption {
@@ -64,5 +71,5 @@ export interface DownloadAppsWebOption {
64
71
  /** The host's button (the website's trial signup). */
65
72
  action: ReactNode;
66
73
  }
67
- export declare function DownloadAppsPage({ endpoint, initialData, shell, backButton, title, subtitle, showDesktop, openStoresInNewTab, onDownloadAction, web, }: DownloadAppsPageProps): import("react").JSX.Element;
74
+ export declare function DownloadAppsPage({ endpoint, initialData, shell, backButton, title, subtitle, showDesktop, openStoresInNewTab, onDownloadAction, web, faq, }: DownloadAppsPageProps): import("react").JSX.Element;
68
75
  //# sourceMappingURL=download-apps-page.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"download-apps-page.d.ts","sourceRoot":"","sources":["../../../src/components/help-center-pages/download-apps-page.tsx"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AAEH,OAAO,KAAK,EAAiB,SAAS,EAAE,MAAM,OAAO,CAAC;AAItD,OAAO,EASL,KAAK,mBAAmB,EACxB,KAAK,eAAe,EAErB,MAAM,uBAAuB,CAAC;AAgB/B,MAAM,WAAW,qBAAqB;IACpC,4EAA4E;IAC5E,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,8EAA8E;IAC9E,WAAW,CAAC,EAAE,eAAe,CAAC;IAC9B;gFAC4E;IAC5E,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,yCAAyC;IACzC,UAAU,CAAC,EAAE;QAAE,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,KAAK,CAAC;IACvD,6FAA6F;IAC7F,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,iDAAiD;IACjD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,uEAAuE;IACvE,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,0DAA0D;IAC1D,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,wGAAwG;IACxG,gBAAgB,CAAC,EAAE,CAAC,KAAK,EAAE,mBAAmB,KAAK,IAAI,CAAC;IACxD,0GAA0G;IAC1G,GAAG,CAAC,EAAE,qBAAqB,CAAC;CAC7B;AAED,kGAAkG;AAClG,MAAM,WAAW,qBAAqB;IACpC,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,sDAAsD;IACtD,MAAM,EAAE,SAAS,CAAC;CACnB;AAgLD,wBAAgB,gBAAgB,CAAC,EAC/B,QAA6B,EAC7B,WAAW,EACX,KAAY,EACZ,UAAkB,EAClB,KAAK,EACL,QAAQ,EACR,WAAkB,EAClB,kBAAyB,EACzB,gBAAgB,EAChB,GAAG,GACJ,EAAE,qBAAqB,+BAmFvB"}
1
+ {"version":3,"file":"download-apps-page.d.ts","sourceRoot":"","sources":["../../../src/components/help-center-pages/download-apps-page.tsx"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AAEH,OAAO,KAAK,EAAiB,SAAS,EAAE,MAAM,OAAO,CAAC;AAItD,OAAO,EASL,KAAK,mBAAmB,EACxB,KAAK,eAAe,EAErB,MAAM,uBAAuB,CAAC;AAI/B,OAAO,EAA4B,KAAK,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAahF,MAAM,WAAW,qBAAqB;IACpC,4EAA4E;IAC5E,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,8EAA8E;IAC9E,WAAW,CAAC,EAAE,eAAe,CAAC;IAC9B;gFAC4E;IAC5E,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,yCAAyC;IACzC,UAAU,CAAC,EAAE;QAAE,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,KAAK,CAAC;IACvD,6FAA6F;IAC7F,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,iDAAiD;IACjD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,uEAAuE;IACvE,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,0DAA0D;IAC1D,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,wGAAwG;IACxG,gBAAgB,CAAC,EAAE,CAAC,KAAK,EAAE,mBAAmB,KAAK,IAAI,CAAC;IACxD,0GAA0G;IAC1G,GAAG,CAAC,EAAE,qBAAqB,CAAC;IAC5B;;;;OAIG;IACH,GAAG,CAAC,EAAE,WAAW,CAAC;CACnB;AAED,kGAAkG;AAClG,MAAM,WAAW,qBAAqB;IACpC,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,sDAAsD;IACtD,MAAM,EAAE,SAAS,CAAC;CACnB;AAgLD,wBAAgB,gBAAgB,CAAC,EAC/B,QAA6B,EAC7B,WAAW,EACX,KAAY,EACZ,UAAkB,EAClB,KAAK,EACL,QAAQ,EACR,WAAkB,EAClB,kBAAyB,EACzB,gBAAgB,EAChB,GAAG,EACH,GAAG,GACJ,EAAE,qBAAqB,+BAoFvB"}
@@ -15,6 +15,7 @@ import {
15
15
  import { cn } from "../../utils/cn.js";
16
16
  import { formatUrlForDisplay } from "../../utils/format.js";
17
17
  import { DESKTOP_OSES } from "../../utils/visitor-os.js";
18
+ import { FaqSection, pageFaqProps } from "../faq/faq-section.js";
18
19
  import { CommandBox } from "../features/command-box.js";
19
20
  import { AppleLogoIcon } from "../icons-v2-generated/brand-logos/apple-logo-icon.js";
20
21
  import { WindowsLogoGreyIcon } from "../icons-v2-generated/brand-logos/windows-logo-grey-icon.js";
@@ -155,7 +156,8 @@ function DownloadAppsPage({
155
156
  showDesktop = true,
156
157
  openStoresInNewTab = true,
157
158
  onDownloadAction,
158
- web
159
+ web,
160
+ faq
159
161
  }) {
160
162
  const { data, isLoading, error, reload } = useDownloads({ endpoint, initialData });
161
163
  const systems = showDesktop && data ? rowsBySystem(data.desktop) : [];
@@ -206,17 +208,20 @@ function DownloadAppsPage({
206
208
  ] }) })
207
209
  ] });
208
210
  }
209
- return /* @__PURE__ */ jsx(
211
+ return /* @__PURE__ */ jsxs(
210
212
  DownloadAppsChrome,
211
213
  {
212
214
  shell,
213
215
  backButton,
214
216
  title: title ?? (offersDesktop ? DOWNLOADS_TITLE : DOWNLOADS_MOBILE_TITLE),
215
217
  subtitle: subtitle ?? (offersDesktop ? DOWNLOADS_TAGLINE : DOWNLOADS_MOBILE_TAGLINE),
216
- children: /* @__PURE__ */ jsxs("div", { className: SECTIONS_CLASS, children: [
217
- body,
218
- web && /* @__PURE__ */ jsx(WebCard, { web })
219
- ] })
218
+ children: [
219
+ /* @__PURE__ */ jsxs("div", { className: SECTIONS_CLASS, children: [
220
+ body,
221
+ web && /* @__PURE__ */ jsx(WebCard, { web })
222
+ ] }),
223
+ faq && /* @__PURE__ */ jsx(FaqSection, { ...pageFaqProps(faq) })
224
+ ]
220
225
  }
221
226
  );
222
227
  }