@factorialco/f0-react 6.17.0 → 6.19.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/{ChatPdfThumbnail-2kb5W67O.js → ChatPdfThumbnail-CA55drLV.js} +1 -1
- package/dist/{CoachmarkProvider-DxcG4Ctu.js → CoachmarkProvider-DIJ-5n7c.js} +125 -124
- package/dist/{DocumentToolbar-CFNhjXyZ.js → DocumentToolbar-BwrB9pYo.js} +2 -2
- package/dist/{DocxViewer-DULYk10Z.js → DocxViewer-CUA5UqFj.js} +2 -2
- package/dist/{F0AiProcessingOverlay-BI9CH4xu.js → F0AiProcessingOverlay-Clm8Hofi.js} +905 -954
- package/dist/{F0CanvasPanel-r0pnuz-B.js → F0CanvasPanel-BR31-R1U.js} +20502 -20431
- package/dist/{F0VideoPlayer-BC4CGnpD.js → F0VideoPlayer-CK831O43.js} +1 -1
- package/dist/{SheetViewer-B1FWG9XQ.js → SheetViewer-24SsVp_g.js} +2 -2
- package/dist/{TextViewer-DZukzcC_.js → TextViewer-BRAo06fz.js} +2 -2
- package/dist/ai.d.ts +7 -2
- package/dist/ai.js +2 -2
- package/dist/component-status.js +1 -1
- package/dist/experimental.d.ts +178 -11
- package/dist/experimental.js +7518 -6724
- package/dist/f0.d.ts +23 -3
- package/dist/f0.js +10 -10
- package/dist/index-Cud1w75a.js +4 -0
- package/dist/{index-DZ3S-4pk.js → index-jlgWX7vd.js} +3 -3
- package/dist/{pdfWorker-D1RLk_Fi.js → pdfWorker-DK3co3Bk.js} +2 -2
- package/dist/styles.css +1 -1
- package/package.json +1 -1
- package/dist/index-CWZjggTj.js +0 -4
package/dist/f0.d.ts
CHANGED
|
@@ -225,9 +225,14 @@ declare const actionButtonVariants: readonly ["default", "outline", "critical",
|
|
|
225
225
|
|
|
226
226
|
declare interface ActionCommonProps {
|
|
227
227
|
/**
|
|
228
|
-
* Tooltip
|
|
228
|
+
* Tooltip. A string is the description on its own; the object form adds a
|
|
229
|
+
* bold first line above it — for "which control this is" over "what it holds",
|
|
230
|
+
* the same two-line shape `F0Select`'s trigger tooltip uses.
|
|
229
231
|
*/
|
|
230
|
-
tooltip?: string | false
|
|
232
|
+
tooltip?: string | false | {
|
|
233
|
+
label?: string;
|
|
234
|
+
description: string;
|
|
235
|
+
};
|
|
231
236
|
/**
|
|
232
237
|
* The variant of the action.
|
|
233
238
|
*/
|
|
@@ -8100,10 +8105,16 @@ declare type F0ButtonDropdownDropdownProps<T = string> = F0ButtonDropdownBasePro
|
|
|
8100
8105
|
* - "dropdown": Single button with chevron — clicking anywhere opens the dropdown with all items.
|
|
8101
8106
|
*/
|
|
8102
8107
|
mode: "dropdown";
|
|
8108
|
+
/**
|
|
8109
|
+
* The currently selected value. When it names an item, the trigger becomes
|
|
8110
|
+
* that item — its label and its icon — the same way split mode's main button
|
|
8111
|
+
* shows what is selected. Without it the trigger is just an opener.
|
|
8112
|
+
*/
|
|
8113
|
+
value?: T;
|
|
8103
8114
|
/**
|
|
8104
8115
|
* Optional trigger button label. Customize the label shown on the
|
|
8105
8116
|
* trigger button independently from the dropdown items.
|
|
8106
|
-
* Falls back to the
|
|
8117
|
+
* Falls back to the selected item's label, then to the first item's.
|
|
8107
8118
|
*/
|
|
8108
8119
|
trigger?: string;
|
|
8109
8120
|
/**
|
|
@@ -12095,6 +12106,15 @@ export declare type F0SelectItemObject<T, R = unknown> = {
|
|
|
12095
12106
|
type?: "item";
|
|
12096
12107
|
value: T;
|
|
12097
12108
|
label: string;
|
|
12109
|
+
/**
|
|
12110
|
+
* What the TRIGGER shows once this item is selected, when that has to differ
|
|
12111
|
+
* from the row's own `label`. The row is read in the context the list gives it
|
|
12112
|
+
* — under a group header, beside its siblings — and the trigger has none of
|
|
12113
|
+
* that, so a label that is clear in the list can be ambiguous on its own
|
|
12114
|
+
* ("Tokens", once the "Design system" header is gone). Give the trigger the
|
|
12115
|
+
* full path there and leave the row short. Defaults to `label`.
|
|
12116
|
+
*/
|
|
12117
|
+
selectedLabel?: string;
|
|
12098
12118
|
description?: string;
|
|
12099
12119
|
/** Short token shown next to the label (e.g. a dial code) */
|
|
12100
12120
|
metadata?: F0SelectItemMetadata;
|
package/dist/f0.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { hH as uN, w as at, cp as Ab, a7 as dn, h6 as cN, a6 as En, fe as FV, hI as GV, hJ as fN, r as Xt, av as rf, hK as HV, hL as Lw, hM as Mr, hN as Xa, hO as WV, u as Be, aJ as Zv, hP as qi, hQ as Fl, hR as hN, aD as ul, h3 as Hy, hS as UV, S as ee, s as Mb, hT as $V, hU as YV, hV as Nw, em as XV, hW as qV, hX as ZV, hY as dN, hZ as jV, t as jv, v as Kv, m as tt, x as Qv, y as Gr, O as KV, Q as QV, z as nf, A as af, cd as qo, B as of, gh as Wy, am as Ft, V as et, aC as bl, ao as La, aR as Eb, h_ as JV, by as eF, ei as Iw, n as vN, o as xl, ad as Sc, bz as tF, da as xd, cn as pN, h$ as rF, h5 as kw, aw as nF, i0 as Pw, fN as iF, i1 as aF, c6 as gN, ca as mN, g0 as Uy, aW as oF, dl as $y, ce as yN, gD as Gl, gE as sf, gG as _N, hc as sF, gf as bN, aL as xN, ge as lF, i2 as Jv, dW as Lb, gU as uF, at as wN, fM as cF, cD as fF, hD as Nb, bW as SN, b$ as hF, c0 as dF, c1 as vF, d as pF, af as CN, ds as as, e7 as TN, dV as DN, cG as Ib, cb as AN, df as kb, G as cl, H as fl, K as hl, L as dl, gi as va, cf as MN, j as gF, dT as wd, bK as wl, J as Nr, cU as mF, as as EN, cJ as Yy, ej as Cc, cT as yF, dN as lf, ap as Hl, bm as LN, b3 as _F, gN as Or, i3 as bF, i4 as xF, i5 as NN, i6 as ep, i7 as wF, i8 as SF, R as IN, U as kN, cK as CF, i9 as TF, bf as PN, c8 as DF, c9 as AF, ag as Xy, aN as Wl, cs as Ul, eR as uf, e9 as MF, cq as EF, bx as LF, ai as RN, bB as NF, ar as IF, bU as Rw, e6 as Tc, fP as kF, fQ as PF, ia as RF, bl as OF, cw as BF, l as ON, ax as zF, bE as VF, ib as FF, h9 as GF, ay as HF, bp as WF, ab as BN, ic as zN, id as UF, ie as $F, I as YF, ig as XF, ih as qF, ii as ZF, ij as jF } from "./F0CanvasPanel-BR31-R1U.js";
|
|
2
|
+
import { iB as zhe, C as Vhe, D as Fhe, bd as Ghe, c as Hhe, F as Whe, a as Uhe, iu as $he, f as Yhe, bF as Xhe, be as qhe, cu as Zhe, bS as jhe, b6 as Khe, aG as Qhe, aQ as Jhe, el as ede, aY as tde, cO as rde, g as nde, c2 as ide, cP as ade, ip as ode, iG as sde, bT as lde, e as ude, cc as cde, k as fde, cv as hde, iw as dde, bt as vde, ix as pde, iz as gde, iA as mde, dd as yde, iD as _de, d6 as bde, d7 as xde, P as wde, db as Sde, iy as Cde, d8 as Tde, iC as Dde, iH as Ade, il as Mde, im as Ede, io as Lde, ik as Nde, d9 as Ide, iF as kde, iv as Pde, is as Rde, ir as Ode, dc as Bde, gc as zde, gV as Vde, iE as Fde, bi as Gde, d5 as Hde, d2 as Wde, d4 as Ude, d1 as $de, it as Yde, gX as Xde, gR as qde, gH as Zde, iK as jde, cV as Kde, d3 as Qde, iJ as Jde, bO as eve, ef as tve, gb as rve, gI as nve, b as ive, bR as ave, hb as ove, bg as sve, eg as lve, iq as uve, gT as cve, gS as fve, iI as hve } from "./F0CanvasPanel-BR31-R1U.js";
|
|
3
3
|
import { jsx as S, jsxs as B, Fragment as it } from "react/jsx-runtime";
|
|
4
|
-
import { C as KF, W as QF,
|
|
5
|
-
import {
|
|
4
|
+
import { C as KF, W as QF, s as JF, t as e5, v as t5, w as Ow, aG as r5, aH as n5, G as i5, D as a5, y as o5, F as s5, H as l5, k as u5, K as VN, aI as c5, aJ as f5, aK as h5, aL as d5, aM as v5, aN as FN, aO as p5, n as tp, aP as qa, aQ as g5, aR as Pb, aS as Rb, a3 as m5, aT as y5, aU as xs, aV as GN, aW as _5, aX as b5, aY as x5, aZ as w5, a_ as S5, a$ as C5, af as T5, av as D5, b0 as A5, aa as M5, E as E5, a as L5, f as rp, R as Ob, u as Bb, ad as HN, O as zb, b1 as WN, b2 as Bw, b3 as Vb, N as N5, g as UN, aj as $N, b4 as I5, b5 as k5, b6 as P5, b7 as R5, aw as O5, M as B5 } from "./CoachmarkProvider-DIJ-5n7c.js";
|
|
5
|
+
import { T as vve, U as pve, a4 as gve, X as mve, a0 as yve, bu as _ve, bt as bve, bm as xve, b9 as wve, b8 as Sve, ba as Cve, bb as Tve, bd as Dve, be as Ave, ay as Mve, ax as Eve, aB as Lve, ac as Nve, a7 as Ive, aD as kve, a8 as Pve, Y as Rve, bv as Ove, az as Bve, aA as zve, a9 as Vve, Z as Fve, P as Gve, $ as Hve, a1 as Wve, aC as Uve, ab as $ve, aE as Yve, _ as Xve, a2 as qve, bx as Zve, I as jve, J as Kve, bl as Qve, br as Jve, br as epe, bs as tpe, bh as rpe, bg as npe, bw as ipe, at as ape, bj as ope, bk as spe, a6 as lpe, by as upe, bz as cpe, h as fpe, bn as hpe, bo as dpe, bp as vpe, bc as ppe, bi as gpe, i as mpe, bq as ype, bf as _pe, bA as bpe } from "./CoachmarkProvider-DIJ-5n7c.js";
|
|
6
6
|
import * as wt from "react";
|
|
7
7
|
import z5, { forwardRef as Tr, useRef as ce, useImperativeHandle as V5, Children as Sd, createContext as Va, useContext as os, useState as ue, useMemo as me, useEffect as Me, useCallback as de, useLayoutEffect as qy, isValidElement as YN, Fragment as $l, useSyncExternalStore as Sl, useId as lc, memo as F5 } from "react";
|
|
8
8
|
import { createPortal as np } from "react-dom";
|
|
9
9
|
import { d as re, u as cf, h as G5, i as tl, P as ff, g as Yl, j as H5, f as Fa } from "./tooltip-Cik7KBQT.js";
|
|
10
|
-
import { l as Zy, c as XN, d as Cd, r as jy } from "./F0VideoPlayer-
|
|
11
|
-
import { F as wpe } from "./F0VideoPlayer-
|
|
12
|
-
import { D as W5, E as Td, G as Fb, H as qN, I as ZN, J as Qn, K as U5, L as $5, M as Y5, N as X5, O as q5, F as Z5 } from "./F0AiProcessingOverlay-
|
|
13
|
-
import { A as Cpe, C as Tpe, t as Dpe, s as Ape, v as Mpe, y as Epe, l as Lpe, i as Npe, q as Ipe, z as kpe, B as Ppe, p as Rpe, r as Ope, j as Bpe, e as zpe, g as Vpe, k as Fpe, T as Gpe, w as Hpe, h as Wpe, a as Upe, n as $pe, m as Ype, o as Xpe, b as qpe, f as Zpe, x as jpe, c as Kpe, d as Qpe, u as Jpe } from "./F0AiProcessingOverlay-
|
|
14
|
-
import { F as tge, p as rge } from "./index-
|
|
15
|
-
import { c as ige } from "./pdfWorker-
|
|
10
|
+
import { l as Zy, c as XN, d as Cd, r as jy } from "./F0VideoPlayer-CK831O43.js";
|
|
11
|
+
import { F as wpe } from "./F0VideoPlayer-CK831O43.js";
|
|
12
|
+
import { D as W5, E as Td, G as Fb, H as qN, I as ZN, J as Qn, K as U5, L as $5, M as Y5, N as X5, O as q5, F as Z5 } from "./F0AiProcessingOverlay-Clm8Hofi.js";
|
|
13
|
+
import { A as Cpe, C as Tpe, t as Dpe, s as Ape, v as Mpe, y as Epe, l as Lpe, i as Npe, q as Ipe, z as kpe, B as Ppe, p as Rpe, r as Ope, j as Bpe, e as zpe, g as Vpe, k as Fpe, T as Gpe, w as Hpe, h as Wpe, a as Upe, n as $pe, m as Ype, o as Xpe, b as qpe, f as Zpe, x as jpe, c as Kpe, d as Qpe, u as Jpe } from "./F0AiProcessingOverlay-Clm8Hofi.js";
|
|
14
|
+
import { F as tge, p as rge } from "./index-jlgWX7vd.js";
|
|
15
|
+
import { c as ige } from "./pdfWorker-DK3co3Bk.js";
|
|
16
16
|
import { g as j5 } from "./_commonjsHelpers-ByX85dGu.js";
|
|
17
17
|
import { utils as vl, write as jN } from "./xlsx-CzlURDDb.js";
|
|
18
18
|
import { defaultTranslations as oge } from "./i18n-provider-defaults.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { S as L, m as ye, u as Z, n as Se, o as Re, i as ke, j as _e, k as Ne, q as Ce, l as Le, w as Fe, r as Ve, s as Te } from "./F0CanvasPanel-
|
|
1
|
+
import { S as L, m as ye, u as Z, n as Se, o as Re, i as ke, j as _e, k as Ne, q as Ce, l as Le, w as Fe, r as Ve, s as Te } from "./F0CanvasPanel-BR31-R1U.js";
|
|
2
2
|
import { jsx as t, jsxs as y } from "react/jsx-runtime";
|
|
3
3
|
import { lazy as J, forwardRef as ne, Suspense as He, useState as V, useRef as A, useMemo as te, useCallback as w, useEffect as T } from "react";
|
|
4
|
-
import { e as Ee, D as Ue, P as je, c as De } from "./pdfWorker-
|
|
4
|
+
import { e as Ee, D as Ue, P as je, c as De } from "./pdfWorker-DK3co3Bk.js";
|
|
5
5
|
import { F as We } from "./Printer-BD-FEi_2.js";
|
|
6
6
|
import { d as ae } from "./tooltip-Cik7KBQT.js";
|
|
7
7
|
import './index.css';const Oe = ({
|
|
@@ -222,7 +222,7 @@ import './index.css';const Oe = ({
|
|
|
222
222
|
}), i;
|
|
223
223
|
};
|
|
224
224
|
Ee();
|
|
225
|
-
const qe = J(() => import("./SheetViewer-
|
|
225
|
+
const qe = J(() => import("./SheetViewer-24SsVp_g.js")), Ge = J(() => import("./DocxViewer-CUA5UqFj.js")), Ze = J(() => import("./TextViewer-BRAo06fz.js")), oe = 48, se = ne(
|
|
226
226
|
(o, a) => {
|
|
227
227
|
const { kind: e = "pdf", mimeType: i, ...l } = o;
|
|
228
228
|
if (e === "pdf") return /* @__PURE__ */ t(le, { ref: a, ...l });
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { createContext, useReducer, forwardRef, useRef, useImperativeHandle, useEffect, useCallback, useMemo, useContext, useLayoutEffect } from "react";
|
|
3
3
|
import { e as clsx } from "./tooltip-Cik7KBQT.js";
|
|
4
|
-
import { W as invariant } from "./F0CanvasPanel-
|
|
5
|
-
import { d as dequal } from "./CoachmarkProvider-
|
|
4
|
+
import { W as invariant } from "./F0CanvasPanel-BR31-R1U.js";
|
|
5
|
+
import { d as dequal } from "./CoachmarkProvider-DIJ-5n7c.js";
|
|
6
6
|
import { a as getAugmentedNamespace, g as getDefaultExportFromCjs } from "./_commonjsHelpers-ByX85dGu.js";
|
|
7
7
|
import { c as commonjsRequire } from "./_commonjs-dynamic-modules-BpilXLfW.js";
|
|
8
8
|
import './pdfWorker.css';var pdf$1 = { exports: {} };
|