@factorialco/f0-react 1.259.0 → 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/experimental.d.ts +26 -18
- package/dist/experimental.js +3630 -3602
- package/dist/f0.d.ts +17 -8
- package/dist/f0.js +9 -3
- package/dist/{hooks-nJDkwAyV.js → hooks-DHnRuaUS.js} +8531 -8547
- package/package.json +1 -1
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" | "
|
|
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?: "
|
|
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?: "
|
|
928
|
+
variant?: "selected" | "default" | undefined;
|
|
927
929
|
} & ({
|
|
928
930
|
class?: ClassValue;
|
|
929
931
|
className?: never;
|
|
@@ -1371,7 +1373,13 @@ export declare const defaultTranslations: {
|
|
|
1371
1373
|
};
|
|
1372
1374
|
};
|
|
1373
1375
|
readonly navigation: {
|
|
1374
|
-
readonly sidebar:
|
|
1376
|
+
readonly sidebar: {
|
|
1377
|
+
readonly label: "Main navigation";
|
|
1378
|
+
readonly companySelector: {
|
|
1379
|
+
readonly label: "Select a company";
|
|
1380
|
+
readonly placeholder: "Select a company";
|
|
1381
|
+
};
|
|
1382
|
+
};
|
|
1375
1383
|
readonly previous: "Previous";
|
|
1376
1384
|
readonly next: "Next";
|
|
1377
1385
|
};
|
|
@@ -2026,6 +2034,7 @@ export declare const F0Icon: ForwardRefExoticComponent<Omit<Omit<F0IconProps_2,
|
|
|
2026
2034
|
|
|
2027
2035
|
export declare interface F0IconProps extends SVGProps<SVGSVGElement>, VariantProps<typeof iconVariants> {
|
|
2028
2036
|
icon: IconType;
|
|
2037
|
+
tooltip?: string;
|
|
2029
2038
|
size?: "lg" | "md" | "sm" | "xs";
|
|
2030
2039
|
state?: "normal" | "animate";
|
|
2031
2040
|
color?: "default" | "currentColor" | `#${string}` | Lowercase<NestedKeyOf<typeof f1Colors.icon>>;
|
|
@@ -3931,8 +3940,8 @@ declare global {
|
|
|
3931
3940
|
|
|
3932
3941
|
declare module "@tiptap/core" {
|
|
3933
3942
|
interface Commands<ReturnType> {
|
|
3934
|
-
|
|
3935
|
-
|
|
3943
|
+
liveCompanion: {
|
|
3944
|
+
insertLiveCompanion: (data: LiveCompanionData, config?: LiveCompanionConfig) => ReturnType;
|
|
3936
3945
|
};
|
|
3937
3946
|
}
|
|
3938
3947
|
}
|
|
@@ -3940,8 +3949,8 @@ declare module "@tiptap/core" {
|
|
|
3940
3949
|
|
|
3941
3950
|
declare module "@tiptap/core" {
|
|
3942
3951
|
interface Commands<ReturnType> {
|
|
3943
|
-
|
|
3944
|
-
|
|
3952
|
+
aiBlock: {
|
|
3953
|
+
insertAIBlock: (data: AIBlockData, config: AIBlockConfigWithLabels) => ReturnType;
|
|
3945
3954
|
};
|
|
3946
3955
|
}
|
|
3947
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-
|
|
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-
|
|
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";
|
|
@@ -18,7 +18,13 @@ const Ar = {
|
|
|
18
18
|
}
|
|
19
19
|
},
|
|
20
20
|
navigation: {
|
|
21
|
-
sidebar:
|
|
21
|
+
sidebar: {
|
|
22
|
+
label: "Main navigation",
|
|
23
|
+
companySelector: {
|
|
24
|
+
label: "Select a company",
|
|
25
|
+
placeholder: "Select a company"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
22
28
|
previous: "Previous",
|
|
23
29
|
next: "Next"
|
|
24
30
|
},
|