@factorialco/f0-react 8.7.0 → 8.8.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.
Files changed (30) hide show
  1. package/dist/{ChatPdfThumbnail-DN8KaxhA.js → ChatPdfThumbnail-D6_Sst8n.js} +1 -1
  2. package/dist/{ChatPostComposerDialog-_UnQ0naN.js → ChatPostComposerDialog-BxC1C5un.js} +3 -3
  3. package/dist/{DocumentToolbar-DHfGWgXN.js → DocumentToolbar-B_hBVwKT.js} +2 -2
  4. package/dist/{DocxViewer-CSvfcijg.js → DocxViewer-S0GoMLw2.js} +2 -2
  5. package/dist/{F0AiProcessingOverlay-CQzvXsQZ.js → F0AiProcessingOverlay-CkvYC8Ph.js} +1 -1
  6. package/dist/{F0CanvasPanel-CO8lNocG.js → F0CanvasPanel-B_tmy4UL.js} +22176 -21996
  7. package/dist/{F0Map-Flnn9ZLD.js → F0Map-Cybx54OP.js} +4 -4
  8. package/dist/{F0VideoPlayer-ZX71HGUA.js → F0VideoPlayer-D8TJ68HB.js} +2 -2
  9. package/dist/{MapProvider-CR2vFCVH.js → MapProvider-BM6tjxo8.js} +18833 -18702
  10. package/dist/{SheetViewer-CHugMx6R.js → SheetViewer-Bzzj_ieO.js} +2 -2
  11. package/dist/{TextViewer-DCy98upp.js → TextViewer-BG2obg7j.js} +2 -2
  12. package/dist/ai.d.ts +11 -11
  13. package/dist/ai.js +2 -2
  14. package/dist/component-status.d.ts +11 -11
  15. package/dist/component-status.js +1 -1
  16. package/dist/{experimental-C7H_txq2.js → experimental-Kk6dYCET.js} +243 -223
  17. package/dist/experimental.d.ts +62 -14
  18. package/dist/experimental.js +154 -153
  19. package/dist/f0.d.ts +29 -13
  20. package/dist/f0.js +4939 -4928
  21. package/dist/i18n-provider-defaults.d.ts +11 -11
  22. package/dist/{index-zCQtY0mq.js → index-Bi1QzaKq.js} +3 -3
  23. package/dist/{index-BoWwB1cS.js → index-BlKjB8Am.js} +2 -2
  24. package/dist/index-C7goQCx-.js +4 -0
  25. package/dist/{index-xzro_6zw.js → index-CAbUpBga.js} +3 -3
  26. package/dist/{index-CDDSnj-r.js → index-Dby-axN8.js} +1 -1
  27. package/dist/{pdfWorker-CvogrULx.js → pdfWorker-D4J3l6sI.js} +2 -2
  28. package/dist/styles.css +1 -1
  29. package/package.json +1 -1
  30. package/dist/index-Bc3WWkqT.js +0 -4
@@ -1478,7 +1478,7 @@ declare type BaseFilterDefinition<T extends FilterTypeKey> = {
1478
1478
  hideSelector?: boolean;
1479
1479
  };
1480
1480
 
1481
- declare function BaseHeader({ title, avatar, deactivated, description, primaryAction, secondaryActions, otherActions, status, metadata, metadataRowGap, showBottomBorder, onClose, }: BaseHeaderProps_2): JSX_2.Element;
1481
+ declare function BaseHeader({ title, avatar, deactivated, description, primaryAction, secondaryActions, otherActions, status, metadata, metadataRowGap, compact, showBottomBorder, onClose, }: BaseHeaderProps_2): JSX_2.Element;
1482
1482
 
1483
1483
  declare type BaseHeaderProps = ComponentProps<typeof BaseHeader>;
1484
1484
 
@@ -1512,6 +1512,22 @@ declare interface BaseHeaderProps_2 {
1512
1512
  };
1513
1513
  metadata?: MetadataProps["items"];
1514
1514
  metadataRowGap?: MetadataProps["rowGap"];
1515
+ /**
1516
+ * Gives the header's space back, animated.
1517
+ *
1518
+ * A resource page is read far more than it is edited, and after the first
1519
+ * second the identity block is the least useful thing on screen: the reader
1520
+ * already knows whose page they are on. `compact` keeps what says where you
1521
+ * are — title, avatar, actions — shrinks the avatar from 56px to 32px, and
1522
+ * collapses the role (`description`) and the metadata row.
1523
+ *
1524
+ * **Controlled on purpose.** The header cannot know what scrolls: in a real
1525
+ * layout the scrolling element is rarely `window`, so a header that decided
1526
+ * for itself would be right on the page it was written for and wrong on the
1527
+ * rest. `useCompactOnScroll` is the ready-made trigger; anything else can
1528
+ * drive this prop directly.
1529
+ */
1530
+ compact?: boolean;
1515
1531
  /** Renders a 1px bottom border at the very bottom of the header. */
1516
1532
  showBottomBorder?: boolean;
1517
1533
  /** When set, renders a close button in the header actions that calls this on click. */
@@ -11764,7 +11780,7 @@ export declare type F0Rect = {
11764
11780
  * Header for a resource detail page: avatar, title, description, status,
11765
11781
  * metadata and its primary, secondary and overflow actions.
11766
11782
  */
11767
- declare const F0ResourceHeader: ({ avatar, title, description, primaryAction, secondaryActions, otherActions, status, metadata, deactivated, metadataRowGap, showBottomBorder, onClose, }: Props) => JSX_2.Element;
11783
+ declare const F0ResourceHeader: ({ avatar, title, description, primaryAction, secondaryActions, otherActions, status, metadata, deactivated, metadataRowGap, compact, showBottomBorder, onClose, }: Props) => JSX_2.Element;
11768
11784
  export { F0ResourceHeader }
11769
11785
  export { F0ResourceHeader as ResourceHeader }
11770
11786
 
@@ -16766,7 +16782,7 @@ declare type PropertyDefinition_2<T> = {
16766
16782
  hide?: (item: T) => boolean;
16767
16783
  };
16768
16784
 
16769
- declare type Props = {} & Pick<BaseHeaderProps, "avatar" | "title" | "description" | "primaryAction" | "secondaryActions" | "otherActions" | "metadata" | "status" | "deactivated" | "metadataRowGap" | "showBottomBorder" | "onClose">;
16785
+ declare type Props = {} & Pick<BaseHeaderProps, "avatar" | "title" | "description" | "primaryAction" | "secondaryActions" | "otherActions" | "metadata" | "status" | "deactivated" | "metadataRowGap" | "compact" | "showBottomBorder" | "onClose">;
16770
16786
 
16771
16787
  declare type Props_10<Id extends string | number = string | number> = {
16772
16788
  items: Omit<WidgetSimpleListItemProps<Id>, "onClick">[];
@@ -19320,6 +19336,38 @@ export declare function useAiPromotionChat(): AiPromotionChatProviderReturnValue
19320
19336
  */
19321
19337
  export declare const useCommandPalette: () => F0CommandPaletteApi;
19322
19338
 
19339
+ /**
19340
+ * The ready-made trigger for `F0ResourceHeader`'s `compact` prop: true once
19341
+ * `container` has scrolled past `threshold`.
19342
+ *
19343
+ * This is a hook rather than behaviour inside the header because **the header
19344
+ * cannot know what scrolls**. In a real layout the scrolling element is
19345
+ * rarely `window` — it is whichever ancestor the page put `overflow` on — and
19346
+ * a component that guessed would be right on the page it was written for and
19347
+ * wrong on the rest. A consumer whose scroller is somewhere unusual can skip
19348
+ * this and drive `compact` itself.
19349
+ *
19350
+ * @example
19351
+ * const scroller = useRef<HTMLDivElement>(null)
19352
+ * const compact = useCompactOnScroll({ container: scroller })
19353
+ * return (
19354
+ * <>
19355
+ * <F0ResourceHeader compact={compact} title={name} />
19356
+ * <div ref={scroller} className="overflow-y-auto">…</div>
19357
+ * </>
19358
+ * )
19359
+ */
19360
+ export declare function useCompactOnScroll({ threshold,
19361
+ /**
19362
+ * The element whose scrolling counts. Required: listening on the whole
19363
+ * document would also count the scroll of a horizontal table or an open
19364
+ * dropdown, which have nothing to do with the header.
19365
+ */
19366
+ container, }: {
19367
+ threshold?: number;
19368
+ container: React.RefObject<HTMLElement | null>;
19369
+ }): boolean;
19370
+
19323
19371
  export declare type UseDataCollectionData<R extends RecordType> = UseDataCollectionDataReturn<R> & {
19324
19372
  summaries?: R;
19325
19373
  };
@@ -20677,17 +20725,6 @@ declare module "@tiptap/core" {
20677
20725
  }
20678
20726
 
20679
20727
 
20680
- declare module "@tiptap/core" {
20681
- interface Commands<ReturnType> {
20682
- indent: {
20683
- setIndent: (level: number) => ReturnType;
20684
- unsetIndent: () => ReturnType;
20685
- outdent: () => ReturnType;
20686
- };
20687
- }
20688
- }
20689
-
20690
-
20691
20728
  declare module "@tiptap/core" {
20692
20729
  interface Commands<ReturnType> {
20693
20730
  enhanceHighlight: {
@@ -20710,6 +20747,17 @@ declare module "@tiptap/core" {
20710
20747
  }
20711
20748
 
20712
20749
 
20750
+ declare module "@tiptap/core" {
20751
+ interface Commands<ReturnType> {
20752
+ indent: {
20753
+ setIndent: (level: number) => ReturnType;
20754
+ unsetIndent: () => ReturnType;
20755
+ outdent: () => ReturnType;
20756
+ };
20757
+ }
20758
+ }
20759
+
20760
+
20713
20761
  declare module "@tiptap/core" {
20714
20762
  interface Commands<ReturnType> {
20715
20763
  moodTracker: {
@@ -1,62 +1,62 @@
1
- import { v as s, t, A as i, b as o, L as r, bi as n, bh as l, bj as S, B as d, w as b, y as g, N as u, bp as C, bq as c, bz as m, x as F, C as P, bo as p, bA as T, D as h, z as I, a5 as M, bV as E, c0 as A, M as f, bU as L, E as R, d as y, g as B, l as D, ap as _, as as k, aq as v, an as O, G as W, be as H, F as N, ay as x, h as V, aD as G, az as w, aA as U, aB as z, n as K, o as X, ar as j, H as q, bD as J, bE as Q, bs as Y, ax as Z, bH as $, bS as aa, bk as ea, aS as sa, aC as ta, aQ as ia, aP as oa, aI as ra, aR as na, a8 as la, bC as Sa, W as da, ah as ba, J as ga, O as ua, K as Ca, c4 as ca, X as ma, P as Fa, Q as Pa, T as pa, bl as Ta, R as ha, bQ as Ia, bW as Ma, S as Ea, ab as Aa, ac as fa, a0 as La, a1 as Ra, a2 as ya, $ as Ba, a3 as Da, Y as _a, a4 as ka, a6 as va, a7 as Oa, a9 as Wa, aa as Ha, ad as Na, ae as xa, af as Va, b_ as Ga, bZ as wa, bg as Ua, bf as za, bn as Ka, bB as Xa, by as ja, bm as qa, ag as Ja, bt as Qa, b$ as Ya, c2 as Za, br as $a, bw as ae, bu as ee, c3 as se, bx as te, bv as ie, c1 as oe, e as re, i as ne, aY as le, ak as Se, am as de, aL as be, bY as ge, bX as ue, al as Ce, at as ce, f as me, b9 as Fe, bd as Pe, b7 as pe, b8 as Te, b5 as he, b6 as Ie, ba as Me, bb as Ee, b4 as Ae, j as fe, k as Le, bc as Re, bK as ye, bI as Be, aw as De, au as _e, av as ke, aU as ve, bT as Oe, bJ as We, p as He, q as Ne, m as xe, a$ as Ve, I as Ge, r as we, b0 as Ue, bO as ze, aX as Ke, aW as Xe, b1 as je, bG as qe, bL as Je, ai as Qe, b2 as Ye, bR as Ze, aT as $e, aV as as, aZ as es, a_ as ss, c as ts, ao as is, aj as os, u as rs, aE as ns, aF as ls, aG as Ss, aH as ds, bF as bs, aM as gs, aN as us, aJ as Cs, aK as cs, V as ms, U as Fs, _ as Ps, Z as ps, aO as Ts, b3 as hs, bP as Is, bN as Ms, bM as Es } from "./experimental-C7H_txq2.js";
2
- import { ea as fs, eN as Ls, eM as Rs, eZ as ys, r as Bs, eK as Ds, cG as _s, ck as ks, cD as vs, eF as Os, cq as Ws, cq as Hs, cn as Ns, eG as xs, cJ as Vs, eq as Gs, cK as ws, f0 as Us, eL as zs, eV as Ks, eW as Xs, e9 as js, e_ as qs, k as Js, eb as Qs, d4 as Ys, eJ as Zs, dT as $s, eO as at, T as et, h as st, co as tt, eX as it, f1 as ot, eY as rt, e$ as nt, eU as lt, eR as St, eT as dt, eP as bt, eH as gt, eI as ut, eB as Ct, eS as ct, eQ as mt, dV as Ft } from "./F0CanvasPanel-CO8lNocG.js";
3
- import { aQ as pt, aR as Tt, ak as ht, al as It, ai as Mt, av as Et, s as At, am as ft, a$ as Lt, ar as Rt, a_ as yt, au as Bt, aj as Dt, aO as _t, aw as kt, b1 as vt, b0 as Ot, aE as Wt, aF as Ht, ax as Nt, aJ as xt, F as Vt, ah as Gt, aL as wt, aH as Ut, aI as zt, aC as Kt, aA as Xt, b5 as jt, aB as qt, aM as Jt, aN as Qt, an as Yt, b2 as Zt, b3 as $t, aD as ai, aP as ei, aX as si, O as ti, aZ as ii, ao as oi, b7 as ri, aq as ni, as as li, aJ as Si, b4 as di, aK as bi, aG as gi, b6 as ui, ap as Ci, W as ci, at as mi, ag as Fi, ae as Pi, af as pi, aU as Ti, aV as hi, aS as Ii, b8 as Mi, aY as Ei, az as Ai, ay as fi, u as Li, y as Ri, aT as yi, aW as Bi, Z as Di } from "./MapProvider-CR2vFCVH.js";
4
- import { b as ki, e as vi, i as Oi, g as Wi, h as Hi, a as Ni, R as xi, l as Vi, f as Gi, j as wi, k as Ui, u as zi } from "./F0Map-Flnn9ZLD.js";
1
+ import { v as s, t, A as i, b as o, M as r, bj as n, bi as l, bk as S, B as d, x as b, z as g, P as u, bq as C, br as c, bA as m, y as F, C as p, bp as P, bB as T, G as h, D as I, a6 as M, bW as E, c1 as A, N as f, bV as L, E as R, d as y, g as B, l as D, aq as _, at as k, ar as v, ao as O, I as W, bf as H, F as N, az as x, h as V, aE as G, aA as w, aB as U, aC as z, n as K, o as X, as as j, H as q, bE as J, bF as Q, bt as Y, ay as Z, bI as $, bT as aa, bl as ea, aT as sa, aD as ta, aR as ia, aQ as oa, aJ as ra, aS as na, a9 as la, bD as Sa, X as da, ai as ba, K as ga, O as ua, L as Ca, c5 as ca, Y as ma, Q as Fa, T as pa, U as Pa, bm as Ta, R as ha, bR as Ia, bX as Ma, S as Ea, ac as Aa, ad as fa, a1 as La, a2 as Ra, a3 as ya, a0 as Ba, a4 as Da, Z as _a, a5 as ka, a7 as va, a8 as Oa, aa as Wa, ab as Ha, ae as Na, af as xa, ag as Va, b$ as Ga, b_ as wa, bh as Ua, bg as za, bo as Ka, bC as Xa, bz as ja, bn as qa, ah as Ja, bu as Qa, c0 as Ya, c3 as Za, bs as $a, bx as ae, bv as ee, c4 as se, by as te, bw as ie, c2 as oe, e as re, i as ne, aZ as le, al as Se, an as de, aM as be, bZ as ge, bY as ue, am as Ce, au as ce, f as me, ba as Fe, be as pe, b8 as Pe, b9 as Te, b6 as he, b7 as Ie, bb as Me, bc as Ee, b5 as Ae, j as fe, k as Le, bd as Re, bL as ye, bJ as Be, ax as De, av as _e, aw as ke, aV as ve, bU as Oe, bK as We, p as He, q as Ne, m as xe, b0 as Ve, J as Ge, r as we, b1 as Ue, bP as ze, aY as Ke, aX as Xe, b2 as je, bH as qe, bM as Je, aj as Qe, b3 as Ye, bS as Ze, aU as $e, aW as as, a_ as es, a$ as ss, c as ts, ap as is, w as os, ak as rs, u as ns, aF as ls, aG as Ss, aH as ds, aI as bs, bG as gs, aN as us, aO as Cs, aK as cs, aL as ms, W as Fs, V as ps, $ as Ps, _ as Ts, aP as hs, b4 as Is, bQ as Ms, bO as Es, bN as As } from "./experimental-Kk6dYCET.js";
2
+ import { ea as Ls, eN as Rs, eM as ys, eZ as Bs, r as Ds, eK as _s, cG as ks, ck as vs, cD as Os, eF as Ws, cq as Hs, cq as Ns, cn as xs, eG as Vs, cJ as Gs, eq as ws, cK as Us, f0 as zs, eL as Ks, eV as Xs, eW as js, e9 as qs, e_ as Js, k as Qs, eb as Ys, d4 as Zs, eJ as $s, dT as at, eO as et, T as st, h as tt, co as it, eX as ot, f1 as rt, eY as nt, e$ as lt, eU as St, eR as dt, eT as bt, eP as gt, eH as ut, eI as Ct, eB as ct, eS as mt, eQ as Ft, dV as pt } from "./F0CanvasPanel-B_tmy4UL.js";
3
+ import { aQ as Tt, aR as ht, ak as It, al as Mt, ai as Et, av as At, s as ft, am as Lt, a$ as Rt, ar as yt, a_ as Bt, au as Dt, aj as _t, aO as kt, aw as vt, b1 as Ot, b0 as Wt, aE as Ht, aF as Nt, ax as xt, aJ as Vt, F as Gt, ah as wt, aL as Ut, aH as zt, aI as Kt, aC as Xt, aA as jt, b5 as qt, aB as Jt, aM as Qt, aN as Yt, an as Zt, b2 as $t, b3 as ai, aD as ei, aP as si, aX as ti, O as ii, aZ as oi, ao as ri, b7 as ni, aq as li, as as Si, aJ as di, b4 as bi, aK as gi, aG as ui, b6 as Ci, ap as ci, W as mi, at as Fi, ag as pi, ae as Pi, af as Ti, aU as hi, aV as Ii, aS as Mi, b8 as Ei, aY as Ai, az as fi, ay as Li, u as Ri, y as yi, aT as Bi, aW as Di, Z as _i } from "./MapProvider-BM6tjxo8.js";
4
+ import { b as vi, e as Oi, i as Wi, g as Hi, h as Ni, a as xi, R as Vi, l as Gi, f as wi, j as Ui, k as zi, u as Ki } from "./F0Map-Cybx54OP.js";
5
5
  export {
6
- pt as AUTO_PER_PAGE_MAX,
7
- Tt as AUTO_PER_PAGE_MIN_RESERVED_ROWS,
6
+ Tt as AUTO_PER_PAGE_MAX,
7
+ ht as AUTO_PER_PAGE_MIN_RESERVED_ROWS,
8
8
  s as ActivityItemList,
9
9
  t as ActivityItemListSkeleton,
10
10
  i as AiPromotionChat,
11
11
  o as AiPromotionChatProvider,
12
12
  r as ApplicationFrame,
13
- ht as AreaChart,
13
+ It as AreaChart,
14
14
  n as AreaChartWidget,
15
15
  l as AutoGrid,
16
- fs as Badge,
17
- It as BarChart,
16
+ Ls as Badge,
17
+ Mt as BarChart,
18
18
  S as BarChartWidget,
19
19
  d as BaseActivityItemList,
20
- Mt as BaseBanner,
20
+ Et as BaseBanner,
21
21
  b as BaseCelebration,
22
22
  g as BaseCommunityPost,
23
- Ls as BaseTabs,
24
- Rs as BreadcrumbSelect,
23
+ Rs as BaseTabs,
24
+ ys as BreadcrumbSelect,
25
25
  u as Breadcrumbs,
26
26
  C as CalendarEvent,
27
27
  c as CalendarEventList,
28
- Et as CardSelectableContainer,
29
- At as Carousel,
30
- ft as CategoryBarChart,
28
+ At as CardSelectableContainer,
29
+ ft as Carousel,
30
+ Lt as CategoryBarChart,
31
31
  m as CategoryBarSection,
32
32
  F as Celebration,
33
- P as CelebrationSkeleton,
34
- p as ChartWidgetEmptyState,
35
- ys as Chip,
33
+ p as CelebrationSkeleton,
34
+ P as ChartWidgetEmptyState,
35
+ Bs as Chip,
36
36
  T as ClockInControls,
37
- Lt as CoachmarkProvider,
38
- Rt as ComboChart,
37
+ Rt as CoachmarkProvider,
38
+ yt as ComboChart,
39
39
  h as CommunityPost,
40
40
  I as CommunityPostSkeleton,
41
41
  M as CompanySelector,
42
- Bs as Counter,
42
+ Ds as Counter,
43
43
  E as DEFAULT_EXPECTED_ITEMS_COUNT,
44
44
  A as Dashboard,
45
45
  f as DaytimePage,
46
- Ds as DetailsItem,
47
- _s as DetailsItemsList,
48
- yt as Dialog,
49
- ks as Dropdown,
46
+ _s as DetailsItem,
47
+ ks as DetailsItemsList,
48
+ Bt as Dialog,
49
+ vs as Dropdown,
50
50
  L as EVENT_LIST_GAP,
51
51
  R as EntitySelect,
52
- Bt as F0ActionBar,
53
- Dt as F0AiBanner,
52
+ Dt as F0ActionBar,
53
+ _t as F0AiBanner,
54
54
  y as F0AiCallout,
55
- vs as F0AvatarModule,
56
- Os as F0ButtonToggle,
55
+ Os as F0AvatarModule,
56
+ Ws as F0ButtonToggle,
57
57
  B as F0Callout,
58
- Ws as F0CardHorizontal,
59
- Hs as F0CardRow,
58
+ Hs as F0CardHorizontal,
59
+ Ns as F0CardRow,
60
60
  D as F0CarouselDialog,
61
61
  _ as F0Chat,
62
62
  k as F0ChatHistoryLimitCard,
@@ -65,54 +65,54 @@ export {
65
65
  W as F0CommunityPostsCarousel,
66
66
  H as F0ENPSButton,
67
67
  N as F0EmojiPicker,
68
- Ns as F0FileItem,
69
- _t as F0FormEditableTable,
70
- kt as F0LocationInput,
71
- ki as F0Map,
72
- vi as F0MapControls,
73
- Oi as F0MapList,
74
- Wi as F0MapSidebar,
75
- Hi as F0MapSidebarToggle,
76
- Ni as F0MapSkeleton,
68
+ xs as F0FileItem,
69
+ kt as F0FormEditableTable,
70
+ vt as F0LocationInput,
71
+ vi as F0Map,
72
+ Oi as F0MapControls,
73
+ Wi as F0MapList,
74
+ Hi as F0MapSidebar,
75
+ Ni as F0MapSidebarToggle,
76
+ xi as F0MapSkeleton,
77
77
  x as F0Meeting,
78
78
  V as F0MeetingCard,
79
79
  G as F0MeetingProvider,
80
80
  w as F0MeetingRoom,
81
81
  U as F0MeetingSlot,
82
82
  z as F0MeetingSurface,
83
- vt as F0NotesTextEditor,
84
- Ot as F0NotesTextEditorSkeleton,
85
- Wt as F0NumberInput,
86
- Ht as F0NumberInputInline,
87
- Nt as F0PhoneInput,
88
- xs as F0ProgressSeries,
89
- xt as F0ResourceHeader,
90
- Vs as F0RichTextDisplay,
91
- Vt as F0RichTextEditor,
92
- Gs as F0SearchInput,
83
+ Ot as F0NotesTextEditor,
84
+ Wt as F0NotesTextEditorSkeleton,
85
+ Ht as F0NumberInput,
86
+ Nt as F0NumberInputInline,
87
+ xt as F0PhoneInput,
88
+ Vs as F0ProgressSeries,
89
+ Vt as F0ResourceHeader,
90
+ Gs as F0RichTextDisplay,
91
+ Gt as F0RichTextEditor,
92
+ ws as F0SearchInput,
93
93
  K as F0SegmentedBar,
94
- Gt as F0SegmentedControl,
95
- wt as F0TableOfContent,
96
- Ut as F0TextAreaInput,
97
- zt as F0TextAreaInputInline,
98
- ws as F0TextInput,
99
- Kt as F0TextInputInline,
94
+ wt as F0SegmentedControl,
95
+ Ut as F0TableOfContent,
96
+ zt as F0TextAreaInput,
97
+ Kt as F0TextAreaInputInline,
98
+ Us as F0TextInput,
99
+ Xt as F0TextInputInline,
100
100
  X as F0VersionHistory,
101
101
  j as F0_CHAT_HEADER_TITLE_SELECTOR,
102
- Xt as F1SearchBox,
103
- jt as FILE_TYPES,
104
- Us as FileItem,
102
+ jt as F1SearchBox,
103
+ qt as FILE_TYPES,
104
+ zs as FileItem,
105
105
  q as HighlightBanner,
106
106
  J as HomeSlotItem,
107
107
  Q as HomeSlotItems,
108
108
  Y as IndicatorsList,
109
- qt as Input,
110
- Jt as Item,
111
- Qt as ItemSectionHeader,
109
+ Jt as Input,
110
+ Qt as Item,
111
+ Yt as ItemSectionHeader,
112
112
  Z as LATEST,
113
113
  $ as LIST_COMPACT_AFTER,
114
114
  aa as LIST_MORE_BUTTON_CLASS,
115
- Yt as LineChart,
115
+ Zt as LineChart,
116
116
  ea as LineChartWidget,
117
117
  sa as MeetingNotes,
118
118
  ta as MeetingPanelContent,
@@ -121,45 +121,45 @@ export {
121
121
  ra as MeetingSurfaceProvider,
122
122
  na as MeetingTranscript,
123
123
  la as Menu,
124
- zs as MobileDropdown,
124
+ Ks as MobileDropdown,
125
125
  Sa as NewHomeLayout,
126
- Zt as NotesTextEditor,
127
- $t as NotesTextEditorSkeleton,
128
- ai as NumberInput,
126
+ $t as NotesTextEditor,
127
+ ai as NotesTextEditorSkeleton,
128
+ ei as NumberInput,
129
129
  da as OmniButton,
130
130
  ba as OneApprovalHistory,
131
- Ks as OneCalendar,
132
- Xs as OneCalendarInternal,
133
- ei as OneDataCollection,
134
- si as OneDateNavigator,
135
- ti as OneEmptyState,
131
+ Xs as OneCalendar,
132
+ js as OneCalendarInternal,
133
+ si as OneDataCollection,
134
+ ti as OneDateNavigator,
135
+ ii as OneEmptyState,
136
136
  ga as OneListItem,
137
137
  ua as OneListItemSkeleton,
138
- ii as OnePagination,
138
+ oi as OnePagination,
139
139
  Ca as OnePersonListItem,
140
140
  ca as OneRestrictComponent,
141
141
  ma as Page,
142
142
  Fa as PageHeader,
143
- Pa as PageHeaderNavigationContext,
144
- pa as PageHeaderNavigationProvider,
145
- js as PageNavigation,
146
- oi as PieChart,
143
+ pa as PageHeaderNavigationContext,
144
+ Pa as PageHeaderNavigationProvider,
145
+ qs as PageNavigation,
146
+ ri as PieChart,
147
147
  Ta as PieChartWidget,
148
- ri as PrivateBox,
149
- ni as ProgressBarChart,
150
- xi as RECOMMENDED_MAX_MARKERS,
151
- li as RadarChart,
148
+ ni as PrivateBox,
149
+ li as ProgressBarChart,
150
+ Vi as RECOMMENDED_MAX_MARKERS,
151
+ Si as RadarChart,
152
152
  ha as Reactions,
153
- Si as ResourceHeader,
154
- qs as RichTextDisplay,
155
- di as RichTextEditor,
153
+ di as ResourceHeader,
154
+ Js as RichTextDisplay,
155
+ bi as RichTextEditor,
156
156
  Ia as SLOT_ROW_BLEED,
157
157
  Ma as SLOT_SKELETON_ITEM_TESTID,
158
158
  Ea as ScrollArea,
159
159
  Aa as SearchBar,
160
- bi as SectionHeader,
161
- Js as Select,
162
- Qs as Shortcut,
160
+ gi as SectionHeader,
161
+ Qs as Select,
162
+ Ys as Shortcut,
163
163
  fa as Sidebar,
164
164
  La as SidebarChatBlankState,
165
165
  Ra as SidebarChatItem,
@@ -177,26 +177,26 @@ export {
177
177
  Va as SidebarUserMenu,
178
178
  Ga as SlotWidget,
179
179
  wa as SlotWidgetContent,
180
- Ys as Spinner,
180
+ Zs as Spinner,
181
181
  Ua as Split,
182
182
  za as Stack,
183
183
  Ka as SummariesWidget,
184
- Zs as Switch,
185
- $s as Tabs,
186
- at as TabsSkeleton,
184
+ $s as Switch,
185
+ at as Tabs,
186
+ et as TabsSkeleton,
187
187
  Xa as TasksList,
188
- gi as Textarea,
189
- et as ToggleGroup,
190
- st as ToggleGroupItem,
191
- tt as Tooltip,
188
+ ui as Textarea,
189
+ st as ToggleGroup,
190
+ tt as ToggleGroupItem,
191
+ it as Tooltip,
192
192
  ja as TwoColumnsList,
193
- ui as UPLOAD_INPUT_ID,
194
- Ci as VerticalBarChart,
193
+ Ci as UPLOAD_INPUT_ID,
194
+ ci as VerticalBarChart,
195
195
  qa as VerticalBarChartWidget,
196
196
  Ja as VirtualList,
197
- it as WeekStartDay,
198
- ot as Weekdays,
199
- ci as Widget,
197
+ ot as WeekStartDay,
198
+ rt as Weekdays,
199
+ mi as Widget,
200
200
  Qa as WidgetAvatarsListItem,
201
201
  Ya as WidgetCatalog,
202
202
  Za as WidgetEmptyState,
@@ -207,30 +207,30 @@ export {
207
207
  te as WidgetSimpleList,
208
208
  ie as WidgetSimpleListItem,
209
209
  oe as WidgetStrip,
210
- mi as actionBarStatuses,
210
+ Fi as actionBarStatuses,
211
211
  re as aiCalloutStatuses,
212
212
  ne as attendeesDisplays,
213
213
  le as buildTiles,
214
- Fi as buttonToggleColors,
214
+ pi as buttonToggleColors,
215
215
  Pi as buttonToggleSizes,
216
- pi as buttonToggleVariants,
217
- rt as chipVariants,
216
+ Ti as buttonToggleVariants,
217
+ nt as chipVariants,
218
218
  Se as coachmarks,
219
219
  de as commandActionRisks,
220
220
  be as createMeetingSignalStore,
221
- Vi as defaultMapStyle,
221
+ Gi as defaultMapStyle,
222
222
  ge as defaultSlotRenderers,
223
223
  ue as defaultSlotSkeleton,
224
224
  Ce as defineStepByStepCoachmarkGuidance,
225
- Ti as downloadAsCSV,
225
+ hi as downloadAsCSV,
226
226
  ce as f0ChatSenderColors,
227
227
  me as f0EmojiPickerSizes,
228
- nt as f0FileItemSizes,
229
- Gi as f0MapMarkerVariants,
230
- wi as f0MapStyles,
228
+ lt as f0FileItemSizes,
229
+ wi as f0MapMarkerVariants,
230
+ Ui as f0MapStyles,
231
231
  Fe as f0MeetingConnectionQualities,
232
- Pe as f0MeetingCoreActionIds,
233
- pe as f0MeetingDisconnectReasons,
232
+ pe as f0MeetingCoreActionIds,
233
+ Pe as f0MeetingDisconnectReasons,
234
234
  Te as f0MeetingPermissions,
235
235
  he as f0MeetingPresences,
236
236
  Ie as f0MeetingStatuses,
@@ -241,43 +241,43 @@ export {
241
241
  Le as f0ProgressSeriesSizes,
242
242
  Re as f0WindowCorners,
243
243
  ye as fromParams,
244
- hi as generateCSVContent,
245
- Ii as getAutoPerPageMinHeight,
246
- lt as getGranularityDefinition,
247
- St as getGranularityDefinitions,
248
- dt as getGranularitySimpleDefinition,
249
- Ui as googleMapStyles,
250
- bt as granularityDefinitions,
244
+ Ii as generateCSVContent,
245
+ Mi as getAutoPerPageMinHeight,
246
+ St as getGranularityDefinition,
247
+ dt as getGranularityDefinitions,
248
+ bt as getGranularitySimpleDefinition,
249
+ zi as googleMapStyles,
250
+ gt as granularityDefinitions,
251
251
  Be as homeSlot,
252
- gt as isPossiblePhoneValue,
252
+ ut as isPossiblePhoneValue,
253
253
  De as isPost,
254
254
  _e as isSystemMessage,
255
255
  ke as isUserMessage,
256
- ut as isValidPhoneValue,
256
+ Ct as isValidPhoneValue,
257
257
  ve as layoutGrid,
258
- Mi as listIconColors,
258
+ Ei as listIconColors,
259
259
  Oe as listMoreButtonClass,
260
260
  We as listSlot,
261
261
  He as locationInputSizes,
262
262
  Ne as locationParts,
263
263
  xe as meetingStates,
264
- Ct as modules,
264
+ ct as modules,
265
265
  Ve as nearestCorner,
266
266
  Ge as oneListItemRowClassName,
267
267
  we as phoneInputSizes,
268
268
  Ue as placementFromRect,
269
- Ei as predefinedPresets,
269
+ Ai as predefinedPresets,
270
270
  ze as railActionTones,
271
- ct as rangeSeparator,
271
+ mt as rangeSeparator,
272
272
  Ke as reorderForSpeakers,
273
273
  Xe as resolveAutoFocus,
274
- mt as resolveGranularityDefinition,
274
+ Ft as resolveGranularityDefinition,
275
275
  je as resolvePlacement,
276
276
  qe as resolveSlotRenderer,
277
277
  Je as resolveWidgetHeader,
278
278
  Qe as seedFromStorage,
279
- Ai as selectSizes,
280
- fi as selectVariants,
279
+ fi as selectSizes,
280
+ Li as selectVariants,
281
281
  Ye as settlePlacement,
282
282
  Ze as slotRowBleed,
283
283
  $e as solveGrid,
@@ -286,31 +286,32 @@ export {
286
286
  ss as tileKey,
287
287
  ts as useAiPromotionChat,
288
288
  is as useCommandPalette,
289
- Li as useDataCollectionData,
290
- os as useDataCollectionItemNavigation,
291
- Ri as useDataCollectionSource,
292
- yi as useExportAction,
293
- rs as useF0Chat,
294
- ns as useF0Meeting,
295
- ls as useF0MeetingRoster,
296
- Ss as useF0MeetingStable,
297
- ds as useHasF0Meeting,
298
- Bi as useInfiniteScrollPagination,
299
- bs as useIsBulkChange,
300
- gs as useMeetingSignal,
301
- us as useMeetingSpeakers,
302
- Cs as useMeetingSurface,
303
- cs as useMeetingSurfaceOptional,
304
- ms as usePageHeaderItemNavigation,
305
- Fs as usePageHeaderNavigation,
306
- Ft as useSidePanel,
307
- zi as useSidebar,
289
+ os as useCompactOnScroll,
290
+ Ri as useDataCollectionData,
291
+ rs as useDataCollectionItemNavigation,
292
+ yi as useDataCollectionSource,
293
+ Bi as useExportAction,
294
+ ns as useF0Chat,
295
+ ls as useF0Meeting,
296
+ Ss as useF0MeetingRoster,
297
+ ds as useF0MeetingStable,
298
+ bs as useHasF0Meeting,
299
+ Di as useInfiniteScrollPagination,
300
+ gs as useIsBulkChange,
301
+ us as useMeetingSignal,
302
+ Cs as useMeetingSpeakers,
303
+ cs as useMeetingSurface,
304
+ ms as useMeetingSurfaceOptional,
305
+ Fs as usePageHeaderItemNavigation,
306
+ ps as usePageHeaderNavigation,
307
+ pt as useSidePanel,
308
+ Ki as useSidebar,
308
309
  Ps as useSidebarChatActions,
309
- ps as useSidebarChats,
310
- Ts as useTrackBinding,
311
- Di as useWidgetIsWide,
312
- hs as viewportRect,
313
- Is as widgetChrome,
314
- Ms as widgetParamsAreComplete,
315
- Es as widgetTitle
310
+ Ts as useSidebarChats,
311
+ hs as useTrackBinding,
312
+ _i as useWidgetIsWide,
313
+ Is as viewportRect,
314
+ Ms as widgetChrome,
315
+ Es as widgetParamsAreComplete,
316
+ As as widgetTitle
316
317
  };
package/dist/f0.d.ts CHANGED
@@ -1910,7 +1910,7 @@ declare type BaseFilterDefinition<T extends FilterTypeKey> = {
1910
1910
  hideSelector?: boolean;
1911
1911
  };
1912
1912
 
1913
- declare function BaseHeader({ title, avatar, deactivated, description, primaryAction, secondaryActions, otherActions, status, metadata, metadataRowGap, showBottomBorder, onClose, }: BaseHeaderProps_2): JSX_2.Element;
1913
+ declare function BaseHeader({ title, avatar, deactivated, description, primaryAction, secondaryActions, otherActions, status, metadata, metadataRowGap, compact, showBottomBorder, onClose, }: BaseHeaderProps_2): JSX_2.Element;
1914
1914
 
1915
1915
  declare type BaseHeaderProps = ComponentProps<typeof BaseHeader>;
1916
1916
 
@@ -1944,6 +1944,22 @@ declare interface BaseHeaderProps_2 {
1944
1944
  };
1945
1945
  metadata?: MetadataProps["items"];
1946
1946
  metadataRowGap?: MetadataProps["rowGap"];
1947
+ /**
1948
+ * Gives the header's space back, animated.
1949
+ *
1950
+ * A resource page is read far more than it is edited, and after the first
1951
+ * second the identity block is the least useful thing on screen: the reader
1952
+ * already knows whose page they are on. `compact` keeps what says where you
1953
+ * are — title, avatar, actions — shrinks the avatar from 56px to 32px, and
1954
+ * collapses the role (`description`) and the metadata row.
1955
+ *
1956
+ * **Controlled on purpose.** The header cannot know what scrolls: in a real
1957
+ * layout the scrolling element is rarely `window`, so a header that decided
1958
+ * for itself would be right on the page it was written for and wrong on the
1959
+ * rest. `useCompactOnScroll` is the ready-made trigger; anything else can
1960
+ * drive this prop directly.
1961
+ */
1962
+ compact?: boolean;
1947
1963
  /** Renders a 1px bottom border at the very bottom of the header. */
1948
1964
  showBottomBorder?: boolean;
1949
1965
  /** When set, renders a close button in the header actions that calls this on click. */
@@ -18916,7 +18932,7 @@ declare type Props_3 = {
18916
18932
  list?: TagCounterItem[];
18917
18933
  };
18918
18934
 
18919
- declare type Props_4 = {} & Pick<BaseHeaderProps, "avatar" | "title" | "description" | "primaryAction" | "secondaryActions" | "otherActions" | "metadata" | "status" | "deactivated" | "metadataRowGap" | "showBottomBorder" | "onClose">;
18935
+ declare type Props_4 = {} & Pick<BaseHeaderProps, "avatar" | "title" | "description" | "primaryAction" | "secondaryActions" | "otherActions" | "metadata" | "status" | "deactivated" | "metadataRowGap" | "compact" | "showBottomBorder" | "onClose">;
18920
18936
 
18921
18937
  export declare type QuestionActionParams = {
18922
18938
  questionId: string;
@@ -22626,17 +22642,6 @@ declare module "@tiptap/core" {
22626
22642
  }
22627
22643
 
22628
22644
 
22629
- declare module "@tiptap/core" {
22630
- interface Commands<ReturnType> {
22631
- indent: {
22632
- setIndent: (level: number) => ReturnType;
22633
- unsetIndent: () => ReturnType;
22634
- outdent: () => ReturnType;
22635
- };
22636
- }
22637
- }
22638
-
22639
-
22640
22645
  declare module "@tiptap/core" {
22641
22646
  interface Commands<ReturnType> {
22642
22647
  enhanceHighlight: {
@@ -22659,6 +22664,17 @@ declare module "@tiptap/core" {
22659
22664
  }
22660
22665
 
22661
22666
 
22667
+ declare module "@tiptap/core" {
22668
+ interface Commands<ReturnType> {
22669
+ indent: {
22670
+ setIndent: (level: number) => ReturnType;
22671
+ unsetIndent: () => ReturnType;
22672
+ outdent: () => ReturnType;
22673
+ };
22674
+ }
22675
+ }
22676
+
22677
+
22662
22678
  declare module "@tiptap/core" {
22663
22679
  interface Commands<ReturnType> {
22664
22680
  moodTracker: {