@arbidocs/react 0.4.159 → 0.4.161
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/README.md +13 -6
- package/dist/{ProductionDialog-Dhf9MXH-.d.cts → ProductionDialog.d-BD1osHeq.d.cts} +1 -1
- package/dist/{ProductionDialog-BvRVGdvH.d.ts → ProductionDialog.d-CttHqQAh.d.ts} +1 -1
- package/dist/annotations/freeze/index.d.cts +3 -3
- package/dist/annotations/freeze/index.d.ts +3 -3
- package/dist/annotations/index.d.cts +4 -4
- package/dist/annotations/index.d.ts +4 -4
- package/dist/artifacts/index.cjs +12 -11
- package/dist/artifacts/index.cjs.map +1 -1
- package/dist/artifacts/index.d.cts +4 -4
- package/dist/artifacts/index.d.ts +4 -4
- package/dist/artifacts/index.js +3 -2
- package/dist/artifacts/index.js.map +1 -1
- package/dist/{chunk-RDLAOB55.cjs → chunk-3LMX6GXR.cjs} +150 -14
- package/dist/chunk-3LMX6GXR.cjs.map +1 -0
- package/dist/{chunk-37TQBT7Y.cjs → chunk-6MTKKT2O.cjs} +188 -126
- package/dist/chunk-6MTKKT2O.cjs.map +1 -0
- package/dist/{chunk-HKIR456G.js → chunk-CEZCFQ47.js} +149 -92
- package/dist/chunk-CEZCFQ47.js.map +1 -0
- package/dist/chunk-CPZ36AQS.js +11 -0
- package/dist/chunk-CPZ36AQS.js.map +1 -0
- package/dist/{chunk-JFKWH6EP.cjs → chunk-EUC2BTNS.cjs} +35 -4
- package/dist/chunk-EUC2BTNS.cjs.map +1 -0
- package/dist/chunk-GTJ667CP.cjs +26 -0
- package/dist/chunk-GTJ667CP.cjs.map +1 -0
- package/dist/{chunk-3XYIQZTH.js → chunk-I5ZBQ63Y.js} +33 -5
- package/dist/chunk-I5ZBQ63Y.js.map +1 -0
- package/dist/chunk-JSSKEXRR.js +22 -0
- package/dist/chunk-JSSKEXRR.js.map +1 -0
- package/dist/{chunk-QKNJ6FRD.cjs → chunk-ON4PL6DQ.cjs} +4 -4
- package/dist/chunk-ON4PL6DQ.cjs.map +1 -0
- package/dist/chunk-RCKA7BEF.cjs +14 -0
- package/dist/chunk-RCKA7BEF.cjs.map +1 -0
- package/dist/{chunk-2HNEVAXO.js → chunk-SVHGCX25.js} +3 -3
- package/dist/chunk-SVHGCX25.js.map +1 -0
- package/dist/{chunk-CNGWJDMG.js → chunk-WOXITGVS.js} +139 -15
- package/dist/chunk-WOXITGVS.js.map +1 -0
- package/dist/document-tools/index.cjs +35 -34
- package/dist/document-tools/index.cjs.map +1 -1
- package/dist/document-tools/index.d.cts +4 -4
- package/dist/document-tools/index.d.ts +4 -4
- package/dist/document-tools/index.js +4 -3
- package/dist/document-tools/index.js.map +1 -1
- package/dist/index.cjs +1694 -1432
- package/dist/index.cjs.map +1 -1
- package/dist/{index-DyFzmDZ2.d.ts → index.d-DfCFKora.d.cts} +49 -5
- package/dist/{index-DyFzmDZ2.d.cts → index.d-DfCFKora.d.ts} +49 -5
- package/dist/{index-CDTwtUr9.d.cts → index.d-eRbU1qpQ.d.cts} +333 -196
- package/dist/{index-CDTwtUr9.d.ts → index.d-eRbU1qpQ.d.ts} +333 -196
- package/dist/index.d.cts +1797 -1504
- package/dist/index.d.ts +1797 -1504
- package/dist/index.js +928 -765
- package/dist/index.js.map +1 -1
- package/dist/shell/index.cjs +24 -15
- package/dist/shell/index.d.cts +1 -1
- package/dist/shell/index.d.ts +1 -1
- package/dist/shell/index.js +2 -1
- package/dist/ui/index.cjs +191 -142
- package/dist/ui/index.d.cts +1 -1
- package/dist/ui/index.d.ts +1 -1
- package/dist/ui/index.js +2 -1
- package/dist/viewers/index.cjs +3 -2
- package/dist/viewers/index.cjs.map +1 -1
- package/dist/viewers/index.d.cts +2 -2
- package/dist/viewers/index.d.ts +2 -2
- package/dist/viewers/index.js +2 -1
- package/dist/viewers/index.js.map +1 -1
- package/package.json +4 -6
- package/dist/chunk-2HNEVAXO.js.map +0 -1
- package/dist/chunk-37TQBT7Y.cjs.map +0 -1
- package/dist/chunk-3XYIQZTH.js.map +0 -1
- package/dist/chunk-CNGWJDMG.js.map +0 -1
- package/dist/chunk-CPPBN2JB.js +0 -31
- package/dist/chunk-CPPBN2JB.js.map +0 -1
- package/dist/chunk-HKIR456G.js.map +0 -1
- package/dist/chunk-JFKWH6EP.cjs.map +0 -1
- package/dist/chunk-QKNJ6FRD.cjs.map +0 -1
- package/dist/chunk-R2MF7YCW.cjs +0 -36
- package/dist/chunk-R2MF7YCW.cjs.map +0 -1
- package/dist/chunk-RDLAOB55.cjs.map +0 -1
- /package/dist/{PdfViewer-bQH9yxFg.d.cts → PdfViewer.d-bQH9yxFg.d.cts} +0 -0
- /package/dist/{PdfViewer-bQH9yxFg.d.ts → PdfViewer.d-bQH9yxFg.d.ts} +0 -0
- /package/dist/{bundle-BnCSbHy2.d.cts → bundle.d-BnCSbHy2.d.cts} +0 -0
- /package/dist/{bundle-BnCSbHy2.d.ts → bundle.d-BnCSbHy2.d.ts} +0 -0
- /package/dist/{model-D63gedpb.d.cts → model.d-D63gedpb.d.cts} +0 -0
- /package/dist/{model-D63gedpb.d.ts → model.d-D63gedpb.d.ts} +0 -0
- /package/dist/{stored-markdown-Bp18vrbr.d.cts → stored-markdown.d-Bp18vrbr.d.cts} +0 -0
- /package/dist/{stored-markdown-Bp18vrbr.d.ts → stored-markdown.d-Bp18vrbr.d.ts} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ClassValue } from 'clsx';
|
|
2
|
-
import * as React
|
|
2
|
+
import * as React from 'react';
|
|
3
3
|
import React__default, { HTMLAttributes, ReactNode, Ref, ComponentType, CSSProperties } from 'react';
|
|
4
4
|
import * as AvatarPrimitive from '@radix-ui/react-avatar';
|
|
5
5
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
@@ -97,6 +97,19 @@ interface IdentityVerificationFlow {
|
|
|
97
97
|
remove: () => void;
|
|
98
98
|
}
|
|
99
99
|
|
|
100
|
+
/**
|
|
101
|
+
* Dictation for every `Input`/`Textarea` with a `dictate` prop, instead of threading a
|
|
102
|
+
* `transcribe` function through each field. A host gives it once, as the host configuration's
|
|
103
|
+
* `dictate` (`<ArbiHost config={{ dictate: { transcribe, onError } }}>`); every `dictate`-enabled
|
|
104
|
+
* field downstream then just works. Without it fields render without a mic button: dictation is a
|
|
105
|
+
* progressive enhancement, never a hard requirement.
|
|
106
|
+
*/
|
|
107
|
+
interface DictateContextValue {
|
|
108
|
+
transcribe: (blob: Blob) => Promise<string>;
|
|
109
|
+
onError?: (message: string) => void;
|
|
110
|
+
}
|
|
111
|
+
declare function useDictateContext(): DictateContextValue | null;
|
|
112
|
+
|
|
100
113
|
/**
|
|
101
114
|
* Minimal, dependency-free tooltip — a drop-in API replacement for a Radix
|
|
102
115
|
* wrapper (same exports/props: Tooltip, TooltipTrigger, TooltipContent,
|
|
@@ -107,7 +120,7 @@ interface IdentityVerificationFlow {
|
|
|
107
120
|
*/
|
|
108
121
|
type Side = 'top' | 'bottom' | 'left' | 'right';
|
|
109
122
|
interface TooltipProviderProps {
|
|
110
|
-
children?: React
|
|
123
|
+
children?: React.ReactNode;
|
|
111
124
|
/** Hover delay, in ms, inherited by every Tooltip below. Default 300. */
|
|
112
125
|
delayDuration?: number;
|
|
113
126
|
skipDelayDuration?: number;
|
|
@@ -118,26 +131,26 @@ interface TooltipProviderProps {
|
|
|
118
131
|
* `AppShell` in @arbidocs/blocks does this so every app gets it for free.
|
|
119
132
|
* Tooltips still render without it, at the default delay.
|
|
120
133
|
*/
|
|
121
|
-
declare const TooltipProvider: ({ children, delayDuration }: TooltipProviderProps) => React
|
|
134
|
+
declare const TooltipProvider: ({ children, delayDuration }: TooltipProviderProps) => React.JSX.Element;
|
|
122
135
|
interface TooltipProps {
|
|
123
|
-
children: React
|
|
136
|
+
children: React.ReactNode;
|
|
124
137
|
/** Overrides the provider's delay for this one tooltip. */
|
|
125
138
|
delayDuration?: number;
|
|
126
139
|
}
|
|
127
|
-
declare function Tooltip({ children, delayDuration }: TooltipProps): React
|
|
128
|
-
interface TooltipTriggerProps extends React
|
|
140
|
+
declare function Tooltip({ children, delayDuration }: TooltipProps): React.JSX.Element;
|
|
141
|
+
interface TooltipTriggerProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
129
142
|
asChild?: boolean;
|
|
130
143
|
/** Allow explanatory tooltips on controls that already have a visible label. */
|
|
131
144
|
showWithText?: boolean;
|
|
132
145
|
}
|
|
133
|
-
declare function TooltipTrigger({ asChild, showWithText, children, ...props }: TooltipTriggerProps): React
|
|
134
|
-
interface TooltipContentProps extends React
|
|
146
|
+
declare function TooltipTrigger({ asChild, showWithText, children, ...props }: TooltipTriggerProps): React.JSX.Element;
|
|
147
|
+
interface TooltipContentProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
135
148
|
side?: Side;
|
|
136
149
|
sideOffset?: number;
|
|
137
150
|
/** Minimum gap, in px, kept between the tip and the viewport edges. Default 8. */
|
|
138
151
|
collisionPadding?: number;
|
|
139
152
|
}
|
|
140
|
-
declare const TooltipContent: React
|
|
153
|
+
declare const TooltipContent: React.ForwardRefExoticComponent<TooltipContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
141
154
|
|
|
142
155
|
interface ColorClasses {
|
|
143
156
|
text: string;
|
|
@@ -163,7 +176,7 @@ interface IconToggleProps {
|
|
|
163
176
|
showTooltip?: boolean;
|
|
164
177
|
'data-testid'?: string;
|
|
165
178
|
}
|
|
166
|
-
declare function IconToggle({ icon: Icon, isActive, onToggle, colors, inactiveColors, fillWhenActive, disabled, disabledTooltip, showLabel, label, tooltipActive, tooltipInactive, tooltipMixed, isMixed, showTooltip, 'data-testid': dataTestId, }: IconToggleProps): React
|
|
179
|
+
declare function IconToggle({ icon: Icon, isActive, onToggle, colors, inactiveColors, fillWhenActive, disabled, disabledTooltip, showLabel, label, tooltipActive, tooltipInactive, tooltipMixed, isMixed, showTooltip, 'data-testid': dataTestId, }: IconToggleProps): React.JSX.Element;
|
|
167
180
|
|
|
168
181
|
/**
|
|
169
182
|
* VisibilityToggle Component
|
|
@@ -200,7 +213,7 @@ interface VisibilityToggleProps {
|
|
|
200
213
|
workspaceLabel?: string;
|
|
201
214
|
'data-testid'?: string;
|
|
202
215
|
}
|
|
203
|
-
declare function VisibilityToggle({ items, presentation, onToggle, disabled, disabledTooltip, disablePrivate, showLabel, showTooltip, tooltipActive, tooltipInactive, tooltipMixed, label, workspaceLabel, 'data-testid': dataTestId, }: VisibilityToggleProps): React
|
|
216
|
+
declare function VisibilityToggle({ items, presentation, onToggle, disabled, disabledTooltip, disablePrivate, showLabel, showTooltip, tooltipActive, tooltipInactive, tooltipMixed, label, workspaceLabel, 'data-testid': dataTestId, }: VisibilityToggleProps): React.JSX.Element;
|
|
204
217
|
|
|
205
218
|
/**
|
|
206
219
|
* VerifiedToggle Component
|
|
@@ -221,7 +234,7 @@ interface VerifiedToggleProps {
|
|
|
221
234
|
tooltipInactive?: string;
|
|
222
235
|
'data-testid'?: string;
|
|
223
236
|
}
|
|
224
|
-
declare function VerifiedToggle({ verified, onToggle, disabled, showLabel, showTooltip, tooltipActive, tooltipInactive, 'data-testid': dataTestId, }: VerifiedToggleProps): React
|
|
237
|
+
declare function VerifiedToggle({ verified, onToggle, disabled, showLabel, showTooltip, tooltipActive, tooltipInactive, 'data-testid': dataTestId, }: VerifiedToggleProps): React.JSX.Element;
|
|
225
238
|
|
|
226
239
|
/** A timestamp as people read it: "Today, 14:05", "Yesterday", "Aug 18" (with the year once it is not this one). */
|
|
227
240
|
/**
|
|
@@ -229,6 +242,30 @@ declare function VerifiedToggle({ verified, onToggle, disabled, showLabel, showT
|
|
|
229
242
|
*/
|
|
230
243
|
declare function formatFriendlyDate(dateString: string, includeTime?: boolean): string;
|
|
231
244
|
|
|
245
|
+
/**
|
|
246
|
+
* markdownToPlainText
|
|
247
|
+
*
|
|
248
|
+
* Cheap, dependency-free markdown → plain-text flattener for dense UI surfaces
|
|
249
|
+
* (e.g. a single AG Grid cell) where we want a readable one-paragraph preview,
|
|
250
|
+
* NOT rendered markdown. It strips the common markers our AI summaries emit
|
|
251
|
+
* (bullets, headings, emphasis, inline code, links, blockquotes) and collapses
|
|
252
|
+
* whitespace to a single line.
|
|
253
|
+
*
|
|
254
|
+
* Deliberately regex-based and O(n): it is safe to call per visible grid cell
|
|
255
|
+
* (a valueFormatter) without the cost of a real markdown parser/renderer, so it
|
|
256
|
+
* has no per-row-count impact on large tables. For full rich rendering use the
|
|
257
|
+
* document viewer / review form, which render one document at a time.
|
|
258
|
+
*/
|
|
259
|
+
declare function markdownToPlainText(input: string | null | undefined): string;
|
|
260
|
+
/**
|
|
261
|
+
* Line-preserving variant of markdownToPlainText for copying an answer as plain
|
|
262
|
+
* text. Removes the same markup but keeps paragraph breaks and list lines, so a
|
|
263
|
+
* pasted answer keeps its shape. Tables become tab-separated rows and horizontal
|
|
264
|
+
* rules are dropped. List numbers and bullets stay because they are visible
|
|
265
|
+
* content. Link URLs are kept in parentheses so nothing is lost.
|
|
266
|
+
*/
|
|
267
|
+
declare function markdownToPlainTextBlocks(input: string | null | undefined): string;
|
|
268
|
+
|
|
232
269
|
/**
|
|
233
270
|
* DebouncedInput Component
|
|
234
271
|
*
|
|
@@ -260,27 +297,7 @@ interface DebouncedInputProps {
|
|
|
260
297
|
/** Max height in pixels for auto-resize (default: 72, ~3 rows) */
|
|
261
298
|
maxHeight?: number;
|
|
262
299
|
}
|
|
263
|
-
declare function DebouncedInput({ value, onChange, disabled, type, multiline, className, debounceMs, placeholder, autoResize, minHeight, maxHeight, }: DebouncedInputProps): React
|
|
264
|
-
|
|
265
|
-
/**
|
|
266
|
-
* DictateContext
|
|
267
|
-
*
|
|
268
|
-
* Lets `Input`/`Textarea`'s `dictate` prop work with a one-line `dictate` prop
|
|
269
|
-
* anywhere in the app, instead of threading a `transcribe` function through
|
|
270
|
-
* every field individually. A host app wraps its tree once with
|
|
271
|
-
* `<DictateProvider transcribe={...} onError={...}>`; every `dictate`-enabled
|
|
272
|
-
* field downstream then just works. Fields rendered outside a provider
|
|
273
|
-
* silently render without a mic button — dictation is a progressive
|
|
274
|
-
* enhancement, never a hard requirement.
|
|
275
|
-
*/
|
|
276
|
-
interface DictateContextValue {
|
|
277
|
-
transcribe: (blob: Blob) => Promise<string>;
|
|
278
|
-
onError?: (message: string) => void;
|
|
279
|
-
}
|
|
280
|
-
declare function DictateProvider({ transcribe, onError, children, }: DictateContextValue & {
|
|
281
|
-
children: React.ReactNode;
|
|
282
|
-
}): React$1.JSX.Element;
|
|
283
|
-
declare function useDictateContext(): DictateContextValue | null;
|
|
300
|
+
declare function DebouncedInput({ value, onChange, disabled, type, multiline, className, debounceMs, placeholder, autoResize, minHeight, maxHeight, }: DebouncedInputProps): React.JSX.Element;
|
|
284
301
|
|
|
285
302
|
/**
|
|
286
303
|
* Where the overlays below this point (dialogs, menus, popovers, selects) portal to. Without it they
|
|
@@ -290,34 +307,34 @@ declare function useDictateContext(): DictateContextValue | null;
|
|
|
290
307
|
*/
|
|
291
308
|
declare function PortalContainerProvider({ container, children, }: {
|
|
292
309
|
container: HTMLElement | null;
|
|
293
|
-
children: React
|
|
294
|
-
}): React
|
|
310
|
+
children: React.ReactNode;
|
|
311
|
+
}): React.JSX.Element;
|
|
295
312
|
/** The container overlays portal to: the nearest {@link PortalContainerProvider}'s, else none. */
|
|
296
313
|
declare function usePortalContainer(): HTMLElement | undefined;
|
|
297
314
|
|
|
298
|
-
declare const Avatar: React
|
|
299
|
-
declare const AvatarImage: React
|
|
300
|
-
declare const AvatarFallback: React
|
|
315
|
+
declare const Avatar: React.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
316
|
+
declare const AvatarImage: React.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarImageProps & React.RefAttributes<HTMLImageElement>, "ref"> & React.RefAttributes<HTMLImageElement>>;
|
|
317
|
+
declare const AvatarFallback: React.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarFallbackProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
301
318
|
|
|
302
319
|
declare const badgeVariants: (props?: ({
|
|
303
320
|
variant?: "default" | "outline" | "accent" | "secondary" | "destructive" | null | undefined;
|
|
304
321
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
305
|
-
interface BadgeProps extends React
|
|
322
|
+
interface BadgeProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
|
|
306
323
|
}
|
|
307
|
-
declare function Badge({ className, variant, ...props }: BadgeProps): React
|
|
324
|
+
declare function Badge({ className, variant, ...props }: BadgeProps): React.JSX.Element;
|
|
308
325
|
|
|
309
326
|
declare const buttonVariants: (props?: ({
|
|
310
327
|
variant?: "link" | "default" | "outline" | "accent" | "secondary" | "destructive" | "ghost" | null | undefined;
|
|
311
328
|
size?: "default" | "icon" | "sm" | "lg" | null | undefined;
|
|
312
329
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
313
|
-
interface ButtonProps extends React
|
|
330
|
+
interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
314
331
|
asChild?: boolean;
|
|
315
332
|
}
|
|
316
|
-
declare const Button: React
|
|
333
|
+
declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
317
334
|
|
|
318
|
-
declare const HoverCard: React
|
|
319
|
-
declare const HoverCardTrigger: React
|
|
320
|
-
declare const HoverCardContent: React
|
|
335
|
+
declare const HoverCard: React.FC<HoverCardPrimitive.HoverCardProps>;
|
|
336
|
+
declare const HoverCardTrigger: React.ForwardRefExoticComponent<HoverCardPrimitive.HoverCardTriggerProps & React.RefAttributes<HTMLAnchorElement>>;
|
|
337
|
+
declare const HoverCardContent: React.ForwardRefExoticComponent<Omit<HoverCardPrimitive.HoverCardContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
321
338
|
|
|
322
339
|
/**
|
|
323
340
|
* Clean-ARBI design contract rule 3: borderless by default; shadows
|
|
@@ -338,108 +355,108 @@ declare const HoverCardContent: React$1.ForwardRefExoticComponent<Omit<HoverCard
|
|
|
338
355
|
declare const cardVariants: (props?: ({
|
|
339
356
|
variant?: "flat" | "outline" | "elevated" | null | undefined;
|
|
340
357
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
341
|
-
interface CardProps extends React
|
|
358
|
+
interface CardProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof cardVariants> {
|
|
342
359
|
}
|
|
343
|
-
declare const Card: React
|
|
344
|
-
declare const CardHeader: React
|
|
345
|
-
declare const CardTitle: React
|
|
346
|
-
declare const CardDescription: React
|
|
347
|
-
declare const CardContent: React
|
|
348
|
-
declare const CardFooter: React
|
|
349
|
-
|
|
350
|
-
interface InputProps extends React
|
|
360
|
+
declare const Card: React.ForwardRefExoticComponent<CardProps & React.RefAttributes<HTMLDivElement>>;
|
|
361
|
+
declare const CardHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
362
|
+
declare const CardTitle: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
363
|
+
declare const CardDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
364
|
+
declare const CardContent: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
365
|
+
declare const CardFooter: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
366
|
+
|
|
367
|
+
interface InputProps extends React.ComponentProps<'input'> {
|
|
351
368
|
/** Adds a small dictate-instead-of-type button inside the field's right
|
|
352
369
|
* edge (visible only while focused, or mid-recording) that appends
|
|
353
|
-
* transcribed speech to the field's value.
|
|
354
|
-
*
|
|
370
|
+
* transcribed speech to the field's value. Uses the host configuration's `dictate`
|
|
371
|
+
* (the host's transcribe endpoint) — with none, this is
|
|
355
372
|
* a no-op (no button renders). Not meant for password/search/numeric/code
|
|
356
373
|
* fields — opt in per field, not on by default. */
|
|
357
374
|
dictate?: boolean;
|
|
358
375
|
}
|
|
359
|
-
declare const Input: React
|
|
376
|
+
declare const Input: React.ForwardRefExoticComponent<Omit<InputProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
360
377
|
|
|
361
|
-
interface LabelProps extends React
|
|
378
|
+
interface LabelProps extends React.LabelHTMLAttributes<HTMLLabelElement> {
|
|
362
379
|
className?: string;
|
|
363
380
|
}
|
|
364
|
-
declare const Label: React
|
|
381
|
+
declare const Label: React.ForwardRefExoticComponent<LabelProps & React.RefAttributes<HTMLLabelElement>>;
|
|
365
382
|
|
|
366
|
-
declare const Separator: React
|
|
383
|
+
declare const Separator: React.ForwardRefExoticComponent<Omit<SeparatorPrimitive.SeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
367
384
|
|
|
368
|
-
interface TextareaProps extends React
|
|
385
|
+
interface TextareaProps extends React.ComponentProps<'textarea'> {
|
|
369
386
|
/** Adds a small dictate-instead-of-type button inside the field's top-right
|
|
370
387
|
* corner (visible only while focused, or mid-recording) that appends
|
|
371
|
-
* transcribed speech to the field's value.
|
|
372
|
-
*
|
|
388
|
+
* transcribed speech to the field's value. Uses the host configuration's `dictate`
|
|
389
|
+
* (the host's transcribe endpoint) — with none, this is
|
|
373
390
|
* a no-op (no button renders). */
|
|
374
391
|
dictate?: boolean;
|
|
375
392
|
}
|
|
376
|
-
declare const Textarea: React
|
|
393
|
+
declare const Textarea: React.ForwardRefExoticComponent<Omit<TextareaProps, "ref"> & React.RefAttributes<HTMLTextAreaElement>>;
|
|
377
394
|
|
|
378
|
-
declare const Collapsible: React
|
|
379
|
-
declare const CollapsibleTrigger: React
|
|
380
|
-
declare const CollapsibleContent: React
|
|
395
|
+
declare const Collapsible: React.ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleProps & React.RefAttributes<HTMLDivElement>>;
|
|
396
|
+
declare const CollapsibleTrigger: React.ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
397
|
+
declare const CollapsibleContent: React.ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
381
398
|
|
|
382
|
-
declare const Progress: React
|
|
399
|
+
declare const Progress: React.ForwardRefExoticComponent<Omit<ProgressPrimitive.ProgressProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
383
400
|
|
|
384
|
-
declare const ScrollArea: React
|
|
385
|
-
declare const ScrollBar: React
|
|
401
|
+
declare const ScrollArea: React.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
402
|
+
declare const ScrollBar: React.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaScrollbarProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
386
403
|
|
|
387
|
-
declare const RadioGroup: React
|
|
388
|
-
declare const RadioGroupItem: React
|
|
404
|
+
declare const RadioGroup: React.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
405
|
+
declare const RadioGroupItem: React.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupItemProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
389
406
|
|
|
390
|
-
declare const Checkbox: React
|
|
407
|
+
declare const Checkbox: React.ForwardRefExoticComponent<Omit<CheckboxPrimitive.CheckboxProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
391
408
|
|
|
392
|
-
declare const Switch: React
|
|
409
|
+
declare const Switch: React.ForwardRefExoticComponent<Omit<SwitchPrimitives.SwitchProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
393
410
|
|
|
394
|
-
declare const Tabs: React
|
|
395
|
-
declare const TabsList: React
|
|
396
|
-
declare const TabsTrigger: React
|
|
397
|
-
declare const TabsContent: React
|
|
411
|
+
declare const Tabs: React.ForwardRefExoticComponent<TabsPrimitive.TabsProps & React.RefAttributes<HTMLDivElement>>;
|
|
412
|
+
declare const TabsList: React.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsListProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
413
|
+
declare const TabsTrigger: React.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
414
|
+
declare const TabsContent: React.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
398
415
|
|
|
399
|
-
declare const Table: React
|
|
400
|
-
declare const TableHeader: React
|
|
401
|
-
declare const TableBody: React
|
|
402
|
-
declare const TableFooter: React
|
|
403
|
-
declare const TableRow: React
|
|
404
|
-
interface TableHeadProps extends React
|
|
416
|
+
declare const Table: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableElement> & React.RefAttributes<HTMLTableElement>>;
|
|
417
|
+
declare const TableHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & React.RefAttributes<HTMLTableSectionElement>>;
|
|
418
|
+
declare const TableBody: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & React.RefAttributes<HTMLTableSectionElement>>;
|
|
419
|
+
declare const TableFooter: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & React.RefAttributes<HTMLTableSectionElement>>;
|
|
420
|
+
declare const TableRow: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableRowElement> & React.RefAttributes<HTMLTableRowElement>>;
|
|
421
|
+
interface TableHeadProps extends React.ThHTMLAttributes<HTMLTableCellElement> {
|
|
405
422
|
className?: string;
|
|
406
423
|
}
|
|
407
|
-
declare const TableHead: React
|
|
408
|
-
interface TableCellProps extends React
|
|
424
|
+
declare const TableHead: React.ForwardRefExoticComponent<TableHeadProps & React.RefAttributes<HTMLTableCellElement>>;
|
|
425
|
+
interface TableCellProps extends React.TdHTMLAttributes<HTMLTableCellElement> {
|
|
409
426
|
className?: string;
|
|
410
427
|
}
|
|
411
|
-
declare const TableCell: React
|
|
412
|
-
declare const TableCaption: React
|
|
428
|
+
declare const TableCell: React.ForwardRefExoticComponent<TableCellProps & React.RefAttributes<HTMLTableCellElement>>;
|
|
429
|
+
declare const TableCaption: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableCaptionElement> & React.RefAttributes<HTMLTableCaptionElement>>;
|
|
413
430
|
|
|
414
|
-
interface SliderProps extends React
|
|
431
|
+
interface SliderProps extends React.ComponentPropsWithoutRef<typeof SliderPrimitive.Root> {
|
|
415
432
|
rangeClassName?: string;
|
|
416
433
|
}
|
|
417
|
-
declare const Slider: React
|
|
434
|
+
declare const Slider: React.ForwardRefExoticComponent<SliderProps & React.RefAttributes<HTMLSpanElement>>;
|
|
418
435
|
|
|
419
436
|
declare const toggleVariants: (props?: ({
|
|
420
437
|
variant?: "default" | "outline" | null | undefined;
|
|
421
438
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
422
439
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
423
|
-
declare const Toggle: React
|
|
440
|
+
declare const Toggle: React.ForwardRefExoticComponent<Omit<TogglePrimitive.ToggleProps & React.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
|
|
424
441
|
variant?: "default" | "outline" | null | undefined;
|
|
425
442
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
426
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string> & React
|
|
443
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string> & React.RefAttributes<HTMLButtonElement>>;
|
|
427
444
|
|
|
428
|
-
declare const ToggleGroup: React
|
|
445
|
+
declare const ToggleGroup: React.ForwardRefExoticComponent<((Omit<ToggleGroupPrimitive.ToggleGroupSingleProps & React.RefAttributes<HTMLDivElement>, "ref"> | Omit<ToggleGroupPrimitive.ToggleGroupMultipleProps & React.RefAttributes<HTMLDivElement>, "ref">) & VariantProps<(props?: ({
|
|
429
446
|
variant?: "default" | "outline" | null | undefined;
|
|
430
447
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
431
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string>) & React
|
|
432
|
-
declare const ToggleGroupItem: React
|
|
448
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string>) & React.RefAttributes<HTMLDivElement>>;
|
|
449
|
+
declare const ToggleGroupItem: React.ForwardRefExoticComponent<Omit<ToggleGroupPrimitive.ToggleGroupItemProps & React.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
|
|
433
450
|
variant?: "default" | "outline" | null | undefined;
|
|
434
451
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
435
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string> & React
|
|
452
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string> & React.RefAttributes<HTMLButtonElement>>;
|
|
436
453
|
|
|
437
|
-
declare const Dialog: React
|
|
438
|
-
declare const DialogTrigger: React
|
|
454
|
+
declare const Dialog: React.FC<DialogPrimitive.DialogProps>;
|
|
455
|
+
declare const DialogTrigger: React.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
439
456
|
/** Portals to the nearest PortalContainerProvider's container (a popped-out window), else `<body>`. */
|
|
440
|
-
declare function DialogPortal({ container, ...props }: React
|
|
441
|
-
declare const DialogClose: React
|
|
442
|
-
declare const DialogOverlay: React
|
|
457
|
+
declare function DialogPortal({ container, ...props }: React.ComponentProps<typeof DialogPrimitive.Portal>): React.JSX.Element;
|
|
458
|
+
declare const DialogClose: React.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
|
|
459
|
+
declare const DialogOverlay: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
443
460
|
/**
|
|
444
461
|
* Where the dialog sits on a PHONE (< 640px). Wider screens always get a centred dialog.
|
|
445
462
|
* - `center`: centred box with a 1rem margin (small prompts and confirmations).
|
|
@@ -447,30 +464,30 @@ declare const DialogOverlay: React$1.ForwardRefExoticComponent<Omit<DialogPrimit
|
|
|
447
464
|
* - `full`: full-height sheet that stops below the status bar (large editors, wizards).
|
|
448
465
|
*/
|
|
449
466
|
type DialogPresentation = 'center' | 'sheet' | 'full' | 'right';
|
|
450
|
-
declare const DialogContent: React
|
|
467
|
+
declare const DialogContent: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
451
468
|
hideCloseButton?: boolean;
|
|
452
469
|
/** Phone presentation (see {@link DialogPresentation}). Defaults to `center`. */
|
|
453
470
|
presentation?: DialogPresentation;
|
|
454
|
-
} & React
|
|
471
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
455
472
|
declare const DialogHeader: {
|
|
456
|
-
({ className, ...props }: React
|
|
473
|
+
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
|
|
457
474
|
displayName: string;
|
|
458
475
|
};
|
|
459
476
|
declare const DialogFooter: {
|
|
460
|
-
({ className, ...props }: React
|
|
477
|
+
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
|
|
461
478
|
displayName: string;
|
|
462
479
|
};
|
|
463
|
-
declare const DialogTitle: React
|
|
464
|
-
declare const DialogDescription: React
|
|
480
|
+
declare const DialogTitle: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
481
|
+
declare const DialogDescription: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
|
|
465
482
|
|
|
466
|
-
declare const Popover: React
|
|
467
|
-
declare const PopoverTrigger: React
|
|
468
|
-
declare const PopoverAnchor: React
|
|
469
|
-
declare const PopoverContent: React
|
|
483
|
+
declare const Popover: React.FC<PopoverPrimitive.PopoverProps>;
|
|
484
|
+
declare const PopoverTrigger: React.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
485
|
+
declare const PopoverAnchor: React.ForwardRefExoticComponent<PopoverPrimitive.PopoverAnchorProps & React.RefAttributes<HTMLDivElement>>;
|
|
486
|
+
declare const PopoverContent: React.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
470
487
|
container?: HTMLElement | null;
|
|
471
|
-
} & React
|
|
488
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
472
489
|
/** Closes the popover it is in (wrap an action that should close it with `asChild`). */
|
|
473
|
-
declare const PopoverClose: React
|
|
490
|
+
declare const PopoverClose: React.ForwardRefExoticComponent<PopoverPrimitive.PopoverCloseProps & React.RefAttributes<HTMLButtonElement>>;
|
|
474
491
|
|
|
475
492
|
/** One row of a mark's menu. Give it `onSelect`, or an `href` for a real link row. */
|
|
476
493
|
interface MarkMenuItem {
|
|
@@ -515,52 +532,52 @@ interface MarkMenuProps extends Omit<HTMLAttributes<HTMLElement>, 'children' | '
|
|
|
515
532
|
* Keyboard: Enter/Space/ArrowDown open it and move into it, arrows move, Escape closes and
|
|
516
533
|
* returns focus to the mark. Rows are 44px high on coarse pointers.
|
|
517
534
|
*/
|
|
518
|
-
declare function MarkMenu({ as, href, items, preview, menuLabel, shouldClickRunPrimary, openDelay, closeDelay, testId, menuTestId, triggerRef: externalRef, className, children, onPointerDown, onPointerEnter, onPointerMove, onPointerLeave, onFocus, onBlur, onKeyDown, ...rest }: MarkMenuProps): React
|
|
535
|
+
declare function MarkMenu({ as, href, items, preview, menuLabel, shouldClickRunPrimary, openDelay, closeDelay, testId, menuTestId, triggerRef: externalRef, className, children, onPointerDown, onPointerEnter, onPointerMove, onPointerLeave, onFocus, onBlur, onKeyDown, ...rest }: MarkMenuProps): React.JSX.Element;
|
|
519
536
|
|
|
520
|
-
declare const DropdownMenu: React
|
|
521
|
-
declare const DropdownMenuTrigger: React
|
|
522
|
-
declare const DropdownMenuGroup: React
|
|
537
|
+
declare const DropdownMenu: React.FC<DropdownMenuPrimitive.DropdownMenuProps>;
|
|
538
|
+
declare const DropdownMenuTrigger: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
539
|
+
declare const DropdownMenuGroup: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
523
540
|
/** Portals to the nearest PortalContainerProvider's container (a popped-out window), else `<body>`. */
|
|
524
|
-
declare function DropdownMenuPortal({ container, ...props }: React
|
|
525
|
-
declare const DropdownMenuSub: React
|
|
526
|
-
declare const DropdownMenuRadioGroup: React
|
|
527
|
-
declare const DropdownMenuSubTrigger: React
|
|
541
|
+
declare function DropdownMenuPortal({ container, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Portal>): React.JSX.Element;
|
|
542
|
+
declare const DropdownMenuSub: React.FC<DropdownMenuPrimitive.DropdownMenuSubProps>;
|
|
543
|
+
declare const DropdownMenuRadioGroup: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuRadioGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
544
|
+
declare const DropdownMenuSubTrigger: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubTriggerProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
528
545
|
inset?: boolean;
|
|
529
|
-
} & React
|
|
530
|
-
declare const DropdownMenuSubContent: React
|
|
531
|
-
declare const DropdownMenuContent: React
|
|
532
|
-
declare const DropdownMenuItem: React
|
|
546
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
547
|
+
declare const DropdownMenuSubContent: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
548
|
+
declare const DropdownMenuContent: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
549
|
+
declare const DropdownMenuItem: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
533
550
|
inset?: boolean;
|
|
534
|
-
} & React
|
|
535
|
-
declare const DropdownMenuCheckboxItem: React
|
|
536
|
-
declare const DropdownMenuRadioItem: React
|
|
537
|
-
declare const DropdownMenuLabel: React
|
|
551
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
552
|
+
declare const DropdownMenuCheckboxItem: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuCheckboxItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
553
|
+
declare const DropdownMenuRadioItem: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuRadioItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
554
|
+
declare const DropdownMenuLabel: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuLabelProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
538
555
|
inset?: boolean;
|
|
539
|
-
} & React
|
|
540
|
-
declare const DropdownMenuSeparator: React
|
|
556
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
557
|
+
declare const DropdownMenuSeparator: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
541
558
|
declare const DropdownMenuShortcut: {
|
|
542
|
-
({ className, ...props }: React
|
|
559
|
+
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>): React.JSX.Element;
|
|
543
560
|
displayName: string;
|
|
544
561
|
};
|
|
545
562
|
|
|
546
|
-
declare const Select: React
|
|
547
|
-
declare const SelectGroup: React
|
|
548
|
-
declare const SelectValue: React
|
|
549
|
-
declare const SelectTrigger: React
|
|
550
|
-
declare const SelectScrollUpButton: React
|
|
551
|
-
declare const SelectScrollDownButton: React
|
|
552
|
-
declare const SelectContent: React
|
|
553
|
-
declare const SelectLabel: React
|
|
554
|
-
declare const SelectItem: React
|
|
555
|
-
declare const SelectSeparator: React
|
|
556
|
-
|
|
557
|
-
declare const Command: React
|
|
558
|
-
children?: React
|
|
559
|
-
} & Pick<Pick<React
|
|
560
|
-
ref?: React
|
|
563
|
+
declare const Select: React.FC<SelectPrimitive.SelectProps>;
|
|
564
|
+
declare const SelectGroup: React.ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
565
|
+
declare const SelectValue: React.ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & React.RefAttributes<HTMLSpanElement>>;
|
|
566
|
+
declare const SelectTrigger: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
567
|
+
declare const SelectScrollUpButton: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollUpButtonProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
568
|
+
declare const SelectScrollDownButton: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollDownButtonProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
569
|
+
declare const SelectContent: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
570
|
+
declare const SelectLabel: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectLabelProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
571
|
+
declare const SelectItem: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
572
|
+
declare const SelectSeparator: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectSeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
573
|
+
|
|
574
|
+
declare const Command: React.ForwardRefExoticComponent<Omit<{
|
|
575
|
+
children?: React.ReactNode;
|
|
576
|
+
} & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
577
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
561
578
|
} & {
|
|
562
579
|
asChild?: boolean;
|
|
563
|
-
}, "key" | "asChild" | keyof React
|
|
580
|
+
}, "key" | "asChild" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
564
581
|
label?: string;
|
|
565
582
|
shouldFilter?: boolean;
|
|
566
583
|
filter?: (value: string, search: string, keywords?: string[]) => number;
|
|
@@ -570,65 +587,65 @@ declare const Command: React$1.ForwardRefExoticComponent<Omit<{
|
|
|
570
587
|
loop?: boolean;
|
|
571
588
|
disablePointerSelection?: boolean;
|
|
572
589
|
vimBindings?: boolean;
|
|
573
|
-
} & React
|
|
574
|
-
declare const CommandDialog: ({ children, ...props }: DialogProps) => React
|
|
575
|
-
declare const CommandInput: React
|
|
576
|
-
ref?: React
|
|
590
|
+
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
591
|
+
declare const CommandDialog: ({ children, ...props }: DialogProps) => React.JSX.Element;
|
|
592
|
+
declare const CommandInput: React.ForwardRefExoticComponent<Omit<Omit<Pick<Pick<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "key" | keyof React.InputHTMLAttributes<HTMLInputElement>> & {
|
|
593
|
+
ref?: React.Ref<HTMLInputElement>;
|
|
577
594
|
} & {
|
|
578
595
|
asChild?: boolean;
|
|
579
|
-
}, "key" | "asChild" | keyof React
|
|
596
|
+
}, "key" | "asChild" | keyof React.InputHTMLAttributes<HTMLInputElement>>, "type" | "value" | "onChange"> & {
|
|
580
597
|
value?: string;
|
|
581
598
|
onValueChange?: (search: string) => void;
|
|
582
|
-
} & React
|
|
583
|
-
declare const CommandList: React
|
|
584
|
-
children?: React
|
|
585
|
-
} & Pick<Pick<React
|
|
586
|
-
ref?: React
|
|
599
|
+
} & React.RefAttributes<HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
600
|
+
declare const CommandList: React.ForwardRefExoticComponent<Omit<{
|
|
601
|
+
children?: React.ReactNode;
|
|
602
|
+
} & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
603
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
587
604
|
} & {
|
|
588
605
|
asChild?: boolean;
|
|
589
|
-
}, "key" | "asChild" | keyof React
|
|
606
|
+
}, "key" | "asChild" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
590
607
|
label?: string;
|
|
591
|
-
} & React
|
|
592
|
-
declare const CommandEmpty: React
|
|
593
|
-
children?: React
|
|
594
|
-
} & Pick<Pick<React
|
|
595
|
-
ref?: React
|
|
608
|
+
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
609
|
+
declare const CommandEmpty: React.ForwardRefExoticComponent<Omit<{
|
|
610
|
+
children?: React.ReactNode;
|
|
611
|
+
} & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
612
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
596
613
|
} & {
|
|
597
614
|
asChild?: boolean;
|
|
598
|
-
}, "key" | "asChild" | keyof React
|
|
599
|
-
declare const CommandGroup: React
|
|
600
|
-
children?: React
|
|
601
|
-
} & Omit<Pick<Pick<React
|
|
602
|
-
ref?: React
|
|
615
|
+
}, "key" | "asChild" | keyof React.HTMLAttributes<HTMLDivElement>> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
616
|
+
declare const CommandGroup: React.ForwardRefExoticComponent<Omit<{
|
|
617
|
+
children?: React.ReactNode;
|
|
618
|
+
} & Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
619
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
603
620
|
} & {
|
|
604
621
|
asChild?: boolean;
|
|
605
|
-
}, "key" | "asChild" | keyof React
|
|
606
|
-
heading?: React
|
|
622
|
+
}, "key" | "asChild" | keyof React.HTMLAttributes<HTMLDivElement>>, "heading" | "value"> & {
|
|
623
|
+
heading?: React.ReactNode;
|
|
607
624
|
value?: string;
|
|
608
625
|
forceMount?: boolean;
|
|
609
|
-
} & React
|
|
610
|
-
declare const CommandSeparator: React
|
|
611
|
-
ref?: React
|
|
626
|
+
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
627
|
+
declare const CommandSeparator: React.ForwardRefExoticComponent<Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
628
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
612
629
|
} & {
|
|
613
630
|
asChild?: boolean;
|
|
614
|
-
}, "key" | "asChild" | keyof React
|
|
631
|
+
}, "key" | "asChild" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
615
632
|
alwaysRender?: boolean;
|
|
616
|
-
} & React
|
|
617
|
-
declare const CommandItem: React
|
|
618
|
-
children?: React
|
|
619
|
-
} & Omit<Pick<Pick<React
|
|
620
|
-
ref?: React
|
|
633
|
+
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
634
|
+
declare const CommandItem: React.ForwardRefExoticComponent<Omit<{
|
|
635
|
+
children?: React.ReactNode;
|
|
636
|
+
} & Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
637
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
621
638
|
} & {
|
|
622
639
|
asChild?: boolean;
|
|
623
|
-
}, "key" | "asChild" | keyof React
|
|
640
|
+
}, "key" | "asChild" | keyof React.HTMLAttributes<HTMLDivElement>>, "value" | "onSelect" | "disabled"> & {
|
|
624
641
|
disabled?: boolean;
|
|
625
642
|
onSelect?: (value: string) => void;
|
|
626
643
|
value?: string;
|
|
627
644
|
keywords?: string[];
|
|
628
645
|
forceMount?: boolean;
|
|
629
|
-
} & React
|
|
646
|
+
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
630
647
|
declare const CommandShortcut: {
|
|
631
|
-
({ className, ...props }: React
|
|
648
|
+
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>): React.JSX.Element;
|
|
632
649
|
displayName: string;
|
|
633
650
|
};
|
|
634
651
|
|
|
@@ -707,7 +724,7 @@ declare const MarkdownRenderer: React__default.MemoExoticComponent<typeof Markdo
|
|
|
707
724
|
* Default `false` means non-streaming usages (parsed documents, static answers,
|
|
708
725
|
* DM bubbles) get the full rendering with no behaviour change.
|
|
709
726
|
*/
|
|
710
|
-
declare const MarkdownStreamingContext: React
|
|
727
|
+
declare const MarkdownStreamingContext: React.Context<boolean>;
|
|
711
728
|
|
|
712
729
|
declare function splitMarkdownBlocks(content: string): string[];
|
|
713
730
|
|
|
@@ -757,7 +774,7 @@ declare function AiMarkdown({ children, className, isStreaming, allowHtml, }: {
|
|
|
757
774
|
isStreaming?: boolean;
|
|
758
775
|
/** See {@link MarkdownRenderer}: false keeps inline HTML as text. */
|
|
759
776
|
allowHtml?: boolean;
|
|
760
|
-
}): React
|
|
777
|
+
}): React.JSX.Element;
|
|
761
778
|
|
|
762
779
|
/**
|
|
763
780
|
* Brand-neutral presentational component overrides for react-markdown, shared by
|
|
@@ -874,7 +891,7 @@ declare const ArbiIcon: React__default.FC<ArbiIconProps>;
|
|
|
874
891
|
/** Thread visibility uses both shape and color across entity labels and grids. */
|
|
875
892
|
declare function ThreadVisibilityIcon({ shared, className, ...props }: LucideProps & {
|
|
876
893
|
shared: boolean;
|
|
877
|
-
}): React
|
|
894
|
+
}): React.JSX.Element;
|
|
878
895
|
|
|
879
896
|
/**
|
|
880
897
|
* EntityPill Component
|
|
@@ -1058,7 +1075,10 @@ declare function TagEntity({ tag, size, className, onClick, showTooltip, tooltip
|
|
|
1058
1075
|
* fast-refresh friendly.
|
|
1059
1076
|
*/
|
|
1060
1077
|
|
|
1061
|
-
/**
|
|
1078
|
+
/**
|
|
1079
|
+
* Human-readable tag type names. "Annotation" names the whole kind (every non-label field), so
|
|
1080
|
+
* each format is called by what it is: a checkbox tag is a label, a select one a choice.
|
|
1081
|
+
*/
|
|
1062
1082
|
declare const TAG_TYPE_LABELS: Record<string, string>;
|
|
1063
1083
|
/** Icon mapping for tag types. */
|
|
1064
1084
|
declare const TAG_TYPE_ICONS: Record<string, typeof StickyNote>;
|
|
@@ -1199,7 +1219,7 @@ interface UserEntityProps {
|
|
|
1199
1219
|
/** Render the empty "no user" avatar. */
|
|
1200
1220
|
empty?: boolean;
|
|
1201
1221
|
}
|
|
1202
|
-
declare const UserEntity: React__default.
|
|
1222
|
+
declare const UserEntity: React__default.MemoExoticComponent<({ size, variant, className, showTooltip, interactive, hasUnreadMessages, initials, displayName, picture, avatarImageClassName, colorClass, isAgent, isVerified, agentStyle, avatarStyle, isMe, displayStatus, onClick, tooltipContent, empty, }: UserEntityProps) => React__default.JSX.Element>;
|
|
1203
1223
|
|
|
1204
1224
|
interface VerifiedBadgeProps {
|
|
1205
1225
|
className?: string;
|
|
@@ -1207,7 +1227,7 @@ interface VerifiedBadgeProps {
|
|
|
1207
1227
|
label?: string;
|
|
1208
1228
|
}
|
|
1209
1229
|
/** The verified tick: the user passed an ID check under the name shown. */
|
|
1210
|
-
declare function VerifiedBadge({ className, label }: VerifiedBadgeProps): React
|
|
1230
|
+
declare function VerifiedBadge({ className, label }: VerifiedBadgeProps): React.JSX.Element;
|
|
1211
1231
|
|
|
1212
1232
|
/**
|
|
1213
1233
|
* "AGENT" stamp for an `agt-` peer.
|
|
@@ -1219,7 +1239,7 @@ declare function VerifiedBadge({ className, label }: VerifiedBadgeProps): React$
|
|
|
1219
1239
|
*/
|
|
1220
1240
|
declare function AgentBadge({ className }: {
|
|
1221
1241
|
className?: string;
|
|
1222
|
-
}): React
|
|
1242
|
+
}): React.JSX.Element;
|
|
1223
1243
|
/**
|
|
1224
1244
|
* Presence in words rather than a coloured dot alone.
|
|
1225
1245
|
*
|
|
@@ -1233,7 +1253,7 @@ declare function AgentBadge({ className }: {
|
|
|
1233
1253
|
declare function PresenceLabel({ status, className, }: {
|
|
1234
1254
|
status?: PresenceDisplayStatus;
|
|
1235
1255
|
className?: string;
|
|
1236
|
-
}): React
|
|
1256
|
+
}): React.JSX.Element | null;
|
|
1237
1257
|
|
|
1238
1258
|
/** A status variant is an opaque string — its valid values are defined by the
|
|
1239
1259
|
* injected Badge (or the default Badge's variants). */
|
|
@@ -1263,7 +1283,7 @@ interface StatusPillProps {
|
|
|
1263
1283
|
testId?: string;
|
|
1264
1284
|
}
|
|
1265
1285
|
/** A status chip whose look comes from the injected Badge + registered vocabulary. */
|
|
1266
|
-
declare function StatusPill({ status, label, variant, className, testId }: StatusPillProps): React
|
|
1286
|
+
declare function StatusPill({ status, label, variant, className, testId }: StatusPillProps): React.JSX.Element;
|
|
1267
1287
|
type Rag = 'red' | 'amber' | 'green';
|
|
1268
1288
|
/** Override the RAG label copy (defaults are seeded so consumers stay identical). */
|
|
1269
1289
|
declare function configureRagLabels(labels: Partial<Record<Rag, string>>): void;
|
|
@@ -1272,7 +1292,7 @@ declare function RagDot({ rag, withLabel, className, }: {
|
|
|
1272
1292
|
rag: Rag;
|
|
1273
1293
|
withLabel?: boolean;
|
|
1274
1294
|
className?: string;
|
|
1275
|
-
}): React
|
|
1295
|
+
}): React.JSX.Element;
|
|
1276
1296
|
|
|
1277
1297
|
/** An icon component usable in the registry (lucide icons + custom SVG wrappers). */
|
|
1278
1298
|
type EntityIconComponent = React__default.ComponentType<React__default.SVGAttributes<SVGElement> & {
|
|
@@ -1776,7 +1796,124 @@ interface UserMenuProps {
|
|
|
1776
1796
|
testId?: string;
|
|
1777
1797
|
logoutTestId?: string;
|
|
1778
1798
|
}
|
|
1779
|
-
declare function UserMenu({ user, status, items, onLogout, logoutLabel, align, side, variant, showChevron, classNames, testId, logoutTestId, }: UserMenuProps): React
|
|
1799
|
+
declare function UserMenu({ user, status, items, onLogout, logoutLabel, align, side, variant, showChevron, classNames, testId, logoutTestId, }: UserMenuProps): React.JSX.Element;
|
|
1800
|
+
|
|
1801
|
+
/**
|
|
1802
|
+
* A document's fields as the lists show them: the metadata the pipeline extracts (date, type,
|
|
1803
|
+
* author, abstract), whether it can join a conversation, and its folder path in canonical form
|
|
1804
|
+
* (the form folder filters and the explorer navigate by).
|
|
1805
|
+
*/
|
|
1806
|
+
/** What these read of a document (a workspace document has them all). */
|
|
1807
|
+
interface Doc {
|
|
1808
|
+
status?: string | null;
|
|
1809
|
+
doc_metadata?: {
|
|
1810
|
+
doc_date?: string | null;
|
|
1811
|
+
doc_nature?: string | null;
|
|
1812
|
+
doc_author?: string | null;
|
|
1813
|
+
doc_subject?: string | null;
|
|
1814
|
+
} | null;
|
|
1815
|
+
}
|
|
1816
|
+
/**
|
|
1817
|
+
* Whether a document can be added to a conversation. This is the single source
|
|
1818
|
+
* of truth shared by the add flow (`useAddToConversation`) and any UI that
|
|
1819
|
+
* counts/enables an "Add" affordance — so a badge never advertises a document
|
|
1820
|
+
* that the add flow will silently refuse (e.g. a 'skipped' document).
|
|
1821
|
+
*/
|
|
1822
|
+
declare const isDocumentAddableToConversation: (document: Doc | null | undefined) => boolean;
|
|
1823
|
+
/**
|
|
1824
|
+
* Gets the date of a document from doc_metadata.
|
|
1825
|
+
* @param document Document to get date from
|
|
1826
|
+
* @returns Document date string or undefined
|
|
1827
|
+
*/
|
|
1828
|
+
declare const getDocumentDate: (document: Doc | null | undefined) => string | null | undefined;
|
|
1829
|
+
/**
|
|
1830
|
+
* Format a doc_date for display. Date-only values ("YYYY-MM-DD") are shown as-is;
|
|
1831
|
+
* full datetimes (e.g. emails, "...T14:30:00Z") are shown as "YYYY-MM-DD HH:MM"
|
|
1832
|
+
* in local time. Invalid/empty values return an empty string.
|
|
1833
|
+
*/
|
|
1834
|
+
declare const formatDocDate: (value?: string | null) => string;
|
|
1835
|
+
/**
|
|
1836
|
+
* Gets the document nature (type) from doc_metadata.
|
|
1837
|
+
* @param document Document to get nature from
|
|
1838
|
+
* @returns Document nature (e.g., email, contract, memorandum) or undefined
|
|
1839
|
+
*/
|
|
1840
|
+
declare const getDocumentNature: (document: Doc | null | undefined) => string | null | undefined;
|
|
1841
|
+
/**
|
|
1842
|
+
* Gets the document author from doc_metadata.
|
|
1843
|
+
* @param document Document to get author from
|
|
1844
|
+
* @returns Document author or undefined
|
|
1845
|
+
*/
|
|
1846
|
+
declare const getDocumentAuthor: (document: Doc | null | undefined) => string | null | undefined;
|
|
1847
|
+
/**
|
|
1848
|
+
* Gets the document subject from doc_metadata.
|
|
1849
|
+
* @param document Document to get subject from
|
|
1850
|
+
* @returns Document subject or undefined
|
|
1851
|
+
*/
|
|
1852
|
+
declare const getDocumentSubject: (document: Doc | null | undefined) => string | null | undefined;
|
|
1853
|
+
/**
|
|
1854
|
+
* Default metadata tags that are automatically applied to all documents during indexing.
|
|
1855
|
+
* These are generated by AI during document processing and cannot be disabled.
|
|
1856
|
+
* Keep in sync with backend DocTagLLMConfig.DEFAULT_METADATA_TAGS
|
|
1857
|
+
*/
|
|
1858
|
+
declare const DEFAULT_METADATA_TAGS: readonly [{
|
|
1859
|
+
readonly name: "doc_date";
|
|
1860
|
+
readonly label: "Date";
|
|
1861
|
+
}, {
|
|
1862
|
+
readonly name: "doc_nature";
|
|
1863
|
+
readonly label: "Type";
|
|
1864
|
+
}, {
|
|
1865
|
+
readonly name: "doc_author";
|
|
1866
|
+
readonly label: "Author";
|
|
1867
|
+
}, {
|
|
1868
|
+
readonly name: "doc_subject";
|
|
1869
|
+
readonly label: "Abstract";
|
|
1870
|
+
}];
|
|
1871
|
+
/**
|
|
1872
|
+
* Canonicalizes a `Doc.folder` path: trims each segment and drops empty ones,
|
|
1873
|
+
* returning null for a blank path. Drive-synced folders use provider names
|
|
1874
|
+
* verbatim, which can carry stray whitespace ("Google Drive (u)/Reports ");
|
|
1875
|
+
* the explorer navigates via trimmed segments, so folder filter IDs and
|
|
1876
|
+
* navigation keys must agree on this canonical form.
|
|
1877
|
+
*/
|
|
1878
|
+
declare const canonicalFolderPath: (folder: string | null | undefined) => string | null;
|
|
1879
|
+
/** One row of a folder picker: the folder itself plus every ancestor above it. */
|
|
1880
|
+
interface FolderTreeNode {
|
|
1881
|
+
/** Canonical path — the same form folder filter IDs are built from. */
|
|
1882
|
+
path: string;
|
|
1883
|
+
/** Last segment, for display. */
|
|
1884
|
+
label: string;
|
|
1885
|
+
/** How far down the tree, for indentation. */
|
|
1886
|
+
depth: number;
|
|
1887
|
+
/** Documents at or below this folder. */
|
|
1888
|
+
count: number;
|
|
1889
|
+
}
|
|
1890
|
+
/**
|
|
1891
|
+
* Builds the folder rows a picker shows, from the documents themselves.
|
|
1892
|
+
*
|
|
1893
|
+
* Every path here is canonical, and that is the point: a folder filter ID is
|
|
1894
|
+
* `folder:${canonicalFolderPath(doc.folder)}`, and an ID outside that set is
|
|
1895
|
+
* dropped as invalid — so a picker that emitted the raw path (" Reports / Q1 ",
|
|
1896
|
+
* or "/Inbox" with its phantom blank root) would send the view back to "All"
|
|
1897
|
+
* instead of into the folder the user clicked.
|
|
1898
|
+
*/
|
|
1899
|
+
declare const buildFolderTree: (docs: {
|
|
1900
|
+
folder?: string | null;
|
|
1901
|
+
}[]) => {
|
|
1902
|
+
nodes: FolderTreeNode[];
|
|
1903
|
+
unfiledCount: number;
|
|
1904
|
+
};
|
|
1905
|
+
/**
|
|
1906
|
+
* Formats a folder path for display: "Reports/Q1/January" → "../../January"
|
|
1907
|
+
* Shows depth via `../` prefixes and only the last segment name.
|
|
1908
|
+
* @param path Folder path string (slash-separated)
|
|
1909
|
+
* @returns Formatted display label
|
|
1910
|
+
*/
|
|
1911
|
+
declare const formatFolderLabel: (path: string | null | undefined) => string;
|
|
1912
|
+
/**
|
|
1913
|
+
* Fallback labels for standard document columns when grid isn't ready yet.
|
|
1914
|
+
* These match the headerName values in createDocumentColumns.tsx.
|
|
1915
|
+
*/
|
|
1916
|
+
declare const COLUMN_LABEL_FALLBACKS: Record<string, string>;
|
|
1780
1917
|
|
|
1781
1918
|
/**
|
|
1782
1919
|
* DocumentCard — the canonical document thumbnail tile.
|
|
@@ -1787,7 +1924,7 @@ declare function UserMenu({ user, status, items, onLogout, logoutLabel, align, s
|
|
|
1787
1924
|
* than a thumbnail box with a separate meta strip beneath.
|
|
1788
1925
|
*
|
|
1789
1926
|
* Presentational only — it takes a thumbnail, a status and callbacks, and knows
|
|
1790
|
-
* nothing about how documents are fetched.
|
|
1927
|
+
* nothing about how documents are fetched.
|
|
1791
1928
|
*/
|
|
1792
1929
|
|
|
1793
1930
|
interface DocumentCardProps {
|
|
@@ -1874,4 +2011,4 @@ declare function createUserAvatarIcon(user: {
|
|
|
1874
2011
|
|
|
1875
2012
|
declare function cn(...inputs: ClassValue[]): string;
|
|
1876
2013
|
|
|
1877
|
-
export {
|
|
2014
|
+
export { DropdownMenuCheckboxItem as $, AgentBadge as A, BASE_COLORS as B, COLUMN_LABEL_FALLBACKS as C, CommandList as D, CommandSeparator as E, CommandShortcut as F, DEFAULT_METADATA_TAGS as G, DebouncedInput as H, type DebouncedInputProps as I, Dialog as J, DialogClose as K, DialogContent as L, DialogDescription as M, DialogFooter as N, DialogHeader as O, DialogOverlay as P, DialogPortal as Q, type DialogPresentation as R, DialogTitle as S, DialogTrigger as T, type DictateContextValue as U, DocumentCard as V, type DocumentCardProps as W, DocumentEntity as X, type DocumentEntityProps as Y, type DocumentLike as Z, DropdownMenu as _, AiMarkdown as a, RagDot as a$, DropdownMenuContent as a0, DropdownMenuGroup as a1, DropdownMenuItem as a2, DropdownMenuLabel as a3, DropdownMenuPortal as a4, DropdownMenuRadioGroup as a5, DropdownMenuRadioItem as a6, DropdownMenuSeparator as a7, DropdownMenuShortcut as a8, DropdownMenuSub as a9, MarkMenu as aA, type MarkMenuItem as aB, type MarkMenuProps as aC, MarkdownCode as aD, MarkdownLink as aE, MarkdownRenderer as aF, type MarkdownRendererProps as aG, MarkdownStreamingContext as aH, NEUTRAL_GRAY as aI, PLACEHOLDER_COLOR as aJ, PassageCard as aK, type PassageCardProps as aL, Popover as aM, PopoverAnchor as aN, PopoverClose as aO, PopoverContent as aP, PopoverTrigger as aQ, PortalContainerProvider as aR, type PresenceDisplayStatus as aS, PresenceLabel as aT, Progress as aU, ProjectEntity as aV, type ProjectEntityProps as aW, type ProjectRelation as aX, RadioGroup as aY, RadioGroupItem as aZ, type Rag as a_, DropdownMenuSubContent as aa, DropdownMenuSubTrigger as ab, DropdownMenuTrigger as ac, ENTITY_MAPPINGS as ad, EntityIcon as ae, type EntityIconComponent as af, EntityPill as ag, type EntityRegistryOverride as ah, type EntityType as ai, type FileTypeIcon as aj, type FolderTreeNode as ak, HoverCard as al, HoverCardContent as am, HoverCardTrigger as an, IconToggle as ao, type IconToggleProps as ap, type IdentityBusy as aq, type IdentityProblem as ar, type IdentityPurchase as as, type IdentityState as at, type IdentityStatus as au, type IdentityStep as av, type IdentityVerificationFlow as aw, Input as ax, type InputProps as ay, Label as az, ArbiIcon as b, agentAvatarColors as b$, RelevanceDot as b0, ScrollArea as b1, ScrollBar as b2, Select as b3, SelectContent as b4, SelectGroup as b5, SelectItem as b6, SelectLabel as b7, SelectScrollDownButton as b8, SelectScrollUpButton as b9, TabsTrigger as bA, TagEntity as bB, type TagEntityProps as bC, type TagLike as bD, Textarea as bE, type TextareaProps as bF, ThreadVisibilityIcon as bG, Toggle as bH, ToggleGroup as bI, ToggleGroupItem as bJ, Tooltip as bK, TooltipContent as bL, TooltipProvider as bM, TooltipTrigger as bN, UserEntity as bO, type UserEntityProps as bP, UserMenu as bQ, type UserMenuItem as bR, type UserMenuProps as bS, type UserMenuStatus as bT, VISIBILITY_ICONS as bU, VerifiedBadge as bV, type VerifiedBadgeProps as bW, VerifiedToggle as bX, VisibilityIcon as bY, VisibilityToggle as bZ, type VisibilityToggleProps as b_, SelectSeparator as ba, SelectTrigger as bb, SelectValue as bc, Separator as bd, ShieldIcon as be, type ShieldIconProps as bf, Slider as bg, type StatusBadgeComponent as bh, type StatusBadgeProps as bi, StatusPill as bj, type StatusPillProps as bk, type StatusVariant as bl, Switch as bm, TAG_TYPE_ICONS as bn, TAG_TYPE_LABELS as bo, Table as bp, TableBody as bq, TableCaption as br, TableCell as bs, TableFooter as bt, TableHead as bu, TableHeader as bv, TableRow as bw, Tabs as bx, TabsContent as by, TabsList as bz, Avatar as c, badgeVariants as c0, buildFolderTree as c1, buttonVariants as c2, canonicalFolderPath as c3, cardVariants as c4, closeOpenEmphasis as c5, cn as c6, configureEntityRegistry as c7, configureRagLabels as c8, configureStatusRegistry as c9, isAudioFile as cA, isDocumentAddableToConversation as cB, isDownloadOnlyFile as cC, isImageDocument as cD, isImageFile as cE, isMediaFile as cF, isVideoFile as cG, markdownBaseComponents as cH, markdownSanitizeSchema as cI, markdownToPlainText as cJ, markdownToPlainTextBlocks as cK, normalizeCitationMarkup as cL, splitMarkdownBlocks as cM, tagKindNouns as cN, tagKindTitle as cO, toggleVariants as cP, trimOpenCitation as cQ, useDictateContext as cR, usePortalContainer as cS, usesOriginalBytesForViewer as cT, createUserAvatarIcon as ca, extensionFromMime as cb, formatDocDate as cc, formatFolderLabel as cd, formatFriendlyDate as ce, friendlyFileType as cf, getDocIcon as cg, getDocumentAuthor as ch, getDocumentDate as ci, getDocumentNature as cj, getDocumentSubject as ck, getDocumentTitle as cl, getEntityColor as cm, getEntityColorStyles as cn, getEntityIcon as co, getEntityLabel as cp, getFileExtension as cq, getFileTypeIcon as cr, getStatusVariant as cs, getTagTypeIcon as ct, getTagTypeLabel as cu, getUserAvatarColor as cv, getUserDisplayName as cw, getUserInitials as cx, getWorkspaceColor as cy, isAgent as cz, AvatarFallback as d, AvatarImage as e, Badge as f, type BadgeProps as g, Button as h, type ButtonProps as i, Card as j, CardContent as k, CardDescription as l, CardFooter as m, CardHeader as n, type CardProps as o, CardTitle as p, Checkbox as q, Collapsible as r, CollapsibleContent as s, CollapsibleTrigger as t, Command as u, CommandDialog as v, CommandEmpty as w, CommandGroup as x, CommandInput as y, CommandItem as z };
|