@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.
- package/dist/{ChatPdfThumbnail-DN8KaxhA.js → ChatPdfThumbnail-D6_Sst8n.js} +1 -1
- package/dist/{ChatPostComposerDialog-_UnQ0naN.js → ChatPostComposerDialog-BxC1C5un.js} +3 -3
- package/dist/{DocumentToolbar-DHfGWgXN.js → DocumentToolbar-B_hBVwKT.js} +2 -2
- package/dist/{DocxViewer-CSvfcijg.js → DocxViewer-S0GoMLw2.js} +2 -2
- package/dist/{F0AiProcessingOverlay-CQzvXsQZ.js → F0AiProcessingOverlay-CkvYC8Ph.js} +1 -1
- package/dist/{F0CanvasPanel-CO8lNocG.js → F0CanvasPanel-B_tmy4UL.js} +22176 -21996
- package/dist/{F0Map-Flnn9ZLD.js → F0Map-Cybx54OP.js} +4 -4
- package/dist/{F0VideoPlayer-ZX71HGUA.js → F0VideoPlayer-D8TJ68HB.js} +2 -2
- package/dist/{MapProvider-CR2vFCVH.js → MapProvider-BM6tjxo8.js} +18833 -18702
- package/dist/{SheetViewer-CHugMx6R.js → SheetViewer-Bzzj_ieO.js} +2 -2
- package/dist/{TextViewer-DCy98upp.js → TextViewer-BG2obg7j.js} +2 -2
- package/dist/ai.d.ts +11 -11
- package/dist/ai.js +2 -2
- package/dist/component-status.d.ts +11 -11
- package/dist/component-status.js +1 -1
- package/dist/{experimental-C7H_txq2.js → experimental-Kk6dYCET.js} +243 -223
- package/dist/experimental.d.ts +62 -14
- package/dist/experimental.js +154 -153
- package/dist/f0.d.ts +29 -13
- package/dist/f0.js +4939 -4928
- package/dist/i18n-provider-defaults.d.ts +11 -11
- package/dist/{index-zCQtY0mq.js → index-Bi1QzaKq.js} +3 -3
- package/dist/{index-BoWwB1cS.js → index-BlKjB8Am.js} +2 -2
- package/dist/index-C7goQCx-.js +4 -0
- package/dist/{index-xzro_6zw.js → index-CAbUpBga.js} +3 -3
- package/dist/{index-CDDSnj-r.js → index-Dby-axN8.js} +1 -1
- package/dist/{pdfWorker-CvogrULx.js → pdfWorker-D4J3l6sI.js} +2 -2
- package/dist/styles.css +1 -1
- package/package.json +1 -1
- package/dist/index-Bc3WWkqT.js +0 -4
package/dist/experimental.d.ts
CHANGED
|
@@ -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: {
|
package/dist/experimental.js
CHANGED
|
@@ -1,62 +1,62 @@
|
|
|
1
|
-
import { v as s, t, A as i, b as o,
|
|
2
|
-
import { ea as
|
|
3
|
-
import { aQ as
|
|
4
|
-
import { b as
|
|
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
|
-
|
|
7
|
-
|
|
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
|
-
|
|
13
|
+
It as AreaChart,
|
|
14
14
|
n as AreaChartWidget,
|
|
15
15
|
l as AutoGrid,
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
Ls as Badge,
|
|
17
|
+
Mt as BarChart,
|
|
18
18
|
S as BarChartWidget,
|
|
19
19
|
d as BaseActivityItemList,
|
|
20
|
-
|
|
20
|
+
Et as BaseBanner,
|
|
21
21
|
b as BaseCelebration,
|
|
22
22
|
g as BaseCommunityPost,
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
Rs as BaseTabs,
|
|
24
|
+
ys as BreadcrumbSelect,
|
|
25
25
|
u as Breadcrumbs,
|
|
26
26
|
C as CalendarEvent,
|
|
27
27
|
c as CalendarEventList,
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
28
|
+
At as CardSelectableContainer,
|
|
29
|
+
ft as Carousel,
|
|
30
|
+
Lt as CategoryBarChart,
|
|
31
31
|
m as CategoryBarSection,
|
|
32
32
|
F as Celebration,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
33
|
+
p as CelebrationSkeleton,
|
|
34
|
+
P as ChartWidgetEmptyState,
|
|
35
|
+
Bs as Chip,
|
|
36
36
|
T as ClockInControls,
|
|
37
|
-
|
|
38
|
-
|
|
37
|
+
Rt as CoachmarkProvider,
|
|
38
|
+
yt as ComboChart,
|
|
39
39
|
h as CommunityPost,
|
|
40
40
|
I as CommunityPostSkeleton,
|
|
41
41
|
M as CompanySelector,
|
|
42
|
-
|
|
42
|
+
Ds as Counter,
|
|
43
43
|
E as DEFAULT_EXPECTED_ITEMS_COUNT,
|
|
44
44
|
A as Dashboard,
|
|
45
45
|
f as DaytimePage,
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
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
|
-
|
|
53
|
-
|
|
52
|
+
Dt as F0ActionBar,
|
|
53
|
+
_t as F0AiBanner,
|
|
54
54
|
y as F0AiCallout,
|
|
55
|
-
|
|
56
|
-
|
|
55
|
+
Os as F0AvatarModule,
|
|
56
|
+
Ws as F0ButtonToggle,
|
|
57
57
|
B as F0Callout,
|
|
58
|
-
|
|
59
|
-
|
|
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
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
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
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
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
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
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
|
-
|
|
103
|
-
|
|
104
|
-
|
|
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
|
-
|
|
110
|
-
|
|
111
|
-
|
|
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
|
-
|
|
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
|
-
|
|
124
|
+
Ks as MobileDropdown,
|
|
125
125
|
Sa as NewHomeLayout,
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
126
|
+
$t as NotesTextEditor,
|
|
127
|
+
ai as NotesTextEditorSkeleton,
|
|
128
|
+
ei as NumberInput,
|
|
129
129
|
da as OmniButton,
|
|
130
130
|
ba as OneApprovalHistory,
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
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
|
-
|
|
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
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
143
|
+
pa as PageHeaderNavigationContext,
|
|
144
|
+
Pa as PageHeaderNavigationProvider,
|
|
145
|
+
qs as PageNavigation,
|
|
146
|
+
ri as PieChart,
|
|
147
147
|
Ta as PieChartWidget,
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
148
|
+
ni as PrivateBox,
|
|
149
|
+
li as ProgressBarChart,
|
|
150
|
+
Vi as RECOMMENDED_MAX_MARKERS,
|
|
151
|
+
Si as RadarChart,
|
|
152
152
|
ha as Reactions,
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
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
|
-
|
|
161
|
-
|
|
162
|
-
|
|
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
|
-
|
|
180
|
+
Zs as Spinner,
|
|
181
181
|
Ua as Split,
|
|
182
182
|
za as Stack,
|
|
183
183
|
Ka as SummariesWidget,
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
184
|
+
$s as Switch,
|
|
185
|
+
at as Tabs,
|
|
186
|
+
et as TabsSkeleton,
|
|
187
187
|
Xa as TasksList,
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
188
|
+
ui as Textarea,
|
|
189
|
+
st as ToggleGroup,
|
|
190
|
+
tt as ToggleGroupItem,
|
|
191
|
+
it as Tooltip,
|
|
192
192
|
ja as TwoColumnsList,
|
|
193
|
-
|
|
194
|
-
|
|
193
|
+
Ci as UPLOAD_INPUT_ID,
|
|
194
|
+
ci as VerticalBarChart,
|
|
195
195
|
qa as VerticalBarChartWidget,
|
|
196
196
|
Ja as VirtualList,
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
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
|
-
|
|
210
|
+
Fi as actionBarStatuses,
|
|
211
211
|
re as aiCalloutStatuses,
|
|
212
212
|
ne as attendeesDisplays,
|
|
213
213
|
le as buildTiles,
|
|
214
|
-
|
|
214
|
+
pi as buttonToggleColors,
|
|
215
215
|
Pi as buttonToggleSizes,
|
|
216
|
-
|
|
217
|
-
|
|
216
|
+
Ti as buttonToggleVariants,
|
|
217
|
+
nt as chipVariants,
|
|
218
218
|
Se as coachmarks,
|
|
219
219
|
de as commandActionRisks,
|
|
220
220
|
be as createMeetingSignalStore,
|
|
221
|
-
|
|
221
|
+
Gi as defaultMapStyle,
|
|
222
222
|
ge as defaultSlotRenderers,
|
|
223
223
|
ue as defaultSlotSkeleton,
|
|
224
224
|
Ce as defineStepByStepCoachmarkGuidance,
|
|
225
|
-
|
|
225
|
+
hi as downloadAsCSV,
|
|
226
226
|
ce as f0ChatSenderColors,
|
|
227
227
|
me as f0EmojiPickerSizes,
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
228
|
+
lt as f0FileItemSizes,
|
|
229
|
+
wi as f0MapMarkerVariants,
|
|
230
|
+
Ui as f0MapStyles,
|
|
231
231
|
Fe as f0MeetingConnectionQualities,
|
|
232
|
-
|
|
233
|
-
|
|
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
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
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
|
-
|
|
252
|
+
ut as isPossiblePhoneValue,
|
|
253
253
|
De as isPost,
|
|
254
254
|
_e as isSystemMessage,
|
|
255
255
|
ke as isUserMessage,
|
|
256
|
-
|
|
256
|
+
Ct as isValidPhoneValue,
|
|
257
257
|
ve as layoutGrid,
|
|
258
|
-
|
|
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
|
-
|
|
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
|
-
|
|
269
|
+
Ai as predefinedPresets,
|
|
270
270
|
ze as railActionTones,
|
|
271
|
-
|
|
271
|
+
mt as rangeSeparator,
|
|
272
272
|
Ke as reorderForSpeakers,
|
|
273
273
|
Xe as resolveAutoFocus,
|
|
274
|
-
|
|
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
|
-
|
|
280
|
-
|
|
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
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
yi as
|
|
293
|
-
|
|
294
|
-
ns as
|
|
295
|
-
ls as
|
|
296
|
-
Ss as
|
|
297
|
-
ds as
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
gs as
|
|
301
|
-
us as
|
|
302
|
-
Cs as
|
|
303
|
-
cs as
|
|
304
|
-
ms as
|
|
305
|
-
Fs as
|
|
306
|
-
|
|
307
|
-
|
|
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
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
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: {
|