@flamingo-stack/openframe-frontend-core 0.0.706-snapshot.20261006190707 → 0.0.706

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 (75) hide show
  1. package/dist/{chunk-6YKAT7NV.js → chunk-3EZ4HHAP.js} +2 -2
  2. package/dist/{chunk-LFFB6EMB.js → chunk-3NCM4ZQB.js} +2 -15
  3. package/dist/{chunk-6I4ZAFO2.cjs → chunk-3PLDQDE6.cjs} +9 -9
  4. package/dist/{chunk-SS5MBHDP.js → chunk-4CJMQLB5.js} +2 -2
  5. package/dist/{chunk-CNWOMQQJ.js → chunk-4ILM7W2R.js} +1 -1
  6. package/dist/{chunk-MR3A4MZV.js → chunk-6232S532.js} +1 -1
  7. package/dist/{chunk-PO33GZVY.js → chunk-7GEBFJT2.js} +4 -24
  8. package/dist/{chunk-SEXWHIMS.cjs → chunk-7OFPU7WE.cjs} +331 -351
  9. package/dist/{chunk-2KXTOP6G.cjs → chunk-7SCNMP2B.cjs} +13 -26
  10. package/dist/{chunk-HDOYSEOJ.js → chunk-BHI6GVC4.js} +3 -3
  11. package/dist/{chunk-2RNB5DTN.cjs → chunk-DDVBX42E.cjs} +7 -7
  12. package/dist/{chunk-CZSZSDD4.js → chunk-DWPAAWMR.js} +4 -4
  13. package/dist/{chunk-4L6XCMOU.js → chunk-G6UMNAVI.js} +2 -10
  14. package/dist/{chunk-P42V6N34.cjs → chunk-GWQEYPYM.cjs} +313 -321
  15. package/dist/{chunk-AOWDNSTM.cjs → chunk-HZ7CBXPL.cjs} +40 -40
  16. package/dist/{chunk-I3ST4PLM.js → chunk-IKJA3Y7Z.js} +1 -1
  17. package/dist/{chunk-2G7UYK35.cjs → chunk-K6O43WDL.cjs} +32 -32
  18. package/dist/{chunk-JRU2CXLB.cjs → chunk-LVSFKENJ.cjs} +2 -2
  19. package/dist/{chunk-LRQTJOF2.cjs → chunk-M75XEEGT.cjs} +24 -24
  20. package/dist/{chunk-YBUT4AMG.cjs → chunk-MB4PNY7C.cjs} +2 -2
  21. package/dist/{chunk-LNW45N2C.js → chunk-O2RSAA5M.js} +5 -5
  22. package/dist/{chunk-DA5UDTLG.js → chunk-PXOQIA5K.js} +2 -2
  23. package/dist/{chunk-NSGXARGJ.cjs → chunk-RTIPR53L.cjs} +70 -70
  24. package/dist/{chunk-L6Y6OOKG.cjs → chunk-SEKYEWQG.cjs} +20 -20
  25. package/dist/{chunk-3AHTOSXJ.cjs → chunk-STHZBOQI.cjs} +9 -9
  26. package/dist/{chunk-B73373AG.cjs → chunk-SW5ZV2BN.cjs} +20 -20
  27. package/dist/{chunk-4UM2ETLM.js → chunk-T5TMCHWM.js} +2 -2
  28. package/dist/{chunk-36BCTE7D.js → chunk-TE773HEH.js} +4 -4
  29. package/dist/{chunk-QAOFMK2A.cjs → chunk-TQ4LB2DS.cjs} +3 -3
  30. package/dist/{chunk-OJLR5MEO.cjs → chunk-UJ33ZXDT.cjs} +4 -4
  31. package/dist/{chunk-TDYIREDJ.js → chunk-VZICIQW2.js} +4 -4
  32. package/dist/{chunk-6IW7TWPV.js → chunk-YGJKKDDM.js} +1 -1
  33. package/dist/components/case-studies/index.cjs +14 -14
  34. package/dist/components/case-studies/index.js +3 -3
  35. package/dist/components/chat/index.cjs +2 -4
  36. package/dist/components/chat/index.d.ts +1 -1
  37. package/dist/components/chat/index.d.ts.map +1 -1
  38. package/dist/components/chat/index.js +1 -3
  39. package/dist/components/chat/nav-link-anchor-via-runtime.d.ts +5 -34
  40. package/dist/components/chat/nav-link-anchor-via-runtime.d.ts.map +1 -1
  41. package/dist/components/contact/index.cjs +4 -4
  42. package/dist/components/contact/index.js +3 -3
  43. package/dist/components/docs/index.cjs +7 -7
  44. package/dist/components/docs/index.js +6 -6
  45. package/dist/components/embeds/index.cjs +4 -4
  46. package/dist/components/embeds/index.js +3 -3
  47. package/dist/components/faq/index.cjs +4 -4
  48. package/dist/components/faq/index.js +3 -3
  49. package/dist/components/features/index.cjs +3 -3
  50. package/dist/components/features/index.js +2 -2
  51. package/dist/components/help-center-pages/index.cjs +70 -70
  52. package/dist/components/help-center-pages/index.js +14 -14
  53. package/dist/components/index.cjs +36 -38
  54. package/dist/components/index.js +13 -15
  55. package/dist/components/meeting-scheduler/index.cjs +25 -25
  56. package/dist/components/meeting-scheduler/index.js +2 -2
  57. package/dist/components/navigation/index.cjs +6 -6
  58. package/dist/components/navigation/index.js +5 -5
  59. package/dist/components/onboarding-guides/index.cjs +6 -6
  60. package/dist/components/onboarding-guides/index.js +5 -5
  61. package/dist/components/platform/ToolBadge.d.ts +0 -6
  62. package/dist/components/platform/ToolBadge.d.ts.map +1 -1
  63. package/dist/components/tickets/index.cjs +7 -7
  64. package/dist/components/tickets/index.js +6 -6
  65. package/dist/components/ui/brand-association-card.d.ts +0 -7
  66. package/dist/components/ui/brand-association-card.d.ts.map +1 -1
  67. package/dist/components/ui/index.cjs +3 -5
  68. package/dist/components/ui/index.js +2 -4
  69. package/dist/index.cjs +7 -9
  70. package/dist/index.js +6 -8
  71. package/package.json +1 -1
  72. package/src/components/chat/index.ts +1 -7
  73. package/src/components/chat/nav-link-anchor-via-runtime.tsx +9 -62
  74. package/src/components/platform/ToolBadge.tsx +1 -18
  75. package/src/components/ui/brand-association-card.tsx +3 -25
@@ -4,15 +4,12 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkP42V6N34cjs = require('./chunk-P42V6N34.cjs');
7
+ var _chunkGWQEYPYMcjs = require('./chunk-GWQEYPYM.cjs');
8
8
 
9
9
 
10
10
  var _chunkWCVZCGK5cjs = require('./chunk-WCVZCGK5.cjs');
11
11
 
12
12
 
13
- var _chunkSEXWHIMScjs = require('./chunk-SEXWHIMS.cjs');
14
-
15
-
16
13
  var _chunkUVTD52MDcjs = require('./chunk-UVTD52MD.cjs');
17
14
 
18
15
 
@@ -128,22 +125,12 @@ var ToolBadge = ({
128
125
  icon,
129
126
  variant = "inline",
130
127
  href,
131
- targetPlatform,
132
128
  className,
133
129
  iconClassName
134
130
  }) => {
135
- const text = _nullishCoalesce(label, () => ( (toolType ? _chunkP42V6N34cjs.getToolLabel.call(void 0, toolType) : "")));
131
+ const text = _nullishCoalesce(label, () => ( (toolType ? _chunkGWQEYPYMcjs.getToolLabel.call(void 0, toolType) : "")));
136
132
  const mark = _nullishCoalesce(icon, () => ( (toolType ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUVTD52MDcjs.ToolIcon, { toolType, className: iconClassName, size: 16 }) : null)));
137
- const linked = (node, linkClassName) => href && targetPlatform ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
138
- _chunkSEXWHIMScjs.NavLinkAnchorViaRuntime,
139
- {
140
- href,
141
- targetPlatform,
142
- title: text || void 0,
143
- className: linkClassName,
144
- children: node
145
- }
146
- ) : href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target: "_blank", rel: "noopener noreferrer", title: text || void 0, className: linkClassName, children: node }) : node;
133
+ const linked = (node, linkClassName) => href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target: "_blank", rel: "noopener noreferrer", title: text || void 0, className: linkClassName, children: node }) : node;
147
134
  if (variant === "chip") {
148
135
  return linked(
149
136
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
@@ -175,31 +162,31 @@ var ToolBadge = ({
175
162
  // src/components/platform/ShellTypeBadge.tsx
176
163
 
177
164
  var shellIconMap = {
178
- [_chunkP42V6N34cjs.ShellTypeValues.POWERSHELL]: {
165
+ [_chunkGWQEYPYMcjs.ShellTypeValues.POWERSHELL]: {
179
166
  icon: _chunkVX4E6YSBcjs.PowershellLogoGreyIcon,
180
167
  props: { size: 16, className: "text-ods-text-secondary" }
181
168
  },
182
- [_chunkP42V6N34cjs.ShellTypeValues.CMD]: {
169
+ [_chunkGWQEYPYMcjs.ShellTypeValues.CMD]: {
183
170
  icon: _chunkLLSUVPQCcjs.CmdIcon,
184
171
  props: { size: 16, color: "var(--color-text-secondary)" }
185
172
  },
186
- [_chunkP42V6N34cjs.ShellTypeValues.BASH]: {
173
+ [_chunkGWQEYPYMcjs.ShellTypeValues.BASH]: {
187
174
  icon: _chunkLLSUVPQCcjs.BashIcon,
188
175
  props: { size: 16, color: "var(--color-text-secondary)" }
189
176
  },
190
- [_chunkP42V6N34cjs.ShellTypeValues.PYTHON]: {
177
+ [_chunkGWQEYPYMcjs.ShellTypeValues.PYTHON]: {
191
178
  icon: _chunkVX4E6YSBcjs.PythonLogoIcon,
192
179
  props: { size: 16, className: "text-ods-text-secondary" }
193
180
  },
194
- [_chunkP42V6N34cjs.ShellTypeValues.NUSHELL]: {
181
+ [_chunkGWQEYPYMcjs.ShellTypeValues.NUSHELL]: {
195
182
  icon: _chunkLLSUVPQCcjs.NushellIcon,
196
183
  props: { size: 16, color: "var(--color-text-secondary)" }
197
184
  },
198
- [_chunkP42V6N34cjs.ShellTypeValues.DENO]: {
185
+ [_chunkGWQEYPYMcjs.ShellTypeValues.DENO]: {
199
186
  icon: _chunkLLSUVPQCcjs.DenoIcon,
200
187
  props: { size: 16, color: "var(--color-text-secondary)" }
201
188
  },
202
- [_chunkP42V6N34cjs.ShellTypeValues.SHELL]: {
189
+ [_chunkGWQEYPYMcjs.ShellTypeValues.SHELL]: {
203
190
  icon: _chunkLLSUVPQCcjs.ShellIcon,
204
191
  props: { size: 16, color: "var(--color-text-secondary)" }
205
192
  }
@@ -210,7 +197,7 @@ var defaultIconConfig = {
210
197
  };
211
198
  var ShellTypeBadge = ({ shellType, className, iconClassName }) => {
212
199
  const normalizedType = _optionalChain([shellType, 'optionalAccess', _ => _.toUpperCase, 'call', _2 => _2()]);
213
- const label = _chunkP42V6N34cjs.getShellLabel.call(void 0, normalizedType);
200
+ const label = _chunkGWQEYPYMcjs.getShellLabel.call(void 0, normalizedType);
214
201
  const { icon: IconComponent, props: iconProps } = _nullishCoalesce(shellIconMap[normalizedType], () => ( defaultIconConfig));
215
202
  const defaultIconClassName = "className" in iconProps ? iconProps.className : void 0;
216
203
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "flex items-center gap-1", className), children: [
@@ -226,7 +213,7 @@ function formatSupportedPlatforms(platforms) {
226
213
  if (!platforms || platforms.length === 0) {
227
214
  return "All Platforms";
228
215
  }
229
- return platforms.map((platform) => _chunkP42V6N34cjs.getOSLabel.call(void 0, platform)).join(", ");
216
+ return platforms.map((platform) => _chunkGWQEYPYMcjs.getOSLabel.call(void 0, platform)).join(", ");
230
217
  }
231
218
  function InfoCell({ label, value, avatar, className }) {
232
219
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "flex min-w-0 items-center gap-2", className), children: [
@@ -246,7 +233,7 @@ var ScriptInfoSection = ({
246
233
  author,
247
234
  className
248
235
  }) => {
249
- const shellLabel = _chunkP42V6N34cjs.getShellLabel.call(void 0, shellType);
236
+ const shellLabel = _chunkGWQEYPYMcjs.getShellLabel.call(void 0, shellType);
250
237
  const platformsLabel = formatSupportedPlatforms(supportedPlatforms);
251
238
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "overflow-hidden rounded-[6px] border border-ods-border bg-ods-card", className), children: [
252
239
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "border-b border-ods-border p-4", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-1", children: [
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  useOptionalTicketLive
4
- } from "./chunk-6YKAT7NV.js";
4
+ } from "./chunk-3EZ4HHAP.js";
5
5
  import {
6
6
  AppLayoutDrawerContainerContext,
7
7
  AppLayoutDrawerCoordinationContext,
@@ -14,7 +14,7 @@ import {
14
14
  UnreadDot,
15
15
  buildTicketOpenHref,
16
16
  useOptionalNotifications
17
- } from "./chunk-4L6XCMOU.js";
17
+ } from "./chunk-G6UMNAVI.js";
18
18
  import {
19
19
  resolveActiveSection,
20
20
  shortcutLabel,
@@ -28,7 +28,7 @@ import {
28
28
  import {
29
29
  OVERLAY_BACKDROP_CLASS,
30
30
  useIsHydrated
31
- } from "./chunk-PO33GZVY.js";
31
+ } from "./chunk-7GEBFJT2.js";
32
32
  import {
33
33
  useHeaderHeight
34
34
  } from "./chunk-CZ7Y7UG4.js";
@@ -5,7 +5,7 @@ var _chunkUDFRUKLCcjs = require('./chunk-UDFRUKLC.cjs');
5
5
 
6
6
 
7
7
 
8
- var _chunkP42V6N34cjs = require('./chunk-P42V6N34.cjs');
8
+ var _chunkGWQEYPYMcjs = require('./chunk-GWQEYPYM.cjs');
9
9
 
10
10
 
11
11
  var _chunkWCVZCGK5cjs = require('./chunk-WCVZCGK5.cjs');
@@ -16,7 +16,7 @@ var _chunkBIZNSF3Ucjs = require('./chunk-BIZNSF3U.cjs');
16
16
 
17
17
 
18
18
 
19
- var _chunkSEXWHIMScjs = require('./chunk-SEXWHIMS.cjs');
19
+ var _chunk7OFPU7WEcjs = require('./chunk-7OFPU7WE.cjs');
20
20
 
21
21
 
22
22
 
@@ -56,7 +56,7 @@ function FaqAccordion({ items, defaultOpenIds = [] }) {
56
56
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
57
57
  "div",
58
58
  {
59
- id: _chunkSEXWHIMScjs.faqItemAnchor.call(void 0, item.id),
59
+ id: _chunk7OFPU7WEcjs.faqItemAnchor.call(void 0, item.id),
60
60
  className: "scroll-mt-24 transition-colors hover:bg-ods-bg-hover",
61
61
  children: [
62
62
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
@@ -149,7 +149,7 @@ function groupFaqsBySection(faqs) {
149
149
  }
150
150
  let group = byName.get(name);
151
151
  if (!group) {
152
- group = { section: name, slug: _chunkSEXWHIMScjs.faqSectionSlug.call(void 0, name), items: [] };
152
+ group = { section: name, slug: _chunk7OFPU7WEcjs.faqSectionSlug.call(void 0, name), items: [] };
153
153
  byName.set(name, group);
154
154
  }
155
155
  group.items.push(item);
@@ -202,7 +202,7 @@ function GroupedFaqList({
202
202
  }, [slugKey]);
203
203
  const [hashTarget, setHashTarget] = _react.useState.call(void 0, null);
204
204
  _react.useEffect.call(void 0, () => {
205
- const refresh = () => setHashTarget(_chunkSEXWHIMScjs.parseFaqHash.call(void 0, window.location.hash));
205
+ const refresh = () => setHashTarget(_chunk7OFPU7WEcjs.parseFaqHash.call(void 0, window.location.hash));
206
206
  refresh();
207
207
  window.addEventListener("hashchange", refresh);
208
208
  return () => window.removeEventListener("hashchange", refresh);
@@ -336,7 +336,7 @@ function FaqDocumentPage({
336
336
  label: _nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _16 => _16.label]), () => ( "Back to home")),
337
337
  onClick: () => router.push(_nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _17 => _17.href]), () => ( "/")))
338
338
  };
339
- const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP42V6N34cjs.PageLayout, { title, subtitle, backButton: backCfg, titleSize: "h1", titleWrap: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
339
+ const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGWQEYPYMcjs.PageLayout, { title, subtitle, backButton: backCfg, titleSize: "h1", titleWrap: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
340
340
  FaqSection,
341
341
  {
342
342
  initialFaqs,
@@ -349,7 +349,7 @@ function FaqDocumentPage({
349
349
  minResults
350
350
  }
351
351
  ) });
352
- return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP42V6N34cjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
352
+ return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGWQEYPYMcjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
353
353
  }
354
354
 
355
355
 
@@ -3,16 +3,16 @@ import {
3
3
  FileDownloadCard,
4
4
  GoogleSheetsViewer,
5
5
  PdfViewer
6
- } from "./chunk-6IW7TWPV.js";
6
+ } from "./chunk-YGJKKDDM.js";
7
7
  import {
8
8
  MobileNavigationDropdown,
9
9
  MultiLevelNavigation,
10
10
  StickySectionNav
11
- } from "./chunk-CNWOMQQJ.js";
11
+ } from "./chunk-4ILM7W2R.js";
12
12
  import {
13
13
  DocSearchBar,
14
14
  useDocSearch
15
- } from "./chunk-DA5UDTLG.js";
15
+ } from "./chunk-PXOQIA5K.js";
16
16
  import {
17
17
  CategorySidebarSkeleton,
18
18
  DEFAULT_FOLDER_INDEX_FILE,
@@ -22,7 +22,7 @@ import {
22
22
  findDocNodeByPath,
23
23
  getDocAncestorNodeIds,
24
24
  stripFolderIndexFromPath
25
- } from "./chunk-4L6XCMOU.js";
25
+ } from "./chunk-G6UMNAVI.js";
26
26
  import {
27
27
  contentFetch
28
28
  } from "./chunk-CUME3VTQ.js";
@@ -92,10 +92,9 @@ import {
92
92
  useCaptions,
93
93
  useCollapsible,
94
94
  useIsHydrated,
95
- useNavLinkViaRuntime,
96
95
  useResizablePanelSize,
97
96
  useScrollFade
98
- } from "./chunk-PO33GZVY.js";
97
+ } from "./chunk-7GEBFJT2.js";
99
98
  import {
100
99
  ToolIcon,
101
100
  createHeadingIdDeduper,
@@ -12376,13 +12375,6 @@ var BenefitCardGrid = ({ children, className = "", columns = 2 }) => {
12376
12375
  import { ExternalLink as ExternalLink4 } from "lucide-react";
12377
12376
  import React9 from "react";
12378
12377
  import { jsx as jsx90, jsxs as jsxs68 } from "react/jsx-runtime";
12379
- function PlatformBrowseButton({ item }) {
12380
- const linkProps = useNavLinkViaRuntime({ href: item.link, targetPlatform: item.targetPlatform });
12381
- return /* @__PURE__ */ jsxs68(Button, { variant: "outline", linkProps, rightIcon: /* @__PURE__ */ jsx90(ExternalLink4, { className: "h-4 w-4" }), children: [
12382
- "Browse ",
12383
- item.buttonText
12384
- ] });
12385
- }
12386
12378
  function BrandAssociationCard({ item, className = "" }) {
12387
12379
  const renderIcon = () => {
12388
12380
  if (React9.isValidElement(item.icon)) {
@@ -12395,7 +12387,7 @@ function BrandAssociationCard({ item, className = "" }) {
12395
12387
  /* @__PURE__ */ jsx90("div", { className: "flex h-20 w-20 items-center justify-center", children: renderIcon() }),
12396
12388
  /* @__PURE__ */ jsx90("h3", { className: "text-ods-text-primary text-h2", children: item.title }),
12397
12389
  /* @__PURE__ */ jsx90("p", { className: "text-ods-text-secondary text-h6", children: item.description }),
12398
- item.targetPlatform ? /* @__PURE__ */ jsx90(PlatformBrowseButton, { item }) : /* @__PURE__ */ jsxs68(Button, { variant: "outline", href: item.link, openInNewTab: true, rightIcon: /* @__PURE__ */ jsx90(ExternalLink4, { className: "h-4 w-4" }), children: [
12390
+ /* @__PURE__ */ jsxs68(Button, { variant: "outline", href: item.link, openInNewTab: true, rightIcon: /* @__PURE__ */ jsx90(ExternalLink4, { className: "h-4 w-4" }), children: [
12399
12391
  "Browse ",
12400
12392
  item.buttonText
12401
12393
  ] })