@factorialco/f0-react 4.9.0 → 4.10.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.
package/dist/ai.d.ts CHANGED
@@ -3310,6 +3310,14 @@ declare type F0AvatarTeamProps = {
3310
3310
  /**
3311
3311
  * Shared inline card rendered in the AI chat for any canvas entity.
3312
3312
  * Shows an avatar, title, optional description, and a configurable action button.
3313
+ *
3314
+ * @deprecated Being replaced by `F0CardHorizontal` (`@/experimental/F0CardHorizontal`).
3315
+ * The co-creation flow already renders these cards with `F0CardHorizontal` directly
3316
+ * (Open/Close → `primaryAction`; superseded → a faded `opacity-50 pointer-events-none`
3317
+ * wrapper). Don't add new usages; migrate the remaining one
3318
+ * (`F0AiMessagesContainer/FormCard`) once its inline `children` preview has an
3319
+ * `F0CardHorizontal`-friendly home.
3320
+ * @removeIn 5.0.0
3313
3321
  */
3314
3322
  export declare function F0CanvasCard({ avatar, title, description, isActive, action, children, }: F0CanvasCardProps): JSX_2.Element;
3315
3323
 
@@ -3317,6 +3325,10 @@ export declare namespace F0CanvasCard {
3317
3325
  var displayName: string;
3318
3326
  }
3319
3327
 
3328
+ /**
3329
+ * @deprecated Being replaced by `F0CardHorizontal`. See {@link F0CanvasCard}.
3330
+ * @removeIn 5.0.0
3331
+ */
3320
3332
  export declare type F0CanvasCardProps = {
3321
3333
  /** Avatar to display: a module icon or a file-type badge */
3322
3334
  avatar?: CanvasCardAvatar;
@@ -3491,6 +3503,14 @@ declare type F0FileItemSize = (typeof f0FileItemSizes)[number];
3491
3503
 
3492
3504
  declare const f0FileItemSizes: readonly ["md", "lg"];
3493
3505
 
3506
+ /**
3507
+ * @deprecated Being replaced by `F0CardHorizontal` (`@/experimental/F0CardHorizontal`),
3508
+ * which this component already wraps. Use `F0CardHorizontal` directly: `confirmAction` /
3509
+ * `rejectAction` for the pending state, `status` for the resolved outcome, and
3510
+ * `secondaryActions` for a single CTA. The co-creation flow no longer uses this component —
3511
+ * don't add new usages.
3512
+ * @removeIn 5.0.0
3513
+ */
3494
3514
  export declare const F0HILActionConfirmation: ({ text, description, avatar, confirmationText, onConfirm, cancelText, onCancel, stackAt, }: F0HILActionConfirmationProps) => JSX_2.Element;
3495
3515
 
3496
3516
  /**
@@ -3499,6 +3519,9 @@ export declare const F0HILActionConfirmation: ({ text, description, avatar, conf
3499
3519
  * Renders an inline approve/reject row built on `F0CardHorizontal`'s confirm/reject
3500
3520
  * variant: the prompt as the row title, with icon-only ✓ (confirm) and ✗
3501
3521
  * (reject) buttons at the trailing edge.
3522
+ *
3523
+ * @deprecated Being replaced by `F0CardHorizontal`. See {@link F0HILActionConfirmation}.
3524
+ * @removeIn 5.0.0
3502
3525
  */
3503
3526
  export declare type F0HILActionConfirmationProps = {
3504
3527
  /**
package/dist/ai.js CHANGED
@@ -1,6 +1,6 @@
1
- import { C as e, D as r, c as i, F as o, a as t, f as n, g as F, d as C, e as A, I as l, P as d, b as u, u as m } from "./F0CanvasPanel-B-6B9ckI.js";
1
+ import { C as e, D as r, c as i, F as o, a as t, f as n, g as F, d as C, e as A, I as l, P as d, b as u, u as m } from "./F0CanvasPanel-DlvTIHHX.js";
2
2
  import { defaultTranslations as c } from "./i18n-provider-defaults.js";
3
- import { A as v, s as I, t as g, w as f, l as p, i as y, q as T, x as S, y as x, p as H, r as O, j as V, e as b, g as k, k as w, F as M, h as D, a as j, n as q, m as z, o as B, b as E, f as L, v as R, c as G, d as J, u as K } from "./F0AiProcessingOverlay-B8K7o_Ei.js";
3
+ import { A as v, s as I, t as g, w as f, l as p, i as y, q as T, x as S, y as x, p as H, r as O, j as V, e as b, g as k, k as w, F as M, h as D, a as j, n as q, m as z, o as B, b as E, f as L, v as R, c as G, d as J, u as K } from "./F0AiProcessingOverlay-aRzAETGm.js";
4
4
  export {
5
5
  v as AiChatTranslationsProvider,
6
6
  e as ChatSpinner,