@factorialco/f0-react 1.259.1 → 1.260.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/f0.d.ts CHANGED
@@ -207,7 +207,7 @@ declare const alertAvatarSizes: readonly ["sm", "md", "lg"];
207
207
  declare const alertAvatarTypes: readonly ["critical", "warning", "info", "positive"];
208
208
 
209
209
  declare const alertAvatarVariants: (props?: ({
210
- type?: "info" | "critical" | "warning" | "positive" | undefined;
210
+ type?: "info" | "positive" | "critical" | "warning" | undefined;
211
211
  size?: "lg" | "md" | "sm" | undefined;
212
212
  } & ({
213
213
  class?: ClassValue;
@@ -325,7 +325,7 @@ declare interface BadgeProps extends VariantProps<typeof badgeVariants> {
325
325
  }
326
326
 
327
327
  declare const badgeVariants: (props?: ({
328
- type?: "critical" | "warning" | "positive" | "neutral" | "highlight" | undefined;
328
+ type?: "positive" | "critical" | "warning" | "neutral" | "highlight" | undefined;
329
329
  size?: "lg" | "md" | "sm" | "xs" | undefined;
330
330
  } & ({
331
331
  class?: ClassValue;
@@ -777,6 +777,7 @@ declare interface CardInternalProps {
777
777
 
778
778
  declare type CardMetadata = {
779
779
  icon: IconType;
780
+ tooltip?: string;
780
781
  property: Exclude<CardMetadataProperty, {
781
782
  type: "file";
782
783
  }>;
@@ -805,6 +806,7 @@ declare interface CardPrimaryAction {
805
806
 
806
807
  declare type CardPropertyDefinition<T> = PropertyDefinition_2<T> & {
807
808
  icon?: IconType;
809
+ tooltip?: string;
808
810
  };
809
811
 
810
812
  declare const cardPropertyRenderers: {
@@ -923,7 +925,7 @@ declare type ChipVariants = {
923
925
  };
924
926
 
925
927
  declare const chipVariants: (props?: ({
926
- variant?: "default" | "selected" | undefined;
928
+ variant?: "selected" | "default" | undefined;
927
929
  } & ({
928
930
  class?: ClassValue;
929
931
  className?: never;
@@ -2032,6 +2034,7 @@ export declare const F0Icon: ForwardRefExoticComponent<Omit<Omit<F0IconProps_2,
2032
2034
 
2033
2035
  export declare interface F0IconProps extends SVGProps<SVGSVGElement>, VariantProps<typeof iconVariants> {
2034
2036
  icon: IconType;
2037
+ tooltip?: string;
2035
2038
  size?: "lg" | "md" | "sm" | "xs";
2036
2039
  state?: "normal" | "animate";
2037
2040
  color?: "default" | "currentColor" | `#${string}` | Lowercase<NestedKeyOf<typeof f1Colors.icon>>;
@@ -3937,8 +3940,8 @@ declare global {
3937
3940
 
3938
3941
  declare module "@tiptap/core" {
3939
3942
  interface Commands<ReturnType> {
3940
- aiBlock: {
3941
- insertAIBlock: (data: AIBlockData, config: AIBlockConfigWithLabels) => ReturnType;
3943
+ liveCompanion: {
3944
+ insertLiveCompanion: (data: LiveCompanionData, config?: LiveCompanionConfig) => ReturnType;
3942
3945
  };
3943
3946
  }
3944
3947
  }
@@ -3946,8 +3949,8 @@ declare module "@tiptap/core" {
3946
3949
 
3947
3950
  declare module "@tiptap/core" {
3948
3951
  interface Commands<ReturnType> {
3949
- liveCompanion: {
3950
- insertLiveCompanion: (data: LiveCompanionData, config?: LiveCompanionConfig) => ReturnType;
3952
+ aiBlock: {
3953
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfigWithLabels) => ReturnType;
3951
3954
  };
3952
3955
  }
3953
3956
  }
package/dist/f0.js CHANGED
@@ -1,5 +1,5 @@
1
- import { S as xe, a as mt, f as ne, L as K, b as ht, A as vt, i as J, c as yt, d as Te, E as bt, g as X, e as gt, h as xt, C as wt, j as Pt, k as $, l as Fe, u as St, G as Ct, m as Nt, n as we, o as At, p as Ie, q as Ot, B as _e, X as Ee, Y as le, r as kt, s as je, t as Lt, v as Dt, w as Tt, x as Ft, y as It, z as _t, D as Et, F as jt, H as Pe, I as $t, J as W, K as oe, M as Bt, N as Mt, O as Rt, P as $e, Q as E, R as I, T as zt, U as Kt, V as Wt, W as qt, Z as Gt, _ as Vt, $ as Yt, a0 as Be, a1 as Ht, a2 as Z, a3 as Me, a4 as Re, a5 as Ut, a6 as ze, a7 as Ke, a8 as We, a9 as qe, aa as Jt, ab as Ge, ac as Xt, ad as Zt, ae as Qt, af as Se, ag as ie, ah as ea, ai as ta, aj as Ve, ak as aa, al as ra, am as Ye, an as na, ao as oa, ap as ia, aq as sa, ar as la, as as ca, at as ua, au as da, av as He, aw as M, ax as Ue, ay as fa, az as pa, aA as Ce, aB as ma, aC as Je, aD as ha, aE as va, aF as ya, aG as ba, aH as ga, aI as xa, aJ as wa, aK as Pa, aL as Sa, aM as Ca, aN as Na, aO as Aa } from "./hooks-nJDkwAyV.js";
2
- import { bp as tn, br as an, bA as rn, aP as nn, aQ as on, aR as sn, aS as ln, aT as cn, aU as un, aV as dn, aW as fn, aY as pn, aZ as mn, a_ as hn, a$ as vn, b0 as yn, b1 as bn, bw as gn, b3 as xn, b5 as wn, b6 as Pn, b7 as Sn, b8 as Cn, bb as Nn, bc as An, bd as On, bf as kn, b4 as Ln, be as Dn, ba as Tn, bx as Fn, bq as In, bk as _n, bn as En, bj as jn, bB as $n, bi as Bn, bh as Mn, aX as Rn, b2 as zn, b9 as Kn, bg as Wn, bl as qn, bs as Gn, bt as Vn, bu as Yn, bC as Hn, bm as Un, bv as Jn, bz as Xn, bo as Zn, by as Qn } from "./hooks-nJDkwAyV.js";
1
+ import { S as xe, a as mt, f as ne, L as K, b as ht, A as vt, i as J, c as yt, d as Te, E as bt, g as X, e as gt, h as xt, C as wt, j as Pt, k as $, l as Fe, u as St, G as Ct, m as Nt, n as we, o as At, p as Ie, q as Ot, B as _e, X as Ee, Y as le, r as kt, s as je, t as Lt, v as Dt, w as Tt, x as Ft, y as It, z as _t, D as Et, F as jt, H as Pe, I as $t, J as W, K as oe, M as Bt, N as Mt, O as Rt, P as $e, Q as E, R as I, T as zt, U as Kt, V as Wt, W as qt, Z as Gt, _ as Vt, $ as Yt, a0 as Be, a1 as Ht, a2 as Z, a3 as Me, a4 as Re, a5 as Ut, a6 as ze, a7 as Ke, a8 as We, a9 as qe, aa as Jt, ab as Ge, ac as Xt, ad as Zt, ae as Qt, af as Se, ag as ie, ah as ea, ai as ta, aj as Ve, ak as aa, al as ra, am as Ye, an as na, ao as oa, ap as ia, aq as sa, ar as la, as as ca, at as ua, au as da, av as He, aw as M, ax as Ue, ay as fa, az as pa, aA as Ce, aB as ma, aC as Je, aD as ha, aE as va, aF as ya, aG as ba, aH as ga, aI as xa, aJ as wa, aK as Pa, aL as Sa, aM as Ca, aN as Na, aO as Aa } from "./hooks-DHnRuaUS.js";
2
+ import { bp as tn, br as an, bA as rn, aP as nn, aQ as on, aR as sn, aS as ln, aT as cn, aU as un, aV as dn, aW as fn, aY as pn, aZ as mn, a_ as hn, a$ as vn, b0 as yn, b1 as bn, bw as gn, b3 as xn, b5 as wn, b6 as Pn, b7 as Sn, b8 as Cn, bb as Nn, bc as An, bd as On, bf as kn, b4 as Ln, be as Dn, ba as Tn, bx as Fn, bq as In, bk as _n, bn as En, bj as jn, bB as $n, bi as Bn, bh as Mn, aX as Rn, b2 as zn, b9 as Kn, bg as Wn, bl as qn, bs as Gn, bt as Vn, bu as Yn, bC as Hn, bm as Un, bv as Jn, bz as Xn, bo as Zn, by as Qn } from "./hooks-DHnRuaUS.js";
3
3
  import { jsx as n, jsxs as C, Fragment as ae } from "react/jsx-runtime";
4
4
  import * as fe from "react";
5
5
  import k, { PureComponent as Oa, useState as D, forwardRef as V, useEffect as B, useMemo as se, useCallback as Ne, useRef as pe, useImperativeHandle as ka, Children as La, createContext as Da } from "react";