@factorialco/f0-react 1.259.1 → 1.261.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 +20 -17
- package/dist/experimental.js +6174 -6175
- package/dist/f0.d.ts +11 -8
- package/dist/f0.js +2 -2
- package/dist/{hooks-nJDkwAyV.js → hooks--adqoAKI.js} +16696 -16685
- package/dist/styles.css +1 -1
- 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;
|
|
@@ -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>>;
|
|
@@ -3962,11 +3965,6 @@ declare module "@tiptap/core" {
|
|
|
3962
3965
|
}
|
|
3963
3966
|
|
|
3964
3967
|
|
|
3965
|
-
declare namespace Calendar {
|
|
3966
|
-
var displayName: string;
|
|
3967
|
-
}
|
|
3968
|
-
|
|
3969
|
-
|
|
3970
3968
|
declare module "@tiptap/core" {
|
|
3971
3969
|
interface Commands<ReturnType> {
|
|
3972
3970
|
moodTracker: {
|
|
@@ -3974,3 +3972,8 @@ declare module "@tiptap/core" {
|
|
|
3974
3972
|
};
|
|
3975
3973
|
}
|
|
3976
3974
|
}
|
|
3975
|
+
|
|
3976
|
+
|
|
3977
|
+
declare namespace Calendar {
|
|
3978
|
+
var displayName: string;
|
|
3979
|
+
}
|
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--adqoAKI.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--adqoAKI.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";
|