@flytedan/flytebot-design-system 0.67.4 → 0.70.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/dist/index.d.cts CHANGED
@@ -4,7 +4,7 @@ import * as React from 'react';
4
4
  * The one action primitive. Primary is a gradient; everything else is flat.
5
5
  * Never more than one primary per view.
6
6
  */
7
- interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
7
+ interface ButtonOwnProps {
8
8
  children?: React.ReactNode;
9
9
  /** primary = the one action. brandSoft = marketing CTA at >=19px/700 only (AA large-text). */
10
10
  variant?: "primary" | "brandSoft" | "secondary" | "ghost" | "danger" | "link";
@@ -18,7 +18,6 @@ interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
18
18
  /** Label stays put; a spinner replaces the leading icon. */
19
19
  loading?: boolean;
20
20
  block?: boolean;
21
- as?: "button" | "a";
22
21
  /** When `disabled` (or `loading`), stay in the tab order instead of going natively
23
22
  * `disabled`: renders `aria-disabled="true"` only while actually disabled/loading (never
24
23
  * the `disabled` attribute), keeps the `:focus-visible` ring, and swallows
@@ -29,7 +28,17 @@ interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
29
28
  * redirect that. Once enabled again, this behaves exactly like a plain button: no
30
29
  * `aria-disabled` attribute at all. */
31
30
  focusableWhenDisabled?: boolean;
31
+ disabled?: boolean;
32
32
  }
33
+ /** `as="a"` takes anchor props (href, target, rel); a plain button refuses them. */
34
+ type ButtonProps = (ButtonOwnProps & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "disabled"> & {
35
+ as?: "button";
36
+ href?: never;
37
+ target?: never;
38
+ rel?: never;
39
+ }) | (ButtonOwnProps & Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, "children"> & {
40
+ as: "a";
41
+ });
33
42
  declare function Button({ children, variant, size, icon, trailingIcon, arrow, loading, disabled, focusableWhenDisabled, block, as, className, onClick, onKeyDown, ...rest }: ButtonProps): React.JSX.Element;
34
43
 
35
44
  /** A square action carrying only a Phosphor glyph. Always needs a label for a11y. */
@@ -1249,6 +1258,15 @@ type DataTableColumn = DataTableColumnLabel & {
1249
1258
  phone: DataTablePhoneRole;
1250
1259
  render?: (row: any) => React.ReactNode;
1251
1260
  };
1261
+ /** One row's own action: an icon button that acts on that row (a download, say) and never opens it. */
1262
+ interface DataTableRowAction {
1263
+ /** Phosphor icon name, as IconButton takes it. */
1264
+ icon: string;
1265
+ /** The button's accessible name and tooltip, e.g. "Download original file". */
1266
+ label: string;
1267
+ onClick: () => void;
1268
+ disabled?: boolean;
1269
+ }
1252
1270
  interface DataTableProps {
1253
1271
  columns: DataTableColumn[];
1254
1272
  rows: any[];
@@ -1258,6 +1276,11 @@ interface DataTableProps {
1258
1276
  /** Per-row title (native tooltip), e.g. "Click to add to / remove from filter". */
1259
1277
  rowTitle?: (row: any) => string;
1260
1278
  onRowClick?: (row: any) => void;
1279
+ /** A control of each row's own. In the table it is the last cell of the row (under a visually hidden
1280
+ * "Actions" header); in a phone card it is a button beside the card, not inside the card's own button.
1281
+ * It is reachable by Tab, named by its label, and never triggers `onRowClick`. Return null for a row with
1282
+ * no action. */
1283
+ rowAction?: (row: any) => DataTableRowAction | null;
1261
1284
  rowKey?: string;
1262
1285
  /** First load: nothing on screen yet, so skeleton rows are drawn. */
1263
1286
  loading?: boolean;
@@ -1272,7 +1295,7 @@ interface DataTableProps {
1272
1295
  onSort?: (key: string) => void;
1273
1296
  className?: string;
1274
1297
  }
1275
- declare function DataTable({ columns, rows, compact, selectedIds, rowTitle, onRowClick, rowKey, loading, refreshing, skeletonRows, sort, onSort, className, ...rest }: DataTableProps): React.JSX.Element;
1298
+ declare function DataTable({ columns, rows, compact, selectedIds, rowTitle, onRowClick, rowAction, rowKey, loading, refreshing, skeletonRows, sort, onSort, className, ...rest }: DataTableProps): React.JSX.Element;
1276
1299
 
1277
1300
  interface FilterFieldOption {
1278
1301
  value: string;
@@ -1625,7 +1648,13 @@ interface MarkdownProps {
1625
1648
  /** Renderer for `[^n]` markers. */
1626
1649
  renderCitation?: (marker: string) => React.ReactNode;
1627
1650
  onLinkClick?: (e: React.MouseEvent) => void;
1651
+ /** `body` (default) or `small`. */
1652
+ size?: MarkdownSize;
1653
+ /** `default` or `muted` (secondary text colour). */
1654
+ tone?: MarkdownTone;
1628
1655
  }
1656
+ type MarkdownSize = "body" | "small";
1657
+ type MarkdownTone = "default" | "muted";
1629
1658
  /**
1630
1659
  * Read-only markdown → React nodes. Headings, emphasis, links, lists (incl. task
1631
1660
  * lists), quotes, tables, images, fenced code (handed to CodeBlock, `diff` to
@@ -1634,12 +1663,14 @@ interface MarkdownProps {
1634
1663
  * Deliberately read-only: an editor in readonly mode carries a contenteditable,
1635
1664
  * a context menu and popovers it will never use — per message.
1636
1665
  */
1637
- declare function Markdown({ source, className, codeProps, allowImages, headingOffset, renderCitation, onLinkClick, }: MarkdownProps): React.JSX.Element;
1666
+ declare function Markdown({ source, className, codeProps, allowImages, headingOffset, renderCitation, onLinkClick, size, tone, }: MarkdownProps): React.JSX.Element;
1638
1667
  /** Inline-only markdown, for labels and single-line contexts. */
1639
- declare function MarkdownInline({ source, className, onLinkClick }: {
1668
+ declare function MarkdownInline({ source, className, onLinkClick, size, tone }: {
1640
1669
  source: string;
1641
1670
  className?: string;
1642
1671
  onLinkClick?: (e: React.MouseEvent) => void;
1672
+ size?: MarkdownSize;
1673
+ tone?: MarkdownTone;
1643
1674
  }): React.JSX.Element;
1644
1675
  /** Strip markdown to plain text — for copy actions, titles and previews. */
1645
1676
  declare function markdownToText(src: string): string;
@@ -2546,8 +2577,10 @@ interface RadioProps extends React.InputHTMLAttributes<HTMLInputElement> {
2546
2577
  label: React.ReactNode;
2547
2578
  description?: React.ReactNode;
2548
2579
  card?: boolean;
2580
+ /** Trailing slot beside the label, e.g. a "Recommended" Badge. */
2581
+ badge?: React.ReactNode;
2549
2582
  }
2550
- declare function Radio({ label, description, card, className, ...rest }: RadioProps): React.JSX.Element;
2583
+ declare function Radio({ label, description, badge, card, className, ...rest }: RadioProps): React.JSX.Element;
2551
2584
 
2552
2585
  /** An immediate on/off setting — no Save button. Use Checkbox inside forms instead. */
2553
2586
  interface SwitchProps extends React.InputHTMLAttributes<HTMLInputElement> {
@@ -3079,6 +3112,38 @@ interface CodeEditorProps {
3079
3112
  */
3080
3113
  declare function CodeEditor({ value, onChange, label, help, error, required, disabled, readOnly, placeholder: placeholderText, diagnostics, showEscapeHint, minHeight, id, className, style, autoFocus, }: CodeEditorProps): React.JSX.Element;
3081
3114
 
3115
+ interface RadioGroupOption {
3116
+ value: string;
3117
+ label: React.ReactNode;
3118
+ description?: React.ReactNode;
3119
+ badge?: React.ReactNode;
3120
+ disabled?: boolean;
3121
+ }
3122
+ interface RadioGroupProps {
3123
+ /** Accessible name of the group. */
3124
+ label: React.ReactNode;
3125
+ options: RadioGroupOption[];
3126
+ value: string;
3127
+ onChange: (value: string) => void;
3128
+ /** Renders each option as a bordered card. */
3129
+ card?: boolean;
3130
+ disabled?: boolean;
3131
+ name?: string;
3132
+ className?: string;
3133
+ }
3134
+ /**
3135
+ * A labelled `role="radiogroup"` over native radios sharing one name, so the browser supplies the
3136
+ * WAI-ARIA walk: Tab enters on the checked radio, arrows move and select, wrapping at the ends.
3137
+ */
3138
+ declare function RadioGroup({ label, options, value, onChange, card, disabled, name, className }: RadioGroupProps): React.JSX.Element;
3139
+
3140
+ interface FieldsetProps extends Omit<React.FieldsetHTMLAttributes<HTMLFieldSetElement>, "disabled"> {
3141
+ /** Disables every descendant control and marks the group aria-busy (an apply is in flight). */
3142
+ busy?: boolean;
3143
+ }
3144
+ /** A native fieldset: `busy` disables all descendant controls at once, with `aria-busy`. */
3145
+ declare function Fieldset({ busy, className, ...rest }: FieldsetProps): React.JSX.Element;
3146
+
3082
3147
  interface AccountMenuLink {
3083
3148
  id: string;
3084
3149
  label: string;
@@ -4035,6 +4100,8 @@ interface PacketSchema {
4035
4100
  heading?: string;
4036
4101
  icon?: string;
4037
4102
  applyLabel?: string;
4103
+ /** `false` hides the Apply footer for this packet type (a live query card, a CSV). Default: Apply shows. */
4104
+ apply?: boolean;
4038
4105
  }
4039
4106
  interface JobStatus {
4040
4107
  id?: string;
@@ -4122,7 +4189,12 @@ interface ChatEngineOptions {
4122
4189
  initialMessage?: string | null;
4123
4190
  threadId?: string | null;
4124
4191
  pollIntervalMs?: number;
4125
- pollMaxAttempts?: number;
4192
+ /**
4193
+ * How long a turn may stay queued/running before the panel gives up with a
4194
+ * retryable "timeout". Default 180000 (3 min). The server's terminal job status
4195
+ * is always authoritative: a terminal status seen at any time wins over this.
4196
+ */
4197
+ pendingTimeoutMs?: number;
4126
4198
  store?: {
4127
4199
  get(k: string): string | null;
4128
4200
  set(k: string, v: string): void;
@@ -4279,6 +4351,8 @@ interface AgentChatPanelProps {
4279
4351
  packetSchemas?: Record<string, PacketSchema>;
4280
4352
  packetRenderers?: Record<string, (p: Packet) => React.ReactNode>;
4281
4353
  onApplyPacket?: (p: Packet) => void;
4354
+ /** Give-up time for a queued/running turn, in ms. Default 180000. The server's terminal job status always wins. */
4355
+ pendingTimeoutMs?: number;
4282
4356
  onOpenAttachment?: (a: Attachment) => void;
4283
4357
  /** Map a backend error code to human copy. */
4284
4358
  errorCopy?: (code: string) => React.ReactNode;
@@ -4339,7 +4413,7 @@ interface AgentChatPanelProps {
4339
4413
  * renders only when its input is supplied. A panel with no telemetry shows no
4340
4414
  * telemetry, not zeroes.
4341
4415
  */
4342
- 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, 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;
4416
+ 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;
4343
4417
 
4344
4418
  /**
4345
4419
  * Staged files, the queue strip, the markdown editor, slash/mention triggers, send + stop.
@@ -5410,4 +5484,4 @@ declare function CornerStackPortal({ slot, children }: {
5410
5484
  children?: React.ReactNode;
5411
5485
  }): React.ReactPortal | null;
5412
5486
 
5413
- 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, 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, 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 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, 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, markdownToText, 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 };
5487
+ 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, markdownToText, 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
@@ -4,7 +4,7 @@ import * as React from 'react';
4
4
  * The one action primitive. Primary is a gradient; everything else is flat.
5
5
  * Never more than one primary per view.
6
6
  */
7
- interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
7
+ interface ButtonOwnProps {
8
8
  children?: React.ReactNode;
9
9
  /** primary = the one action. brandSoft = marketing CTA at >=19px/700 only (AA large-text). */
10
10
  variant?: "primary" | "brandSoft" | "secondary" | "ghost" | "danger" | "link";
@@ -18,7 +18,6 @@ interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
18
18
  /** Label stays put; a spinner replaces the leading icon. */
19
19
  loading?: boolean;
20
20
  block?: boolean;
21
- as?: "button" | "a";
22
21
  /** When `disabled` (or `loading`), stay in the tab order instead of going natively
23
22
  * `disabled`: renders `aria-disabled="true"` only while actually disabled/loading (never
24
23
  * the `disabled` attribute), keeps the `:focus-visible` ring, and swallows
@@ -29,7 +28,17 @@ interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
29
28
  * redirect that. Once enabled again, this behaves exactly like a plain button: no
30
29
  * `aria-disabled` attribute at all. */
31
30
  focusableWhenDisabled?: boolean;
31
+ disabled?: boolean;
32
32
  }
33
+ /** `as="a"` takes anchor props (href, target, rel); a plain button refuses them. */
34
+ type ButtonProps = (ButtonOwnProps & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "disabled"> & {
35
+ as?: "button";
36
+ href?: never;
37
+ target?: never;
38
+ rel?: never;
39
+ }) | (ButtonOwnProps & Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, "children"> & {
40
+ as: "a";
41
+ });
33
42
  declare function Button({ children, variant, size, icon, trailingIcon, arrow, loading, disabled, focusableWhenDisabled, block, as, className, onClick, onKeyDown, ...rest }: ButtonProps): React.JSX.Element;
34
43
 
35
44
  /** A square action carrying only a Phosphor glyph. Always needs a label for a11y. */
@@ -1249,6 +1258,15 @@ type DataTableColumn = DataTableColumnLabel & {
1249
1258
  phone: DataTablePhoneRole;
1250
1259
  render?: (row: any) => React.ReactNode;
1251
1260
  };
1261
+ /** One row's own action: an icon button that acts on that row (a download, say) and never opens it. */
1262
+ interface DataTableRowAction {
1263
+ /** Phosphor icon name, as IconButton takes it. */
1264
+ icon: string;
1265
+ /** The button's accessible name and tooltip, e.g. "Download original file". */
1266
+ label: string;
1267
+ onClick: () => void;
1268
+ disabled?: boolean;
1269
+ }
1252
1270
  interface DataTableProps {
1253
1271
  columns: DataTableColumn[];
1254
1272
  rows: any[];
@@ -1258,6 +1276,11 @@ interface DataTableProps {
1258
1276
  /** Per-row title (native tooltip), e.g. "Click to add to / remove from filter". */
1259
1277
  rowTitle?: (row: any) => string;
1260
1278
  onRowClick?: (row: any) => void;
1279
+ /** A control of each row's own. In the table it is the last cell of the row (under a visually hidden
1280
+ * "Actions" header); in a phone card it is a button beside the card, not inside the card's own button.
1281
+ * It is reachable by Tab, named by its label, and never triggers `onRowClick`. Return null for a row with
1282
+ * no action. */
1283
+ rowAction?: (row: any) => DataTableRowAction | null;
1261
1284
  rowKey?: string;
1262
1285
  /** First load: nothing on screen yet, so skeleton rows are drawn. */
1263
1286
  loading?: boolean;
@@ -1272,7 +1295,7 @@ interface DataTableProps {
1272
1295
  onSort?: (key: string) => void;
1273
1296
  className?: string;
1274
1297
  }
1275
- declare function DataTable({ columns, rows, compact, selectedIds, rowTitle, onRowClick, rowKey, loading, refreshing, skeletonRows, sort, onSort, className, ...rest }: DataTableProps): React.JSX.Element;
1298
+ declare function DataTable({ columns, rows, compact, selectedIds, rowTitle, onRowClick, rowAction, rowKey, loading, refreshing, skeletonRows, sort, onSort, className, ...rest }: DataTableProps): React.JSX.Element;
1276
1299
 
1277
1300
  interface FilterFieldOption {
1278
1301
  value: string;
@@ -1625,7 +1648,13 @@ interface MarkdownProps {
1625
1648
  /** Renderer for `[^n]` markers. */
1626
1649
  renderCitation?: (marker: string) => React.ReactNode;
1627
1650
  onLinkClick?: (e: React.MouseEvent) => void;
1651
+ /** `body` (default) or `small`. */
1652
+ size?: MarkdownSize;
1653
+ /** `default` or `muted` (secondary text colour). */
1654
+ tone?: MarkdownTone;
1628
1655
  }
1656
+ type MarkdownSize = "body" | "small";
1657
+ type MarkdownTone = "default" | "muted";
1629
1658
  /**
1630
1659
  * Read-only markdown → React nodes. Headings, emphasis, links, lists (incl. task
1631
1660
  * lists), quotes, tables, images, fenced code (handed to CodeBlock, `diff` to
@@ -1634,12 +1663,14 @@ interface MarkdownProps {
1634
1663
  * Deliberately read-only: an editor in readonly mode carries a contenteditable,
1635
1664
  * a context menu and popovers it will never use — per message.
1636
1665
  */
1637
- declare function Markdown({ source, className, codeProps, allowImages, headingOffset, renderCitation, onLinkClick, }: MarkdownProps): React.JSX.Element;
1666
+ declare function Markdown({ source, className, codeProps, allowImages, headingOffset, renderCitation, onLinkClick, size, tone, }: MarkdownProps): React.JSX.Element;
1638
1667
  /** Inline-only markdown, for labels and single-line contexts. */
1639
- declare function MarkdownInline({ source, className, onLinkClick }: {
1668
+ declare function MarkdownInline({ source, className, onLinkClick, size, tone }: {
1640
1669
  source: string;
1641
1670
  className?: string;
1642
1671
  onLinkClick?: (e: React.MouseEvent) => void;
1672
+ size?: MarkdownSize;
1673
+ tone?: MarkdownTone;
1643
1674
  }): React.JSX.Element;
1644
1675
  /** Strip markdown to plain text — for copy actions, titles and previews. */
1645
1676
  declare function markdownToText(src: string): string;
@@ -2546,8 +2577,10 @@ interface RadioProps extends React.InputHTMLAttributes<HTMLInputElement> {
2546
2577
  label: React.ReactNode;
2547
2578
  description?: React.ReactNode;
2548
2579
  card?: boolean;
2580
+ /** Trailing slot beside the label, e.g. a "Recommended" Badge. */
2581
+ badge?: React.ReactNode;
2549
2582
  }
2550
- declare function Radio({ label, description, card, className, ...rest }: RadioProps): React.JSX.Element;
2583
+ declare function Radio({ label, description, badge, card, className, ...rest }: RadioProps): React.JSX.Element;
2551
2584
 
2552
2585
  /** An immediate on/off setting — no Save button. Use Checkbox inside forms instead. */
2553
2586
  interface SwitchProps extends React.InputHTMLAttributes<HTMLInputElement> {
@@ -3079,6 +3112,38 @@ interface CodeEditorProps {
3079
3112
  */
3080
3113
  declare function CodeEditor({ value, onChange, label, help, error, required, disabled, readOnly, placeholder: placeholderText, diagnostics, showEscapeHint, minHeight, id, className, style, autoFocus, }: CodeEditorProps): React.JSX.Element;
3081
3114
 
3115
+ interface RadioGroupOption {
3116
+ value: string;
3117
+ label: React.ReactNode;
3118
+ description?: React.ReactNode;
3119
+ badge?: React.ReactNode;
3120
+ disabled?: boolean;
3121
+ }
3122
+ interface RadioGroupProps {
3123
+ /** Accessible name of the group. */
3124
+ label: React.ReactNode;
3125
+ options: RadioGroupOption[];
3126
+ value: string;
3127
+ onChange: (value: string) => void;
3128
+ /** Renders each option as a bordered card. */
3129
+ card?: boolean;
3130
+ disabled?: boolean;
3131
+ name?: string;
3132
+ className?: string;
3133
+ }
3134
+ /**
3135
+ * A labelled `role="radiogroup"` over native radios sharing one name, so the browser supplies the
3136
+ * WAI-ARIA walk: Tab enters on the checked radio, arrows move and select, wrapping at the ends.
3137
+ */
3138
+ declare function RadioGroup({ label, options, value, onChange, card, disabled, name, className }: RadioGroupProps): React.JSX.Element;
3139
+
3140
+ interface FieldsetProps extends Omit<React.FieldsetHTMLAttributes<HTMLFieldSetElement>, "disabled"> {
3141
+ /** Disables every descendant control and marks the group aria-busy (an apply is in flight). */
3142
+ busy?: boolean;
3143
+ }
3144
+ /** A native fieldset: `busy` disables all descendant controls at once, with `aria-busy`. */
3145
+ declare function Fieldset({ busy, className, ...rest }: FieldsetProps): React.JSX.Element;
3146
+
3082
3147
  interface AccountMenuLink {
3083
3148
  id: string;
3084
3149
  label: string;
@@ -4035,6 +4100,8 @@ interface PacketSchema {
4035
4100
  heading?: string;
4036
4101
  icon?: string;
4037
4102
  applyLabel?: string;
4103
+ /** `false` hides the Apply footer for this packet type (a live query card, a CSV). Default: Apply shows. */
4104
+ apply?: boolean;
4038
4105
  }
4039
4106
  interface JobStatus {
4040
4107
  id?: string;
@@ -4122,7 +4189,12 @@ interface ChatEngineOptions {
4122
4189
  initialMessage?: string | null;
4123
4190
  threadId?: string | null;
4124
4191
  pollIntervalMs?: number;
4125
- pollMaxAttempts?: number;
4192
+ /**
4193
+ * How long a turn may stay queued/running before the panel gives up with a
4194
+ * retryable "timeout". Default 180000 (3 min). The server's terminal job status
4195
+ * is always authoritative: a terminal status seen at any time wins over this.
4196
+ */
4197
+ pendingTimeoutMs?: number;
4126
4198
  store?: {
4127
4199
  get(k: string): string | null;
4128
4200
  set(k: string, v: string): void;
@@ -4279,6 +4351,8 @@ interface AgentChatPanelProps {
4279
4351
  packetSchemas?: Record<string, PacketSchema>;
4280
4352
  packetRenderers?: Record<string, (p: Packet) => React.ReactNode>;
4281
4353
  onApplyPacket?: (p: Packet) => void;
4354
+ /** Give-up time for a queued/running turn, in ms. Default 180000. The server's terminal job status always wins. */
4355
+ pendingTimeoutMs?: number;
4282
4356
  onOpenAttachment?: (a: Attachment) => void;
4283
4357
  /** Map a backend error code to human copy. */
4284
4358
  errorCopy?: (code: string) => React.ReactNode;
@@ -4339,7 +4413,7 @@ interface AgentChatPanelProps {
4339
4413
  * renders only when its input is supplied. A panel with no telemetry shows no
4340
4414
  * telemetry, not zeroes.
4341
4415
  */
4342
- 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, 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;
4416
+ 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;
4343
4417
 
4344
4418
  /**
4345
4419
  * Staged files, the queue strip, the markdown editor, slash/mention triggers, send + stop.
@@ -5410,4 +5484,4 @@ declare function CornerStackPortal({ slot, children }: {
5410
5484
  children?: React.ReactNode;
5411
5485
  }): React.ReactPortal | null;
5412
5486
 
5413
- 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, 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, 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 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, 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, markdownToText, 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 };
5487
+ 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, markdownToText, 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 };