@factorialco/f0-react 1.445.1 → 1.445.3

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
@@ -1184,6 +1184,9 @@ export declare const defaultTranslations: {
1184
1184
  readonly hide: "Hide password";
1185
1185
  };
1186
1186
  };
1187
+ readonly link: {
1188
+ readonly opensInNewTab: "opens in new tab";
1189
+ };
1187
1190
  readonly actions: {
1188
1191
  readonly add: "Add";
1189
1192
  readonly edit: "Edit";
@@ -2566,9 +2569,9 @@ declare namespace Calendar {
2566
2569
 
2567
2570
  declare module "@tiptap/core" {
2568
2571
  interface Commands<ReturnType> {
2569
- enhanceHighlight: {
2570
- setEnhanceHighlight: (from: number, to: number) => ReturnType;
2571
- clearEnhanceHighlight: () => ReturnType;
2572
+ aiBlock: {
2573
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
2574
+ executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
2572
2575
  };
2573
2576
  }
2574
2577
  }
@@ -2576,9 +2579,9 @@ declare module "@tiptap/core" {
2576
2579
 
2577
2580
  declare module "@tiptap/core" {
2578
2581
  interface Commands<ReturnType> {
2579
- aiBlock: {
2580
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
2581
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
2582
+ enhanceHighlight: {
2583
+ setEnhanceHighlight: (from: number, to: number) => ReturnType;
2584
+ clearEnhanceHighlight: () => ReturnType;
2582
2585
  };
2583
2586
  }
2584
2587
  }
package/dist/ai.js CHANGED
@@ -1,6 +1,6 @@
1
- import { i as t, h as i, F as e, a as n, C as o, b as r, j as A, k as c, I as u, g as F, c as h, d as C, u as l, f as I, e as f } from "./F0AiChat-B9rpYsM_.js";
1
+ import { i as t, h as i, F as e, a as n, C as o, b as r, j as A, k as c, I as u, g as F, c as h, d as C, u as l, f as I, e as f } from "./F0AiChat-UzfQgZYH.js";
2
2
  import { defaultTranslations as m } from "./i18n-provider-defaults.js";
3
- import { A as p, e as g, F as S, c as v, d as x, b as k, a as O, f as P, o as b, u as y } from "./types-BISkeATl.js";
3
+ import { A as p, e as g, F as S, c as v, d as x, b as k, a as O, f as P, o as b, u as y } from "./types-B4KZGHc1.js";
4
4
  export {
5
5
  p as AiChatTranslationsProvider,
6
6
  t as ChatSpinner,
@@ -2560,6 +2560,9 @@ declare const defaultTranslations: {
2560
2560
  readonly hide: "Hide password";
2561
2561
  };
2562
2562
  };
2563
+ readonly link: {
2564
+ readonly opensInNewTab: "opens in new tab";
2565
+ };
2563
2566
  readonly actions: {
2564
2567
  readonly add: "Add";
2565
2568
  readonly edit: "Edit";
@@ -7649,9 +7652,9 @@ declare namespace Calendar {
7649
7652
 
7650
7653
  declare module "@tiptap/core" {
7651
7654
  interface Commands<ReturnType> {
7652
- enhanceHighlight: {
7653
- setEnhanceHighlight: (from: number, to: number) => ReturnType;
7654
- clearEnhanceHighlight: () => ReturnType;
7655
+ aiBlock: {
7656
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
7657
+ executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
7655
7658
  };
7656
7659
  }
7657
7660
  }
@@ -7659,9 +7662,9 @@ declare module "@tiptap/core" {
7659
7662
 
7660
7663
  declare module "@tiptap/core" {
7661
7664
  interface Commands<ReturnType> {
7662
- aiBlock: {
7663
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
7664
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
7665
+ enhanceHighlight: {
7666
+ setEnhanceHighlight: (from: number, to: number) => ReturnType;
7667
+ clearEnhanceHighlight: () => ReturnType;
7665
7668
  };
7666
7669
  }
7667
7670
  }
@@ -1,10 +1,10 @@
1
- import { a6 as zn, a7 as Pn, a8 as Rn, a9 as $n, aa as zt, ab as Re, ac as Bn, ad as xt, ae as ot, af as je, L as h, R as K, M as be, u as oe, ag as Wn, ah as Mn, ai as jn, aj as Vn, ak as Gn, a2 as le, al as Hn, Q as ke, am as Un, an as Kn, ao as B, ap as qn, aq as Yn, J as Oe, ar as ma, as as Jn, at as Zn, N as M, au as vt, a5 as _, av as fe, aw as Xn, ax as Qn, ay as er, az as tr, aA as ar, aB as Se, aC as ha, aD as nr, aE as ve, aF as Ee, aG as rr, aH as yt, k as pa, aI as Ce, aJ as lr, aK as ga, a3 as ae, aL as $, O as ba, aM as xa, aN as sr, aO as wt, aP as pe, a4 as ee, aQ as ir, aR as or, aS as cr, aT as dr, T as ge, aU as Ke, aV as ur, aW as fr, aX as mr, aY as hr, aZ as qe, a_ as va, a$ as pr, b0 as gr, b1 as br, b2 as Ve, b3 as xr, b4 as vr, b5 as yr, b6 as wr, b7 as Nr, b8 as Cr, b9 as Ir, ba as kr, bb as Sr, bc as Ar, bd as ya, be as wa, bf as Na, bg as ct, bh as dt, bi as Ca, bj as Lr, bk as Fr, bl as Tr, bm as _r, P as Ye, bn as Nt, bo as Ia, bp as Er, bq as ka, br as Dr, bs as Or, bt as zr, bu as Ie, bv as Pr, bw as $e, bx as Pt, by as ut, bz as Rr, bA as $r, bB as Br, X as Sa, W as Wr, bC as Aa, Y as Ct, Z as Mr, bD as jr, U as It, bE as Vr, a as Gr, c as Hr, bF as Ur, bG as La, bH as Kr, bI as qr, F as Yr, bJ as Fa, bK as Ta, bL as Jr, bM as Rt, bN as Zr, bO as Xr, bP as Qr, bQ as el, bR as _a, bS as tl, bT as al, bU as nl, bV as rl, bW as ll, bX as me, bY as kt, bZ as St, b_ as At, b$ as Ea, c0 as Lt, c1 as Da, c2 as sl, c3 as il, c4 as ol, c5 as cl, c6 as dl, c7 as ul, c8 as fl, c9 as ml, ca as hl, cb as pl, cc as gl, cd as $t, ce as Bt, cf as Wt, cg as bl, ch as xl, ci as vl, cj as yl, ck as Oa, cl as wl, cm as Nl, cn as Cl } from "./F0AiChat-B9rpYsM_.js";
2
- import { cx as Ld, cw as Fd, cJ as Td, cp as _d, cq as Ed, cT as Dd, cr as Od, cv as zd, cs as Pd, cF as Rd, cG as $d, cK as Bd, cR as Wd, cS as Md, ct as jd, cz as Vd, cy as Gd, cH as Hd, co as Ud, cI as Kd, cM as qd, cN as Yd, cE as Jd, cB as Zd, cD as Xd, cA as Qd, cu as eu, cC as tu, cO as au, cP as nu, cL as ru, cQ as lu } from "./F0AiChat-B9rpYsM_.js";
1
+ import { a6 as zn, a7 as Pn, a8 as Rn, a9 as $n, aa as zt, ab as Re, ac as Bn, ad as xt, ae as ot, af as je, L as h, R as K, M as be, u as oe, ag as Wn, ah as Mn, ai as jn, aj as Vn, ak as Gn, a2 as le, al as Hn, Q as ke, am as Un, an as Kn, ao as B, ap as qn, aq as Yn, J as Oe, ar as ma, as as Jn, at as Zn, N as M, au as vt, a5 as _, av as fe, aw as Xn, ax as Qn, ay as er, az as tr, aA as ar, aB as Se, aC as ha, aD as nr, aE as ve, aF as Ee, aG as rr, aH as yt, k as pa, aI as Ce, aJ as lr, aK as ga, a3 as ae, aL as $, O as ba, aM as xa, aN as sr, aO as wt, aP as pe, a4 as ee, aQ as ir, aR as or, aS as cr, aT as dr, T as ge, aU as Ke, aV as ur, aW as fr, aX as mr, aY as hr, aZ as qe, a_ as va, a$ as pr, b0 as gr, b1 as br, b2 as Ve, b3 as xr, b4 as vr, b5 as yr, b6 as wr, b7 as Nr, b8 as Cr, b9 as Ir, ba as kr, bb as Sr, bc as Ar, bd as ya, be as wa, bf as Na, bg as ct, bh as dt, bi as Ca, bj as Lr, bk as Fr, bl as Tr, bm as _r, P as Ye, bn as Nt, bo as Ia, bp as Er, bq as ka, br as Dr, bs as Or, bt as zr, bu as Ie, bv as Pr, bw as $e, bx as Pt, by as ut, bz as Rr, bA as $r, bB as Br, X as Sa, W as Wr, bC as Aa, Y as Ct, Z as Mr, bD as jr, U as It, bE as Vr, a as Gr, c as Hr, bF as Ur, bG as La, bH as Kr, bI as qr, F as Yr, bJ as Fa, bK as Ta, bL as Jr, bM as Rt, bN as Zr, bO as Xr, bP as Qr, bQ as el, bR as _a, bS as tl, bT as al, bU as nl, bV as rl, bW as ll, bX as me, bY as kt, bZ as St, b_ as At, b$ as Ea, c0 as Lt, c1 as Da, c2 as sl, c3 as il, c4 as ol, c5 as cl, c6 as dl, c7 as ul, c8 as fl, c9 as ml, ca as hl, cb as pl, cc as gl, cd as $t, ce as Bt, cf as Wt, cg as bl, ch as xl, ci as vl, cj as yl, ck as Oa, cl as wl, cm as Nl, cn as Cl } from "./F0AiChat-UzfQgZYH.js";
2
+ import { cx as Ld, cw as Fd, cJ as Td, cp as _d, cq as Ed, cT as Dd, cr as Od, cv as zd, cs as Pd, cF as Rd, cG as $d, cK as Bd, cR as Wd, cS as Md, ct as jd, cz as Vd, cy as Gd, cH as Hd, co as Ud, cI as Kd, cM as qd, cN as Yd, cE as Jd, cB as Zd, cD as Xd, cA as Qd, cu as eu, cC as tu, cO as au, cP as nu, cL as ru, cQ as lu } from "./F0AiChat-UzfQgZYH.js";
3
3
  import { jsx as e, jsxs as o, Fragment as U } from "react/jsx-runtime";
4
4
  import * as De from "react";
5
5
  import re, { forwardRef as E, useRef as G, useTransition as Il, useState as T, useLayoutEffect as za, useContext as Je, createContext as Ft, useCallback as Q, useMemo as q, useEffect as j, useId as kl, memo as Pa, Fragment as Sl, isValidElement as Al, cloneElement as Ra, Children as $a } from "react";
6
- import { C as Ll, P as Fl, g as Ba, c as Tl, a as Wa, F as ft, f as _l, b as El, u as Ma, A as Dl, B as Ol, L as zl, d as Pl, V as Rl, e as $l, h as Mt, i as Bl, j as Wl } from "./index-SFjO0qmR.js";
7
- import { m as iu, n as ou, k as cu, v as du, o as uu, t as fu, E as mu, l as hu, y as pu, M as gu, I as bu, z as xu, p as vu, G as yu, H as wu, N as Nu, J as Cu, q as Iu, s as ku, R as Su, x as Au, K as Lu, S as Fu, T as Tu, r as _u, _ as Eu, D as Du, w as Ou } from "./index-SFjO0qmR.js";
6
+ import { C as Ll, P as Fl, g as Ba, c as Tl, a as Wa, F as ft, f as _l, b as El, u as Ma, A as Dl, B as Ol, L as zl, d as Pl, V as Rl, e as $l, h as Mt, i as Bl, j as Wl } from "./index-axdSzbH4.js";
7
+ import { m as iu, n as ou, k as cu, v as du, o as uu, t as fu, E as mu, l as hu, y as pu, M as gu, I as bu, z as xu, p as vu, G as yu, H as wu, N as Nu, J as Cu, q as Iu, s as ku, R as Su, x as Au, K as Lu, S as Fu, T as Tu, r as _u, _ as Eu, D as Du, w as Ou } from "./index-axdSzbH4.js";
8
8
  const Ml = zn("Search", [
9
9
  ["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }],
10
10
  ["path", { d: "m21 21-4.3-4.3", key: "1qie3q" }]
package/dist/f0.d.ts CHANGED
@@ -930,7 +930,9 @@ declare const alertAvatarVariants: (props?: ({
930
930
 
931
931
  declare type AlertTagProps = ComponentProps<typeof F0TagAlert>;
932
932
 
933
- export declare type AlertVariant = "info" | "warning" | "critical" | "neutral" | "positive";
933
+ export declare type AlertVariant = (typeof alertVariantOptions)[number];
934
+
935
+ export declare const alertVariantOptions: readonly ["info", "warning", "critical", "neutral", "positive"];
934
936
 
935
937
  /** Flex align items */
936
938
  export declare type AlignItemsToken = "start" | "center" | "end" | "stretch" | "baseline";
@@ -3609,6 +3611,9 @@ export declare const defaultTranslations: {
3609
3611
  readonly hide: "Hide password";
3610
3612
  };
3611
3613
  };
3614
+ readonly link: {
3615
+ readonly opensInNewTab: "opens in new tab";
3616
+ };
3612
3617
  readonly actions: {
3613
3618
  readonly add: "Add";
3614
3619
  readonly edit: "Edit";
@@ -4830,7 +4835,7 @@ export declare interface F0AlertProps {
4830
4835
  href: string;
4831
4836
  };
4832
4837
  icon?: IconType;
4833
- variant: AlertVariant;
4838
+ variant?: AlertVariant;
4834
4839
  }
4835
4840
 
4836
4841
  /**
@@ -12648,9 +12653,9 @@ declare namespace Calendar {
12648
12653
 
12649
12654
  declare module "@tiptap/core" {
12650
12655
  interface Commands<ReturnType> {
12651
- enhanceHighlight: {
12652
- setEnhanceHighlight: (from: number, to: number) => ReturnType;
12653
- clearEnhanceHighlight: () => ReturnType;
12656
+ aiBlock: {
12657
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
12658
+ executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
12654
12659
  };
12655
12660
  }
12656
12661
  }
@@ -12658,9 +12663,9 @@ declare module "@tiptap/core" {
12658
12663
 
12659
12664
  declare module "@tiptap/core" {
12660
12665
  interface Commands<ReturnType> {
12661
- aiBlock: {
12662
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
12663
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
12666
+ enhanceHighlight: {
12667
+ setEnhanceHighlight: (from: number, to: number) => ReturnType;
12668
+ clearEnhanceHighlight: () => ReturnType;
12664
12669
  };
12665
12670
  }
12666
12671
  }