@flytedan/flytebot-design-system 0.71.6 → 0.72.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/index.cjs +1607 -1565
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +65 -34
- package/dist/index.d.ts +65 -34
- package/dist/index.js +1606 -1565
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/styles/components.css +17 -5
package/dist/index.d.cts
CHANGED
|
@@ -363,10 +363,15 @@ interface DrawerProps {
|
|
|
363
363
|
onClose?: () => void;
|
|
364
364
|
/** Plain content, or a render function receiving `close` — call it to trigger the closing animation before onClose fires. */
|
|
365
365
|
footer?: React.ReactNode | ((close: () => void) => React.ReactNode);
|
|
366
|
-
|
|
366
|
+
/** The drawer's content owns the whole panel: no header bar and no body padding, and the panel is the
|
|
367
|
+
* full viewport height. For content that already has its own header and close control (a chat panel).
|
|
368
|
+
* `title` is then only the dialog's accessible name; Escape, scrim click and focus handling are unchanged. */
|
|
369
|
+
bare?: boolean;
|
|
370
|
+
/** Plain content, or (like `footer`) a render function receiving `close`. */
|
|
371
|
+
children?: React.ReactNode | ((close: () => void) => React.ReactNode);
|
|
367
372
|
className?: string;
|
|
368
373
|
}
|
|
369
|
-
declare function Drawer({ open, title, onClose, footer, children, className, ...rest }: DrawerProps): React.ReactPortal | null;
|
|
374
|
+
declare function Drawer({ open, title, onClose, footer, bare, children, className, ...rest }: DrawerProps): React.ReactPortal | null;
|
|
370
375
|
|
|
371
376
|
/** A focused decision on a scrim. Max 560px, 760 with `wide` for data. Escape closes.
|
|
372
377
|
* MP-212/MP-248: a trapping layer in the shared layer stack (kits/layerStack.tsx):
|
|
@@ -551,6 +556,27 @@ interface ProgressBarProps {
|
|
|
551
556
|
}
|
|
552
557
|
declare function ProgressBar({ value, label, showValue, className, ...rest }: ProgressBarProps): React.JSX.Element;
|
|
553
558
|
|
|
559
|
+
/**
|
|
560
|
+
* A skeleton exactly as large as the content it stands in for. `children` is that content's own
|
|
561
|
+
* layout (or its fullest case), really laid out so the box takes its size at every width, yet
|
|
562
|
+
* never seen, focused, clicked or read out: it is `visibility: hidden`, `inert` and
|
|
563
|
+
* `aria-hidden`. A skeleton block covers it edge to edge, so the region holds its final space
|
|
564
|
+
* from the first paint and nothing below it moves when the real content replaces it.
|
|
565
|
+
*
|
|
566
|
+
* Like Skeleton it announces nothing: pair it with a LoadingRegion (or another role="status"
|
|
567
|
+
* wrapper) so the busy state still reaches a screen reader. The sheen, reduced-motion pulse and
|
|
568
|
+
* both themes are the skeleton block's own.
|
|
569
|
+
*/
|
|
570
|
+
interface ReservedSkeletonProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "children"> {
|
|
571
|
+
/** The content to reserve space for. Rendered, but never shown or reachable. */
|
|
572
|
+
children: React.ReactNode;
|
|
573
|
+
/** The skeleton block's shape, as on Skeleton. */
|
|
574
|
+
shape?: "block" | "card";
|
|
575
|
+
/** Override the shape's default border radius. */
|
|
576
|
+
radius?: string;
|
|
577
|
+
}
|
|
578
|
+
declare function ReservedSkeleton({ children, shape, radius, className, ...rest }: ReservedSkeletonProps): React.JSX.Element;
|
|
579
|
+
|
|
554
580
|
/**
|
|
555
581
|
* The shape data will occupy, shown before the first payload lands.
|
|
556
582
|
* Skeletons mirror the real layout so nothing shifts on arrival.
|
|
@@ -1490,6 +1516,13 @@ interface FilterBarProps extends Omit<React.HTMLAttributes<HTMLSpanElement>, "on
|
|
|
1490
1516
|
* default. With every field applied there is nothing left to add, so the button, which
|
|
1491
1517
|
* normally goes away then, stays disabled while it carries a count. */
|
|
1492
1518
|
showActiveCount?: boolean;
|
|
1519
|
+
/** True while the field options are still arriving (`fields` has nothing in it yet). The bar holds
|
|
1520
|
+
* its whole layout instead of collapsing and then growing: the Filter button's place is reserved
|
|
1521
|
+
* by a skeleton exactly the button's size, the chips area keeps its height, and `actions` stay
|
|
1522
|
+
* live where they are. Announced as busy; no filter can be opened or edited until it is false. */
|
|
1523
|
+
loading?: boolean;
|
|
1524
|
+
/** What a screen reader hears while `loading`. */
|
|
1525
|
+
loadingLabel?: string;
|
|
1493
1526
|
className?: string;
|
|
1494
1527
|
}
|
|
1495
1528
|
type FilterValidation = {
|
|
@@ -1514,35 +1547,7 @@ type FilterValidation = {
|
|
|
1514
1547
|
* min/max, and a whole number when `field.integer` is set; min ≤ max when both are set.
|
|
1515
1548
|
*/
|
|
1516
1549
|
declare function validateFilterValue(field: FilterField, value: unknown): FilterValidation;
|
|
1517
|
-
|
|
1518
|
-
* FilterBar — the declarative filter system for a server-driven list.
|
|
1519
|
-
*
|
|
1520
|
-
* A consumer declares fields once (`{ key, label, type, ... }`) and hands this a live
|
|
1521
|
-
* `filters` record plus onFilterChange/onFilterRemove — the same three things
|
|
1522
|
-
* useServerTable already exposes, so wiring one up is copy-paste, not glue code. Every
|
|
1523
|
-
* active filter renders as a Tag chip; this component holds no shadow copy of filter
|
|
1524
|
-
* values, only the transient "which field's popover/input is open right now" UI state
|
|
1525
|
-
* (`panel`), the same way SortMenu holds `open` but never sort state itself.
|
|
1526
|
-
*
|
|
1527
|
-
* It is a standard controlled component. `filters` is the single source of truth, and
|
|
1528
|
-
* the host applies onFilterChange/onFilterRemove to it synchronously (never inside
|
|
1529
|
-
* `startTransition`, never after a timeout), deferring only the expensive query that the
|
|
1530
|
-
* filters drive, with a debounce or useDeferredValue.
|
|
1531
|
-
*
|
|
1532
|
-
* Every floating surface — a field's edit panel and the "add filter" menu — is a real
|
|
1533
|
-
* Popover (or Menu-in-a-Popover) from this kit's own actions module: viewport clamping,
|
|
1534
|
-
* nested-layer handling, Escape, and focus-return-to-the-chip all come from there, so
|
|
1535
|
-
* FilterBar itself runs no document-level dismissal listener of its own. Only the text
|
|
1536
|
-
* field's inline input manages its own dismissal (blur/Enter/Escape), since it isn't a
|
|
1537
|
-
* floating panel at all.
|
|
1538
|
-
*
|
|
1539
|
-
* FilterBar supports five field kinds: text, select, multiSelect (searchable, sync or
|
|
1540
|
-
* async, with an optional paste-a-list mode for the same value), range (numeric min/max),
|
|
1541
|
-
* and date ("within the last N days" or "between two dates"). text and select keep a bare
|
|
1542
|
-
* string value; multiSelect/range/date each read/write a small typed object of their own
|
|
1543
|
-
* (see FilterValue).
|
|
1544
|
-
*/
|
|
1545
|
-
declare function FilterBar({ fields, filters, onFilterChange, onFilterRemove, align, actions, onClearAll, showActiveCount, className, ...rest }: FilterBarProps): React.JSX.Element;
|
|
1550
|
+
declare function FilterBar({ fields, filters, onFilterChange, onFilterRemove, align, actions, onClearAll, showActiveCount, loading, loadingLabel, className, ...rest }: FilterBarProps): React.JSX.Element;
|
|
1546
1551
|
|
|
1547
1552
|
/**
|
|
1548
1553
|
* MP-310 — a set of `StatTile`s that wraps only into even rows. `columns` is how many tiles the
|
|
@@ -2017,12 +2022,18 @@ interface StepListProps {
|
|
|
2017
2022
|
showDurations?: boolean;
|
|
2018
2023
|
dense?: boolean;
|
|
2019
2024
|
className?: string;
|
|
2025
|
+
/**
|
|
2026
|
+
* The work these steps belong to is not finished (a turn still waiting on background work). The head then
|
|
2027
|
+
* reads as a neutral "Steps so far" disclosure, never the green "Worked for …" completion check, so a
|
|
2028
|
+
* person never sees finished and working at once. A running step still shows its own spinner.
|
|
2029
|
+
*/
|
|
2030
|
+
active?: boolean;
|
|
2020
2031
|
}
|
|
2021
2032
|
/**
|
|
2022
2033
|
* A flat, collapsible list of work steps — one row per step, never one card per
|
|
2023
2034
|
* call. A long run stays readable: it is a list, not a stack.
|
|
2024
2035
|
*/
|
|
2025
|
-
declare function StepList({ steps, label, defaultOpen, open: openProp, onToggle, showDurations, dense, className, }: StepListProps): React.JSX.Element | null;
|
|
2036
|
+
declare function StepList({ steps, label, defaultOpen, open: openProp, onToggle, showDurations, dense, className, active, }: StepListProps): React.JSX.Element | null;
|
|
2026
2037
|
|
|
2027
2038
|
/** Number of rows kept mounted above and below the visible band. Two buffers this size
|
|
2028
2039
|
* (one per edge) plus the visible band itself is what keeps the mounted node count
|
|
@@ -4143,6 +4154,18 @@ interface ChatMessage {
|
|
|
4143
4154
|
model?: string;
|
|
4144
4155
|
usage?: unknown;
|
|
4145
4156
|
resumed?: boolean;
|
|
4157
|
+
/**
|
|
4158
|
+
* This message is a background task that is still in progress (a queued or running query's card). Set by the
|
|
4159
|
+
* adapter. `working` keeps meaning only "the turn is in flight"; a pending message shows no working row of
|
|
4160
|
+
* its own. A task-pending message is what a working turn waits on (see `waitingFor`).
|
|
4161
|
+
*/
|
|
4162
|
+
taskPending?: boolean;
|
|
4163
|
+
/**
|
|
4164
|
+
* What a still-working turn is waiting on, in words ("Running 2 queries"): set by the engine, never the
|
|
4165
|
+
* adapter, on the working turn whenever messages of the thread are `taskPending`. The working indicator then
|
|
4166
|
+
* shows this in place of "Working" as the turn's one state. Never an id.
|
|
4167
|
+
*/
|
|
4168
|
+
waitingFor?: string;
|
|
4146
4169
|
metadata?: {
|
|
4147
4170
|
type?: string;
|
|
4148
4171
|
[k: string]: unknown;
|
|
@@ -4200,6 +4223,12 @@ interface ChatEngineOptions {
|
|
|
4200
4223
|
* is always authoritative: a terminal status seen at any time wins over this.
|
|
4201
4224
|
*/
|
|
4202
4225
|
pendingTimeoutMs?: number;
|
|
4226
|
+
/**
|
|
4227
|
+
* Words for the background work a working turn is waiting on: called with the thread's `taskPending` messages
|
|
4228
|
+
* (a running query's card), whenever there is at least one. Default "Waiting on N background
|
|
4229
|
+
* task(s)". Return the app's own phrasing, e.g. "Running 2 queries".
|
|
4230
|
+
*/
|
|
4231
|
+
describeWaiting?: (pending: ChatMessage[]) => string;
|
|
4203
4232
|
store?: {
|
|
4204
4233
|
get(k: string): string | null;
|
|
4205
4234
|
set(k: string, v: string): void;
|
|
@@ -4358,6 +4387,8 @@ interface AgentChatPanelProps {
|
|
|
4358
4387
|
onApplyPacket?: (p: Packet) => void;
|
|
4359
4388
|
/** Give-up time for a queued/running turn, in ms. Default 180000. The server's terminal job status always wins. */
|
|
4360
4389
|
pendingTimeoutMs?: number;
|
|
4390
|
+
/** Words for the background work a live turn waits on, given the still-working cards ("Running 2 queries"). */
|
|
4391
|
+
describeWaiting?: (pending: ChatMessage[]) => string;
|
|
4361
4392
|
onOpenAttachment?: (a: Attachment) => void;
|
|
4362
4393
|
/** Map a backend error code to human copy. */
|
|
4363
4394
|
errorCopy?: (code: string) => React.ReactNode;
|
|
@@ -4418,7 +4449,7 @@ interface AgentChatPanelProps {
|
|
|
4418
4449
|
* renders only when its input is supplied. A panel with no telemetry shows no
|
|
4419
4450
|
* telemetry, not zeroes.
|
|
4420
4451
|
*/
|
|
4421
|
-
declare function AgentChatPanel({ contextType, contextId, apiAdapter, threadId, title, subtitle, showHeader, headerActions, onClose, assistantName, userName, assistantAvatar, userAvatar, assistantIcon, showAvatars, markdown, maxVisibleChars, messageActions, showSteps, showThinking, emptyTitle, emptyDescription, emptyIcon, suggestions, renderEmpty, packetSchemas, packetRenderers, onApplyPacket, pendingTimeoutMs, onOpenAttachment, errorCopy, placeholder, maxLength, hint, fileUploadHandler, acceptFiles, maxFileSize, largePasteThreshold, slashCommands, mentionSources, voiceHandler, initialMessage, contextUsage, sessionStats, usageLimits, models, model, onModelChange, effortLevels, effort, onEffortChange, fastMode, onFastModeChange, moreModels, threads, onSelectThread, onNewThread, onDeleteThread, surface, width, minWidth, maxWidth, resizable, height, className, style, onPacket, onThreadReady, onError, onSend, onClear, onFeedback, onEditMessage, }: AgentChatPanelProps): React.JSX.Element;
|
|
4452
|
+
declare function AgentChatPanel({ contextType, contextId, apiAdapter, threadId, title, subtitle, showHeader, headerActions, onClose, assistantName, userName, assistantAvatar, userAvatar, assistantIcon, showAvatars, markdown, maxVisibleChars, messageActions, showSteps, showThinking, emptyTitle, emptyDescription, emptyIcon, suggestions, renderEmpty, packetSchemas, packetRenderers, onApplyPacket, pendingTimeoutMs, describeWaiting, onOpenAttachment, errorCopy, placeholder, maxLength, hint, fileUploadHandler, acceptFiles, maxFileSize, largePasteThreshold, slashCommands, mentionSources, voiceHandler, initialMessage, contextUsage, sessionStats, usageLimits, models, model, onModelChange, effortLevels, effort, onEffortChange, fastMode, onFastModeChange, moreModels, threads, onSelectThread, onNewThread, onDeleteThread, surface, width, minWidth, maxWidth, resizable, height, className, style, onPacket, onThreadReady, onError, onSend, onClear, onFeedback, onEditMessage, }: AgentChatPanelProps): React.JSX.Element;
|
|
4422
4453
|
|
|
4423
4454
|
/**
|
|
4424
4455
|
* Staged files, the queue strip, the markdown editor, slash/mention triggers, send + stop.
|
|
@@ -5489,4 +5520,4 @@ declare function CornerStackPortal({ slot, children }: {
|
|
|
5489
5520
|
children?: React.ReactNode;
|
|
5490
5521
|
}): React.ReactPortal | null;
|
|
5491
5522
|
|
|
5492
|
-
export { AccountMenu, type AccountMenuLink, type AccountMenuProps, AgentChatPanel, type AgentChatPanelProps, AnchoredPopover, type AnchoredPopoverProps, AnimNum, type AnimNumProps, ApiSpecBrowser, type ApiSpecBrowserProps, type AppEntry, AppShell, type AppShellProps, AppSwitcher, type AppSwitcherProps, AppearanceMenu, type AppearanceMenuProps, type AppearancePrefs, AppearanceProvider, type AppearanceProviderProps, type AppearanceStore, type AppearanceStoreOptions, type Attachment, Avatar, type AvatarProps, AvatarStack, type AvatarStackProps, Badge, type BadgeProps, Banner, type BannerProps, type BannerTone, BarList, type BarListProps, type BarListRow, BudgetReallocator, type BudgetReallocatorProps, Button, type ButtonProps, CHANNELS, CHANNEL_WEIGHTS, CHAT_UNAVAILABLE, COPIED_FEEDBACK_MS, CORNER_STACK_INSET_PROPERTY, Calendar, type CalendarProps, Card, CardGrid, type CardGridProps, type CardProps, CardRow, type CardRowProps, ChannelContribution, type ChannelContributionChannel, type ChannelContributionProps, ChannelMeta, type ChannelMetaRecord, ChannelTag, type ChannelTagProps, ChannelWeightOf, type ChatAdapter, ChatComposer, type ChatComposerProps, type ChatEngine, type ChatEngineOptions, ChatKit, type ChatMessage, type ChatRenderContext, ChatSessionBar, type ChatSessionBarProps, ChatTranscript, type ChatTranscriptProps, ChatTurn, type ChatTurnProps, Checkbox, type CheckboxProps, type Citation, Citations, type CitationsProps, Clamp, type ClampProps, ClockFace, type ClockFaceProps, CodeBlock, type CodeBlockProps, CodeEditor, type CodeEditorDiagnostic, type CodeEditorProps, Collapsible, type CollapsibleProps, ComingSoon, type ComingSoonProps, type ContextUsage, CornerStackPortal, type CornerStackSlot, type CreateVersionStoreOptions, CsiBadge, type CsiBadgeProps, CsiHero, type CsiHeroProps, CsiMeter, type CsiMeterProps, DEFAULT_PREFS, DEFAULT_STORAGE_KEY, DEFAULT_TOAST_DURATION_MS, DataTable, type DataTableColumn, type DataTableColumnLabel, type DataTablePhoneRole, type DataTableProps, type DataTableRowAction, DatePicker, type DatePickerProps, type DemoSessionControls, DemoSessionProvider, type DeviceSession, DiffBlock, type DiffBlockProps, DonutChart, type DonutChartProps, type DonutSegment, Drawer, type DrawerProps, Dropzone, DropzoneKit, type DropzoneProps, ENTITY_ROW_METRIC_WIDTH, type EditorTrigger, EmptyState, type EmptyStateProps, type EndpointSpec, EntityRow, type EntityRowAction, type EntityRowContent, type EntityRowMetric, EntityRowMetrics, type EntityRowMetricsProps, type EntityRowProps, FILE_VIEWER_CSV_ROW_LIMIT, FILE_VIEWER_TEXT_LIMIT, type Fact, FactList, type FactListProps, FeatureGate, type FeatureGateProps, type FeatureStatus, Fieldset, type FieldsetProps, FileBrowser, type FileBrowserFile, type FileBrowserFolder, type FileBrowserPermissions, type FileBrowserProps, FileChip, type FileChipProps, FileGrid, type FileGridProps, FileKit, FilePickButton, type FilePickButtonProps, type FileRejection, FileStrip, type FileStripProps, FileTile, type FileTileProps, type FileUploadHandler, FileViewer, type FileViewerProps, FilterBar, type FilterBarProps, type FilterDateValue, type FilterField, type FilterFieldDate, type FilterFieldFixed, type FilterFieldMultiSelect, type FilterFieldOption, type FilterFieldRange, type FilterFieldSelect, type FilterFieldText, type FilterMultiSelectValue, type FilterOperator, type FilterRangeValue, type FilterResolveMatch, type FilterResolveResult, type FilterValidation, type FilterValue, Flag$1 as Flag, type FlagExplanation, type FlagProps, FlytedeskBrand, type FlytedeskBrandProps, FlytedeskMark, type FlytedeskMarkProps, FormatEta, FunnelChart, type FunnelChartProps, type FunnelStep, Gate, GatePending, type GatePendingProps, type GateProps, IMPORTANCE_LEVELS, IconButton, type IconButtonProps, type ImportanceLevel, type ImportanceLevelId, ImportanceTag, type ImportanceTagProps, type ImportanceTokens, Input, type InputProps, type Job, type JobAction, type JobCardStatus, type JobStatus, JobTray, type JobTrayProps, Json, KeyHint, type KeyHintProps, type KeysetEnvelope, type KeysetServerTable, LAYER_STEP, type ListEnvelope, LoadingRegion, type LoadingRegionProps, Markdown, MarkdownEditor, type MarkdownEditorHandle, type MarkdownEditorProps, MarkdownInline, type MarkdownProps, type MarkdownSize, type MarkdownTone, type MentionSource, Menu, MenuButton, type MenuButtonProps, type MenuItem, type MenuProps, MessageBody, type MessageBodyProps, type MessageGroup, Meter, type MeterProps, type MeterSegment, type MeterSegmentInput, MixGap, type MixGapProps, type MixGapRow, MockJobKit, type MockJobStatus, Modal, type ModalProps, ModeSwitch, type ModeSwitchProps, type Model, ModelControls, type ModelControlsProps, NumberInput, type NumberInputProps, OVERLAY_CEILING, POPOVER_BODY_MIN, type Packet, PacketCard, type PacketCardProps, type PacketSchema, type Pager, Pagination, type PaginationProps, PermissionDenied, type PermissionDeniedProps, type PermissionGroup, PermissionHint, type PermissionItem, type Phase, type PhaseStatus, PhasedProgress, type PhasedProgressProps, type Placement, type PollOptions, Popover, type PopoverProps, type PreferenceCriterion, PreferenceMeter, type PreferenceMeterProps, type ProfileFieldDef, type ProfileFieldType, type ProfileNotificationDef, ProfilePage, type ProfilePageProps, ProgressBar, type ProgressBarProps, QueryKit, type QueryPaging, type QueryUrlAdapter, type QueryUrlOptions, type QueuedTurn, QuotaRow, type QuotaRowProps, ROOT_STEP, Radio, RadioGroup, type RadioGroupOption, type RadioGroupProps, type RadioProps, RangeSlider, type RangeSliderProps, RelativeTime, type RelativeTimeProps, type RoadmapItem, type RoadmapResult, RoadmapTimeline, type RoadmapTimelineProps, type Role, RunActions, type RunActionsProps, type RunConfig, RuntimeKit, type RuntimeSummary, SaturationDistribution, type SaturationDistributionCampus, type SaturationDistributionProps, ScoreMeter, type ScoreMeterProps, ScreenHead, type ScreenHeadProps, SearchField, type SearchFieldProps, SegmentedControl, type SegmentedControlProps, SegmentedMeter, type SegmentedMeterProps, Select, type SelectOption, type SelectProps, type SendMessageResult, type ServerTable, type ServerTableBase, type Session, type SessionContextValue, type Flag as SessionFlag, SessionKit, SessionProvider, type SessionProviderProps, type SessionRole, SessionScreen, type SessionScreenKind, type SessionScreenProps, type SessionStats, type SessionUser, SidebarNav, type SidebarNavItem, type SidebarNavProps, Skeleton, type SkeletonProps, SkeletonText, type SkeletonTextProps, type SlashCommand, Slider, type SliderProps, type SortDirection, type SortEntry, SortMenu, type SortMenuField, type SortMenuProps, type SpecModule, Spinner, type SpinnerProps, type StackedLayer, type StackedLayerOptions, StackedLayerProvider, StatGrid, type StatGridProps, StatTile, type StatTileProps, type Step, StepList, type StepListProps, type StreamHandlers, type Suggestion, SurroundSound, type SurroundSoundProps, Switch, type SwitchProps, type TabItem, type TableQuery, Tabs, type TabsProps, Tag, type TagProps, TestModeBar, type TestModeBarProps, type TextScale, Textarea, type TextareaProps, type ThemeMode, ThinkingBlock, type ThinkingBlockProps, type ThreadSummary, TimePicker, type TimePickerProps, Toast, type ToastApi, type ToastOptions, type ToastProps, ToastProvider, Tooltip, type TooltipApi, type TooltipBinding, type TooltipPlacement, type TooltipProps, Topbar, type TopbarProps, TranscriptKit, TransferList, type TransferListProps, type TransferListSide, type TransferListSideProps, TrendChart, type TrendChartProps, type TrendSeries, USChoropleth, type USChoroplethProps, type StateFigure as USChoroplethState, type ChoroplethValue as USChoroplethValue, US_STATE_CODES, type UsageLimit, UseFeatureStatus, type UseKeysetTableOptions, type UseResponsiveRailOptions, type UseResponsiveRailResult, UseRuntimeMode, type UseServerTableOptions, type UseTooltipOptions, type User, VIRTUAL_LIST_BUFFER_ROWS, VIRTUAL_LIST_ROW_GAP, type VersionRecord, type VersionStore, VirtualList, type VirtualListProps, type VirtualLoadedBand, type VirtualWindow, type VoiceHandler, __resetLayerStackForTests, acceptMatches, anyOfFilter, applyAppearance, applyPrefs, channelWeightOf, computeNeedMore, computeVirtualWindow, copyToClipboard, createLocalStorageAppearanceStore, createVersionStore, eqFilter, extensionOf, extractClipboardFiles, filterFiles, formatAbsolute, formatBytes, formatClock, formatDocumentTitle, formatDuration, formatEta, formatRelative, formatShare, groupMessages, hasModifier, historyUrlAdapter, iconForMime, importanceLevel, importanceTokens, installFlytedeskFavicon, isImage, isSystemMessage, isUsStateCode, isWithinLayerTree, jobBucket, languageLabel, loadPrefs, meterFormats, modifierLabel, parseDelimited, pastedTextName, pluralizeUnit, preferenceScore, preferenceSegments, rangeFilter, readQueryFromUrl, resolveTheme, revokeAttachment, savePrefs, toAttachment, tokenize, useAppearancePrefs, useAppearanceStore, useChatEngine, useCopyToClipboard, useCornerStackSlot, useDocumentTitle, useFeatureStatus, useLayerZIndex, usePopoverPosition, useResponsiveRail, useRuntimeMode, useServerTable, useSessionContext, useStackedLayer, useStagedFiles, useToast, useTooltip, validateFilterValue, visibleMessages, watchAppearance, writeQueryToUrl };
|
|
5523
|
+
export { AccountMenu, type AccountMenuLink, type AccountMenuProps, AgentChatPanel, type AgentChatPanelProps, AnchoredPopover, type AnchoredPopoverProps, AnimNum, type AnimNumProps, ApiSpecBrowser, type ApiSpecBrowserProps, type AppEntry, AppShell, type AppShellProps, AppSwitcher, type AppSwitcherProps, AppearanceMenu, type AppearanceMenuProps, type AppearancePrefs, AppearanceProvider, type AppearanceProviderProps, type AppearanceStore, type AppearanceStoreOptions, type Attachment, Avatar, type AvatarProps, AvatarStack, type AvatarStackProps, Badge, type BadgeProps, Banner, type BannerProps, type BannerTone, BarList, type BarListProps, type BarListRow, BudgetReallocator, type BudgetReallocatorProps, Button, type ButtonProps, CHANNELS, CHANNEL_WEIGHTS, CHAT_UNAVAILABLE, COPIED_FEEDBACK_MS, CORNER_STACK_INSET_PROPERTY, Calendar, type CalendarProps, Card, CardGrid, type CardGridProps, type CardProps, CardRow, type CardRowProps, ChannelContribution, type ChannelContributionChannel, type ChannelContributionProps, ChannelMeta, type ChannelMetaRecord, ChannelTag, type ChannelTagProps, ChannelWeightOf, type ChatAdapter, ChatComposer, type ChatComposerProps, type ChatEngine, type ChatEngineOptions, ChatKit, type ChatMessage, type ChatRenderContext, ChatSessionBar, type ChatSessionBarProps, ChatTranscript, type ChatTranscriptProps, ChatTurn, type ChatTurnProps, Checkbox, type CheckboxProps, type Citation, Citations, type CitationsProps, Clamp, type ClampProps, ClockFace, type ClockFaceProps, CodeBlock, type CodeBlockProps, CodeEditor, type CodeEditorDiagnostic, type CodeEditorProps, Collapsible, type CollapsibleProps, ComingSoon, type ComingSoonProps, type ContextUsage, CornerStackPortal, type CornerStackSlot, type CreateVersionStoreOptions, CsiBadge, type CsiBadgeProps, CsiHero, type CsiHeroProps, CsiMeter, type CsiMeterProps, DEFAULT_PREFS, DEFAULT_STORAGE_KEY, DEFAULT_TOAST_DURATION_MS, DataTable, type DataTableColumn, type DataTableColumnLabel, type DataTablePhoneRole, type DataTableProps, type DataTableRowAction, DatePicker, type DatePickerProps, type DemoSessionControls, DemoSessionProvider, type DeviceSession, DiffBlock, type DiffBlockProps, DonutChart, type DonutChartProps, type DonutSegment, Drawer, type DrawerProps, Dropzone, DropzoneKit, type DropzoneProps, ENTITY_ROW_METRIC_WIDTH, type EditorTrigger, EmptyState, type EmptyStateProps, type EndpointSpec, EntityRow, type EntityRowAction, type EntityRowContent, type EntityRowMetric, EntityRowMetrics, type EntityRowMetricsProps, type EntityRowProps, FILE_VIEWER_CSV_ROW_LIMIT, FILE_VIEWER_TEXT_LIMIT, type Fact, FactList, type FactListProps, FeatureGate, type FeatureGateProps, type FeatureStatus, Fieldset, type FieldsetProps, FileBrowser, type FileBrowserFile, type FileBrowserFolder, type FileBrowserPermissions, type FileBrowserProps, FileChip, type FileChipProps, FileGrid, type FileGridProps, FileKit, FilePickButton, type FilePickButtonProps, type FileRejection, FileStrip, type FileStripProps, FileTile, type FileTileProps, type FileUploadHandler, FileViewer, type FileViewerProps, FilterBar, type FilterBarProps, type FilterDateValue, type FilterField, type FilterFieldDate, type FilterFieldFixed, type FilterFieldMultiSelect, type FilterFieldOption, type FilterFieldRange, type FilterFieldSelect, type FilterFieldText, type FilterMultiSelectValue, type FilterOperator, type FilterRangeValue, type FilterResolveMatch, type FilterResolveResult, type FilterValidation, type FilterValue, Flag$1 as Flag, type FlagExplanation, type FlagProps, FlytedeskBrand, type FlytedeskBrandProps, FlytedeskMark, type FlytedeskMarkProps, FormatEta, FunnelChart, type FunnelChartProps, type FunnelStep, Gate, GatePending, type GatePendingProps, type GateProps, IMPORTANCE_LEVELS, IconButton, type IconButtonProps, type ImportanceLevel, type ImportanceLevelId, ImportanceTag, type ImportanceTagProps, type ImportanceTokens, Input, type InputProps, type Job, type JobAction, type JobCardStatus, type JobStatus, JobTray, type JobTrayProps, Json, KeyHint, type KeyHintProps, type KeysetEnvelope, type KeysetServerTable, LAYER_STEP, type ListEnvelope, LoadingRegion, type LoadingRegionProps, Markdown, MarkdownEditor, type MarkdownEditorHandle, type MarkdownEditorProps, MarkdownInline, type MarkdownProps, type MarkdownSize, type MarkdownTone, type MentionSource, Menu, MenuButton, type MenuButtonProps, type MenuItem, type MenuProps, MessageBody, type MessageBodyProps, type MessageGroup, Meter, type MeterProps, type MeterSegment, type MeterSegmentInput, MixGap, type MixGapProps, type MixGapRow, MockJobKit, type MockJobStatus, Modal, type ModalProps, ModeSwitch, type ModeSwitchProps, type Model, ModelControls, type ModelControlsProps, NumberInput, type NumberInputProps, OVERLAY_CEILING, POPOVER_BODY_MIN, type Packet, PacketCard, type PacketCardProps, type PacketSchema, type Pager, Pagination, type PaginationProps, PermissionDenied, type PermissionDeniedProps, type PermissionGroup, PermissionHint, type PermissionItem, type Phase, type PhaseStatus, PhasedProgress, type PhasedProgressProps, type Placement, type PollOptions, Popover, type PopoverProps, type PreferenceCriterion, PreferenceMeter, type PreferenceMeterProps, type ProfileFieldDef, type ProfileFieldType, type ProfileNotificationDef, ProfilePage, type ProfilePageProps, ProgressBar, type ProgressBarProps, QueryKit, type QueryPaging, type QueryUrlAdapter, type QueryUrlOptions, type QueuedTurn, QuotaRow, type QuotaRowProps, ROOT_STEP, Radio, RadioGroup, type RadioGroupOption, type RadioGroupProps, type RadioProps, RangeSlider, type RangeSliderProps, RelativeTime, type RelativeTimeProps, ReservedSkeleton, type ReservedSkeletonProps, type RoadmapItem, type RoadmapResult, RoadmapTimeline, type RoadmapTimelineProps, type Role, RunActions, type RunActionsProps, type RunConfig, RuntimeKit, type RuntimeSummary, SaturationDistribution, type SaturationDistributionCampus, type SaturationDistributionProps, ScoreMeter, type ScoreMeterProps, ScreenHead, type ScreenHeadProps, SearchField, type SearchFieldProps, SegmentedControl, type SegmentedControlProps, SegmentedMeter, type SegmentedMeterProps, Select, type SelectOption, type SelectProps, type SendMessageResult, type ServerTable, type ServerTableBase, type Session, type SessionContextValue, type Flag as SessionFlag, SessionKit, SessionProvider, type SessionProviderProps, type SessionRole, SessionScreen, type SessionScreenKind, type SessionScreenProps, type SessionStats, type SessionUser, SidebarNav, type SidebarNavItem, type SidebarNavProps, Skeleton, type SkeletonProps, SkeletonText, type SkeletonTextProps, type SlashCommand, Slider, type SliderProps, type SortDirection, type SortEntry, SortMenu, type SortMenuField, type SortMenuProps, type SpecModule, Spinner, type SpinnerProps, type StackedLayer, type StackedLayerOptions, StackedLayerProvider, StatGrid, type StatGridProps, StatTile, type StatTileProps, type Step, StepList, type StepListProps, type StreamHandlers, type Suggestion, SurroundSound, type SurroundSoundProps, Switch, type SwitchProps, type TabItem, type TableQuery, Tabs, type TabsProps, Tag, type TagProps, TestModeBar, type TestModeBarProps, type TextScale, Textarea, type TextareaProps, type ThemeMode, ThinkingBlock, type ThinkingBlockProps, type ThreadSummary, TimePicker, type TimePickerProps, Toast, type ToastApi, type ToastOptions, type ToastProps, ToastProvider, Tooltip, type TooltipApi, type TooltipBinding, type TooltipPlacement, type TooltipProps, Topbar, type TopbarProps, TranscriptKit, TransferList, type TransferListProps, type TransferListSide, type TransferListSideProps, TrendChart, type TrendChartProps, type TrendSeries, USChoropleth, type USChoroplethProps, type StateFigure as USChoroplethState, type ChoroplethValue as USChoroplethValue, US_STATE_CODES, type UsageLimit, UseFeatureStatus, type UseKeysetTableOptions, type UseResponsiveRailOptions, type UseResponsiveRailResult, UseRuntimeMode, type UseServerTableOptions, type UseTooltipOptions, type User, VIRTUAL_LIST_BUFFER_ROWS, VIRTUAL_LIST_ROW_GAP, type VersionRecord, type VersionStore, VirtualList, type VirtualListProps, type VirtualLoadedBand, type VirtualWindow, type VoiceHandler, __resetLayerStackForTests, acceptMatches, anyOfFilter, applyAppearance, applyPrefs, channelWeightOf, computeNeedMore, computeVirtualWindow, copyToClipboard, createLocalStorageAppearanceStore, createVersionStore, eqFilter, extensionOf, extractClipboardFiles, filterFiles, formatAbsolute, formatBytes, formatClock, formatDocumentTitle, formatDuration, formatEta, formatRelative, formatShare, groupMessages, hasModifier, historyUrlAdapter, iconForMime, importanceLevel, importanceTokens, installFlytedeskFavicon, isImage, isSystemMessage, isUsStateCode, isWithinLayerTree, jobBucket, languageLabel, loadPrefs, meterFormats, modifierLabel, parseDelimited, pastedTextName, pluralizeUnit, preferenceScore, preferenceSegments, rangeFilter, readQueryFromUrl, resolveTheme, revokeAttachment, savePrefs, toAttachment, tokenize, useAppearancePrefs, useAppearanceStore, useChatEngine, useCopyToClipboard, useCornerStackSlot, useDocumentTitle, useFeatureStatus, useLayerZIndex, usePopoverPosition, useResponsiveRail, useRuntimeMode, useServerTable, useSessionContext, useStackedLayer, useStagedFiles, useToast, useTooltip, validateFilterValue, visibleMessages, watchAppearance, writeQueryToUrl };
|
package/dist/index.d.ts
CHANGED
|
@@ -363,10 +363,15 @@ interface DrawerProps {
|
|
|
363
363
|
onClose?: () => void;
|
|
364
364
|
/** Plain content, or a render function receiving `close` — call it to trigger the closing animation before onClose fires. */
|
|
365
365
|
footer?: React.ReactNode | ((close: () => void) => React.ReactNode);
|
|
366
|
-
|
|
366
|
+
/** The drawer's content owns the whole panel: no header bar and no body padding, and the panel is the
|
|
367
|
+
* full viewport height. For content that already has its own header and close control (a chat panel).
|
|
368
|
+
* `title` is then only the dialog's accessible name; Escape, scrim click and focus handling are unchanged. */
|
|
369
|
+
bare?: boolean;
|
|
370
|
+
/** Plain content, or (like `footer`) a render function receiving `close`. */
|
|
371
|
+
children?: React.ReactNode | ((close: () => void) => React.ReactNode);
|
|
367
372
|
className?: string;
|
|
368
373
|
}
|
|
369
|
-
declare function Drawer({ open, title, onClose, footer, children, className, ...rest }: DrawerProps): React.ReactPortal | null;
|
|
374
|
+
declare function Drawer({ open, title, onClose, footer, bare, children, className, ...rest }: DrawerProps): React.ReactPortal | null;
|
|
370
375
|
|
|
371
376
|
/** A focused decision on a scrim. Max 560px, 760 with `wide` for data. Escape closes.
|
|
372
377
|
* MP-212/MP-248: a trapping layer in the shared layer stack (kits/layerStack.tsx):
|
|
@@ -551,6 +556,27 @@ interface ProgressBarProps {
|
|
|
551
556
|
}
|
|
552
557
|
declare function ProgressBar({ value, label, showValue, className, ...rest }: ProgressBarProps): React.JSX.Element;
|
|
553
558
|
|
|
559
|
+
/**
|
|
560
|
+
* A skeleton exactly as large as the content it stands in for. `children` is that content's own
|
|
561
|
+
* layout (or its fullest case), really laid out so the box takes its size at every width, yet
|
|
562
|
+
* never seen, focused, clicked or read out: it is `visibility: hidden`, `inert` and
|
|
563
|
+
* `aria-hidden`. A skeleton block covers it edge to edge, so the region holds its final space
|
|
564
|
+
* from the first paint and nothing below it moves when the real content replaces it.
|
|
565
|
+
*
|
|
566
|
+
* Like Skeleton it announces nothing: pair it with a LoadingRegion (or another role="status"
|
|
567
|
+
* wrapper) so the busy state still reaches a screen reader. The sheen, reduced-motion pulse and
|
|
568
|
+
* both themes are the skeleton block's own.
|
|
569
|
+
*/
|
|
570
|
+
interface ReservedSkeletonProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "children"> {
|
|
571
|
+
/** The content to reserve space for. Rendered, but never shown or reachable. */
|
|
572
|
+
children: React.ReactNode;
|
|
573
|
+
/** The skeleton block's shape, as on Skeleton. */
|
|
574
|
+
shape?: "block" | "card";
|
|
575
|
+
/** Override the shape's default border radius. */
|
|
576
|
+
radius?: string;
|
|
577
|
+
}
|
|
578
|
+
declare function ReservedSkeleton({ children, shape, radius, className, ...rest }: ReservedSkeletonProps): React.JSX.Element;
|
|
579
|
+
|
|
554
580
|
/**
|
|
555
581
|
* The shape data will occupy, shown before the first payload lands.
|
|
556
582
|
* Skeletons mirror the real layout so nothing shifts on arrival.
|
|
@@ -1490,6 +1516,13 @@ interface FilterBarProps extends Omit<React.HTMLAttributes<HTMLSpanElement>, "on
|
|
|
1490
1516
|
* default. With every field applied there is nothing left to add, so the button, which
|
|
1491
1517
|
* normally goes away then, stays disabled while it carries a count. */
|
|
1492
1518
|
showActiveCount?: boolean;
|
|
1519
|
+
/** True while the field options are still arriving (`fields` has nothing in it yet). The bar holds
|
|
1520
|
+
* its whole layout instead of collapsing and then growing: the Filter button's place is reserved
|
|
1521
|
+
* by a skeleton exactly the button's size, the chips area keeps its height, and `actions` stay
|
|
1522
|
+
* live where they are. Announced as busy; no filter can be opened or edited until it is false. */
|
|
1523
|
+
loading?: boolean;
|
|
1524
|
+
/** What a screen reader hears while `loading`. */
|
|
1525
|
+
loadingLabel?: string;
|
|
1493
1526
|
className?: string;
|
|
1494
1527
|
}
|
|
1495
1528
|
type FilterValidation = {
|
|
@@ -1514,35 +1547,7 @@ type FilterValidation = {
|
|
|
1514
1547
|
* min/max, and a whole number when `field.integer` is set; min ≤ max when both are set.
|
|
1515
1548
|
*/
|
|
1516
1549
|
declare function validateFilterValue(field: FilterField, value: unknown): FilterValidation;
|
|
1517
|
-
|
|
1518
|
-
* FilterBar — the declarative filter system for a server-driven list.
|
|
1519
|
-
*
|
|
1520
|
-
* A consumer declares fields once (`{ key, label, type, ... }`) and hands this a live
|
|
1521
|
-
* `filters` record plus onFilterChange/onFilterRemove — the same three things
|
|
1522
|
-
* useServerTable already exposes, so wiring one up is copy-paste, not glue code. Every
|
|
1523
|
-
* active filter renders as a Tag chip; this component holds no shadow copy of filter
|
|
1524
|
-
* values, only the transient "which field's popover/input is open right now" UI state
|
|
1525
|
-
* (`panel`), the same way SortMenu holds `open` but never sort state itself.
|
|
1526
|
-
*
|
|
1527
|
-
* It is a standard controlled component. `filters` is the single source of truth, and
|
|
1528
|
-
* the host applies onFilterChange/onFilterRemove to it synchronously (never inside
|
|
1529
|
-
* `startTransition`, never after a timeout), deferring only the expensive query that the
|
|
1530
|
-
* filters drive, with a debounce or useDeferredValue.
|
|
1531
|
-
*
|
|
1532
|
-
* Every floating surface — a field's edit panel and the "add filter" menu — is a real
|
|
1533
|
-
* Popover (or Menu-in-a-Popover) from this kit's own actions module: viewport clamping,
|
|
1534
|
-
* nested-layer handling, Escape, and focus-return-to-the-chip all come from there, so
|
|
1535
|
-
* FilterBar itself runs no document-level dismissal listener of its own. Only the text
|
|
1536
|
-
* field's inline input manages its own dismissal (blur/Enter/Escape), since it isn't a
|
|
1537
|
-
* floating panel at all.
|
|
1538
|
-
*
|
|
1539
|
-
* FilterBar supports five field kinds: text, select, multiSelect (searchable, sync or
|
|
1540
|
-
* async, with an optional paste-a-list mode for the same value), range (numeric min/max),
|
|
1541
|
-
* and date ("within the last N days" or "between two dates"). text and select keep a bare
|
|
1542
|
-
* string value; multiSelect/range/date each read/write a small typed object of their own
|
|
1543
|
-
* (see FilterValue).
|
|
1544
|
-
*/
|
|
1545
|
-
declare function FilterBar({ fields, filters, onFilterChange, onFilterRemove, align, actions, onClearAll, showActiveCount, className, ...rest }: FilterBarProps): React.JSX.Element;
|
|
1550
|
+
declare function FilterBar({ fields, filters, onFilterChange, onFilterRemove, align, actions, onClearAll, showActiveCount, loading, loadingLabel, className, ...rest }: FilterBarProps): React.JSX.Element;
|
|
1546
1551
|
|
|
1547
1552
|
/**
|
|
1548
1553
|
* MP-310 — a set of `StatTile`s that wraps only into even rows. `columns` is how many tiles the
|
|
@@ -2017,12 +2022,18 @@ interface StepListProps {
|
|
|
2017
2022
|
showDurations?: boolean;
|
|
2018
2023
|
dense?: boolean;
|
|
2019
2024
|
className?: string;
|
|
2025
|
+
/**
|
|
2026
|
+
* The work these steps belong to is not finished (a turn still waiting on background work). The head then
|
|
2027
|
+
* reads as a neutral "Steps so far" disclosure, never the green "Worked for …" completion check, so a
|
|
2028
|
+
* person never sees finished and working at once. A running step still shows its own spinner.
|
|
2029
|
+
*/
|
|
2030
|
+
active?: boolean;
|
|
2020
2031
|
}
|
|
2021
2032
|
/**
|
|
2022
2033
|
* A flat, collapsible list of work steps — one row per step, never one card per
|
|
2023
2034
|
* call. A long run stays readable: it is a list, not a stack.
|
|
2024
2035
|
*/
|
|
2025
|
-
declare function StepList({ steps, label, defaultOpen, open: openProp, onToggle, showDurations, dense, className, }: StepListProps): React.JSX.Element | null;
|
|
2036
|
+
declare function StepList({ steps, label, defaultOpen, open: openProp, onToggle, showDurations, dense, className, active, }: StepListProps): React.JSX.Element | null;
|
|
2026
2037
|
|
|
2027
2038
|
/** Number of rows kept mounted above and below the visible band. Two buffers this size
|
|
2028
2039
|
* (one per edge) plus the visible band itself is what keeps the mounted node count
|
|
@@ -4143,6 +4154,18 @@ interface ChatMessage {
|
|
|
4143
4154
|
model?: string;
|
|
4144
4155
|
usage?: unknown;
|
|
4145
4156
|
resumed?: boolean;
|
|
4157
|
+
/**
|
|
4158
|
+
* This message is a background task that is still in progress (a queued or running query's card). Set by the
|
|
4159
|
+
* adapter. `working` keeps meaning only "the turn is in flight"; a pending message shows no working row of
|
|
4160
|
+
* its own. A task-pending message is what a working turn waits on (see `waitingFor`).
|
|
4161
|
+
*/
|
|
4162
|
+
taskPending?: boolean;
|
|
4163
|
+
/**
|
|
4164
|
+
* What a still-working turn is waiting on, in words ("Running 2 queries"): set by the engine, never the
|
|
4165
|
+
* adapter, on the working turn whenever messages of the thread are `taskPending`. The working indicator then
|
|
4166
|
+
* shows this in place of "Working" as the turn's one state. Never an id.
|
|
4167
|
+
*/
|
|
4168
|
+
waitingFor?: string;
|
|
4146
4169
|
metadata?: {
|
|
4147
4170
|
type?: string;
|
|
4148
4171
|
[k: string]: unknown;
|
|
@@ -4200,6 +4223,12 @@ interface ChatEngineOptions {
|
|
|
4200
4223
|
* is always authoritative: a terminal status seen at any time wins over this.
|
|
4201
4224
|
*/
|
|
4202
4225
|
pendingTimeoutMs?: number;
|
|
4226
|
+
/**
|
|
4227
|
+
* Words for the background work a working turn is waiting on: called with the thread's `taskPending` messages
|
|
4228
|
+
* (a running query's card), whenever there is at least one. Default "Waiting on N background
|
|
4229
|
+
* task(s)". Return the app's own phrasing, e.g. "Running 2 queries".
|
|
4230
|
+
*/
|
|
4231
|
+
describeWaiting?: (pending: ChatMessage[]) => string;
|
|
4203
4232
|
store?: {
|
|
4204
4233
|
get(k: string): string | null;
|
|
4205
4234
|
set(k: string, v: string): void;
|
|
@@ -4358,6 +4387,8 @@ interface AgentChatPanelProps {
|
|
|
4358
4387
|
onApplyPacket?: (p: Packet) => void;
|
|
4359
4388
|
/** Give-up time for a queued/running turn, in ms. Default 180000. The server's terminal job status always wins. */
|
|
4360
4389
|
pendingTimeoutMs?: number;
|
|
4390
|
+
/** Words for the background work a live turn waits on, given the still-working cards ("Running 2 queries"). */
|
|
4391
|
+
describeWaiting?: (pending: ChatMessage[]) => string;
|
|
4361
4392
|
onOpenAttachment?: (a: Attachment) => void;
|
|
4362
4393
|
/** Map a backend error code to human copy. */
|
|
4363
4394
|
errorCopy?: (code: string) => React.ReactNode;
|
|
@@ -4418,7 +4449,7 @@ interface AgentChatPanelProps {
|
|
|
4418
4449
|
* renders only when its input is supplied. A panel with no telemetry shows no
|
|
4419
4450
|
* telemetry, not zeroes.
|
|
4420
4451
|
*/
|
|
4421
|
-
declare function AgentChatPanel({ contextType, contextId, apiAdapter, threadId, title, subtitle, showHeader, headerActions, onClose, assistantName, userName, assistantAvatar, userAvatar, assistantIcon, showAvatars, markdown, maxVisibleChars, messageActions, showSteps, showThinking, emptyTitle, emptyDescription, emptyIcon, suggestions, renderEmpty, packetSchemas, packetRenderers, onApplyPacket, pendingTimeoutMs, onOpenAttachment, errorCopy, placeholder, maxLength, hint, fileUploadHandler, acceptFiles, maxFileSize, largePasteThreshold, slashCommands, mentionSources, voiceHandler, initialMessage, contextUsage, sessionStats, usageLimits, models, model, onModelChange, effortLevels, effort, onEffortChange, fastMode, onFastModeChange, moreModels, threads, onSelectThread, onNewThread, onDeleteThread, surface, width, minWidth, maxWidth, resizable, height, className, style, onPacket, onThreadReady, onError, onSend, onClear, onFeedback, onEditMessage, }: AgentChatPanelProps): React.JSX.Element;
|
|
4452
|
+
declare function AgentChatPanel({ contextType, contextId, apiAdapter, threadId, title, subtitle, showHeader, headerActions, onClose, assistantName, userName, assistantAvatar, userAvatar, assistantIcon, showAvatars, markdown, maxVisibleChars, messageActions, showSteps, showThinking, emptyTitle, emptyDescription, emptyIcon, suggestions, renderEmpty, packetSchemas, packetRenderers, onApplyPacket, pendingTimeoutMs, describeWaiting, onOpenAttachment, errorCopy, placeholder, maxLength, hint, fileUploadHandler, acceptFiles, maxFileSize, largePasteThreshold, slashCommands, mentionSources, voiceHandler, initialMessage, contextUsage, sessionStats, usageLimits, models, model, onModelChange, effortLevels, effort, onEffortChange, fastMode, onFastModeChange, moreModels, threads, onSelectThread, onNewThread, onDeleteThread, surface, width, minWidth, maxWidth, resizable, height, className, style, onPacket, onThreadReady, onError, onSend, onClear, onFeedback, onEditMessage, }: AgentChatPanelProps): React.JSX.Element;
|
|
4422
4453
|
|
|
4423
4454
|
/**
|
|
4424
4455
|
* Staged files, the queue strip, the markdown editor, slash/mention triggers, send + stop.
|
|
@@ -5489,4 +5520,4 @@ declare function CornerStackPortal({ slot, children }: {
|
|
|
5489
5520
|
children?: React.ReactNode;
|
|
5490
5521
|
}): React.ReactPortal | null;
|
|
5491
5522
|
|
|
5492
|
-
export { AccountMenu, type AccountMenuLink, type AccountMenuProps, AgentChatPanel, type AgentChatPanelProps, AnchoredPopover, type AnchoredPopoverProps, AnimNum, type AnimNumProps, ApiSpecBrowser, type ApiSpecBrowserProps, type AppEntry, AppShell, type AppShellProps, AppSwitcher, type AppSwitcherProps, AppearanceMenu, type AppearanceMenuProps, type AppearancePrefs, AppearanceProvider, type AppearanceProviderProps, type AppearanceStore, type AppearanceStoreOptions, type Attachment, Avatar, type AvatarProps, AvatarStack, type AvatarStackProps, Badge, type BadgeProps, Banner, type BannerProps, type BannerTone, BarList, type BarListProps, type BarListRow, BudgetReallocator, type BudgetReallocatorProps, Button, type ButtonProps, CHANNELS, CHANNEL_WEIGHTS, CHAT_UNAVAILABLE, COPIED_FEEDBACK_MS, CORNER_STACK_INSET_PROPERTY, Calendar, type CalendarProps, Card, CardGrid, type CardGridProps, type CardProps, CardRow, type CardRowProps, ChannelContribution, type ChannelContributionChannel, type ChannelContributionProps, ChannelMeta, type ChannelMetaRecord, ChannelTag, type ChannelTagProps, ChannelWeightOf, type ChatAdapter, ChatComposer, type ChatComposerProps, type ChatEngine, type ChatEngineOptions, ChatKit, type ChatMessage, type ChatRenderContext, ChatSessionBar, type ChatSessionBarProps, ChatTranscript, type ChatTranscriptProps, ChatTurn, type ChatTurnProps, Checkbox, type CheckboxProps, type Citation, Citations, type CitationsProps, Clamp, type ClampProps, ClockFace, type ClockFaceProps, CodeBlock, type CodeBlockProps, CodeEditor, type CodeEditorDiagnostic, type CodeEditorProps, Collapsible, type CollapsibleProps, ComingSoon, type ComingSoonProps, type ContextUsage, CornerStackPortal, type CornerStackSlot, type CreateVersionStoreOptions, CsiBadge, type CsiBadgeProps, CsiHero, type CsiHeroProps, CsiMeter, type CsiMeterProps, DEFAULT_PREFS, DEFAULT_STORAGE_KEY, DEFAULT_TOAST_DURATION_MS, DataTable, type DataTableColumn, type DataTableColumnLabel, type DataTablePhoneRole, type DataTableProps, type DataTableRowAction, DatePicker, type DatePickerProps, type DemoSessionControls, DemoSessionProvider, type DeviceSession, DiffBlock, type DiffBlockProps, DonutChart, type DonutChartProps, type DonutSegment, Drawer, type DrawerProps, Dropzone, DropzoneKit, type DropzoneProps, ENTITY_ROW_METRIC_WIDTH, type EditorTrigger, EmptyState, type EmptyStateProps, type EndpointSpec, EntityRow, type EntityRowAction, type EntityRowContent, type EntityRowMetric, EntityRowMetrics, type EntityRowMetricsProps, type EntityRowProps, FILE_VIEWER_CSV_ROW_LIMIT, FILE_VIEWER_TEXT_LIMIT, type Fact, FactList, type FactListProps, FeatureGate, type FeatureGateProps, type FeatureStatus, Fieldset, type FieldsetProps, FileBrowser, type FileBrowserFile, type FileBrowserFolder, type FileBrowserPermissions, type FileBrowserProps, FileChip, type FileChipProps, FileGrid, type FileGridProps, FileKit, FilePickButton, type FilePickButtonProps, type FileRejection, FileStrip, type FileStripProps, FileTile, type FileTileProps, type FileUploadHandler, FileViewer, type FileViewerProps, FilterBar, type FilterBarProps, type FilterDateValue, type FilterField, type FilterFieldDate, type FilterFieldFixed, type FilterFieldMultiSelect, type FilterFieldOption, type FilterFieldRange, type FilterFieldSelect, type FilterFieldText, type FilterMultiSelectValue, type FilterOperator, type FilterRangeValue, type FilterResolveMatch, type FilterResolveResult, type FilterValidation, type FilterValue, Flag$1 as Flag, type FlagExplanation, type FlagProps, FlytedeskBrand, type FlytedeskBrandProps, FlytedeskMark, type FlytedeskMarkProps, FormatEta, FunnelChart, type FunnelChartProps, type FunnelStep, Gate, GatePending, type GatePendingProps, type GateProps, IMPORTANCE_LEVELS, IconButton, type IconButtonProps, type ImportanceLevel, type ImportanceLevelId, ImportanceTag, type ImportanceTagProps, type ImportanceTokens, Input, type InputProps, type Job, type JobAction, type JobCardStatus, type JobStatus, JobTray, type JobTrayProps, Json, KeyHint, type KeyHintProps, type KeysetEnvelope, type KeysetServerTable, LAYER_STEP, type ListEnvelope, LoadingRegion, type LoadingRegionProps, Markdown, MarkdownEditor, type MarkdownEditorHandle, type MarkdownEditorProps, MarkdownInline, type MarkdownProps, type MarkdownSize, type MarkdownTone, type MentionSource, Menu, MenuButton, type MenuButtonProps, type MenuItem, type MenuProps, MessageBody, type MessageBodyProps, type MessageGroup, Meter, type MeterProps, type MeterSegment, type MeterSegmentInput, MixGap, type MixGapProps, type MixGapRow, MockJobKit, type MockJobStatus, Modal, type ModalProps, ModeSwitch, type ModeSwitchProps, type Model, ModelControls, type ModelControlsProps, NumberInput, type NumberInputProps, OVERLAY_CEILING, POPOVER_BODY_MIN, type Packet, PacketCard, type PacketCardProps, type PacketSchema, type Pager, Pagination, type PaginationProps, PermissionDenied, type PermissionDeniedProps, type PermissionGroup, PermissionHint, type PermissionItem, type Phase, type PhaseStatus, PhasedProgress, type PhasedProgressProps, type Placement, type PollOptions, Popover, type PopoverProps, type PreferenceCriterion, PreferenceMeter, type PreferenceMeterProps, type ProfileFieldDef, type ProfileFieldType, type ProfileNotificationDef, ProfilePage, type ProfilePageProps, ProgressBar, type ProgressBarProps, QueryKit, type QueryPaging, type QueryUrlAdapter, type QueryUrlOptions, type QueuedTurn, QuotaRow, type QuotaRowProps, ROOT_STEP, Radio, RadioGroup, type RadioGroupOption, type RadioGroupProps, type RadioProps, RangeSlider, type RangeSliderProps, RelativeTime, type RelativeTimeProps, type RoadmapItem, type RoadmapResult, RoadmapTimeline, type RoadmapTimelineProps, type Role, RunActions, type RunActionsProps, type RunConfig, RuntimeKit, type RuntimeSummary, SaturationDistribution, type SaturationDistributionCampus, type SaturationDistributionProps, ScoreMeter, type ScoreMeterProps, ScreenHead, type ScreenHeadProps, SearchField, type SearchFieldProps, SegmentedControl, type SegmentedControlProps, SegmentedMeter, type SegmentedMeterProps, Select, type SelectOption, type SelectProps, type SendMessageResult, type ServerTable, type ServerTableBase, type Session, type SessionContextValue, type Flag as SessionFlag, SessionKit, SessionProvider, type SessionProviderProps, type SessionRole, SessionScreen, type SessionScreenKind, type SessionScreenProps, type SessionStats, type SessionUser, SidebarNav, type SidebarNavItem, type SidebarNavProps, Skeleton, type SkeletonProps, SkeletonText, type SkeletonTextProps, type SlashCommand, Slider, type SliderProps, type SortDirection, type SortEntry, SortMenu, type SortMenuField, type SortMenuProps, type SpecModule, Spinner, type SpinnerProps, type StackedLayer, type StackedLayerOptions, StackedLayerProvider, StatGrid, type StatGridProps, StatTile, type StatTileProps, type Step, StepList, type StepListProps, type StreamHandlers, type Suggestion, SurroundSound, type SurroundSoundProps, Switch, type SwitchProps, type TabItem, type TableQuery, Tabs, type TabsProps, Tag, type TagProps, TestModeBar, type TestModeBarProps, type TextScale, Textarea, type TextareaProps, type ThemeMode, ThinkingBlock, type ThinkingBlockProps, type ThreadSummary, TimePicker, type TimePickerProps, Toast, type ToastApi, type ToastOptions, type ToastProps, ToastProvider, Tooltip, type TooltipApi, type TooltipBinding, type TooltipPlacement, type TooltipProps, Topbar, type TopbarProps, TranscriptKit, TransferList, type TransferListProps, type TransferListSide, type TransferListSideProps, TrendChart, type TrendChartProps, type TrendSeries, USChoropleth, type USChoroplethProps, type StateFigure as USChoroplethState, type ChoroplethValue as USChoroplethValue, US_STATE_CODES, type UsageLimit, UseFeatureStatus, type UseKeysetTableOptions, type UseResponsiveRailOptions, type UseResponsiveRailResult, UseRuntimeMode, type UseServerTableOptions, type UseTooltipOptions, type User, VIRTUAL_LIST_BUFFER_ROWS, VIRTUAL_LIST_ROW_GAP, type VersionRecord, type VersionStore, VirtualList, type VirtualListProps, type VirtualLoadedBand, type VirtualWindow, type VoiceHandler, __resetLayerStackForTests, acceptMatches, anyOfFilter, applyAppearance, applyPrefs, channelWeightOf, computeNeedMore, computeVirtualWindow, copyToClipboard, createLocalStorageAppearanceStore, createVersionStore, eqFilter, extensionOf, extractClipboardFiles, filterFiles, formatAbsolute, formatBytes, formatClock, formatDocumentTitle, formatDuration, formatEta, formatRelative, formatShare, groupMessages, hasModifier, historyUrlAdapter, iconForMime, importanceLevel, importanceTokens, installFlytedeskFavicon, isImage, isSystemMessage, isUsStateCode, isWithinLayerTree, jobBucket, languageLabel, loadPrefs, meterFormats, modifierLabel, parseDelimited, pastedTextName, pluralizeUnit, preferenceScore, preferenceSegments, rangeFilter, readQueryFromUrl, resolveTheme, revokeAttachment, savePrefs, toAttachment, tokenize, useAppearancePrefs, useAppearanceStore, useChatEngine, useCopyToClipboard, useCornerStackSlot, useDocumentTitle, useFeatureStatus, useLayerZIndex, usePopoverPosition, useResponsiveRail, useRuntimeMode, useServerTable, useSessionContext, useStackedLayer, useStagedFiles, useToast, useTooltip, validateFilterValue, visibleMessages, watchAppearance, writeQueryToUrl };
|
|
5523
|
+
export { AccountMenu, type AccountMenuLink, type AccountMenuProps, AgentChatPanel, type AgentChatPanelProps, AnchoredPopover, type AnchoredPopoverProps, AnimNum, type AnimNumProps, ApiSpecBrowser, type ApiSpecBrowserProps, type AppEntry, AppShell, type AppShellProps, AppSwitcher, type AppSwitcherProps, AppearanceMenu, type AppearanceMenuProps, type AppearancePrefs, AppearanceProvider, type AppearanceProviderProps, type AppearanceStore, type AppearanceStoreOptions, type Attachment, Avatar, type AvatarProps, AvatarStack, type AvatarStackProps, Badge, type BadgeProps, Banner, type BannerProps, type BannerTone, BarList, type BarListProps, type BarListRow, BudgetReallocator, type BudgetReallocatorProps, Button, type ButtonProps, CHANNELS, CHANNEL_WEIGHTS, CHAT_UNAVAILABLE, COPIED_FEEDBACK_MS, CORNER_STACK_INSET_PROPERTY, Calendar, type CalendarProps, Card, CardGrid, type CardGridProps, type CardProps, CardRow, type CardRowProps, ChannelContribution, type ChannelContributionChannel, type ChannelContributionProps, ChannelMeta, type ChannelMetaRecord, ChannelTag, type ChannelTagProps, ChannelWeightOf, type ChatAdapter, ChatComposer, type ChatComposerProps, type ChatEngine, type ChatEngineOptions, ChatKit, type ChatMessage, type ChatRenderContext, ChatSessionBar, type ChatSessionBarProps, ChatTranscript, type ChatTranscriptProps, ChatTurn, type ChatTurnProps, Checkbox, type CheckboxProps, type Citation, Citations, type CitationsProps, Clamp, type ClampProps, ClockFace, type ClockFaceProps, CodeBlock, type CodeBlockProps, CodeEditor, type CodeEditorDiagnostic, type CodeEditorProps, Collapsible, type CollapsibleProps, ComingSoon, type ComingSoonProps, type ContextUsage, CornerStackPortal, type CornerStackSlot, type CreateVersionStoreOptions, CsiBadge, type CsiBadgeProps, CsiHero, type CsiHeroProps, CsiMeter, type CsiMeterProps, DEFAULT_PREFS, DEFAULT_STORAGE_KEY, DEFAULT_TOAST_DURATION_MS, DataTable, type DataTableColumn, type DataTableColumnLabel, type DataTablePhoneRole, type DataTableProps, type DataTableRowAction, DatePicker, type DatePickerProps, type DemoSessionControls, DemoSessionProvider, type DeviceSession, DiffBlock, type DiffBlockProps, DonutChart, type DonutChartProps, type DonutSegment, Drawer, type DrawerProps, Dropzone, DropzoneKit, type DropzoneProps, ENTITY_ROW_METRIC_WIDTH, type EditorTrigger, EmptyState, type EmptyStateProps, type EndpointSpec, EntityRow, type EntityRowAction, type EntityRowContent, type EntityRowMetric, EntityRowMetrics, type EntityRowMetricsProps, type EntityRowProps, FILE_VIEWER_CSV_ROW_LIMIT, FILE_VIEWER_TEXT_LIMIT, type Fact, FactList, type FactListProps, FeatureGate, type FeatureGateProps, type FeatureStatus, Fieldset, type FieldsetProps, FileBrowser, type FileBrowserFile, type FileBrowserFolder, type FileBrowserPermissions, type FileBrowserProps, FileChip, type FileChipProps, FileGrid, type FileGridProps, FileKit, FilePickButton, type FilePickButtonProps, type FileRejection, FileStrip, type FileStripProps, FileTile, type FileTileProps, type FileUploadHandler, FileViewer, type FileViewerProps, FilterBar, type FilterBarProps, type FilterDateValue, type FilterField, type FilterFieldDate, type FilterFieldFixed, type FilterFieldMultiSelect, type FilterFieldOption, type FilterFieldRange, type FilterFieldSelect, type FilterFieldText, type FilterMultiSelectValue, type FilterOperator, type FilterRangeValue, type FilterResolveMatch, type FilterResolveResult, type FilterValidation, type FilterValue, Flag$1 as Flag, type FlagExplanation, type FlagProps, FlytedeskBrand, type FlytedeskBrandProps, FlytedeskMark, type FlytedeskMarkProps, FormatEta, FunnelChart, type FunnelChartProps, type FunnelStep, Gate, GatePending, type GatePendingProps, type GateProps, IMPORTANCE_LEVELS, IconButton, type IconButtonProps, type ImportanceLevel, type ImportanceLevelId, ImportanceTag, type ImportanceTagProps, type ImportanceTokens, Input, type InputProps, type Job, type JobAction, type JobCardStatus, type JobStatus, JobTray, type JobTrayProps, Json, KeyHint, type KeyHintProps, type KeysetEnvelope, type KeysetServerTable, LAYER_STEP, type ListEnvelope, LoadingRegion, type LoadingRegionProps, Markdown, MarkdownEditor, type MarkdownEditorHandle, type MarkdownEditorProps, MarkdownInline, type MarkdownProps, type MarkdownSize, type MarkdownTone, type MentionSource, Menu, MenuButton, type MenuButtonProps, type MenuItem, type MenuProps, MessageBody, type MessageBodyProps, type MessageGroup, Meter, type MeterProps, type MeterSegment, type MeterSegmentInput, MixGap, type MixGapProps, type MixGapRow, MockJobKit, type MockJobStatus, Modal, type ModalProps, ModeSwitch, type ModeSwitchProps, type Model, ModelControls, type ModelControlsProps, NumberInput, type NumberInputProps, OVERLAY_CEILING, POPOVER_BODY_MIN, type Packet, PacketCard, type PacketCardProps, type PacketSchema, type Pager, Pagination, type PaginationProps, PermissionDenied, type PermissionDeniedProps, type PermissionGroup, PermissionHint, type PermissionItem, type Phase, type PhaseStatus, PhasedProgress, type PhasedProgressProps, type Placement, type PollOptions, Popover, type PopoverProps, type PreferenceCriterion, PreferenceMeter, type PreferenceMeterProps, type ProfileFieldDef, type ProfileFieldType, type ProfileNotificationDef, ProfilePage, type ProfilePageProps, ProgressBar, type ProgressBarProps, QueryKit, type QueryPaging, type QueryUrlAdapter, type QueryUrlOptions, type QueuedTurn, QuotaRow, type QuotaRowProps, ROOT_STEP, Radio, RadioGroup, type RadioGroupOption, type RadioGroupProps, type RadioProps, RangeSlider, type RangeSliderProps, RelativeTime, type RelativeTimeProps, ReservedSkeleton, type ReservedSkeletonProps, type RoadmapItem, type RoadmapResult, RoadmapTimeline, type RoadmapTimelineProps, type Role, RunActions, type RunActionsProps, type RunConfig, RuntimeKit, type RuntimeSummary, SaturationDistribution, type SaturationDistributionCampus, type SaturationDistributionProps, ScoreMeter, type ScoreMeterProps, ScreenHead, type ScreenHeadProps, SearchField, type SearchFieldProps, SegmentedControl, type SegmentedControlProps, SegmentedMeter, type SegmentedMeterProps, Select, type SelectOption, type SelectProps, type SendMessageResult, type ServerTable, type ServerTableBase, type Session, type SessionContextValue, type Flag as SessionFlag, SessionKit, SessionProvider, type SessionProviderProps, type SessionRole, SessionScreen, type SessionScreenKind, type SessionScreenProps, type SessionStats, type SessionUser, SidebarNav, type SidebarNavItem, type SidebarNavProps, Skeleton, type SkeletonProps, SkeletonText, type SkeletonTextProps, type SlashCommand, Slider, type SliderProps, type SortDirection, type SortEntry, SortMenu, type SortMenuField, type SortMenuProps, type SpecModule, Spinner, type SpinnerProps, type StackedLayer, type StackedLayerOptions, StackedLayerProvider, StatGrid, type StatGridProps, StatTile, type StatTileProps, type Step, StepList, type StepListProps, type StreamHandlers, type Suggestion, SurroundSound, type SurroundSoundProps, Switch, type SwitchProps, type TabItem, type TableQuery, Tabs, type TabsProps, Tag, type TagProps, TestModeBar, type TestModeBarProps, type TextScale, Textarea, type TextareaProps, type ThemeMode, ThinkingBlock, type ThinkingBlockProps, type ThreadSummary, TimePicker, type TimePickerProps, Toast, type ToastApi, type ToastOptions, type ToastProps, ToastProvider, Tooltip, type TooltipApi, type TooltipBinding, type TooltipPlacement, type TooltipProps, Topbar, type TopbarProps, TranscriptKit, TransferList, type TransferListProps, type TransferListSide, type TransferListSideProps, TrendChart, type TrendChartProps, type TrendSeries, USChoropleth, type USChoroplethProps, type StateFigure as USChoroplethState, type ChoroplethValue as USChoroplethValue, US_STATE_CODES, type UsageLimit, UseFeatureStatus, type UseKeysetTableOptions, type UseResponsiveRailOptions, type UseResponsiveRailResult, UseRuntimeMode, type UseServerTableOptions, type UseTooltipOptions, type User, VIRTUAL_LIST_BUFFER_ROWS, VIRTUAL_LIST_ROW_GAP, type VersionRecord, type VersionStore, VirtualList, type VirtualListProps, type VirtualLoadedBand, type VirtualWindow, type VoiceHandler, __resetLayerStackForTests, acceptMatches, anyOfFilter, applyAppearance, applyPrefs, channelWeightOf, computeNeedMore, computeVirtualWindow, copyToClipboard, createLocalStorageAppearanceStore, createVersionStore, eqFilter, extensionOf, extractClipboardFiles, filterFiles, formatAbsolute, formatBytes, formatClock, formatDocumentTitle, formatDuration, formatEta, formatRelative, formatShare, groupMessages, hasModifier, historyUrlAdapter, iconForMime, importanceLevel, importanceTokens, installFlytedeskFavicon, isImage, isSystemMessage, isUsStateCode, isWithinLayerTree, jobBucket, languageLabel, loadPrefs, meterFormats, modifierLabel, parseDelimited, pastedTextName, pluralizeUnit, preferenceScore, preferenceSegments, rangeFilter, readQueryFromUrl, resolveTheme, revokeAttachment, savePrefs, toAttachment, tokenize, useAppearancePrefs, useAppearanceStore, useChatEngine, useCopyToClipboard, useCornerStackSlot, useDocumentTitle, useFeatureStatus, useLayerZIndex, usePopoverPosition, useResponsiveRail, useRuntimeMode, useServerTable, useSessionContext, useStackedLayer, useStagedFiles, useToast, useTooltip, validateFilterValue, visibleMessages, watchAppearance, writeQueryToUrl };
|