@factorialco/f0-react 1.306.2 → 1.306.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/experimental.d.ts +32 -33
- package/dist/experimental.js +4114 -4088
- package/dist/f0.d.ts +25 -27
- package/dist/f0.js +2 -2
- package/dist/{hooks-sYse0T_h.js → hooks-B2RzD_VX.js} +22686 -22716
- package/dist/i18n-provider-defaults.d.ts +20 -20
- package/package.json +5 -3
package/dist/f0.d.ts
CHANGED
|
@@ -30,7 +30,6 @@ import { default as default_2 } from 'react';
|
|
|
30
30
|
import { DotTagCellValue } from '../../value-display/types/dotTag';
|
|
31
31
|
import { DotTagCellValue as DotTagCellValue_2 } from './types/dotTag';
|
|
32
32
|
import { F0GridStackProps as F0GridStackProps_2 } from './F0GridStack';
|
|
33
|
-
import { F0IconProps as F0IconProps_2 } from './F0Icon';
|
|
34
33
|
import { F0SelectProps as F0SelectProps_2 } from './types';
|
|
35
34
|
import { f1Colors } from '@factorialco/f0-core';
|
|
36
35
|
import { FileCellValue } from '../../value-display/types/file';
|
|
@@ -249,7 +248,7 @@ declare const alertAvatarSizes: readonly ["sm", "md", "lg"];
|
|
|
249
248
|
declare const alertAvatarTypes: readonly ["critical", "warning", "info", "positive"];
|
|
250
249
|
|
|
251
250
|
declare const alertAvatarVariants: (props?: ({
|
|
252
|
-
type?: "info" | "
|
|
251
|
+
type?: "info" | "critical" | "warning" | "positive" | undefined;
|
|
253
252
|
size?: "lg" | "md" | "sm" | undefined;
|
|
254
253
|
} & ({
|
|
255
254
|
class?: ClassValue;
|
|
@@ -379,7 +378,7 @@ declare interface BadgeProps extends VariantProps<typeof badgeVariants> {
|
|
|
379
378
|
}
|
|
380
379
|
|
|
381
380
|
declare const badgeVariants: (props?: ({
|
|
382
|
-
type?: "
|
|
381
|
+
type?: "critical" | "warning" | "positive" | "neutral" | "highlight" | undefined;
|
|
383
382
|
size?: "lg" | "md" | "sm" | "xs" | undefined;
|
|
384
383
|
} & ({
|
|
385
384
|
class?: ClassValue;
|
|
@@ -1008,7 +1007,7 @@ declare type ChipVariants = {
|
|
|
1008
1007
|
};
|
|
1009
1008
|
|
|
1010
1009
|
declare const chipVariants: (props?: ({
|
|
1011
|
-
variant?: "
|
|
1010
|
+
variant?: "default" | "selected" | undefined;
|
|
1012
1011
|
} & ({
|
|
1013
1012
|
class?: ClassValue;
|
|
1014
1013
|
className?: never;
|
|
@@ -2357,11 +2356,10 @@ export declare type F0HeadingProps = Omit<TextProps, "className" | "variant" | "
|
|
|
2357
2356
|
as?: HeadingTags;
|
|
2358
2357
|
};
|
|
2359
2358
|
|
|
2360
|
-
export declare const F0Icon: ForwardRefExoticComponent<Omit<Omit<
|
|
2359
|
+
export declare const F0Icon: ForwardRefExoticComponent<Omit<Omit<F0IconProps, "ref"> & RefAttributes<SVGSVGElement>, "ref"> & RefAttributes<HTMLElement | SVGElement>>;
|
|
2361
2360
|
|
|
2362
2361
|
export declare interface F0IconProps extends SVGProps<SVGSVGElement>, VariantProps<typeof iconVariants> {
|
|
2363
2362
|
icon: IconType;
|
|
2364
|
-
tooltip?: string;
|
|
2365
2363
|
size?: "lg" | "md" | "sm" | "xs";
|
|
2366
2364
|
state?: "normal" | "animate";
|
|
2367
2365
|
color?: "default" | "currentColor" | `#${string}` | Lowercase<NestedKeyOf<typeof f1Colors.icon>>;
|
|
@@ -4216,7 +4214,7 @@ declare type TextVariant = NonNullable<TextVariants["variant"]>;
|
|
|
4216
4214
|
declare type TextVariants = VariantProps<typeof textVariants>;
|
|
4217
4215
|
|
|
4218
4216
|
declare const textVariants: (props?: ({
|
|
4219
|
-
variant?: "info" | "small" | "body" | "code" | "label" | "description" | "heading" | "
|
|
4217
|
+
variant?: "info" | "small" | "body" | "code" | "label" | "description" | "heading" | "inverse" | "critical" | "warning" | "positive" | "selected" | "heading-large" | "label-input" | "warning-strong" | "critical-strong" | "positive-strong" | "info-strong" | undefined;
|
|
4220
4218
|
align?: "center" | "left" | "right" | undefined;
|
|
4221
4219
|
} & ({
|
|
4222
4220
|
class?: ClassValue;
|
|
@@ -4702,23 +4700,6 @@ declare global {
|
|
|
4702
4700
|
}
|
|
4703
4701
|
}
|
|
4704
4702
|
|
|
4705
|
-
declare module "gridstack" {
|
|
4706
|
-
interface GridStackWidget {
|
|
4707
|
-
id?: string;
|
|
4708
|
-
allowedSizes?: Array<{
|
|
4709
|
-
w: number;
|
|
4710
|
-
h: number;
|
|
4711
|
-
}>;
|
|
4712
|
-
meta?: Record<string, unknown>;
|
|
4713
|
-
}
|
|
4714
|
-
interface GridStackNode {
|
|
4715
|
-
allowedSizes?: Array<{
|
|
4716
|
-
w: number;
|
|
4717
|
-
h: number;
|
|
4718
|
-
}>;
|
|
4719
|
-
}
|
|
4720
|
-
}
|
|
4721
|
-
|
|
4722
4703
|
|
|
4723
4704
|
declare module "@tiptap/core" {
|
|
4724
4705
|
interface Commands<ReturnType> {
|
|
@@ -4746,9 +4727,21 @@ declare module "@tiptap/core" {
|
|
|
4746
4727
|
}
|
|
4747
4728
|
}
|
|
4748
4729
|
|
|
4749
|
-
|
|
4750
|
-
|
|
4751
|
-
|
|
4730
|
+
declare module "gridstack" {
|
|
4731
|
+
interface GridStackWidget {
|
|
4732
|
+
id?: string;
|
|
4733
|
+
allowedSizes?: Array<{
|
|
4734
|
+
w: number;
|
|
4735
|
+
h: number;
|
|
4736
|
+
}>;
|
|
4737
|
+
meta?: Record<string, unknown>;
|
|
4738
|
+
}
|
|
4739
|
+
interface GridStackNode {
|
|
4740
|
+
allowedSizes?: Array<{
|
|
4741
|
+
w: number;
|
|
4742
|
+
h: number;
|
|
4743
|
+
}>;
|
|
4744
|
+
}
|
|
4752
4745
|
}
|
|
4753
4746
|
|
|
4754
4747
|
|
|
@@ -4759,3 +4752,8 @@ declare module "@tiptap/core" {
|
|
|
4759
4752
|
};
|
|
4760
4753
|
}
|
|
4761
4754
|
}
|
|
4755
|
+
|
|
4756
|
+
|
|
4757
|
+
declare namespace Calendar {
|
|
4758
|
+
var displayName: string;
|
|
4759
|
+
}
|
package/dist/f0.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { L as Cn, C as Wr, c as j, a as Di, u as _n, m as Ri, i as En, B as Si, O as Gr, p as $r, w as jr, S as Fe, b as Ur, F as Dn, d as Kr, A as Xr, D as Yr, e as qr, f as Re, g as Vr, h as me, j as Vi, k as Jr, l as di, n as lt, o as Zr, q as Qr, r as Ot, s as Rn, E as es, t as zt, v as ts, x as is, y as ns, z as rs, G as Xe, H as Sn, I as ss, J as os, K as as, M as Ji, N as ls, P as Nn, Q as cs, R as On, X as An, Y as vi, T as ds, U as kn, V as us, W as hs, Z as fs, _ as gs, $ as ps, a0 as ms, a1 as vs, a2 as ys, a3 as Zi, a4 as bs, a5 as ct, a6 as ui, a7 as xs, a8 as ws, a9 as Cs, aa as _s, ab as Es, ac as Ds, ad as Rs, ae as Ss, af as Ns, ag as Os, ah as Tn, ai as As, aj as Mt, ak as zn, al as Pn, am as ks, an as Mn, ao as Ln, ap as In, aq as Ts, ar as zs, as as Hn, at as Ps, au as Ms, av as Ls, aw as Is, ax as Hs, ay as Bs, az as Bn, aA as Ve, aB as Fn, aC as Fs, aD as Ws, aE as Qi, aF as Gs, aG as Wn, aH as $s, aI as js, aJ as Us, aK as Ks, aL as Xs, aM as Ys, aN as qs, aO as Vs, aP as Js, aQ as Zs, aR as Qs, aS as eo } from "./hooks-
|
|
2
|
-
import { bl as Vc, by as Jc, bH as Zc, aT as Qc, aU as ed, aV as td, aW as id, aX as nd, aY as rd, aZ as sd, a_ as od, b0 as ad, b1 as ld, b2 as cd, b3 as dd, b4 as ud, b5 as hd, b6 as fd, bD as gd, b8 as pd, b9 as md, bc as vd, bd as yd, be as bd, bf as xd, bi as wd, bj as Cd, bk as _d, bn as Ed, bb as Dd, bm as Rd, bh as Sd, bE as Nd, bx as Od, bs as Ad, bv as kd, br as Td, bI as zd, bq as Pd, bp as Md, a$ as Ld, b7 as Id, ba as Hd, bg as Bd, bo as Fd, bt as Wd, bz as Gd, bA as $d, bB as jd, bJ as Ud, bu as Kd, bC as Xd, bG as Yd, bw as qd, bF as Vd } from "./hooks-
|
|
1
|
+
import { L as Cn, C as Wr, c as j, a as Di, u as _n, m as Ri, i as En, B as Si, O as Gr, p as $r, w as jr, S as Fe, b as Ur, F as Dn, d as Kr, A as Xr, D as Yr, e as qr, f as Re, g as Vr, h as me, j as Vi, k as Jr, l as di, n as lt, o as Zr, q as Qr, r as Ot, s as Rn, E as es, t as zt, v as ts, x as is, y as ns, z as rs, G as Xe, H as Sn, I as ss, J as os, K as as, M as Ji, N as ls, P as Nn, Q as cs, R as On, X as An, Y as vi, T as ds, U as kn, V as us, W as hs, Z as fs, _ as gs, $ as ps, a0 as ms, a1 as vs, a2 as ys, a3 as Zi, a4 as bs, a5 as ct, a6 as ui, a7 as xs, a8 as ws, a9 as Cs, aa as _s, ab as Es, ac as Ds, ad as Rs, ae as Ss, af as Ns, ag as Os, ah as Tn, ai as As, aj as Mt, ak as zn, al as Pn, am as ks, an as Mn, ao as Ln, ap as In, aq as Ts, ar as zs, as as Hn, at as Ps, au as Ms, av as Ls, aw as Is, ax as Hs, ay as Bs, az as Bn, aA as Ve, aB as Fn, aC as Fs, aD as Ws, aE as Qi, aF as Gs, aG as Wn, aH as $s, aI as js, aJ as Us, aK as Ks, aL as Xs, aM as Ys, aN as qs, aO as Vs, aP as Js, aQ as Zs, aR as Qs, aS as eo } from "./hooks-B2RzD_VX.js";
|
|
2
|
+
import { bl as Vc, by as Jc, bH as Zc, aT as Qc, aU as ed, aV as td, aW as id, aX as nd, aY as rd, aZ as sd, a_ as od, b0 as ad, b1 as ld, b2 as cd, b3 as dd, b4 as ud, b5 as hd, b6 as fd, bD as gd, b8 as pd, b9 as md, bc as vd, bd as yd, be as bd, bf as xd, bi as wd, bj as Cd, bk as _d, bn as Ed, bb as Dd, bm as Rd, bh as Sd, bE as Nd, bx as Od, bs as Ad, bv as kd, br as Td, bI as zd, bq as Pd, bp as Md, a$ as Ld, b7 as Id, ba as Hd, bg as Bd, bo as Fd, bt as Wd, bz as Gd, bA as $d, bB as jd, bJ as Ud, bu as Kd, bC as Xd, bG as Yd, bw as qd, bF as Vd } from "./hooks-B2RzD_VX.js";
|
|
3
3
|
import { jsx as g, jsxs as M, Fragment as Vt } from "react/jsx-runtime";
|
|
4
4
|
import L, { forwardRef as le, useRef as I, useImperativeHandle as to, Children as Lt, createContext as Ne, useContext as we, useState as W, useMemo as B, useEffect as H, useCallback as K, useLayoutEffect as yi, createElement as en, isValidElement as Gn, Fragment as io, memo as no, useReducer as ro, cloneElement as so, PureComponent as oo } from "react";
|
|
5
5
|
import { createPortal as $n, unstable_batchedUpdates as At } from "react-dom";
|