@factorialco/f0-react 1.240.2 → 1.240.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 +9 -7
- package/dist/experimental.js +2 -2
- package/dist/f0.d.ts +5 -5
- package/dist/f0.js +2 -2
- package/dist/{hooks-FlkC6pns.js → hooks-fkUFAzc1.js} +930 -923
- package/package.json +1 -1
package/dist/experimental.d.ts
CHANGED
|
@@ -2763,7 +2763,7 @@ export declare type InfiniteScrollPaginatedResponse<TRecord> = BasePaginatedResp
|
|
|
2763
2763
|
|
|
2764
2764
|
export declare const Input: <T extends string = string>(props: InputProps<T>) => JSX_2.Element;
|
|
2765
2765
|
|
|
2766
|
-
declare const Input_2: React_2.ForwardRefExoticComponent<Omit<React_2.InputHTMLAttributes<HTMLInputElement>, "onChange" | "size"> & Pick<InputFieldProps<string>, "label" | "onChange" | "role" | "status" | "disabled" | "size" | "icon" | "loading" | "hideLabel" | "append" | "maxLength" | "required" | "error" | "labelIcon" | "onClickContent" | "hint" | "clearable" | "isEmpty" | "emptyValue" | "hideMaxLength" | "appendTag" | "lengthProvider"> & React_2.RefAttributes<HTMLInputElement>>;
|
|
2766
|
+
declare const Input_2: React_2.ForwardRefExoticComponent<Omit<React_2.InputHTMLAttributes<HTMLInputElement>, "onChange" | "size"> & Pick<InputFieldProps<string>, "label" | "onChange" | "role" | "onFocus" | "onBlur" | "status" | "disabled" | "size" | "icon" | "loading" | "hideLabel" | "append" | "maxLength" | "required" | "error" | "labelIcon" | "onClickContent" | "hint" | "readonly" | "clearable" | "onClear" | "isEmpty" | "emptyValue" | "hideMaxLength" | "appendTag" | "lengthProvider"> & React_2.RefAttributes<HTMLInputElement>>;
|
|
2767
2767
|
|
|
2768
2768
|
declare const INPUTFIELD_SIZES: readonly ["sm", "md"];
|
|
2769
2769
|
|
|
@@ -2789,11 +2789,13 @@ declare type InputFieldProps<T> = {
|
|
|
2789
2789
|
readonly?: boolean;
|
|
2790
2790
|
clearable?: boolean;
|
|
2791
2791
|
role?: string;
|
|
2792
|
+
inputRef?: React.Ref<unknown>;
|
|
2792
2793
|
"aria-controls"?: AriaAttributes["aria-controls"];
|
|
2793
2794
|
"aria-expanded"?: AriaAttributes["aria-expanded"];
|
|
2794
2795
|
onClear?: () => void;
|
|
2795
2796
|
onFocus?: () => void;
|
|
2796
2797
|
onBlur?: () => void;
|
|
2798
|
+
onKeyDown?: (event: React.KeyboardEvent<HTMLInputElement>) => void;
|
|
2797
2799
|
canGrow?: boolean;
|
|
2798
2800
|
children: React.ReactNode & {
|
|
2799
2801
|
onFocus?: () => void;
|
|
@@ -4819,7 +4821,7 @@ export declare const Textarea: React.FC<TextareaProps>;
|
|
|
4819
4821
|
|
|
4820
4822
|
declare const Textarea_2: React_2.ForwardRefExoticComponent<Omit<React_2.TextareaHTMLAttributes<HTMLTextAreaElement>, "value" | "onChange" | "onFocus" | "onBlur"> & {
|
|
4821
4823
|
value?: string;
|
|
4822
|
-
} & Pick<InputFieldProps<string>, "label" | "value" | "onChange" | "onFocus" | "onBlur" | "status" | "icon" | "hideLabel" | "maxLength" | "placeholder" | "error" | "labelIcon" | "hint" | "clearable" | "onClear"> & React_2.RefAttributes<HTMLTextAreaElement>>;
|
|
4824
|
+
} & Pick<InputFieldProps<string>, "label" | "value" | "onChange" | "onFocus" | "onBlur" | "onKeyDown" | "status" | "icon" | "hideLabel" | "maxLength" | "placeholder" | "error" | "labelIcon" | "hint" | "clearable" | "onClear"> & React_2.RefAttributes<HTMLTextAreaElement>>;
|
|
4823
4825
|
|
|
4824
4826
|
export declare type TextareaProps = Pick<ComponentProps<typeof Textarea_2>, "disabled" | "onChange" | "value" | "placeholder" | "rows" | "cols" | "label" | "labelIcon" | "icon" | "hideLabel" | "maxLength" | "clearable" | "onBlur" | "onFocus" | "name" | "status" | "hint" | "error">;
|
|
4825
4827
|
|
|
@@ -5411,11 +5413,6 @@ declare module "@tiptap/core" {
|
|
|
5411
5413
|
}
|
|
5412
5414
|
|
|
5413
5415
|
|
|
5414
|
-
declare namespace Calendar {
|
|
5415
|
-
var displayName: string;
|
|
5416
|
-
}
|
|
5417
|
-
|
|
5418
|
-
|
|
5419
5416
|
declare module "@tiptap/core" {
|
|
5420
5417
|
interface Commands<ReturnType> {
|
|
5421
5418
|
moodTracker: {
|
|
@@ -5423,3 +5420,8 @@ declare module "@tiptap/core" {
|
|
|
5423
5420
|
};
|
|
5424
5421
|
}
|
|
5425
5422
|
}
|
|
5423
|
+
|
|
5424
|
+
|
|
5425
|
+
declare namespace Calendar {
|
|
5426
|
+
var displayName: string;
|
|
5427
|
+
}
|
package/dist/experimental.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { aN as l6, aO as c6, aP as Ey, aQ as xl, aR as dS, aS as fS, aT as uS, aU as l1, aV as hS, aW as pS, aX as mS, aY as ae, aZ as d6, a_ as gS, a$ as yS, b0 as vS, b1 as co, b2 as Va, b3 as Zc, b4 as f6, b5 as Yl, b6 as bS, b7 as c1, b8 as kS, b9 as xS, ba as Zl, bb as wS, bc as _S, bd as CS, be as Ly, bf as SS, bg as My, bh as NS, bi as u6, bj as h6, bk as ES, bl as Vo, q as Ft, a as M, bm as Ho, P as Zt, bn as Jt, s as xe, k as dt, y as pe, bo as wl, bp as p6, L as Qi, bq as Ve, $ as m6, w as un, x as $n, br as Xe, bs as Fm, c as Pm, bt as Bm, bu as _l, bv as Wo, bw as Xc, aJ as zs, bx as zh, by as Kr, bz as Qc, bA as ed, bB as LS, n as qo, bC as Br, bD as g6, bE as ne, bF as Fi, bG as kt, bH as y6, bI as v6, t as Af, f as MS, bJ as TS, bK as AS, bL as OS, g as Ty, bM as Ay, bN as IS, bO as DS, bP as ci, ac as td, az as Oy, bQ as $s, bR as zm, bS as pn, bT as Iy, bU as $h, bV as Xt, bW as or, bX as b6, bY as jh, bZ as RS, b_ as FS, b$ as zt, c0 as PS, c1 as BS, c2 as zS, c3 as $S, c4 as jS, c5 as VS, c6 as HS, S as ri, c7 as Of, c8 as k6, ad as x6, c9 as WS, at as qS, av as w6, aq as _6, ca as C6, aw as If, cb as $m, a0 as Cl, r as ar, cc as US, a9 as Pi, cd as bn, ce as Df, cf as Ha, cg as KS, ch as S6, ci as GS, i as Rf, j as Ff, l as Pf, cj as jm, ck as JS, C as Vn, cl as N6, cm as YS, cn as E6, co as ZS, G as XS, cp as L6, cq as Vh, cr as M6, a6 as nd, cs as QS, ct as eN, cu as tN, cv as nN, cw as iN, aK as Bf, a3 as Hh, F as Vm, aM as rN, cx as ti, aL as sN, cy as T6, cz as mn, cA as oN, cB as aN, cC as Tn, cD as id, cE as A6, ah as zf, a7 as Hm, am as Ss, cF as $f, cG as Wm, cH as O6, cI as lN, aa as cN, a2 as I6, cJ as qm, cK as dN, cL as fN, cM as uN, D as D6, u as R6, cN as F6, cO as ss, cP as hN, cQ as Dy, cR as pN, cS as mN, cT as gN, cU as jf, K as yN, m as vN, cV as Wh, cW as P6, cX as B6, cY as z6, cZ as $6, c_ as bN, c$ as kN, d0 as xN, d1 as wN, d2 as _N, d3 as CN, d4 as SN, d5 as NN, p as EN, ao as LN, d6 as j6, d7 as Vf, v as qh, d8 as Ry, Z as V6, d9 as Sl, da as H6, db as W6, dc as MN, a1 as Uo, a4 as q6, I as TN, dd as AN, ar as ON, ay as Hf, z as Wf, de as qf, df as Uf, E as Kf, ax as U6, ab as Um, dg as IN, aD as DN, dh as Uh, di as RN, dj as rd, dk as FN, as as sd, aE as PN, dl as BN, aC as K6, dm as zN, aB as $N, aA as jN, dn as VN, dp as Ct, dq as Fy, dr as HN, ds as WN, dt as qN, du as d1, dv as UN, dw as KN, dx as GN, dy as JN, dz as YN, dA as ZN, a5 as XN, dB as Nl, dC as Km, dD as Gm, dE as El, dF as G6, dG as QN, dH as J6, dI as eE, aF as Y6, dJ as Z6, ae as X6, dK as tE, dL as nE, dM as iE, H as rE, A as sE, B as oE, d as aE, e as lE, V as cE, b as dE, dN as Py, dO as fE, dP as uE, dQ as hE, dR as Q6, dS as pE } from "./hooks-
|
|
2
|
-
import { J as Gae, dV as Jae, dU as Yae, a8 as Zae, dT as Xae } from "./hooks-
|
|
1
|
+
import { aN as l6, aO as c6, aP as Ey, aQ as xl, aR as dS, aS as fS, aT as uS, aU as l1, aV as hS, aW as pS, aX as mS, aY as ae, aZ as d6, a_ as gS, a$ as yS, b0 as vS, b1 as co, b2 as Va, b3 as Zc, b4 as f6, b5 as Yl, b6 as bS, b7 as c1, b8 as kS, b9 as xS, ba as Zl, bb as wS, bc as _S, bd as CS, be as Ly, bf as SS, bg as My, bh as NS, bi as u6, bj as h6, bk as ES, bl as Vo, q as Ft, a as M, bm as Ho, P as Zt, bn as Jt, s as xe, k as dt, y as pe, bo as wl, bp as p6, L as Qi, bq as Ve, $ as m6, w as un, x as $n, br as Xe, bs as Fm, c as Pm, bt as Bm, bu as _l, bv as Wo, bw as Xc, aJ as zs, bx as zh, by as Kr, bz as Qc, bA as ed, bB as LS, n as qo, bC as Br, bD as g6, bE as ne, bF as Fi, bG as kt, bH as y6, bI as v6, t as Af, f as MS, bJ as TS, bK as AS, bL as OS, g as Ty, bM as Ay, bN as IS, bO as DS, bP as ci, ac as td, az as Oy, bQ as $s, bR as zm, bS as pn, bT as Iy, bU as $h, bV as Xt, bW as or, bX as b6, bY as jh, bZ as RS, b_ as FS, b$ as zt, c0 as PS, c1 as BS, c2 as zS, c3 as $S, c4 as jS, c5 as VS, c6 as HS, S as ri, c7 as Of, c8 as k6, ad as x6, c9 as WS, at as qS, av as w6, aq as _6, ca as C6, aw as If, cb as $m, a0 as Cl, r as ar, cc as US, a9 as Pi, cd as bn, ce as Df, cf as Ha, cg as KS, ch as S6, ci as GS, i as Rf, j as Ff, l as Pf, cj as jm, ck as JS, C as Vn, cl as N6, cm as YS, cn as E6, co as ZS, G as XS, cp as L6, cq as Vh, cr as M6, a6 as nd, cs as QS, ct as eN, cu as tN, cv as nN, cw as iN, aK as Bf, a3 as Hh, F as Vm, aM as rN, cx as ti, aL as sN, cy as T6, cz as mn, cA as oN, cB as aN, cC as Tn, cD as id, cE as A6, ah as zf, a7 as Hm, am as Ss, cF as $f, cG as Wm, cH as O6, cI as lN, aa as cN, a2 as I6, cJ as qm, cK as dN, cL as fN, cM as uN, D as D6, u as R6, cN as F6, cO as ss, cP as hN, cQ as Dy, cR as pN, cS as mN, cT as gN, cU as jf, K as yN, m as vN, cV as Wh, cW as P6, cX as B6, cY as z6, cZ as $6, c_ as bN, c$ as kN, d0 as xN, d1 as wN, d2 as _N, d3 as CN, d4 as SN, d5 as NN, p as EN, ao as LN, d6 as j6, d7 as Vf, v as qh, d8 as Ry, Z as V6, d9 as Sl, da as H6, db as W6, dc as MN, a1 as Uo, a4 as q6, I as TN, dd as AN, ar as ON, ay as Hf, z as Wf, de as qf, df as Uf, E as Kf, ax as U6, ab as Um, dg as IN, aD as DN, dh as Uh, di as RN, dj as rd, dk as FN, as as sd, aE as PN, dl as BN, aC as K6, dm as zN, aB as $N, aA as jN, dn as VN, dp as Ct, dq as Fy, dr as HN, ds as WN, dt as qN, du as d1, dv as UN, dw as KN, dx as GN, dy as JN, dz as YN, dA as ZN, a5 as XN, dB as Nl, dC as Km, dD as Gm, dE as El, dF as G6, dG as QN, dH as J6, dI as eE, aF as Y6, dJ as Z6, ae as X6, dK as tE, dL as nE, dM as iE, H as rE, A as sE, B as oE, d as aE, e as lE, V as cE, b as dE, dN as Py, dO as fE, dP as uE, dQ as hE, dR as Q6, dS as pE } from "./hooks-fkUFAzc1.js";
|
|
2
|
+
import { J as Gae, dV as Jae, dU as Yae, a8 as Zae, dT as Xae } from "./hooks-fkUFAzc1.js";
|
|
3
3
|
import { jsxs as b, jsx as f, Fragment as Me } from "react/jsx-runtime";
|
|
4
4
|
import * as z from "react";
|
|
5
5
|
import ee, { forwardRef as U, createContext as Hn, useRef as me, useState as V, useCallback as Pe, useContext as an, useMemo as ce, useEffect as ie, PureComponent as mE, useId as fr, useLayoutEffect as Gf, memo as Ll, Fragment as zr, useTransition as gE, isValidElement as eb, cloneElement as Jm, useDebugValue as tb, createRef as yE, createElement as vE, version as By, useImperativeHandle as Jf, Children as nb } from "react";
|
package/dist/f0.d.ts
CHANGED
|
@@ -3427,11 +3427,6 @@ declare module "@tiptap/core" {
|
|
|
3427
3427
|
}
|
|
3428
3428
|
|
|
3429
3429
|
|
|
3430
|
-
declare namespace Calendar {
|
|
3431
|
-
var displayName: string;
|
|
3432
|
-
}
|
|
3433
|
-
|
|
3434
|
-
|
|
3435
3430
|
declare module "@tiptap/core" {
|
|
3436
3431
|
interface Commands<ReturnType> {
|
|
3437
3432
|
moodTracker: {
|
|
@@ -3439,3 +3434,8 @@ declare module "@tiptap/core" {
|
|
|
3439
3434
|
};
|
|
3440
3435
|
}
|
|
3441
3436
|
}
|
|
3437
|
+
|
|
3438
|
+
|
|
3439
|
+
declare namespace Calendar {
|
|
3440
|
+
var displayName: string;
|
|
3441
|
+
}
|
package/dist/f0.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as p, L as ge, c as ve, P as H, a as b, f as be, g as A, A as xe, B as Ce, b as ye, d as we, e as Ne, V as Pe, h as D, i as U, j as J, k as Le, l as Y, S as X, m as K, n as Se, O as Fe, o as Q, p as ke, q as Me, F as Z, r as De, s as Te, t as Ie, D as Be, u as Re, v as Oe, w as $e, x as ee, y as w, U as ae, z as Ee, E as _e, G as V, H as je, I as re, J as ze, K as Ae, M as Ve, N as qe, Q as We, R as Ge, X as He, T as Ue, W as Je, Y as Ye, Z as Xe, _ as Ke } from "./hooks-
|
|
2
|
-
import { az as Ja, $ as Ya, aB as Xa, aK as Ka, a0 as Qa, a1 as Za, a2 as er, a3 as ar, a4 as rr, a5 as sr, a6 as tr, a7 as lr, a9 as or, aa as nr, ab as ir, ac as dr, aG as cr, ae as ur, af as fr, ag as mr, ah as hr, ak as pr, al as gr, am as vr, an as br, ap as xr, ad as Cr, ao as yr, aj as wr, aH as Nr, aA as Pr, au as Lr, ax as Sr, at as Fr, aL as kr, as as Mr, ar as Dr, a8 as Tr, ai as Ir, aq as Br, av as Rr, aC as Or, aD as $r, aE as Er, aM as _r, aw as jr, aF as zr, aJ as Ar, ay as Vr, aI as qr } from "./hooks-
|
|
1
|
+
import { C as p, L as ge, c as ve, P as H, a as b, f as be, g as A, A as xe, B as Ce, b as ye, d as we, e as Ne, V as Pe, h as D, i as U, j as J, k as Le, l as Y, S as X, m as K, n as Se, O as Fe, o as Q, p as ke, q as Me, F as Z, r as De, s as Te, t as Ie, D as Be, u as Re, v as Oe, w as $e, x as ee, y as w, U as ae, z as Ee, E as _e, G as V, H as je, I as re, J as ze, K as Ae, M as Ve, N as qe, Q as We, R as Ge, X as He, T as Ue, W as Je, Y as Ye, Z as Xe, _ as Ke } from "./hooks-fkUFAzc1.js";
|
|
2
|
+
import { az as Ja, $ as Ya, aB as Xa, aK as Ka, a0 as Qa, a1 as Za, a2 as er, a3 as ar, a4 as rr, a5 as sr, a6 as tr, a7 as lr, a9 as or, aa as nr, ab as ir, ac as dr, aG as cr, ae as ur, af as fr, ag as mr, ah as hr, ak as pr, al as gr, am as vr, an as br, ap as xr, ad as Cr, ao as yr, aj as wr, aH as Nr, aA as Pr, au as Lr, ax as Sr, at as Fr, aL as kr, as as Mr, ar as Dr, a8 as Tr, ai as Ir, aq as Br, av as Rr, aC as Or, aD as $r, aE as Er, aM as _r, aw as jr, aF as zr, aJ as Ar, ay as Vr, aI as qr } from "./hooks-fkUFAzc1.js";
|
|
3
3
|
import { jsx as e, jsxs as c, Fragment as E } from "react/jsx-runtime";
|
|
4
4
|
import * as _ from "react";
|
|
5
5
|
import Qe, { useState as v, forwardRef as I, useRef as se, useImperativeHandle as Ze, Children as ea, useEffect as te, createContext as aa } from "react";
|