@factorialco/f0-react 6.77.0 → 6.78.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.
@@ -3169,7 +3169,9 @@ export declare interface CommunityPostSummary {
3169
3169
  title: string;
3170
3170
  /**
3171
3171
  * The post's body as the editor stored it (an HTML string), clamped to the
3172
- * first few lines. Whatever links it contains are NOT clickable here: the
3172
+ * lines the tile has room for — see {@link PostBody}, and note that a post
3173
+ * with no cover therefore previews more of itself than one with a picture.
3174
+ * Whatever links it contains are NOT clickable here: the
3173
3175
  * whole tile is one target (see {@link CommunityPostCard}), and a link inside
3174
3176
  * a link is neither valid nor operable.
3175
3177
  */
@@ -7229,10 +7231,15 @@ export declare type F0ChatVoiceAttachment = {
7229
7231
  * anything narrower.
7230
7232
  *
7231
7233
  * A WIDE-COLUMN WIDGET. Two tiles side by side is the whole reason this exists
7232
- * rather than a `list` slot — a post needs a title, four lines of its body and
7234
+ * rather than a `list` slot — a post needs a title, a few lines of its body and
7233
7235
  * its author to be worth previewing at all, and that does not fit a 396px rail.
7234
7236
  * Put it in the main column (`areas: ["main"]` in the catalog).
7235
7237
  *
7238
+ * THE HEIGHT IS DECLARED, NOT GROWN ({@link POST_CARD_HEIGHT}). Every tile is
7239
+ * 384px, so the widget is the same height on every page of the feed, and the
7240
+ * body is what gives: it takes whatever the cover, the title and the author line
7241
+ * leave and previews the lines that fit there.
7242
+ *
7236
7243
  * THE PAGING IS UNDER THE TILES, not floating over them — `CarouselControls`,
7237
7244
  * the shared row: an arrow on each end, the dots between, its own `pt-4` above
7238
7245
  * it. Nothing about that row is this widget's, which is why it lives in
@@ -7242,7 +7249,7 @@ export declare type F0ChatVoiceAttachment = {
7242
7249
  * transforms the track, so the slides off-screen are mounted and measured like
7243
7250
  * the ones you can see — there is no windowing here, and adding it would mean
7244
7251
  * the carousel could no longer measure its own snaps. That is the right trade
7245
- * for what this shows: a handful of tiles, each one a title and four lines.
7252
+ * for what this shows: a handful of tiles, each one a title and a few lines.
7246
7253
  *
7247
7254
  * It is `pagination` that keeps it a handful. A feed of two hundred posts is not
7248
7255
  * a longer carousel, it is a carousel that holds a PAGE and asks for the next
@@ -11223,9 +11230,14 @@ export declare interface NewHomeLayoutProps {
11223
11230
  /** Fixed px width of the side rail. */
11224
11231
  asideWidth?: number;
11225
11232
  /**
11226
- * Max px width of the (centered) main-column content. Defaults to
11227
- * `max-w-content` (712px), so a composer or a message list in the main column
11228
- * lines up with the same reading column the chat uses.
11233
+ * Max px width of the (centered) main-column content. Defaults to 672px, the
11234
+ * width the Home widgets are designed at — it is what decides a two-tile
11235
+ * widget's tile size, since every tile is
11236
+ * `(column − 32 padding + 16 gutter) / 2 − 16`.
11237
+ *
11238
+ * ⚠️ NOT `max-w-content` (712px) any more. A surface in the main column that
11239
+ * has to line up with the chat's composer or message list should cap ITSELF at
11240
+ * the reading column rather than assume the column is it.
11229
11241
  */
11230
11242
  mainWidth?: number;
11231
11243
  /**
@@ -1,6 +1,6 @@
1
- import { v as s, t, A as i, a as o, J as r, ar as n, aq as l, as as d, B as S, w as C, y as g, L as m, ay as u, az as c, aI as b, x as h, C as P, ax as T, aJ as p, D as F, z as I, a3 as E, b1 as A, b8 as B, K as y, b0 as D, E as L, b as W, i as v, ag as k, ah as O, G as _, an as f, F as x, j as N, n as H, o as R, k as M, c as V, q as w, r as G, H as z, aM as U, aN as j, aB as q, am as K, aR as Q, at as X, a6 as Z, aL as J, U as Y, ac as $, O as aa, bc as ea, V as sa, P as ta, M as ia, N as oa, au as ra, R as na, a_ as la, b2 as da, S as Sa, a7 as Ca, a8 as ga, _ as ma, $ as ua, a0 as ca, Z as ba, a1 as ha, W as Pa, a2 as Ta, a4 as pa, a5 as Fa, a9 as Ia, aa as Ea, b6 as Aa, b5 as Ba, ap as ya, ao as Da, aw as La, aK as Wa, aH as va, av as ka, ab as Oa, aC as _a, b7 as fa, ba as xa, aA as Na, aF as Ha, aD as Ra, bb as Ma, aG as Va, aE as wa, b9 as Ga, d as za, af as Ua, b4 as ja, b3 as qa, aj as Ka, f as Qa, l as Xa, p as Za, g as Ja, h as Ya, aU as $a, aS as ae, ak as ee, al as se, aQ as te, aT as ie, e as oe, s as re, aY as ne, aP as le, aV as de, ad as Se, a$ as Ce, u as ge, ae as me, ai as ue, aO as ce, T as be, Q as he, I as Pe, Y as Te, X as pe, aZ as Fe, aX as Ie, aW as Ee } from "./experimental-CxGQBOjf.js";
1
+ import { v as s, t, A as i, a as o, J as r, ar as n, aq as l, as as d, B as S, w as C, y as g, L as m, ay as u, az as c, aI as b, x as h, C as P, ax as T, aJ as p, D as F, z as I, a3 as E, b1 as A, b8 as B, K as y, b0 as D, E as L, b as W, i as v, ag as k, ah as O, G as _, an as f, F as x, j as N, n as H, o as R, k as M, c as V, q as w, r as G, H as z, aM as U, aN as j, aB as q, am as K, aR as Q, at as X, a6 as Z, aL as J, U as Y, ac as $, O as aa, bc as ea, V as sa, P as ta, M as ia, N as oa, au as ra, R as na, a_ as la, b2 as da, S as Sa, a7 as Ca, a8 as ga, _ as ma, $ as ua, a0 as ca, Z as ba, a1 as ha, W as Pa, a2 as Ta, a4 as pa, a5 as Fa, a9 as Ia, aa as Ea, b6 as Aa, b5 as Ba, ap as ya, ao as Da, aw as La, aK as Wa, aH as va, av as ka, ab as Oa, aC as _a, b7 as fa, ba as xa, aA as Na, aF as Ha, aD as Ra, bb as Ma, aG as Va, aE as wa, b9 as Ga, d as za, af as Ua, b4 as ja, b3 as qa, aj as Ka, f as Qa, l as Xa, p as Za, g as Ja, h as Ya, aU as $a, aS as ae, ak as ee, al as se, aQ as te, aT as ie, e as oe, s as re, aY as ne, aP as le, aV as de, ad as Se, a$ as Ce, u as ge, ae as me, ai as ue, aO as ce, T as be, Q as he, I as Pe, Y as Te, X as pe, aZ as Fe, aX as Ie, aW as Ee } from "./experimental-57ph1Emv.js";
2
2
  import { dP as Be, ep as ye, eo as De, eC as Le, dm as We, em as ve, ce as ke, c4 as Oe, cb as _e, eh as fe, bZ as xe, bZ as Ne, bS as He, ei as Re, ch as Me, e0 as Ve, cj as we, eF as Ge, en as ze, ey as Ue, ez as je, d6 as qe, eD as Ke, k as Qe, dQ as Xe, cN as Ze, el as Je, er as Ye, eq as $e, T as as, h as es, bT as ss, eA as ts, eG as is, eB as os, eE as rs, ex as ns, eu as ls, ew as ds, es as Ss, ej as Cs, ek as gs, ed as ms, ev as us, et as cs } from "./F0CanvasPanel-CxXzc-sR.js";
3
- import { ax as hs, ay as Ps, a5 as Ts, a6 as ps, a3 as Fs, ag as Is, C as Es, a7 as As, aJ as Bs, ac as ys, aI as Ds, af as Ls, a4 as Ws, av as vs, aL as ks, aK as Os, an as _s, ah as fs, aq as xs, aO as Ns, a2 as Hs, as as Rs, ap as Ms, ak as Vs, aQ as ws, al as Gs, at as zs, au as Us, a8 as js, aM as qs, aN as Ks, am as Qs, aw as Xs, aF as Zs, O as Js, aH as Ys, a9 as $s, aS as at, ab as et, ad as st, aq as tt, aP as it, ar as ot, ao as rt, aR as nt, aa as lt, W as dt, ae as St, a1 as Ct, $ as gt, a0 as mt, aB as ut, aC as ct, az as bt, aG as ht, aj as Pt, ai as Tt, aD as pt, l as Ft, aA as It, aE as Et, y as At } from "./CoachmarkProvider-cb4zDKAI.js";
3
+ import { ax as hs, ay as Ps, a5 as Ts, a6 as ps, a3 as Fs, ag as Is, C as Es, a7 as As, aJ as Bs, ac as ys, aI as Ds, af as Ls, a4 as Ws, av as vs, aL as ks, aK as Os, an as _s, ah as fs, aq as xs, aO as Ns, a2 as Hs, as as Rs, ap as Ms, ak as Vs, aQ as ws, al as Gs, at as zs, au as Us, a8 as js, aM as qs, aN as Ks, am as Qs, aw as Xs, aF as Zs, O as Js, aH as Ys, a9 as $s, aS as at, ab as et, ad as st, aq as tt, aP as it, ar as ot, ao as rt, aR as nt, aa as lt, W as dt, ae as St, a1 as Ct, $ as gt, a0 as mt, aB as ut, aC as ct, az as bt, aG as ht, aj as Pt, ai as Tt, aD as pt, l as Ft, aA as It, aE as Et, y as At } from "./CoachmarkProvider-Dc9bLx-9.js";
4
4
  export {
5
5
  hs as AUTO_PER_PAGE_MAX,
6
6
  Ps as AUTO_PER_PAGE_MIN_RESERVED_ROWS,
package/dist/f0.js CHANGED
@@ -1,16 +1,16 @@
1
1
  import { h_ as SN, w as ct, e4 as I_, ct as gn, ho as CN, bY as Nn, fn as iF, h$ as aF, i0 as TN, r as tr, c4 as yf, i1 as oF, i2 as Fw, i3 as Lr, i4 as Qa, i5 as sF, u as Ge, bW as up, i6 as Ki, i7 as Ql, i8 as lF, i9 as DN, bV as bl, hl as Ky, ia as uF, S as ne, s as k_, ib as cF, ic as fF, id as Gw, cz as dF, ie as hF, ig as vF, ih as AN, ii as pF, t as bf, v as _f, m as at, x as xf, y as Wr, O as gF, Q as mF, z as es, A as ts, ay as Pa, B as rs, gv as Qy, d4 as Ct, V as it, ah as Nl, d5 as Ra, da as MN, di as P_, ij as yF, cm as bF, cn as Hw, n as EN, o as Il, bX as Rc, co as _F, eC as zh, d_ as LN, ik as xF, hn as Ww, d7 as wF, il as $w, dd as SF, im as CF, c1 as NN, e3 as IN, ge as Jy, dm as TF, a7 as e0, a6 as R_, gR as Jl, gS as wf, gU as kN, hu as DF, gt as PN, gs as AF, io as cp, b4 as O_, h8 as MF, c9 as RN, f$ as EF, av as LF, hV as B_, b7 as ON, c5 as NF, c6 as IF, c7 as kF, d as PF, bC as BN, ai as hs, bI as zN, b3 as VN, ag as z_, bK as FN, X as V_, G as _l, H as xl, K as wl, L as Sl, gw as Ni, $ as GN, j as RF, b1 as Vh, at as kl, J as kr, el as OF, bT as HN, b5 as t0, cq as Oc, cj as BF, aT as Sf, ar as eu, dH as WN, du as $N, h1 as zr, ip as zF, iq as VF, ir as UN, is as fp, it as FF, iu as GF, cE as ri, R as YN, U as XN, ci as HF, iv as WF, cb as qN, e1 as $F, e2 as UF, bQ as $o, db as tu, e7 as ru, e_ as Cf, bL as YF, e5 as XF, bs as qF, ak as ZN, dg as ZF, aj as jF, aX as Uw, bG as Bc, hs as KF, aP as QF, iw as JF, ix as e5, iy as t5, b as jN, eY as F_, ch as r5, a_ as n5, l as KN, a8 as i5, a5, iz as o5, iA as s5, iB as l5, hr as u5, cN as c5, c3 as f5, cF as QN, iC as JN, iD as d5, iE as h5, I as v5, iF as p5, iG as g5, iH as m5, iI as y5 } from "./F0CanvasPanel-CxXzc-sR.js";
2
2
  import { iZ as lhe, C as uhe, D as che, dB as fhe, c as dhe, F as hhe, a as vhe, iS as phe, f as ghe, cx as mhe, dC as yhe, e9 as bhe, cc as _he, cd as xhe, cv as whe, ca as She, cw as Che, dp as The, eh as Dhe, g as Ahe, c8 as Mhe, bZ as Ehe, iN as Lhe, j2 as Nhe, bS as Ihe, e as khe, e0 as Phe, k as Rhe, cy as Ohe, iU as Bhe, dL as zhe, iV as Vhe, iX as Fhe, iY as Ghe, eF as Hhe, i$ as Whe, ey as $he, ez as Uhe, P as Yhe, eD as Xhe, iW as qhe, eA as Zhe, i_ as jhe, j3 as Khe, iK as Qhe, iL as Jhe, iM as eve, iJ as tve, eB as rve, j1 as nve, iT as ive, iQ as ave, iP as ove, eE as sve, gq as lve, h9 as uve, j0 as cve, dE as fve, ex as dve, eu as hve, ew as vve, es as pve, iR as gve, hb as mve, h5 as yve, gV as bve, j6 as _ve, ed as xve, ev as wve, j5 as Sve, dT as Cve, et as Tve, cf as Dve, gp as Ave, gW as Mve, dW as Eve, ht as Lve, dD as Nve, cg as Ive, iO as kve, h7 as Pve, h6 as Rve, j4 as Ove } from "./F0CanvasPanel-CxXzc-sR.js";
3
3
  import { jsx as x, jsxs as B, Fragment as ot } from "react/jsx-runtime";
4
- import { C as b5, W as _5, G as x5, H as w5, I as S5, J as Yw, aT as C5, aU as T5, Z as D5, K as A5, Q as M5, U as E5, Y as L5, r as N5, a2 as eI, aV as I5, aW as k5, aX as P5, aY as R5, aZ as O5, a_ as tI, a$ as B5, n as G_, b0 as Ja, b1 as z5, z as H_, b2 as W_, af as V5, b3 as F5, b4 as Es, b5 as rI, b6 as G5, b7 as H5, b8 as W5, b9 as $5, ba as U5, bb as Y5, as as X5, aI as q5, bc as Z5, an as j5, E as K5, a as Q5, j as dp, R as $_, k as U_, aq as nI, O as Y_, bd as iI, be as Xw, bf as X_, a3 as J5, bg as qw, F as eG, l as aI, aw as oI, bh as tG, bi as rG, bj as nG, bk as Ls, bl as iG, aJ as aG, M as oG } from "./CoachmarkProvider-cb4zDKAI.js";
5
- import { a5 as zve, a6 as Vve, ag as Fve, a7 as Gve, ac as Hve, bH as Wve, bG as $ve, bz as Uve, bn as Yve, bm as Xve, bo as qve, bp as Zve, br as jve, D as Kve, aL as Qve, aK as Jve, aO as epe, ap as tpe, ak as rpe, aQ as npe, al as ipe, a8 as ape, bI as ope, aM as spe, aN as lpe, am as upe, a9 as cpe, P as fpe, ab as dpe, ad as hpe, aP as vpe, ao as ppe, aR as gpe, aa as mpe, ae as ype, bK as bpe, a1 as _pe, $ as xpe, a0 as wpe, by as Spe, bE as Cpe, bE as Tpe, bF as Dpe, bu as Ape, bt as Mpe, bJ as Epe, aG as Lpe, bw as Npe, bx as Ipe, aj as kpe, ai as Ppe, bL as Rpe, bM as Ope, X as Bpe, m as zpe, bA as Vpe, bB as Fpe, bC as Gpe, bq as Hpe, bv as Wpe, o as $pe, bD as Upe, bs as Ype, bN as Xpe } from "./CoachmarkProvider-cb4zDKAI.js";
4
+ import { C as b5, W as _5, G as x5, H as w5, I as S5, J as Yw, aT as C5, aU as T5, Z as D5, K as A5, Q as M5, U as E5, Y as L5, r as N5, a2 as eI, aV as I5, aW as k5, aX as P5, aY as R5, aZ as O5, a_ as tI, a$ as B5, n as G_, b0 as Ja, b1 as z5, z as H_, b2 as W_, af as V5, b3 as F5, b4 as Es, b5 as rI, b6 as G5, b7 as H5, b8 as W5, b9 as $5, ba as U5, bb as Y5, as as X5, aI as q5, bc as Z5, an as j5, E as K5, a as Q5, j as dp, R as $_, k as U_, aq as nI, O as Y_, bd as iI, be as Xw, bf as X_, a3 as J5, bg as qw, F as eG, l as aI, aw as oI, bh as tG, bi as rG, bj as nG, bk as Ls, bl as iG, aJ as aG, M as oG } from "./CoachmarkProvider-Dc9bLx-9.js";
5
+ import { a5 as zve, a6 as Vve, ag as Fve, a7 as Gve, ac as Hve, bH as Wve, bG as $ve, bz as Uve, bn as Yve, bm as Xve, bo as qve, bp as Zve, br as jve, D as Kve, aL as Qve, aK as Jve, aO as epe, ap as tpe, ak as rpe, aQ as npe, al as ipe, a8 as ape, bI as ope, aM as spe, aN as lpe, am as upe, a9 as cpe, P as fpe, ab as dpe, ad as hpe, aP as vpe, ao as ppe, aR as gpe, aa as mpe, ae as ype, bK as bpe, a1 as _pe, $ as xpe, a0 as wpe, by as Spe, bE as Cpe, bE as Tpe, bF as Dpe, bu as Ape, bt as Mpe, bJ as Epe, aG as Lpe, bw as Npe, bx as Ipe, aj as kpe, ai as Ppe, bL as Rpe, bM as Ope, X as Bpe, m as zpe, bA as Vpe, bB as Fpe, bC as Gpe, bq as Hpe, bv as Wpe, o as $pe, bD as Upe, bs as Ype, bN as Xpe } from "./CoachmarkProvider-Dc9bLx-9.js";
6
6
  import * as Tt from "react";
7
7
  import sG, { forwardRef as Mr, useRef as ie, useImperativeHandle as lG, Children as Fh, createContext as $a, useContext as Ua, useState as se, useMemo as me, useEffect as be, useCallback as de, useLayoutEffect as zc, isValidElement as sI, Fragment as nu, memo as q_, useSyncExternalStore as Pl, useId as Cl } from "react";
8
8
  import { createPortal as Tf } from "react-dom";
9
9
  import { d as ae, g as Df, h as uG, i as fl, P as Af, u as iu, j as cG, f as Qi } from "./tooltip-DTpaXpXW.js";
10
10
  import { l as r0, c as lI, d as Gh, r as n0 } from "./F0VideoPlayer-Dj0llghU.js";
11
11
  import { F as Zpe } from "./F0VideoPlayer-Dj0llghU.js";
12
- import { F as Kpe, p as Qpe } from "./index-YWa61Bk7.js";
13
- import { c as ege } from "./pdfWorker-wXgn8AZk.js";
12
+ import { F as Kpe, p as Qpe } from "./index-CjHtTYU7.js";
13
+ import { c as ege } from "./pdfWorker-Dvz2gTyn.js";
14
14
  import { D as fG, E as Hh, G as Z_, H as uI, I as cI, J as dG, K as hG, L as vG, M as pG, N as gG, F as mG } from "./F0AiProcessingOverlay-B_TY-Nim.js";
15
15
  import { A as rge, C as nge, t as ige, s as age, v as oge, y as sge, l as lge, i as uge, q as cge, z as fge, B as dge, p as hge, r as vge, j as pge, e as gge, g as mge, k as yge, T as bge, w as _ge, h as xge, a as wge, n as Sge, m as Cge, o as Tge, b as Dge, f as Age, x as Mge, c as Ege, d as Lge, u as Nge } from "./F0AiProcessingOverlay-B_TY-Nim.js";
16
16
  import { g as yG } from "./_commonjsHelpers-ByX85dGu.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-CxXzc-sR.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-wXgn8AZk.js";
4
+ import { e as Ee, D as Ue, P as je, c as De } from "./pdfWorker-Dvz2gTyn.js";
5
5
  import { F as We } from "./Printer-BD-FEi_2.js";
6
6
  import { d as ae } from "./tooltip-DTpaXpXW.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-CrU8-lzU.js")), Ge = J(() => import("./DocxViewer-Cmuc_uIr.js")), Ze = J(() => import("./TextViewer-BSSu1Lyl.js")), oe = 48, se = ne(
225
+ const qe = J(() => import("./SheetViewer-BZOzBH0H.js")), Ge = J(() => import("./DocxViewer-CRnnSEeV.js")), Ze = J(() => import("./TextViewer-DUsXfw-G.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 });
@@ -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-DTpaXpXW.js";
4
4
  import { W as invariant } from "./F0CanvasPanel-CxXzc-sR.js";
5
- import { d as dequal } from "./CoachmarkProvider-cb4zDKAI.js";
5
+ import { d as dequal } from "./CoachmarkProvider-Dc9bLx-9.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: {} };