@factorialco/f0-react 1.281.0 → 1.283.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 +33 -32
- package/dist/experimental.js +4202 -4208
- package/dist/f0.d.ts +33 -32
- package/dist/f0.js +2 -2
- package/dist/{hooks-CIGhOgZ-.js → hooks-DKxMU3Et.js} +9613 -9587
- package/dist/styles.css +1 -1
- package/package.json +2 -2
package/dist/f0.d.ts
CHANGED
|
@@ -920,13 +920,7 @@ declare interface CheckboxProps extends DataAttributes_2 {
|
|
|
920
920
|
name?: string;
|
|
921
921
|
}
|
|
922
922
|
|
|
923
|
-
declare type ChildrenResponse<R extends RecordType> = BaseResponse<R> | R[] |
|
|
924
|
-
records: R[] & {
|
|
925
|
-
type?: ChildrenResponseType;
|
|
926
|
-
};
|
|
927
|
-
};
|
|
928
|
-
|
|
929
|
-
declare type ChildrenResponseType = "basic" | "detailed";
|
|
923
|
+
declare type ChildrenResponse<R extends RecordType> = BaseResponse<R> | R[] | NestedResponseWithType<R>;
|
|
930
924
|
|
|
931
925
|
declare type ChipProps = BaseChipProps & ChipVariants & {
|
|
932
926
|
variant?: "default" | "selected";
|
|
@@ -3072,6 +3066,13 @@ declare type NestedKeyOf<T> = {
|
|
|
3072
3066
|
} ? `${K}` | `${K}-${NestedKeyOf<T[K]>}` : `${K}-${NestedKeyOf<T[K]>}` : K extends "DEFAULT" ? never : `${K}`;
|
|
3073
3067
|
}[keyof T & string];
|
|
3074
3068
|
|
|
3069
|
+
declare type NestedResponseWithType<R extends RecordType> = {
|
|
3070
|
+
records: R[];
|
|
3071
|
+
type?: NestedVariant;
|
|
3072
|
+
};
|
|
3073
|
+
|
|
3074
|
+
declare type NestedVariant = "basic" | "detailed";
|
|
3075
|
+
|
|
3075
3076
|
export declare type NewColor = Extract<BaseColor, "viridian" | "malibu" | "yellow" | "purple" | "lilac" | "barbie" | "smoke" | "army" | "flubber" | "indigo" | "camel">;
|
|
3076
3077
|
|
|
3077
3078
|
export declare interface NextStepsProps {
|
|
@@ -4345,31 +4346,6 @@ declare global {
|
|
|
4345
4346
|
}
|
|
4346
4347
|
|
|
4347
4348
|
|
|
4348
|
-
declare module "gridstack" {
|
|
4349
|
-
interface GridStackWidget {
|
|
4350
|
-
id?: string;
|
|
4351
|
-
allowedSizes?: Array<{
|
|
4352
|
-
w: number;
|
|
4353
|
-
h: number;
|
|
4354
|
-
}>;
|
|
4355
|
-
renderFn?: () => React.ReactElement | null;
|
|
4356
|
-
meta?: Record<string, unknown>;
|
|
4357
|
-
}
|
|
4358
|
-
interface GridStackNode {
|
|
4359
|
-
id?: string;
|
|
4360
|
-
w?: number;
|
|
4361
|
-
h?: number;
|
|
4362
|
-
x?: number;
|
|
4363
|
-
y?: number;
|
|
4364
|
-
allowedSizes?: Array<{
|
|
4365
|
-
w: number;
|
|
4366
|
-
h: number;
|
|
4367
|
-
}>;
|
|
4368
|
-
renderFn?: () => React.ReactElement | null;
|
|
4369
|
-
}
|
|
4370
|
-
}
|
|
4371
|
-
|
|
4372
|
-
|
|
4373
4349
|
declare module "@tiptap/core" {
|
|
4374
4350
|
interface Commands<ReturnType> {
|
|
4375
4351
|
aiBlock: {
|
|
@@ -4397,6 +4373,31 @@ declare module "@tiptap/core" {
|
|
|
4397
4373
|
}
|
|
4398
4374
|
|
|
4399
4375
|
|
|
4376
|
+
declare module "gridstack" {
|
|
4377
|
+
interface GridStackWidget {
|
|
4378
|
+
id?: string;
|
|
4379
|
+
allowedSizes?: Array<{
|
|
4380
|
+
w: number;
|
|
4381
|
+
h: number;
|
|
4382
|
+
}>;
|
|
4383
|
+
renderFn?: () => React.ReactElement | null;
|
|
4384
|
+
meta?: Record<string, unknown>;
|
|
4385
|
+
}
|
|
4386
|
+
interface GridStackNode {
|
|
4387
|
+
id?: string;
|
|
4388
|
+
w?: number;
|
|
4389
|
+
h?: number;
|
|
4390
|
+
x?: number;
|
|
4391
|
+
y?: number;
|
|
4392
|
+
allowedSizes?: Array<{
|
|
4393
|
+
w: number;
|
|
4394
|
+
h: number;
|
|
4395
|
+
}>;
|
|
4396
|
+
renderFn?: () => React.ReactElement | null;
|
|
4397
|
+
}
|
|
4398
|
+
}
|
|
4399
|
+
|
|
4400
|
+
|
|
4400
4401
|
declare namespace Calendar {
|
|
4401
4402
|
var displayName: string;
|
|
4402
4403
|
}
|
package/dist/f0.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as We, a as qt, f as Ee, L as J, b as Kt, A as Vt, i as ae, c as tt, d as it, E as Yt, g as he, e as Xt, h as Jt, C as Qt, j as Zt, k as K, l as st, u as ei, G as ti, m as ii, n as $e, o as si, p as rt, q as ri, B as nt, X as ot, Y as De, r as ni, s as at, t as oi, v as ai, w as li, x as hi, y as di, z as ci, D as ui, F as fi, H as je, I as gi, J as Q, K as Ne, M as pi, N as mi, O as vi, P as lt, Q as L, R as I, T as yi, U as bi, V as wi, W as xi, Z as _i, _ as Ci, $ as Ei, a0 as ht, a1 as Ni, a2 as de, a3 as dt, a4 as ct, a5 as Ri, a6 as ut, a7 as ft, a8 as gt, a9 as pt, aa as Di, ab as Si, ac as mt, ad as zi, ae as ki, af as vt, ag as Pi, ah as yt, ai as Ai, aj as Ti, ak as Oi, al as Li, am as Mi, an as Hi, ao as Bi, ap as Ii, aq as bt, ar as V, as as wt, at as Fi, au as Gi, av as Ue, aw as Wi, ax as xt, ay as $i, az as ji, aA as Ui, aB as qi, aC as Ki, aD as Vi, aE as Yi, aF as Xi, aG as Ji, aH as Qi, aI as Zi, aJ as es } from "./hooks-
|
|
2
|
-
import { ba as Gr, bn as Wr, bw as $r, aK as jr, aL as Ur, aM as qr, aN as Kr, aO as Vr, aP as Yr, aQ as Xr, aR as Jr, aT as Qr, aU as Zr, aV as en, aW as tn, aX as sn, aY as rn, aZ as nn, bs as on, a$ as an, b1 as ln, b2 as hn, b3 as dn, b4 as cn, b7 as un, b8 as fn, b9 as gn, bc as pn, b0 as mn, bb as vn, b6 as yn, bt as bn, bm as wn, bh as xn, bk as _n, bg as Cn, bx as En, bf as Nn, be as Rn, aS as Dn, a_ as Sn, b5 as zn, bd as kn, bi as Pn, bo as An, bp as Tn, bq as On, by as Ln, bj as Mn, br as Hn, bv as Bn, bl as In, bu as Fn } from "./hooks-
|
|
1
|
+
import { S as We, a as qt, f as Ee, L as J, b as Kt, A as Vt, i as ae, c as tt, d as it, E as Yt, g as he, e as Xt, h as Jt, C as Qt, j as Zt, k as K, l as st, u as ei, G as ti, m as ii, n as $e, o as si, p as rt, q as ri, B as nt, X as ot, Y as De, r as ni, s as at, t as oi, v as ai, w as li, x as hi, y as di, z as ci, D as ui, F as fi, H as je, I as gi, J as Q, K as Ne, M as pi, N as mi, O as vi, P as lt, Q as L, R as I, T as yi, U as bi, V as wi, W as xi, Z as _i, _ as Ci, $ as Ei, a0 as ht, a1 as Ni, a2 as de, a3 as dt, a4 as ct, a5 as Ri, a6 as ut, a7 as ft, a8 as gt, a9 as pt, aa as Di, ab as Si, ac as mt, ad as zi, ae as ki, af as vt, ag as Pi, ah as yt, ai as Ai, aj as Ti, ak as Oi, al as Li, am as Mi, an as Hi, ao as Bi, ap as Ii, aq as bt, ar as V, as as wt, at as Fi, au as Gi, av as Ue, aw as Wi, ax as xt, ay as $i, az as ji, aA as Ui, aB as qi, aC as Ki, aD as Vi, aE as Yi, aF as Xi, aG as Ji, aH as Qi, aI as Zi, aJ as es } from "./hooks-DKxMU3Et.js";
|
|
2
|
+
import { ba as Gr, bn as Wr, bw as $r, aK as jr, aL as Ur, aM as qr, aN as Kr, aO as Vr, aP as Yr, aQ as Xr, aR as Jr, aT as Qr, aU as Zr, aV as en, aW as tn, aX as sn, aY as rn, aZ as nn, bs as on, a$ as an, b1 as ln, b2 as hn, b3 as dn, b4 as cn, b7 as un, b8 as fn, b9 as gn, bc as pn, b0 as mn, bb as vn, b6 as yn, bt as bn, bm as wn, bh as xn, bk as _n, bg as Cn, bx as En, bf as Nn, be as Rn, aS as Dn, a_ as Sn, b5 as zn, bd as kn, bi as Pn, bo as An, bp as Tn, bq as On, by as Ln, bj as Mn, br as Hn, bv as Bn, bl as In, bu as Fn } from "./hooks-DKxMU3Et.js";
|
|
3
3
|
import { jsx as g, jsxs as R, Fragment as we } from "react/jsx-runtime";
|
|
4
4
|
import * as Pe from "react";
|
|
5
5
|
import z, { PureComponent as ts, useState as M, forwardRef as j, createElement as qe, useRef as Z, useImperativeHandle as _t, Children as is, createContext as xe, useContext as Ct, useCallback as q, useEffect as ce, useLayoutEffect as Ke, useMemo as Et } from "react";
|