@factorialco/f0-react 4.56.1 → 4.56.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.
@@ -1377,6 +1377,14 @@ declare type ButtonInternalProps = Pick<ActionProps, "size" | "disabled" | "clas
1377
1377
  * expandable region (e.g. a tree/graph expander).
1378
1378
  */
1379
1379
  "aria-expanded"?: boolean;
1380
+ /**
1381
+ * Identifies the expandable region controlled by the button.
1382
+ */
1383
+ "aria-controls"?: string;
1384
+ /**
1385
+ * Describes the type of popup opened by the button.
1386
+ */
1387
+ "aria-haspopup"?: React.AriaAttributes["aria-haspopup"];
1380
1388
  /**
1381
1389
  * Forwarded to the underlying button. Use `-1` to take the button out of the
1382
1390
  * tab order (e.g. when a parent manages focus via roving tabindex).
@@ -3,8 +3,8 @@ import { cK as k0, cJ as T0, cW as R0, cG as E0, cH as L0, cB as z0, cC as A0, c
3
3
  import { jsx as n, jsxs as m, Fragment as De } from "react/jsx-runtime";
4
4
  import Q, { forwardRef as Ae, useRef as _, useTransition as zd, useState as $, useLayoutEffect as ar, useId as Ur, useContext as Nt, createContext as st, useEffect as te, useCallback as K, useMemo as he, Fragment as Rt, isValidElement as Ad, cloneElement as Pa, Suspense as bo, lazy as tn, createElement as Mn, memo as Ma, Children as Oa } from "react";
5
5
  import { d as S, T as Fd, a as Pd, b as Md, f as Je, c as Od } from "./tooltip-BH6Se8A4.js";
6
- import { C as Dd, P as Bd, a as Nn, M as _d, p as Hd, b as $d, R as Yo, c as Da, u as Wd, e as jd, f as Vd, g as Ud, h as Gd, i as Kd, O as Ba, j as _a, S as qd, A as Yd, B as Xd, L as Qd, k as Jd, V as Zd, l as eu, m as tu, n as nu } from "./index-BF3g-R2k.js";
7
- import { a3 as nx, a4 as rx, t as ox, v as ix, r as ax, J as sx, w as lx, E as cx, ae as dx, I as ux, s as fx, a1 as hx, ag as mx, af as px, U as gx, aj as bx, F as vx, _ as xx, X as yx, N as wx, al as Nx, Q as Cx, $ as Ix, a0 as Sx, x as kx, ah as Tx, ai as Rx, T as Ex, a2 as Lx, ab as zx, ad as Ax, y as Fx, D as Px, G as Mx, Y as Ox, ak as Dx, Z as Bx, W as _x, am as Hx, z as $x, H as Wx, o as jx, q as Vx, a7 as Ux, a8 as Gx, a5 as Kx, ac as qx, K as Yx, a9 as Xx, a6 as Qx, aa as Jx } from "./index-BF3g-R2k.js";
6
+ import { C as Dd, P as Bd, a as Nn, M as _d, p as Hd, b as $d, R as Yo, c as Da, u as Wd, e as jd, f as Vd, g as Ud, h as Gd, i as Kd, O as Ba, j as _a, S as qd, A as Yd, B as Xd, L as Qd, k as Jd, V as Zd, l as eu, m as tu, n as nu } from "./index-CAQs3D_3.js";
7
+ import { a3 as nx, a4 as rx, t as ox, v as ix, r as ax, J as sx, w as lx, E as cx, ae as dx, I as ux, s as fx, a1 as hx, ag as mx, af as px, U as gx, aj as bx, F as vx, _ as xx, X as yx, N as wx, al as Nx, Q as Cx, $ as Ix, a0 as Sx, x as kx, ah as Tx, ai as Rx, T as Ex, a2 as Lx, ab as zx, ad as Ax, y as Fx, D as Px, G as Mx, Y as Ox, ak as Dx, Z as Bx, W as _x, am as Hx, z as $x, H as Wx, o as jx, q as Vx, a7 as Ux, a8 as Gx, a5 as Kx, ac as qx, K as Yx, a9 as Xx, a6 as Qx, aa as Jx } from "./index-CAQs3D_3.js";
8
8
  import ru from "react-dom";
9
9
  const ou = Sl("Search", [
10
10
  ["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }],
@@ -8413,7 +8413,7 @@ const $h = {
8413
8413
  ] })
8414
8414
  ] }) });
8415
8415
  }, Jh = tn(
8416
- () => import("./index-CfHeK3Qf.js").then((e) => e.i).then((e) => ({
8416
+ () => import("./index-BcTZriE7.js").then((e) => e.i).then((e) => ({
8417
8417
  default: e.F0PdfViewer
8418
8418
  }))
8419
8419
  ), Zh = () => {
@@ -12629,7 +12629,7 @@ const Wp = (e) => {
12629
12629
  }
12630
12630
  )
12631
12631
  ] });
12632
- }, Jp = tn(() => import("./ChatPdfThumbnail-DBvkl-F_.js")), Zp = tn(() => import("./ChatSheetThumbnail-BvnxT-4A.js")), eg = tn(() => import("./ChatDocxThumbnail-DzNPNFya.js")), tg = tn(() => import("./ChatTextThumbnail-yVt_iYi7.js")), Fr = 288, ng = 160, rg = (e) => {
12632
+ }, Jp = tn(() => import("./ChatPdfThumbnail-j3ZfYQ74.js")), Zp = tn(() => import("./ChatSheetThumbnail-BvnxT-4A.js")), eg = tn(() => import("./ChatDocxThumbnail-DzNPNFya.js")), tg = tn(() => import("./ChatTextThumbnail-yVt_iYi7.js")), Fr = 288, ng = 160, rg = (e) => {
12633
12633
  const [t, r] = $(!1);
12634
12634
  return te(() => {
12635
12635
  const o = e.current;
package/dist/f0.d.ts CHANGED
@@ -1912,6 +1912,14 @@ declare type ButtonInternalProps = Pick<ActionProps, "size" | "disabled" | "clas
1912
1912
  * expandable region (e.g. a tree/graph expander).
1913
1913
  */
1914
1914
  "aria-expanded"?: boolean;
1915
+ /**
1916
+ * Identifies the expandable region controlled by the button.
1917
+ */
1918
+ "aria-controls"?: string;
1919
+ /**
1920
+ * Describes the type of popup opened by the button.
1921
+ */
1922
+ "aria-haspopup"?: React.AriaAttributes["aria-haspopup"];
1915
1923
  /**
1916
1924
  * Forwarded to the underlying button. Use `-1` to take the button out of the
1917
1925
  * tab order (e.g. when a parent manages focus via roving tabindex).
package/dist/f0.js CHANGED
@@ -3,14 +3,14 @@ import { hy as phe, C as ghe, D as mhe, aU as yhe, c as bhe, F as _he, a as xhe,
3
3
  import { jsx as w, jsxs as O, Fragment as it } from "react/jsx-runtime";
4
4
  import * as bt from "react";
5
5
  import ZF, { forwardRef as Dr, useRef as ie, useImperativeHandle as jF, Children as Sd, createContext as Ba, useContext as ts, useState as se, useMemo as ye, useEffect as me, useCallback as le, useLayoutEffect as Nw, isValidElement as VN, Fragment as Fl, useSyncExternalStore as yl, useId as ic, memo as KF } from "react";
6
- import { D as QF, E as JF, G as e5, H as t5, I as r5, J as n5, K as Cd, L as k_, M as FN, N as GN, O as Jn, P as i5, Q as a5, R as o5, S as s5, U as l5, F as u5 } from "./F0AiProcessingOverlay-D5hKB9d7.js";
7
- import { A as Ude, C as $de, t as Yde, s as Xde, v as qde, y as Zde, l as jde, i as Kde, q as Qde, z as Jde, B as eve, p as tve, r as rve, j as nve, e as ive, g as ave, k as ove, T as sve, w as lve, h as uve, a as cve, n as fve, m as hve, o as dve, b as vve, f as pve, x as gve, c as mve, d as yve, u as bve } from "./F0AiProcessingOverlay-D5hKB9d7.js";
6
+ import { D as QF, E as JF, G as e5, H as t5, I as r5, J as n5, K as Cd, L as k_, M as FN, N as GN, O as Jn, P as i5, Q as a5, R as o5, S as s5, U as l5, F as u5 } from "./F0AiProcessingOverlay-CDg_WXQ8.js";
7
+ import { A as Ude, C as $de, t as Yde, s as Xde, v as qde, y as Zde, l as jde, i as Kde, q as Qde, z as Jde, B as eve, p as tve, r as rve, j as nve, e as ive, g as ave, k as ove, T as sve, w as lve, h as uve, a as cve, n as fve, m as hve, o as dve, b as vve, f as pve, x as gve, c as mve, d as yve, u as bve } from "./F0AiProcessingOverlay-CDg_WXQ8.js";
8
8
  import { d as J, u as ep, g as c5, h as js, P as sf, i as Gl, j as f5, f as yi } from "./tooltip-BH6Se8A4.js";
9
9
  import { createPortal as tp } from "react-dom";
10
- import { C as h5, an as d5, ao as v5, ap as p5, aq as Iw, ar as g5, as as m5, at as y5, au as b5, av as _5, aw as x5, ax as w5, i as S5, F as HN, ay as C5, az as T5, aA as D5, aB as A5, aC as M5, aD as WN, aE as E5, aF as rp, aG as Wa, aH as L5, aI as R_, aJ as O_, I as N5, aK as I5, aL as ps, aM as UN, aN as P5, aO as k5, aP as R5, aQ as O5, aR as B5, aS as z5, _ as V5, ae as F5, aT as G5, U as H5, aU as W5, aV as U5, c as np, R as B_, u as z_, Y as $N, O as V_, aW as YN, aX as Pw, aY as F_, r as $5, e as XN, a2 as qN, aZ as Y5, a_ as X5, a$ as q5, b0 as Z5, M as j5 } from "./index-BF3g-R2k.js";
11
- import { t as xve, v as wve, J as Sve, w as Cve, E as Tve, bm as Dve, bl as Ave, bf as Mve, b2 as Eve, b1 as Lve, b3 as Nve, b4 as Ive, b6 as Pve, b7 as kve, ag as Rve, af as Ove, aj as Bve, X as zve, N as Vve, al as Fve, Q as Gve, x as Hve, bn as Wve, ah as Uve, ai as $ve, T as Yve, y as Xve, P as qve, D as Zve, G as jve, ak as Kve, W as Qve, am as Jve, z as epe, H as tpe, bp as rpe, o as npe, q as ipe, be as ape, bj as ope, bj as spe, bk as lpe, ba as upe, b9 as cpe, bo as fpe, ac as hpe, bc as dpe, bd as vpe, K as ppe, bq as gpe, br as mpe, f as ype, bg as bpe, bh as _pe, bi as xpe, b5 as wpe, bb as Spe, g as Cpe, j as Tpe, b8 as Dpe, bs as Ape } from "./index-BF3g-R2k.js";
12
- import { F as Epe, p as Lpe } from "./index-CfHeK3Qf.js";
13
- import { c as Ipe } from "./pdfWorker-D-5ek9Um.js";
10
+ import { C as h5, an as d5, ao as v5, ap as p5, aq as Iw, ar as g5, as as m5, at as y5, au as b5, av as _5, aw as x5, ax as w5, i as S5, F as HN, ay as C5, az as T5, aA as D5, aB as A5, aC as M5, aD as WN, aE as E5, aF as rp, aG as Wa, aH as L5, aI as R_, aJ as O_, I as N5, aK as I5, aL as ps, aM as UN, aN as P5, aO as k5, aP as R5, aQ as O5, aR as B5, aS as z5, _ as V5, ae as F5, aT as G5, U as H5, aU as W5, aV as U5, c as np, R as B_, u as z_, Y as $N, O as V_, aW as YN, aX as Pw, aY as F_, r as $5, e as XN, a2 as qN, aZ as Y5, a_ as X5, a$ as q5, b0 as Z5, M as j5 } from "./index-CAQs3D_3.js";
11
+ import { t as xve, v as wve, J as Sve, w as Cve, E as Tve, bm as Dve, bl as Ave, bf as Mve, b2 as Eve, b1 as Lve, b3 as Nve, b4 as Ive, b6 as Pve, b7 as kve, ag as Rve, af as Ove, aj as Bve, X as zve, N as Vve, al as Fve, Q as Gve, x as Hve, bn as Wve, ah as Uve, ai as $ve, T as Yve, y as Xve, P as qve, D as Zve, G as jve, ak as Kve, W as Qve, am as Jve, z as epe, H as tpe, bp as rpe, o as npe, q as ipe, be as ape, bj as ope, bj as spe, bk as lpe, ba as upe, b9 as cpe, bo as fpe, ac as hpe, bc as dpe, bd as vpe, K as ppe, bq as gpe, br as mpe, f as ype, bg as bpe, bh as _pe, bi as xpe, b5 as wpe, bb as Spe, g as Cpe, j as Tpe, b8 as Dpe, bs as Ape } from "./index-CAQs3D_3.js";
12
+ import { F as Epe, p as Lpe } from "./index-BcTZriE7.js";
13
+ import { c as Ipe } from "./pdfWorker-Y-79whHC.js";
14
14
  import { g as K5 } from "./_commonjsHelpers-ByX85dGu.js";
15
15
  import { utils as ul, write as ZN } from "./xlsx-CzlURDDb.js";
16
16
  import { defaultTranslations as kpe } from "./i18n-provider-defaults.js";
@@ -1,7 +1,7 @@
1
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-BeVQHrJo.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-D-5ek9Um.js";
4
+ import { e as Ee, D as Ue, P as je, c as De } from "./pdfWorker-Y-79whHC.js";
5
5
  import { F as We } from "./Printer-B7iDPx2r.js";
6
6
  import { d as ae } from "./tooltip-BH6Se8A4.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-DOm6rD9f.js")), Ge = J(() => import("./DocxViewer-B6HTjpEm.js")), Ze = J(() => import("./TextViewer-BW9eWjT_.js")), oe = 48, se = ne(
225
+ const qe = J(() => import("./SheetViewer-7J16gGMO.js")), Ge = J(() => import("./DocxViewer-BokmXsqQ.js")), Ze = J(() => import("./TextViewer-ChNtoJge.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 });
@@ -18589,7 +18589,7 @@ function _K({
18589
18589
  editableColumn: t,
18590
18590
  item: e,
18591
18591
  iconColor: "secondary",
18592
- className: "min-h-12 bg-f1-background-disabled [&_*]:text-f1-foreground-secondary"
18592
+ className: "min-h-12 [&_*]:text-f1-foreground-secondary"
18593
18593
  }
18594
18594
  )
18595
18595
  }
@@ -2,7 +2,7 @@ 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-BH6Se8A4.js";
4
4
  import { t as invariant } from "./F0CanvasPanel-BeVQHrJo.js";
5
- import { d as dequal } from "./index-BF3g-R2k.js";
5
+ import { d as dequal } from "./index-CAQs3D_3.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: {} };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@factorialco/f0-react",
3
- "version": "4.56.1",
3
+ "version": "4.56.3",
4
4
  "private": false,
5
5
  "files": [
6
6
  "assets",