@factorialco/f0-react 1.299.2 → 1.299.4
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 +0 -5
- package/dist/experimental.js +1391 -1378
- package/dist/f0.d.ts +0 -5
- package/dist/f0.js +2 -2
- package/dist/{hooks-lOrixyHX.js → hooks-CZ8ydA4T.js} +6 -4
- package/dist/i18n-provider-defaults.d.ts +0 -5
- package/dist/i18n-provider-defaults.js +0 -5
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/f0.d.ts
CHANGED
|
@@ -1869,11 +1869,6 @@ export declare const defaultTranslations: {
|
|
|
1869
1869
|
readonly actions: "Actions";
|
|
1870
1870
|
readonly sectionTitlePlaceholder: "Section title";
|
|
1871
1871
|
};
|
|
1872
|
-
readonly defaults: {
|
|
1873
|
-
readonly newSection: "New Section";
|
|
1874
|
-
readonly newQuestion: "New Question";
|
|
1875
|
-
readonly newQuestionDescription: "New question description";
|
|
1876
|
-
};
|
|
1877
1872
|
};
|
|
1878
1873
|
};
|
|
1879
1874
|
|
package/dist/f0.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as Be, a as At, f as Ee, L as J, b as Tt, A as Lt, i as ae, c as Ye, d as Xe, E as Mt, g as he, e as Ht, h as Bt, C as Ft, j as Wt, k as V, l as Je, u as It, G as Gt, m as Ut, n as Fe, o as $t, p as Ze, q as jt, B as Qe, X as et, Y as Ne, r as Kt, s as tt, t as Vt, v as qt, w as Yt, x as Xt, y as Jt, z as Zt, D as Qt, F as ei, H as We, I as ti, J as Z, K as Ce, M as ii, N as si, P as ri, O as F, Q as ni, R as oi, T as ai, U as li, V as hi, W as di, Z as ci, _ as it, $ as ui, a0 as de, a1 as st, a2 as rt, a3 as fi, a4 as nt, a5 as ot, a6 as at, a7 as lt, a8 as gi, a9 as pi, aa as ht, ab as mi, ac as B, ad as vi, ae as dt, af as yi, ag as ct, ah as bi, ai as _i, aj as xi, ak as wi, al as Ei, am as Ci, an as Ri, ao as Ni, ap as ut, aq as q, ar as ft, as as zi, at as Di, au as Ie, av as Si, aw as gt, ax as Pi, ay as ki, az as Oi, aA as Ai, aB as Ti, aC as Li, aD as Mi, aE as Hi, aF as Bi, aG as Fi, aH as Wi, aI as Ii } from "./hooks-
|
|
2
|
-
import { bb as yr, bo as br, bx as _r, aJ as xr, aK as wr, aL as Er, aM as Cr, aN as Rr, aO as Nr, aP as zr, aQ as Dr, aS as Sr, aT as Pr, aU as kr, aV as Or, aW as Ar, aX as Tr, aY as Lr, bt as Mr, a_ as Hr, a$ as Br, b2 as Fr, b3 as Wr, b4 as Ir, b5 as Gr, b8 as Ur, b9 as $r, ba as jr, bd as Kr, b1 as Vr, bc as qr, b7 as Yr, bu as Xr, bn as Jr, bi as Zr, bl as Qr, bh as en, by as tn, bg as sn, bf as rn, aR as nn, aZ as on, b0 as an, b6 as ln, be as hn, bj as dn, bp as cn, bq as un, br as fn, bz as gn, bk as pn, bs as mn, bw as vn, bm as yn, bv as bn } from "./hooks-
|
|
1
|
+
import { S as Be, a as At, f as Ee, L as J, b as Tt, A as Lt, i as ae, c as Ye, d as Xe, E as Mt, g as he, e as Ht, h as Bt, C as Ft, j as Wt, k as V, l as Je, u as It, G as Gt, m as Ut, n as Fe, o as $t, p as Ze, q as jt, B as Qe, X as et, Y as Ne, r as Kt, s as tt, t as Vt, v as qt, w as Yt, x as Xt, y as Jt, z as Zt, D as Qt, F as ei, H as We, I as ti, J as Z, K as Ce, M as ii, N as si, P as ri, O as F, Q as ni, R as oi, T as ai, U as li, V as hi, W as di, Z as ci, _ as it, $ as ui, a0 as de, a1 as st, a2 as rt, a3 as fi, a4 as nt, a5 as ot, a6 as at, a7 as lt, a8 as gi, a9 as pi, aa as ht, ab as mi, ac as B, ad as vi, ae as dt, af as yi, ag as ct, ah as bi, ai as _i, aj as xi, ak as wi, al as Ei, am as Ci, an as Ri, ao as Ni, ap as ut, aq as q, ar as ft, as as zi, at as Di, au as Ie, av as Si, aw as gt, ax as Pi, ay as ki, az as Oi, aA as Ai, aB as Ti, aC as Li, aD as Mi, aE as Hi, aF as Bi, aG as Fi, aH as Wi, aI as Ii } from "./hooks-CZ8ydA4T.js";
|
|
2
|
+
import { bb as yr, bo as br, bx as _r, aJ as xr, aK as wr, aL as Er, aM as Cr, aN as Rr, aO as Nr, aP as zr, aQ as Dr, aS as Sr, aT as Pr, aU as kr, aV as Or, aW as Ar, aX as Tr, aY as Lr, bt as Mr, a_ as Hr, a$ as Br, b2 as Fr, b3 as Wr, b4 as Ir, b5 as Gr, b8 as Ur, b9 as $r, ba as jr, bd as Kr, b1 as Vr, bc as qr, b7 as Yr, bu as Xr, bn as Jr, bi as Zr, bl as Qr, bh as en, by as tn, bg as sn, bf as rn, aR as nn, aZ as on, b0 as an, b6 as ln, be as hn, bj as dn, bp as cn, bq as un, br as fn, bz as gn, bk as pn, bs as mn, bw as vn, bm as yn, bv as bn } from "./hooks-CZ8ydA4T.js";
|
|
3
3
|
import { jsx as g, jsxs as N, Fragment as be } from "react/jsx-runtime";
|
|
4
4
|
import S, { PureComponent as Gi, useState as L, forwardRef as $, createElement as Ge, useRef as Q, useImperativeHandle as pt, Children as Ui, createContext as _e, useContext as mt, useCallback as K, useEffect as ce, useLayoutEffect as Ue, useMemo as vt } from "react";
|
|
5
5
|
import { createPortal as $i } from "react-dom";
|
|
@@ -112608,8 +112608,10 @@ const QW1 = 8, Gu = z(({ items: e = void 0, className: t, children: n, position:
|
|
|
112608
112608
|
Z2(() => {
|
|
112609
112609
|
R || (S(!1), x(!0));
|
|
112610
112610
|
}, [R]), Z2(() => {
|
|
112611
|
-
B.measure()
|
|
112612
|
-
}, [B,
|
|
112611
|
+
B.measure();
|
|
112612
|
+
}, [B, P, D]), Z2(() => {
|
|
112613
|
+
B.scrollToIndex(j);
|
|
112614
|
+
}, [B, j]);
|
|
112613
112615
|
const X = B.getVirtualItems(), G = w ? i("p", {
|
|
112614
112616
|
className: s2("flex items-center justify-center p-2", "min-h-[80px]"),
|
|
112615
112617
|
children: o || "-"
|
|
@@ -112668,7 +112670,7 @@ const QW1 = 8, Gu = z(({ items: e = void 0, className: t, children: n, position:
|
|
|
112668
112670
|
children: i(Ma, {})
|
|
112669
112671
|
}), i(F8, {
|
|
112670
112672
|
viewportRef: b,
|
|
112671
|
-
className: s2("flex flex-col overflow-y-auto", D ? "max-h-full" : a ? "max-h-[min(460px,calc(var(--radix-select-content-available-height,460px)-
|
|
112673
|
+
className: s2("flex flex-col overflow-y-auto", D ? "max-h-full" : a ? "max-h-[min(460px,calc(var(--radix-select-content-available-height,460px)-110px))]" : "max-h-[min(320px,calc(var(--radix-select-content-available-height,320px)))]", Q && "select-none opacity-10 transition-opacity"),
|
|
112672
112674
|
onScrollBottom: s,
|
|
112673
112675
|
onScrollTop: l,
|
|
112674
112676
|
scrollMargin: d,
|
|
@@ -112899,7 +112901,7 @@ const gs = 2, nB1 = z(function({ selection: t, multiple: n, totalSelectedCount:
|
|
|
112899
112901
|
className: "flex w-full items-center gap-1 text-left",
|
|
112900
112902
|
children: i(Q3, {
|
|
112901
112903
|
className: "min-w-0 flex-1",
|
|
112902
|
-
children: s.status.selected.all
|
|
112904
|
+
children: `${s.status.selected.all} (${c})`
|
|
112903
112905
|
})
|
|
112904
112906
|
});
|
|
112905
112907
|
if (a === "indeterminate") {
|
|
@@ -419,11 +419,6 @@ export declare const defaultTranslations: {
|
|
|
419
419
|
readonly actions: "Actions";
|
|
420
420
|
readonly sectionTitlePlaceholder: "Section title";
|
|
421
421
|
};
|
|
422
|
-
readonly defaults: {
|
|
423
|
-
readonly newSection: "New Section";
|
|
424
|
-
readonly newQuestion: "New Question";
|
|
425
|
-
readonly newQuestionDescription: "New question description";
|
|
426
|
-
};
|
|
427
422
|
};
|
|
428
423
|
};
|
|
429
424
|
|
|
@@ -418,11 +418,6 @@ const e = {
|
|
|
418
418
|
questionOptions: "Question options",
|
|
419
419
|
actions: "Actions",
|
|
420
420
|
sectionTitlePlaceholder: "Section title"
|
|
421
|
-
},
|
|
422
|
-
defaults: {
|
|
423
|
-
newSection: "New Section",
|
|
424
|
-
newQuestion: "New Question",
|
|
425
|
-
newQuestionDescription: "New question description"
|
|
426
421
|
}
|
|
427
422
|
}
|
|
428
423
|
};
|