@factorialco/f0-react 6.81.3 → 6.82.1

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.
@@ -5231,6 +5231,50 @@ export declare interface DeleteBlockNotesTextEditorPageDocumentPatch {
5231
5231
  /** The row data a schema field demands, or merely allows under `rightOptional`. */
5232
5232
  declare type Demanded<T, Optional> = Optional extends true ? Partial<T> : T;
5233
5233
 
5234
+ /**
5235
+ * A row's SECOND LINE, in either of the two forms it may take.
5236
+ *
5237
+ * One string with `descriptionCritical` colours the whole line; a list of
5238
+ * {@link DescriptionPart}s colours each fact on it separately. The two are
5239
+ * mutually exclusive on purpose — parts already carry their own `critical`, so
5240
+ * a row that passes both is saying the same thing twice and meaning different
5241
+ * things by it.
5242
+ *
5243
+ * Whichever form, the tone is per ROW rather than per schema, for the same
5244
+ * reason `subtitleCritical` is: what has gone wrong is a state of the row's
5245
+ * own data, so one list holds rows that say so beside rows that have nothing
5246
+ * to report.
5247
+ *
5248
+ * Both forms go untinted in a COMPACT list, where the second line has folded
5249
+ * into the row's tooltip and there is nothing left to colour — see
5250
+ * {@link listCompacts}.
5251
+ */
5252
+ declare type DescribedRow = {
5253
+ description: string;
5254
+ descriptionCritical?: boolean;
5255
+ } | {
5256
+ description: DescriptionPart[];
5257
+ descriptionCritical?: never;
5258
+ };
5259
+
5260
+ /**
5261
+ * ONE FACT on a row's second line — the unit a `description` is made of when
5262
+ * the row has more than one thing to say ("€340", "12 receipts", "2 days
5263
+ * overdue"). Parts draw dot-separated, each carrying its OWN tone, so the one
5264
+ * fact that has gone wrong goes red while the rest keep murmuring.
5265
+ *
5266
+ * Put the critical part FIRST. The second line is a single truncating line —
5267
+ * about 306px at the rail's 24rem width, some 40 characters — and it is cut
5268
+ * from the RIGHT, so a part marked critical in third place is the part most
5269
+ * likely to vanish into the ellipsis. Marking a part critical claims it is the
5270
+ * most important thing on the line; leading with it makes that claim true.
5271
+ */
5272
+ declare type DescriptionPart = {
5273
+ text: string;
5274
+ /** Draws THIS part critical rather than muted. */
5275
+ critical?: boolean;
5276
+ };
5277
+
5234
5278
  /**
5235
5279
  * @experimental This is an experimental component use it at your own risk
5236
5280
  */
@@ -10741,12 +10785,12 @@ declare type ListTextData<S extends ListSchema> = {
10741
10785
  } & SubtitleTone : {
10742
10786
  subtitle?: never;
10743
10787
  subtitleCritical?: never;
10744
- }) & (S["descriptionRequired"] extends true ? {
10745
- description: string;
10746
- } : S["descriptionOptional"] extends true ? {
10747
- description?: string;
10788
+ }) & (S["descriptionRequired"] extends true ? DescribedRow : S["descriptionOptional"] extends true ? DescribedRow | {
10789
+ description?: undefined;
10790
+ descriptionCritical?: never;
10748
10791
  } : {
10749
10792
  description?: never;
10793
+ descriptionCritical?: never;
10750
10794
  });
10751
10795
 
10752
10796
  declare type ListVisualizationOptions<R extends RecordType, _Filters extends FiltersDefinition, Sortings extends SortingsDefinition> = {
@@ -1,4 +1,4 @@
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 b, aI as c, x as h, C as T, ax as P, aJ as p, D as F, z as I, a3 as E, b3 as A, ba as B, K as L, b2 as y, E as D, b as W, i as v, ag as _, ah as k, G as O, an as N, F as f, j as x, n as M, o as R, k as H, 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, b0 as X, at as Z, a6 as J, aL as Y, U as $, ac as aa, O as ea, be as sa, V as ta, P as ia, M as oa, N as ra, au as na, R as la, a_ as da, b4 as Sa, S as Ca, a7 as ga, a8 as ma, _ as ua, $ as ba, a0 as ca, Z as ha, a1 as Ta, W as Pa, a2 as pa, a4 as Fa, a5 as Ia, a9 as Ea, aa as Aa, b8 as Ba, b7 as La, ap as ya, ao as Da, aw as Wa, aK as va, aH as _a, av as ka, ab as Oa, aC as Na, b9 as fa, bc as xa, aA as Ma, aF as Ra, aD as Ha, bd as Va, aG as wa, aE as Ga, bb as za, d as Ua, af as ja, b6 as qa, b5 as Ka, aj as Qa, f as Xa, l as Za, p as Ja, g as Ya, h as $a, aU as ae, aS as ee, ak as se, al as te, aQ as ie, b1 as oe, aT as re, e as ne, s as le, aY as de, aP as Se, aV as Ce, ad as ge, a$ as me, u as ue, ae as be, ai as ce, aO as he, T as Te, Q as Pe, I as pe, Y as Fe, X as Ie, aZ as Ee, aX as Ae, aW as Be } from "./experimental-DxGRaNnj.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 b, aI as c, x as h, C as T, ax as P, aJ as p, D as F, z as I, a3 as E, b3 as A, ba as B, K as L, b2 as y, E as D, b as W, i as v, ag as _, ah as k, G as O, an as N, F as f, j as x, n as M, o as R, k as H, 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, b0 as X, at as Z, a6 as J, aL as Y, U as $, ac as aa, O as ea, be as sa, V as ta, P as ia, M as oa, N as ra, au as na, R as la, a_ as da, b4 as Sa, S as Ca, a7 as ga, a8 as ma, _ as ua, $ as ba, a0 as ca, Z as ha, a1 as Ta, W as Pa, a2 as pa, a4 as Fa, a5 as Ia, a9 as Ea, aa as Aa, b8 as Ba, b7 as La, ap as ya, ao as Da, aw as Wa, aK as va, aH as _a, av as ka, ab as Oa, aC as Na, b9 as fa, bc as xa, aA as Ma, aF as Ra, aD as Ha, bd as Va, aG as wa, aE as Ga, bb as za, d as Ua, af as ja, b6 as qa, b5 as Ka, aj as Qa, f as Xa, l as Za, p as Ja, g as Ya, h as $a, aU as ae, aS as ee, ak as se, al as te, aQ as ie, b1 as oe, aT as re, e as ne, s as le, aY as de, aP as Se, aV as Ce, ad as ge, a$ as me, u as ue, ae as be, ai as ce, aO as he, T as Te, Q as Pe, I as pe, Y as Fe, X as Ie, aZ as Ee, aX as Ae, aW as Be } from "./experimental-BTvUG_RE.js";
2
2
  import { dP as ye, ep as De, eo as We, eC as ve, dm as _e, em as ke, ce as Oe, c4 as Ne, cb as fe, eh as xe, bZ as Me, bZ as Re, bS as He, ei as Ve, ch as we, e0 as Ge, cj as ze, eF as Ue, en as je, ey as qe, ez as Ke, d6 as Qe, eD as Xe, k as Ze, dQ as Je, cN as Ye, el as $e, er as as, eq as es, T as ss, h as ts, bT as is, eA as os, eG as rs, eB as ns, eE as ls, ex as ds, eu as Ss, ew as Cs, es as gs, ej as ms, ek as us, ed as bs, ev as cs, et as hs } from "./F0CanvasPanel-Bhp4GJ-g.js";
3
3
  import { ay as Ps, az as ps, a6 as Fs, a7 as Is, a4 as Es, ah as As, C as Bs, a8 as Ls, aK as ys, ad as Ds, aJ as Ws, ag as vs, a5 as _s, aw as ks, aM as Os, aL as Ns, ao as fs, ai as xs, ar as Ms, aP as Rs, a3 as Hs, at as Vs, aq as ws, al as Gs, aR as zs, am as Us, au as js, av as qs, a9 as Ks, aN as Qs, aO as Xs, an as Zs, ax as Js, aG as Ys, O as $s, aI as at, aa as et, aT as st, ac as tt, ae as it, ar as ot, aQ as rt, as as nt, ap as lt, aS as dt, ab as St, W as Ct, af as gt, a2 as mt, a0 as ut, a1 as bt, aC as ct, aD as ht, aA as Tt, aH as Pt, ak as pt, aj as Ft, aE as It, m as Et, aB as At, aF as Bt, z as Lt } from "./CoachmarkProvider-Br1BAJUn.js";
4
4
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@factorialco/f0-react",
3
- "version": "6.81.3",
3
+ "version": "6.82.1",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/factorialco/f0.git",