@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
@@ -1,10 +1,10 @@
1
1
  "use client";
2
2
  import {
3
3
  createSseSubscription
4
- } from "./chunk-4L6XCMOU.js";
4
+ } from "./chunk-G6UMNAVI.js";
5
5
  import {
6
6
  useChatIdentity
7
- } from "./chunk-PO33GZVY.js";
7
+ } from "./chunk-7GEBFJT2.js";
8
8
  import {
9
9
  embedAuthedFetch
10
10
  } from "./chunk-FXJ3WWUB.js";
@@ -4,13 +4,10 @@ import {
4
4
  getOSLabel,
5
5
  getShellLabel,
6
6
  getToolLabel
7
- } from "./chunk-4L6XCMOU.js";
7
+ } from "./chunk-G6UMNAVI.js";
8
8
  import {
9
9
  useOnboardingState
10
10
  } from "./chunk-KUC673HM.js";
11
- import {
12
- NavLinkAnchorViaRuntime
13
- } from "./chunk-PO33GZVY.js";
14
11
  import {
15
12
  ToolIcon
16
13
  } from "./chunk-CZ7Y7UG4.js";
@@ -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
131
  const text = label ?? (toolType ? getToolLabel(toolType) : "");
136
132
  const mark = icon ?? (toolType ? /* @__PURE__ */ jsx4(ToolIcon, { toolType, className: iconClassName, size: 16 }) : null);
137
- const linked = (node, linkClassName) => href && targetPlatform ? /* @__PURE__ */ jsx4(
138
- NavLinkAnchorViaRuntime,
139
- {
140
- href,
141
- targetPlatform,
142
- title: text || void 0,
143
- className: linkClassName,
144
- children: node
145
- }
146
- ) : href ? /* @__PURE__ */ jsx4("a", { href, target: "_blank", rel: "noopener noreferrer", title: text || void 0, className: linkClassName, children: node }) : node;
133
+ const linked = (node, linkClassName) => href ? /* @__PURE__ */ jsx4("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__ */ jsxs4(
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }"use client";
2
2
 
3
3
 
4
- var _chunkP42V6N34cjs = require('./chunk-P42V6N34.cjs');
4
+ var _chunkGWQEYPYMcjs = require('./chunk-GWQEYPYM.cjs');
5
5
 
6
6
 
7
7
  var _chunkOF6GEI5Acjs = require('./chunk-OF6GEI5A.cjs');
@@ -12,7 +12,7 @@ var _chunkOF6GEI5Acjs = require('./chunk-OF6GEI5A.cjs');
12
12
 
13
13
 
14
14
 
15
- var _chunkSEXWHIMScjs = require('./chunk-SEXWHIMS.cjs');
15
+ var _chunk7OFPU7WEcjs = require('./chunk-7OFPU7WE.cjs');
16
16
 
17
17
 
18
18
  var _chunkUVTD52MDcjs = require('./chunk-UVTD52MD.cjs');
@@ -39,7 +39,7 @@ var _jsxruntime = require('react/jsx-runtime');
39
39
  function DocSearchResultRow({ result, isHighlighted }) {
40
40
  const docType = _optionalChain([result, 'access', _ => _.metadata, 'optionalAccess', _2 => _2.documentType]) || void 0;
41
41
  const sourceRepo = _optionalChain([result, 'access', _3 => _3.metadata, 'optionalAccess', _4 => _4.sourceRepo]) || void 0;
42
- const { Icon: SourceIcon, label: iconLabel } = _chunkSEXWHIMScjs.resolveSourceIcon.call(void 0, {
42
+ const { Icon: SourceIcon, label: iconLabel } = _chunk7OFPU7WEcjs.resolveSourceIcon.call(void 0, {
43
43
  sourceRepo,
44
44
  documentType: docType
45
45
  });
@@ -69,7 +69,7 @@ function DocSearchBar({
69
69
  renderResult
70
70
  }) {
71
71
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
72
- _chunkP42V6N34cjs.SearchInput,
72
+ _chunkGWQEYPYMcjs.SearchInput,
73
73
  {
74
74
  placeholder,
75
75
  value: query,
@@ -119,7 +119,7 @@ function mapDocSearchResults(docs) {
119
119
  results.push({
120
120
  id: `group-${entry.repo}`,
121
121
  // Same table label and count as the chat's grouped chip: one owner each.
122
- title: `${_chunkSEXWHIMScjs.getSourceLabel.call(void 0, entry.repo)} ${_chunkSEXWHIMScjs.recordCountLabel.call(void 0, rows.length)}`,
122
+ title: `${_chunk7OFPU7WEcjs.getSourceLabel.call(void 0, entry.repo)} ${_chunk7OFPU7WEcjs.recordCountLabel.call(void 0, rows.length)}`,
123
123
  path: rows[0].path,
124
124
  type: "file",
125
125
  metadata: {
@@ -311,27 +311,27 @@ function useDocSearch(config) {
311
311
  case "navigate-same-tab": {
312
312
  if (wantsNewTab) {
313
313
  setKeepOpen(true);
314
- window.open(action.href, "_blank", _chunkSEXWHIMScjs.NEW_TAB_FEATURES);
314
+ window.open(action.href, "_blank", _chunk7OFPU7WEcjs.NEW_TAB_FEATURES);
315
315
  return;
316
316
  }
317
317
  setKeepOpen(false);
318
318
  const path = baseRoute && action.href.startsWith(`${baseRoute}/`) ? action.href.slice(baseRoute.length + 1) : null;
319
319
  if (path && _optionalChain([onInPageSwap, 'optionalCall', _16 => _16(path)])) return;
320
- router.push(_chunkSEXWHIMScjs.stripSameOriginToPath.call(void 0, action.href));
320
+ router.push(_chunk7OFPU7WEcjs.stripSameOriginToPath.call(void 0, action.href));
321
321
  return;
322
322
  }
323
323
  case "navigate-new-tab":
324
324
  setKeepOpen(true);
325
325
  if (_optionalChain([runtime, 'optionalAccess', _17 => _17.navigation, 'access', _18 => _18.mode]) === "embed") {
326
326
  const targetPlatform = _nullishCoalesce(_optionalChain([result, 'access', _19 => _19.metadata, 'optionalAccess', _20 => _20.targetPlatform]), () => ( null));
327
- _chunkSEXWHIMScjs.resolveExternalNavigation.call(void 0, {
327
+ _chunk7OFPU7WEcjs.resolveExternalNavigation.call(void 0, {
328
328
  href: action.href,
329
329
  targetPlatform,
330
330
  runtime
331
331
  }).open();
332
332
  return;
333
333
  }
334
- window.open(action.href, "_blank", _chunkSEXWHIMScjs.NEW_TAB_FEATURES);
334
+ window.open(action.href, "_blank", _chunk7OFPU7WEcjs.NEW_TAB_FEATURES);
335
335
  return;
336
336
  case "ask-ai":
337
337
  setKeepOpen(false);
@@ -8,7 +8,7 @@ import {
8
8
  SelectTrigger,
9
9
  SelectValue,
10
10
  Textarea
11
- } from "./chunk-4L6XCMOU.js";
11
+ } from "./chunk-G6UMNAVI.js";
12
12
  import {
13
13
  useContactSubmission,
14
14
  useHumanitySignals,
@@ -18,7 +18,7 @@ import {
18
18
  ChatAttachmentAddButton,
19
19
  ChatAttachmentChipStrip,
20
20
  useChatAttachments
21
- } from "./chunk-PO33GZVY.js";
21
+ } from "./chunk-7GEBFJT2.js";
22
22
  import {
23
23
  SECTION_HEADING_CLASS,
24
24
  accentSentenceMarks
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  DEFAULT_FOLDER_INDEX_FILE
4
- } from "./chunk-4L6XCMOU.js";
4
+ } from "./chunk-G6UMNAVI.js";
5
5
  import {
6
6
  scrollElementIntoView
7
7
  } from "./chunk-CZ7Y7UG4.js";
@@ -10,7 +10,7 @@ import {
10
10
  StatusFilterComponent,
11
11
  TASK_TYPE_LABELS,
12
12
  TASK_TYPE_TEXT_COLORS
13
- } from "./chunk-4L6XCMOU.js";
13
+ } from "./chunk-G6UMNAVI.js";
14
14
  import {
15
15
  usePathname,
16
16
  useRouter,
@@ -11929,11 +11929,12 @@ function handleChatNavClick(event, runtime, { href, path, targetPlatform }, fall
11929
11929
 
11930
11930
  // src/components/chat/nav-link-anchor-via-runtime.tsx
11931
11931
  import { jsx as jsx75 } from "react/jsx-runtime";
11932
- function useNavLinkViaRuntime({
11932
+ function NavLinkAnchorViaRuntime({
11933
11933
  href,
11934
11934
  path,
11935
11935
  targetPlatform,
11936
- onClick: onClickProp
11936
+ className,
11937
+ children
11937
11938
  }) {
11938
11939
  const runtime = useRequiredChatRuntime();
11939
11940
  const router = useRouter();
@@ -11941,8 +11942,6 @@ function useNavLinkViaRuntime({
11941
11942
  const resolvedHref = resolveHrefForRuntime(href, runtime);
11942
11943
  const isNewTab = computeIsNewTab(runtime, resolvedHref, targetPlatform ?? null);
11943
11944
  const onClick = (e) => {
11944
- onClickProp?.(e);
11945
- if (e.defaultPrevented) return;
11946
11945
  const handled = executeNavigation({
11947
11946
  event: e,
11948
11947
  runtime,
@@ -11953,25 +11952,7 @@ function useNavLinkViaRuntime({
11953
11952
  });
11954
11953
  if (handled && !isNewTab && panel?.closeChat) panel.closeChat();
11955
11954
  };
11956
- const attrs = newTabAnchorAttrs(isNewTab);
11957
- return {
11958
- href: resolvedHref,
11959
- ...attrs,
11960
- ...isNewTab && targetPlatform && { rel: "noopener" },
11961
- onClick
11962
- };
11963
- }
11964
- function NavLinkAnchorViaRuntime({
11965
- href,
11966
- path,
11967
- targetPlatform,
11968
- className,
11969
- children,
11970
- onClick,
11971
- ...anchorAttrs
11972
- }) {
11973
- const linkProps = useNavLinkViaRuntime({ href, path, targetPlatform, onClick });
11974
- return /* @__PURE__ */ jsx75("a", { ...linkProps, ...anchorAttrs, className, children });
11955
+ return /* @__PURE__ */ jsx75("a", { href: resolvedHref, ...newTabAnchorAttrs(isNewTab), onClick, className, children });
11975
11956
  }
11976
11957
 
11977
11958
  // src/components/chat/source-action-button.tsx
@@ -26309,7 +26290,6 @@ export {
26309
26290
  executeNavigation,
26310
26291
  executeNavigationImperative,
26311
26292
  handleChatNavClick,
26312
- useNavLinkViaRuntime,
26313
26293
  NavLinkAnchorViaRuntime,
26314
26294
  SourceActionButton,
26315
26295
  getCaptionsUrl,