@factorialco/f0-react 14.5.0 → 14.6.0

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.
@@ -1306,11 +1306,12 @@ function hr({ src: e, alt: n, ...r }) {
1306
1306
  }
1307
1307
  //#endregion
1308
1308
  //#region src/addons/ai/F0AiChat/components/markdownRenderers/components/Link.tsx
1309
- function gr({ children: e, ...t }) {
1309
+ function gr({ children: e, className: t, ...n }) {
1310
1310
  return /* @__PURE__ */ Z(Qe, {
1311
- ...t,
1311
+ ...n,
1312
+ className: i("[overflow-wrap:anywhere]", t),
1312
1313
  variant: "link",
1313
- href: t.href,
1314
+ href: n.href,
1314
1315
  children: e
1315
1316
  });
1316
1317
  }
@@ -2648,7 +2649,7 @@ var fa = pn(void 0), pa = () => _n(fa), ma = (e) => /* @__PURE__ */ Z(Te, {
2648
2649
  children: [
2649
2650
  r && l ? /* @__PURE__ */ Z("div", {
2650
2651
  ref: m,
2651
- className: "w-full max-w-full [&>div]:flex [&>div]:flex-col [&>div]:gap-1",
2652
+ className: "w-full max-w-full break-words [&>div]:flex [&>div]:flex-col [&>div]:gap-1",
2652
2653
  children: (s ?? ma)(l)
2653
2654
  }) : null,
2654
2655
  u.length > 0 ? /* @__PURE__ */ Z("div", {
@@ -2944,7 +2945,7 @@ var xa = ({ content: e, targetMessage: n, onCopy: r }) => {
2944
2945
  className: "flex h-5 items-center",
2945
2946
  children: /* @__PURE__ */ Z(G, { icon: mt })
2946
2947
  }), /* @__PURE__ */ Z("div", {
2947
- className: "min-w-0 whitespace-pre-wrap text-base leading-5 [&>div]:flex [&>div]:flex-col [&>div]:gap-1 [&_p]:m-0",
2948
+ className: "min-w-0 whitespace-pre-wrap break-words text-base leading-5 [&>div]:flex [&>div]:flex-col [&>div]:gap-1 [&_p]:m-0",
2948
2949
  children: (t ?? Oa)(e)
2949
2950
  })]
2950
2951
  }), Aa = ({ message: e, onReplyQuote: t, autoScrollIntoView: n = !0, renderMarkdown: r }) => {
@@ -2977,7 +2978,7 @@ var xa = ({ content: e, targetMessage: n, onCopy: r }) => {
2977
2978
  }) : null,
2978
2979
  f ? /* @__PURE__ */ Z("div", {
2979
2980
  ref: a,
2980
- className: "w-fit max-w-[90%] self-end whitespace-pre-wrap rounded-xl bg-f1-background-tertiary px-4 py-3 [&>div]:flex [&>div]:flex-col [&>div]:gap-1",
2981
+ className: "w-fit max-w-[90%] self-end whitespace-pre-wrap break-words rounded-xl bg-f1-background-tertiary px-4 py-3 [&>div]:flex [&>div]:flex-col [&>div]:gap-1",
2981
2982
  children: (r ?? Oa)(u)
2982
2983
  }) : null,
2983
2984
  /* @__PURE__ */ Z(da, {
@@ -1,4 +1,4 @@
1
- import { Si as e, a as t, o as n } from "./CoachmarkProvider-Bog9iAns.js";
1
+ import { Si as e, a as t, o as n } from "./CoachmarkProvider-3865Hwo1.js";
2
2
  import { i as r, r as i } from "./i18n-provider-yEyt4-zw.js";
3
3
  import { L as a, R as o } from "./tooltip-BX4dSfeL.js";
4
4
  import { H as s, K as c, T as l, U as u, b as d, h as f, t as p } from "./F0Button-BuWUEcYr.js";
@@ -1609,7 +1609,7 @@ var Xt = {
1609
1609
  isDark: e
1610
1610
  };
1611
1611
  }, tn = {
1612
- maplibre: async () => (await import("./maplibre-D8QDHGf_.js")).createMaplibreAdapter,
1612
+ maplibre: async () => (await import("./maplibre-DyF5go4s.js")).createMaplibreAdapter,
1613
1613
  google: async (e) => (await import("./google-D1V0swd7.js")).loadGoogleAdapter(e)
1614
1614
  }, nn = /* @__PURE__ */ new Map(), rn = (e, t) => {
1615
1615
  let n = nn.get(e);
@@ -1,4 +1,4 @@
1
- import { Nt as e, Pt as t } from "./CoachmarkProvider-Bog9iAns.js";
1
+ import { Nt as e, Pt as t } from "./CoachmarkProvider-3865Hwo1.js";
2
2
  import { r as n } from "./i18n-provider-yEyt4-zw.js";
3
3
  import { L as r, R as i } from "./tooltip-BX4dSfeL.js";
4
4
  import { w as a } from "./F0Button-BuWUEcYr.js";
@@ -8,7 +8,7 @@ import { V as u, l as d } from "./useData-Cf_qNogx.js";
8
8
  import { ft as ee } from "./popover-D2SENX0l.js";
9
9
  import { c as f } from "./scrollarea-DtxFzzzM.js";
10
10
  import { t as p } from "./F0Text-Dk6a4F8A.js";
11
- import { o as m, t as h } from "./F0Map-DRQwYRsB.js";
11
+ import { o as m, t as h } from "./F0Map-BzZYdd5h.js";
12
12
  import { useCallback as g, useEffect as _, useMemo as v, useRef as y, useState as b } from "react";
13
13
  import { Fragment as x, jsx as S, jsxs as C } from "react/jsx-runtime";
14
14
  //#region src/addons/data-collection/OneDataCollection/visualizations/collection/Map/components/MapNotOnMapButton.tsx
package/dist/ai.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { r as e, t } from "./i18n-provider-yEyt4-zw.js";
2
2
  import { L as n, N as r, P as i, R as a, _n as o, dn as s, gn as c, jt as l, n as u, rt as d, t as f, z as p } from "./F0CanvasPanel-J2ee3JLu.js";
3
- import { A as m, B as h, C as g, D as _, E as v, F as y, I as b, L as x, M as S, N as C, O as w, P as T, R as E, S as D, T as O, _ as k, a as A, b as j, c as M, d as N, f as P, g as F, h as I, i as L, j as R, k as z, l as B, m as V, n as H, o as U, p as W, r as G, s as K, t as q, u as J, v as Y, w as X, x as Z, y as Q, z as $ } from "./F0AiProcessingOverlay-BBKyA1-E.js";
3
+ import { A as m, B as h, C as g, D as _, E as v, F as y, I as b, L as x, M as S, N as C, O as w, P as T, R as E, S as D, T as O, _ as k, a as A, b as j, c as M, d as N, f as P, g as F, h as I, i as L, j as R, k as z, l as B, m as V, n as H, o as U, p as W, r as G, s as K, t as q, u as J, v as Y, w as X, x as Z, y as Q, z as $ } from "./F0AiProcessingOverlay-BIV8m5Im.js";
4
4
  import { t as ee } from "./i18n-provider-defaults-B8pK4Hlm.js";
5
5
  export { j as AiChatTranslationsProvider, o as ChatSpinner, U as CollapsibleGroup, p as DropOverlay, c as F0ActionItem, r as F0AiChat, M as F0AiChatCreditsButton, B as F0AiChatHeader, L as F0AiChatHistory, i as F0AiChatProvider, y as F0AiChatTextArea, x as F0AiChatUsageLimitsButton, O as F0AiFileAttachments, l as F0AiFilePreviewsProvider, V as F0AiInsightCard, k as F0AiMask, N as F0AiMessageSources, g as F0AiMessagesContainer, n as F0AiPong, q as F0AiProcessingOverlay, P as F0AiProposalCard, J as F0AiTableCard, F as F0AuraVoiceAnimation, z as F0CanvasCard, f as F0CanvasPanel, E as F0ChatComposer, Y as F0ClarifyingPanel, I as F0HILActionConfirmation, s as F0OneIcon, u as F0OneSwitch, v as FormCardValueFormatterProvider, t as I18nProvider, a as PongBall, K as ThreadItem, A as ThreadListSkeleton, h as actionItemStatuses, m as aiChatFileFromShowFilesItem, R as aiChatFileFromUploadedFile, S as aiChatFilesFromMessage, C as aiChatMessageText, D as aiTranslations, W as contentTypes, b as createPersonMentionSource, ee as defaultTranslations, T as markdownRenderers, $ as oneIconSizes, H as usageLimitsPopoverSides, d as useAiChat, Z as useAiChatTranslations, Q as useCanvasEntity, G as useChatHistory, _ as useFormCardValueFormatter, e as useI18n, w as useSetFormCardValueFormatter, X as useToolCallId };
@@ -4,7 +4,7 @@ import { useCallback as i, useEffect as a, useRef as o, useState as s } from "re
4
4
  import { jsx as c, jsxs as l } from "react/jsx-runtime";
5
5
  //#region \0virtual:f0-component-status-data
6
6
  var u = {
7
- generatedAt: "2026-11-11T17:42:09.749Z",
7
+ generatedAt: "2026-11-12T10:01:50.804Z",
8
8
  stats: {
9
9
  total: 314,
10
10
  byStatus: {
@@ -2436,6 +2436,24 @@ interface ApplicationFrameBaseProps {
2436
2436
  * secondary sidebar starts below it.
2437
2437
  */
2438
2438
  topBar?: React.ReactNode;
2439
+ /**
2440
+ * A composer, such as `<F0Composer variant="compact" />`, floated over the
2441
+ * bottom of the module from the `xs` breakpoint up. It hides, keeping its
2442
+ * draft, while the side panel is open, while the page shows an
2443
+ * `F0ActionBar`, and while a dialog is open in the page.
2444
+ */
2445
+ composer?: React.ReactElement;
2446
+ /**
2447
+ * Keep a strip free for the composer: the page ends above it and nothing
2448
+ * scrolls behind it. For pages with a sticky footer. By default the page
2449
+ * scrolls behind the composer.
2450
+ */
2451
+ reserveComposerSpace?: boolean;
2452
+ /**
2453
+ * Slides the docked composer out, keeping its draft, while the page shows a
2454
+ * composer of its own, such as one scrolled into view.
2455
+ */
2456
+ composerHidden?: boolean;
2439
2457
  children: React.ReactNode;
2440
2458
  }
2441
2459
  export interface ApplicationFrameProps extends ApplicationFrameBaseProps {
@@ -2454,7 +2472,7 @@ export interface ApplicationFrameProps extends ApplicationFrameBaseProps {
2454
2472
  /** The pointer entered the navigation, classic or two-level. */
2455
2473
  onNavigationPointerEnter?: () => void;
2456
2474
  }
2457
- declare function ApplicationFrameInternal({ children, sidebar, primarySidebar, secondarySidebar, topBar, banner, ai, aiPromotion, sidePanel, meeting, onNavigationPointerEnter }: ApplicationFrameProps): import("react").JSX.Element;
2475
+ declare function ApplicationFrameInternal({ children, sidebar, primarySidebar, secondarySidebar, topBar, banner, ai, aiPromotion, sidePanel, meeting, composer, reserveComposerSpace, composerHidden, onNavigationPointerEnter }: ApplicationFrameProps): import("react").JSX.Element;
2458
2476
  /**
2459
2477
  * @experimental This is an experimental component use it at your own risk
2460
2478
  */