@factorialco/f0-react 10.4.0 → 10.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.
@@ -2238,7 +2238,7 @@ function xr({ children: e, title: t, ...n }) {
2238
2238
  br(i.current, e, n);
2239
2239
  }, [t]);
2240
2240
  return /* @__PURE__ */ Q("div", {
2241
- className: "group/table relative flex flex-col gap-2 rounded-md border border-solid border-f1-border-secondary",
2241
+ className: "group/table relative my-2 flex flex-col gap-2 rounded-md border border-solid border-f1-border-secondary first:mt-0 last:mb-0",
2242
2242
  children: [/* @__PURE__ */ Q("div", {
2243
2243
  className: "flex items-center justify-between gap-3 border-0 border-b border-solid border-f1-border-secondary px-3 py-2",
2244
2244
  children: [/* @__PURE__ */ Z(v, {
package/dist/ai.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { rn as e, tn as t } from "./popover-B2hEEubt.js";
2
- import { A as n, C as r, D as i, E as a, M as o, N as s, O as c, P as l, S as u, T as d, _ as f, a as p, b as m, c as h, d as g, f as _, g as v, h as y, i as b, j as x, k as S, l as C, m as w, n as T, o as E, p as D, r as O, s as k, t as A, u as j, v as M, w as N, x as P, y as F } from "./F0AiProcessingOverlay-BXmzGEmi.js";
2
+ import { A as n, C as r, D as i, E as a, M as o, N as s, O as c, P as l, S as u, T as d, _ as f, a as p, b as m, c as h, d as g, f as _, g as v, h as y, i as b, j as x, k as S, l as C, m as w, n as T, o as E, p as D, r as O, s as k, t as A, u as j, v as M, w as N, x as P, y as F } from "./F0AiProcessingOverlay-CrvPHV1G.js";
3
3
  import { I, L, _ as R, j as z, m as B, n as V, p as H, t as U, v as W, x as G, y as K } from "./F0CanvasPanel-C7vHU_iJ.js";
4
4
  import { t as q } from "./i18n-provider-defaults-DliS9uYl.js";
5
5
  export { F as AiChatTranslationsProvider, L as ChatSpinner, p as CollapsibleGroup, K as DropOverlay, I as F0ActionItem, H as F0AiChat, k as F0AiChatCreditsButton, h as F0AiChatHeader, O as F0AiChatHistory, B as F0AiChatProvider, S as F0AiChatTextArea, o as F0AiChatUsageLimitsButton, D as F0AiInsightCard, v as F0AiMask, j as F0AiMessageSources, u as F0AiMessagesContainer, R as F0AiPong, A as F0AiProcessingOverlay, g as F0AiProposalCard, C as F0AiTableCard, y as F0AuraVoiceAnimation, i as F0CanvasCard, U as F0CanvasPanel, f as F0ClarifyingPanel, w as F0HILActionConfirmation, z as F0OneIcon, V as F0OneSwitch, N as FormCardValueFormatterProvider, t as I18nProvider, W as PongBall, E as ThreadItem, b as ThreadListSkeleton, l as actionItemStatuses, P as aiTranslations, _ as contentTypes, n as createPersonMentionSource, q as defaultTranslations, c as markdownRenderers, s as oneIconSizes, x as usageLimitsPopoverSides, G as useAiChat, m as useAiChatTranslations, M as useCanvasEntity, T as useChatHistory, d as useFormCardValueFormatter, e as useI18n, a as useSetFormCardValueFormatter, r 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-10-22T16:49:22.205Z",
7
+ generatedAt: "2026-10-23T11:38:41.438Z",
8
8
  stats: {
9
9
  total: 307,
10
10
  byStatus: {
@@ -22,14 +22,14 @@ var u = {
22
22
  facade: 1
23
23
  },
24
24
  byDocQuality: {
25
- none: 173,
25
+ none: 172,
26
26
  stub: 50,
27
- acceptable: 25,
27
+ acceptable: 26,
28
28
  good: 10,
29
29
  gold: 49
30
30
  },
31
- withUnitTests: 183,
32
- withMdxDocs: 134
31
+ withUnitTests: 184,
32
+ withMdxDocs: 135
33
33
  },
34
34
  components: [
35
35
  {
@@ -3314,20 +3314,20 @@ var u = {
3314
3314
  name: "Navigation/Sidebar/Footer",
3315
3315
  tier: "blocks",
3316
3316
  apiStatus: "experimental",
3317
- tags: ["experimental"],
3317
+ tags: ["!autodocs", "experimental"],
3318
3318
  hasStories: !0,
3319
- hasUnitTests: !1,
3320
- hasPlayFunction: !1,
3321
- hasSnapshot: !1,
3322
- hasMdxDocs: !1,
3323
- docQuality: "none",
3319
+ hasUnitTests: !0,
3320
+ hasPlayFunction: !0,
3321
+ hasSnapshot: !0,
3322
+ hasMdxDocs: !0,
3323
+ docQuality: "acceptable",
3324
3324
  docSignals: {
3325
- sectionsCount: 0,
3326
- hasProps: !1,
3327
- hasDoDonts: !1,
3325
+ sectionsCount: 2,
3326
+ hasProps: !0,
3328
3327
  hasWhenToUse: !1,
3329
3328
  hasWhenNotToUse: !1,
3330
- exampleCount: 0
3329
+ hasDoDonts: !1,
3330
+ exampleCount: 4
3331
3331
  },
3332
3332
  a11yTier: "todo",
3333
3333
  storyFile: "blocks/Navigation/Sidebar/Footer/__stories__/Footer.stories.tsx"
@@ -3319,6 +3319,14 @@ export type SidebarUserMenuProps = {
3319
3319
  export declare function SidebarUserMenu({ user, options, onDropdownClick, compact }: SidebarUserMenuProps): import("react").JSX.Element;
3320
3320
  //#endregion
3321
3321
  //#region src/blocks/Navigation/Sidebar/Footer/Footer.d.ts
3322
+ type FooterButtonAction = Pick<DropdownItemObject, "label" | "disabled" | "onClick" | "href"> & {
3323
+ icon: NonNullable<DropdownItemObject["icon"]>;
3324
+ items?: never;
3325
+ };
3326
+ type FooterDropdownAction = Pick<DropdownItemObject, "label" | "disabled"> & Pick<ComponentProps<typeof Dropdown>, "items" | "open" | "onOpenChange"> & {
3327
+ icon: NonNullable<DropdownItemObject["icon"]>;
3328
+ };
3329
+ export type SidebarFooterAction = FooterButtonAction | FooterDropdownAction;
3322
3330
  interface SidebarFooterProps {
3323
3331
  user: SidebarUser;
3324
3332
  showActivityButton?: boolean;
@@ -3326,9 +3334,11 @@ interface SidebarFooterProps {
3326
3334
  activityButtonShortcut?: string[];
3327
3335
  onActivityButtonClick?: () => void;
3328
3336
  onDropdownClick?: () => void;
3337
+ /** Compact controls between the account menu and the native activity button. */
3338
+ additionalActions?: SidebarFooterAction[];
3329
3339
  options: DropdownItem[];
3330
3340
  }
3331
- export declare function SidebarFooter({ user, options, showActivityButton, activityButtonShortcut, onActivityButtonClick, onDropdownClick, hasActivityUpdates }: SidebarFooterProps): import("react").JSX.Element;
3341
+ export declare function SidebarFooter({ user, options, showActivityButton, activityButtonShortcut, onActivityButtonClick, onDropdownClick, hasActivityUpdates, additionalActions }: SidebarFooterProps): import("react").JSX.Element;
3332
3342
  //#endregion
3333
3343
  //#region src/blocks/Navigation/Sidebar/Icon/Icon.d.ts
3334
3344
  type SidebarIconProps = {