@flytedan/flytebot-design-system 0.48.0 → 0.49.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.cjs +1205 -951
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +80 -12
- package/dist/index.d.ts +80 -12
- package/dist/index.js +1215 -962
- package/dist/index.js.map +1 -1
- package/package.json +7 -1
- package/styles/components.css +110 -0
package/dist/index.d.cts
CHANGED
|
@@ -294,15 +294,22 @@ interface CardProps {
|
|
|
294
294
|
* with no new colour. */
|
|
295
295
|
draft?: boolean;
|
|
296
296
|
/** Renders the card as a real `<a>` (keeps `hoverable`'s lift, adds real
|
|
297
|
-
* hover/focus-visible/press states, MP-271). Takes precedence over `onClick`.
|
|
297
|
+
* hover/focus-visible/press states, MP-271). Takes precedence over `onClick`.
|
|
298
|
+
* Review (comment 2920, finding 3): when either `href` or `onClick` is set, `action`
|
|
299
|
+
* and `footer` are rendered OUTSIDE the `<a>`/`<button>` (as ordinary siblings, via
|
|
300
|
+
* `.fd-card-shell`) rather than inside it — an interactive Card can never nest another
|
|
301
|
+
* interactive element, whatever `action`/`footer` contain. */
|
|
298
302
|
href?: string;
|
|
299
303
|
/** Renders the card as a real `<button type="button">` when there's no `href`
|
|
300
304
|
* (MP-271) — never a `<div onClick>`, so it's reachable by Tab and activates on
|
|
301
305
|
* both Enter and Space for free, and gets the kit's global `:focus-visible`
|
|
302
|
-
* ring (styles/foundations.css) without this component drawing its own.
|
|
306
|
+
* ring (styles/foundations.css) without this component drawing its own. Same
|
|
307
|
+
* `action`/`footer`-stay-outside rule as `href` above applies here too. */
|
|
303
308
|
onClick?: (e: React.MouseEvent<HTMLElement>) => void;
|
|
304
|
-
/** Passed through to the root element
|
|
305
|
-
*
|
|
309
|
+
/** Passed through to the root element. A Card rendered inside CardGrid does NOT need this
|
|
310
|
+
* set — CardGrid (MP-271) wraps each item in its own `<div role="listitem">` rather than
|
|
311
|
+
* setting `role` on the card itself; set this only when Card is used outside CardGrid and
|
|
312
|
+
* needs a specific ARIA role of its own. */
|
|
306
313
|
role?: string;
|
|
307
314
|
tabIndex?: number;
|
|
308
315
|
className?: string;
|
|
@@ -391,7 +398,10 @@ declare function ScreenHead({ kicker, title, lede, actions }: ScreenHeadProps):
|
|
|
391
398
|
* other block box. `--card-grid-min` (default 280px) is the floor a card may shrink to before
|
|
392
399
|
* a track drops; two 280px cards plus the gap don't fit in a 375px-wide content column, so
|
|
393
400
|
* that width is always exactly one column, and a typical ~1280px desktop content column fits
|
|
394
|
-
* four (see CardGrid.browser.test.tsx for the measured counts this rests on
|
|
401
|
+
* four (see CardGrid.browser.test.tsx for the measured counts this rests on, including the
|
|
402
|
+
* container-vs-viewport regression case added under review comment 2920 finding 1: a fixed-
|
|
403
|
+
* width container nested inside a differently-sized real viewport still shows the container's
|
|
404
|
+
* own column count, which a `@media` breakpoint on `.fd-card-grid` could never do).
|
|
395
405
|
*
|
|
396
406
|
* Equal-height rows fall out of the grid's own default `align-items: stretch` (restated below
|
|
397
407
|
* for clarity, not because the default would otherwise fail): every item in a row stretches to
|
|
@@ -403,12 +413,25 @@ declare function ScreenHead({ kicker, title, lede, actions }: ScreenHeadProps):
|
|
|
403
413
|
* property `fd-gap-*` already sets on a flex container, so extending that vocabulary to grids
|
|
404
414
|
* costs nothing new and keeps "the medium gap" meaning one token everywhere it's used.
|
|
405
415
|
*
|
|
406
|
-
* List semantics: the grid itself is `role="list"`, and
|
|
407
|
-
*
|
|
408
|
-
*
|
|
409
|
-
*
|
|
410
|
-
*
|
|
411
|
-
*
|
|
416
|
+
* List semantics (review comment 2920 finding 2): the grid itself is `role="list"`, and every
|
|
417
|
+
* item WRAPS in a plain `<div role="listitem">`, rather than cloning `role` onto the child's own
|
|
418
|
+
* props. Wrapping instead of cloning is deliberate: `React.cloneElement` on a child whose type is
|
|
419
|
+
* `React.Fragment` silently drops an added `role` prop (Fragments only accept `key`/`children`),
|
|
420
|
+
* so cloning left a Fragment child with NO listitem semantics at all and no warning either. A
|
|
421
|
+
* wrapper element needs no such prop-cloning heuristic, and it works identically no matter what
|
|
422
|
+
* the child is — an element, a Fragment, a string, a number — because it never inspects or
|
|
423
|
+
* touches the child's own props. Two behaviours fall out on top of "wrap by default":
|
|
424
|
+
* - Fragments are flattened first (recursively), so `<><Card/><Card/></>` as one CardGrid
|
|
425
|
+
* child becomes TWO listitems, not one listitem wrapping a Fragment.
|
|
426
|
+
* - A child that already sets its own `role` opts out of being a listitem at all (left
|
|
427
|
+
* unwrapped, exactly where React put it) — e.g. an inline empty-state message that should
|
|
428
|
+
* span every column rather than sit inside the list structure. This is the one case where
|
|
429
|
+
* "leave it alone" (the old cloning behaviour) is still correct, since wrapping it would
|
|
430
|
+
* just move the opt-out problem one level down.
|
|
431
|
+
* The wrapper needs a stylesheet counterpart (`.fd-card-grid > [role="listitem"]`, components.css)
|
|
432
|
+
* so the wrapper — now the actual grid item — passes the row's stretched height through to its
|
|
433
|
+
* one real child, the same way `.fd-card`'s own internal flex column already passes extra height
|
|
434
|
+
* down to `.fd-card-foot`.
|
|
412
435
|
*/
|
|
413
436
|
interface CardGridProps {
|
|
414
437
|
children?: React.ReactNode;
|
|
@@ -2719,6 +2742,51 @@ interface MarkdownEditorProps {
|
|
|
2719
2742
|
*/
|
|
2720
2743
|
declare const MarkdownEditor: React.ForwardRefExoticComponent<MarkdownEditorProps & React.RefAttributes<MarkdownEditorHandle>>;
|
|
2721
2744
|
|
|
2745
|
+
interface CodeEditorDiagnostic {
|
|
2746
|
+
/** 1-based line number the diagnostic starts at. */
|
|
2747
|
+
line: number;
|
|
2748
|
+
/** 1-based column the diagnostic starts at. Defaults to 1 (start of line). */
|
|
2749
|
+
column?: number;
|
|
2750
|
+
/** 1-based end line. Defaults to `line`. */
|
|
2751
|
+
endLine?: number;
|
|
2752
|
+
/** 1-based end column. Defaults to the end of `endLine`. */
|
|
2753
|
+
endColumn?: number;
|
|
2754
|
+
message: string;
|
|
2755
|
+
severity?: "error" | "warning" | "info";
|
|
2756
|
+
}
|
|
2757
|
+
interface CodeEditorProps {
|
|
2758
|
+
value: string;
|
|
2759
|
+
onChange?: (next: string) => void;
|
|
2760
|
+
label?: string;
|
|
2761
|
+
help?: string;
|
|
2762
|
+
error?: string;
|
|
2763
|
+
required?: boolean;
|
|
2764
|
+
disabled?: boolean;
|
|
2765
|
+
readOnly?: boolean;
|
|
2766
|
+
placeholder?: string;
|
|
2767
|
+
/** Diagnostics anchored to a line/column range — shown inline (underline +
|
|
2768
|
+
* a message list under the editor) and announced to screen readers via an
|
|
2769
|
+
* `aria-live` region. */
|
|
2770
|
+
diagnostics?: CodeEditorDiagnostic[];
|
|
2771
|
+
/** The documented key that moves focus out of the editor after Tab has
|
|
2772
|
+
* started indenting. Shown as help text under the editor. Default true. */
|
|
2773
|
+
showEscapeHint?: boolean;
|
|
2774
|
+
minHeight?: number;
|
|
2775
|
+
id?: string;
|
|
2776
|
+
className?: string;
|
|
2777
|
+
style?: React.CSSProperties;
|
|
2778
|
+
autoFocus?: boolean;
|
|
2779
|
+
}
|
|
2780
|
+
/**
|
|
2781
|
+
* An editable, monospace SQL code editor: line numbers, syntax highlighting,
|
|
2782
|
+
* a controlled value/onChange, disabled/read-only states, and diagnostics
|
|
2783
|
+
* anchored to a line/column range — shown inline as an underline plus a
|
|
2784
|
+
* message list, and announced to screen readers through an `aria-live`
|
|
2785
|
+
* region. See the file header above for the engine choice and the
|
|
2786
|
+
* keyboard-trap contract (Tab indents; Escape then Tab moves focus out).
|
|
2787
|
+
*/
|
|
2788
|
+
declare function CodeEditor({ value, onChange, label, help, error, required, disabled, readOnly, placeholder: placeholderText, diagnostics, showEscapeHint, minHeight, id, className, style, autoFocus, }: CodeEditorProps): React.JSX.Element;
|
|
2789
|
+
|
|
2722
2790
|
interface AccountMenuLink {
|
|
2723
2791
|
id: string;
|
|
2724
2792
|
label: string;
|
|
@@ -4889,4 +4957,4 @@ declare function formatDocumentTitle(routeTitle: string | undefined | null, appN
|
|
|
4889
4957
|
*/
|
|
4890
4958
|
declare function useDocumentTitle(routeTitle: string | undefined | null, appName: string): void;
|
|
4891
4959
|
|
|
4892
|
-
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, 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, 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, Collapsible, type CollapsibleProps, ComingSoon, type ComingSoonProps, type ContextUsage, type CreateVersionStoreOptions, CsiBadge, type CsiBadgeProps, CsiHero, type CsiHeroProps, CsiMeter, type CsiMeterProps, DEFAULT_PREFS, DEFAULT_STORAGE_KEY, DataTable, type DataTableColumn, 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, 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 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 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, 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 QueuedTurn, QuotaRow, type QuotaRowProps, 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 Session, type SessionContextValue, type Flag as SessionFlag, SessionKit, SessionProvider, type SessionProviderProps, type SessionRole, type SessionStats, type SessionUser, SidebarNav, type SidebarNavItem, type SidebarNavProps, type SignInContinueAs, SignInPage, type SignInPageProps, Skeleton, type SkeletonProps, SkeletonText, type SkeletonTextProps, type SlashCommand, Slider, type SliderProps, SortMenu, type SortMenuField, type SortMenuProps, type SpecModule, Spinner, type SpinnerProps, type StackedLayer, type StackedLayerOptions, StackedLayerProvider, StatTile, type StatTileProps, type Step, StepList, type StepListProps, type StreamHandlers, type Suggestion, SurroundSound, type SurroundSoundProps, Switch, type SwitchProps, 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 ToastProps, Tooltip, type TooltipProps, Topbar, type TopbarProps, TranscriptKit, TransferList, type TransferListProps, type TransferListSide, type TransferListSideProps, TrendChart, type TrendChartProps, type TrendSeries, type UsageLimit, UseFeatureStatus, type UseResponsiveRailOptions, type UseResponsiveRailResult, UseRuntimeMode, type UseServerTableOptions, type User, VIRTUAL_LIST_BUFFER_ROWS, VIRTUAL_LIST_ROW_GAP, type VersionRecord, type VersionStore, VirtualList, type VirtualListProps, type VirtualLoadedBand, type VirtualWindow, type VoiceHandler, acceptMatches, anyOfFilter, applyPrefs, channelWeightOf, computeNeedMore, computeVirtualWindow, createLocalStorageAppearanceStore, createVersionStore, eqFilter, extensionOf, extractClipboardFiles, filterFiles, formatAbsolute, formatBytes, formatClock, formatDocumentTitle, formatDuration, formatEta, formatRelative, groupMessages, hasModifier, iconForMime, importanceLevel, importanceTokens, installFlytedeskFavicon, isImage, isSystemMessage, isWithinLayerTree, jobBucket, languageLabel, loadPrefs, markdownToText, meterFormats, modifierLabel, parseDelimited, pastedTextName, pluralizeUnit, preferenceScore, preferenceSegments, rangeFilter, resolveTheme, revokeAttachment, savePrefs, toAttachment, tokenize, useAppearancePrefs, useChatEngine, useDocumentTitle, useFeatureStatus, usePopoverPosition, useResponsiveRail, useRuntimeMode, useServerTable, useSessionContext, useStackedLayer, useStagedFiles, validateFilterValue, visibleMessages };
|
|
4960
|
+
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, 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, 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, type CreateVersionStoreOptions, CsiBadge, type CsiBadgeProps, CsiHero, type CsiHeroProps, CsiMeter, type CsiMeterProps, DEFAULT_PREFS, DEFAULT_STORAGE_KEY, DataTable, type DataTableColumn, 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, 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 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 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, 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 QueuedTurn, QuotaRow, type QuotaRowProps, 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 Session, type SessionContextValue, type Flag as SessionFlag, SessionKit, SessionProvider, type SessionProviderProps, type SessionRole, type SessionStats, type SessionUser, SidebarNav, type SidebarNavItem, type SidebarNavProps, type SignInContinueAs, SignInPage, type SignInPageProps, Skeleton, type SkeletonProps, SkeletonText, type SkeletonTextProps, type SlashCommand, Slider, type SliderProps, SortMenu, type SortMenuField, type SortMenuProps, type SpecModule, Spinner, type SpinnerProps, type StackedLayer, type StackedLayerOptions, StackedLayerProvider, StatTile, type StatTileProps, type Step, StepList, type StepListProps, type StreamHandlers, type Suggestion, SurroundSound, type SurroundSoundProps, Switch, type SwitchProps, 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 ToastProps, Tooltip, type TooltipProps, Topbar, type TopbarProps, TranscriptKit, TransferList, type TransferListProps, type TransferListSide, type TransferListSideProps, TrendChart, type TrendChartProps, type TrendSeries, type UsageLimit, UseFeatureStatus, type UseResponsiveRailOptions, type UseResponsiveRailResult, UseRuntimeMode, type UseServerTableOptions, type User, VIRTUAL_LIST_BUFFER_ROWS, VIRTUAL_LIST_ROW_GAP, type VersionRecord, type VersionStore, VirtualList, type VirtualListProps, type VirtualLoadedBand, type VirtualWindow, type VoiceHandler, acceptMatches, anyOfFilter, applyPrefs, channelWeightOf, computeNeedMore, computeVirtualWindow, createLocalStorageAppearanceStore, createVersionStore, eqFilter, extensionOf, extractClipboardFiles, filterFiles, formatAbsolute, formatBytes, formatClock, formatDocumentTitle, formatDuration, formatEta, formatRelative, groupMessages, hasModifier, iconForMime, importanceLevel, importanceTokens, installFlytedeskFavicon, isImage, isSystemMessage, isWithinLayerTree, jobBucket, languageLabel, loadPrefs, markdownToText, meterFormats, modifierLabel, parseDelimited, pastedTextName, pluralizeUnit, preferenceScore, preferenceSegments, rangeFilter, resolveTheme, revokeAttachment, savePrefs, toAttachment, tokenize, useAppearancePrefs, useChatEngine, useDocumentTitle, useFeatureStatus, usePopoverPosition, useResponsiveRail, useRuntimeMode, useServerTable, useSessionContext, useStackedLayer, useStagedFiles, validateFilterValue, visibleMessages };
|
package/dist/index.d.ts
CHANGED
|
@@ -294,15 +294,22 @@ interface CardProps {
|
|
|
294
294
|
* with no new colour. */
|
|
295
295
|
draft?: boolean;
|
|
296
296
|
/** Renders the card as a real `<a>` (keeps `hoverable`'s lift, adds real
|
|
297
|
-
* hover/focus-visible/press states, MP-271). Takes precedence over `onClick`.
|
|
297
|
+
* hover/focus-visible/press states, MP-271). Takes precedence over `onClick`.
|
|
298
|
+
* Review (comment 2920, finding 3): when either `href` or `onClick` is set, `action`
|
|
299
|
+
* and `footer` are rendered OUTSIDE the `<a>`/`<button>` (as ordinary siblings, via
|
|
300
|
+
* `.fd-card-shell`) rather than inside it — an interactive Card can never nest another
|
|
301
|
+
* interactive element, whatever `action`/`footer` contain. */
|
|
298
302
|
href?: string;
|
|
299
303
|
/** Renders the card as a real `<button type="button">` when there's no `href`
|
|
300
304
|
* (MP-271) — never a `<div onClick>`, so it's reachable by Tab and activates on
|
|
301
305
|
* both Enter and Space for free, and gets the kit's global `:focus-visible`
|
|
302
|
-
* ring (styles/foundations.css) without this component drawing its own.
|
|
306
|
+
* ring (styles/foundations.css) without this component drawing its own. Same
|
|
307
|
+
* `action`/`footer`-stay-outside rule as `href` above applies here too. */
|
|
303
308
|
onClick?: (e: React.MouseEvent<HTMLElement>) => void;
|
|
304
|
-
/** Passed through to the root element
|
|
305
|
-
*
|
|
309
|
+
/** Passed through to the root element. A Card rendered inside CardGrid does NOT need this
|
|
310
|
+
* set — CardGrid (MP-271) wraps each item in its own `<div role="listitem">` rather than
|
|
311
|
+
* setting `role` on the card itself; set this only when Card is used outside CardGrid and
|
|
312
|
+
* needs a specific ARIA role of its own. */
|
|
306
313
|
role?: string;
|
|
307
314
|
tabIndex?: number;
|
|
308
315
|
className?: string;
|
|
@@ -391,7 +398,10 @@ declare function ScreenHead({ kicker, title, lede, actions }: ScreenHeadProps):
|
|
|
391
398
|
* other block box. `--card-grid-min` (default 280px) is the floor a card may shrink to before
|
|
392
399
|
* a track drops; two 280px cards plus the gap don't fit in a 375px-wide content column, so
|
|
393
400
|
* that width is always exactly one column, and a typical ~1280px desktop content column fits
|
|
394
|
-
* four (see CardGrid.browser.test.tsx for the measured counts this rests on
|
|
401
|
+
* four (see CardGrid.browser.test.tsx for the measured counts this rests on, including the
|
|
402
|
+
* container-vs-viewport regression case added under review comment 2920 finding 1: a fixed-
|
|
403
|
+
* width container nested inside a differently-sized real viewport still shows the container's
|
|
404
|
+
* own column count, which a `@media` breakpoint on `.fd-card-grid` could never do).
|
|
395
405
|
*
|
|
396
406
|
* Equal-height rows fall out of the grid's own default `align-items: stretch` (restated below
|
|
397
407
|
* for clarity, not because the default would otherwise fail): every item in a row stretches to
|
|
@@ -403,12 +413,25 @@ declare function ScreenHead({ kicker, title, lede, actions }: ScreenHeadProps):
|
|
|
403
413
|
* property `fd-gap-*` already sets on a flex container, so extending that vocabulary to grids
|
|
404
414
|
* costs nothing new and keeps "the medium gap" meaning one token everywhere it's used.
|
|
405
415
|
*
|
|
406
|
-
* List semantics: the grid itself is `role="list"`, and
|
|
407
|
-
*
|
|
408
|
-
*
|
|
409
|
-
*
|
|
410
|
-
*
|
|
411
|
-
*
|
|
416
|
+
* List semantics (review comment 2920 finding 2): the grid itself is `role="list"`, and every
|
|
417
|
+
* item WRAPS in a plain `<div role="listitem">`, rather than cloning `role` onto the child's own
|
|
418
|
+
* props. Wrapping instead of cloning is deliberate: `React.cloneElement` on a child whose type is
|
|
419
|
+
* `React.Fragment` silently drops an added `role` prop (Fragments only accept `key`/`children`),
|
|
420
|
+
* so cloning left a Fragment child with NO listitem semantics at all and no warning either. A
|
|
421
|
+
* wrapper element needs no such prop-cloning heuristic, and it works identically no matter what
|
|
422
|
+
* the child is — an element, a Fragment, a string, a number — because it never inspects or
|
|
423
|
+
* touches the child's own props. Two behaviours fall out on top of "wrap by default":
|
|
424
|
+
* - Fragments are flattened first (recursively), so `<><Card/><Card/></>` as one CardGrid
|
|
425
|
+
* child becomes TWO listitems, not one listitem wrapping a Fragment.
|
|
426
|
+
* - A child that already sets its own `role` opts out of being a listitem at all (left
|
|
427
|
+
* unwrapped, exactly where React put it) — e.g. an inline empty-state message that should
|
|
428
|
+
* span every column rather than sit inside the list structure. This is the one case where
|
|
429
|
+
* "leave it alone" (the old cloning behaviour) is still correct, since wrapping it would
|
|
430
|
+
* just move the opt-out problem one level down.
|
|
431
|
+
* The wrapper needs a stylesheet counterpart (`.fd-card-grid > [role="listitem"]`, components.css)
|
|
432
|
+
* so the wrapper — now the actual grid item — passes the row's stretched height through to its
|
|
433
|
+
* one real child, the same way `.fd-card`'s own internal flex column already passes extra height
|
|
434
|
+
* down to `.fd-card-foot`.
|
|
412
435
|
*/
|
|
413
436
|
interface CardGridProps {
|
|
414
437
|
children?: React.ReactNode;
|
|
@@ -2719,6 +2742,51 @@ interface MarkdownEditorProps {
|
|
|
2719
2742
|
*/
|
|
2720
2743
|
declare const MarkdownEditor: React.ForwardRefExoticComponent<MarkdownEditorProps & React.RefAttributes<MarkdownEditorHandle>>;
|
|
2721
2744
|
|
|
2745
|
+
interface CodeEditorDiagnostic {
|
|
2746
|
+
/** 1-based line number the diagnostic starts at. */
|
|
2747
|
+
line: number;
|
|
2748
|
+
/** 1-based column the diagnostic starts at. Defaults to 1 (start of line). */
|
|
2749
|
+
column?: number;
|
|
2750
|
+
/** 1-based end line. Defaults to `line`. */
|
|
2751
|
+
endLine?: number;
|
|
2752
|
+
/** 1-based end column. Defaults to the end of `endLine`. */
|
|
2753
|
+
endColumn?: number;
|
|
2754
|
+
message: string;
|
|
2755
|
+
severity?: "error" | "warning" | "info";
|
|
2756
|
+
}
|
|
2757
|
+
interface CodeEditorProps {
|
|
2758
|
+
value: string;
|
|
2759
|
+
onChange?: (next: string) => void;
|
|
2760
|
+
label?: string;
|
|
2761
|
+
help?: string;
|
|
2762
|
+
error?: string;
|
|
2763
|
+
required?: boolean;
|
|
2764
|
+
disabled?: boolean;
|
|
2765
|
+
readOnly?: boolean;
|
|
2766
|
+
placeholder?: string;
|
|
2767
|
+
/** Diagnostics anchored to a line/column range — shown inline (underline +
|
|
2768
|
+
* a message list under the editor) and announced to screen readers via an
|
|
2769
|
+
* `aria-live` region. */
|
|
2770
|
+
diagnostics?: CodeEditorDiagnostic[];
|
|
2771
|
+
/** The documented key that moves focus out of the editor after Tab has
|
|
2772
|
+
* started indenting. Shown as help text under the editor. Default true. */
|
|
2773
|
+
showEscapeHint?: boolean;
|
|
2774
|
+
minHeight?: number;
|
|
2775
|
+
id?: string;
|
|
2776
|
+
className?: string;
|
|
2777
|
+
style?: React.CSSProperties;
|
|
2778
|
+
autoFocus?: boolean;
|
|
2779
|
+
}
|
|
2780
|
+
/**
|
|
2781
|
+
* An editable, monospace SQL code editor: line numbers, syntax highlighting,
|
|
2782
|
+
* a controlled value/onChange, disabled/read-only states, and diagnostics
|
|
2783
|
+
* anchored to a line/column range — shown inline as an underline plus a
|
|
2784
|
+
* message list, and announced to screen readers through an `aria-live`
|
|
2785
|
+
* region. See the file header above for the engine choice and the
|
|
2786
|
+
* keyboard-trap contract (Tab indents; Escape then Tab moves focus out).
|
|
2787
|
+
*/
|
|
2788
|
+
declare function CodeEditor({ value, onChange, label, help, error, required, disabled, readOnly, placeholder: placeholderText, diagnostics, showEscapeHint, minHeight, id, className, style, autoFocus, }: CodeEditorProps): React.JSX.Element;
|
|
2789
|
+
|
|
2722
2790
|
interface AccountMenuLink {
|
|
2723
2791
|
id: string;
|
|
2724
2792
|
label: string;
|
|
@@ -4889,4 +4957,4 @@ declare function formatDocumentTitle(routeTitle: string | undefined | null, appN
|
|
|
4889
4957
|
*/
|
|
4890
4958
|
declare function useDocumentTitle(routeTitle: string | undefined | null, appName: string): void;
|
|
4891
4959
|
|
|
4892
|
-
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, 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, 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, Collapsible, type CollapsibleProps, ComingSoon, type ComingSoonProps, type ContextUsage, type CreateVersionStoreOptions, CsiBadge, type CsiBadgeProps, CsiHero, type CsiHeroProps, CsiMeter, type CsiMeterProps, DEFAULT_PREFS, DEFAULT_STORAGE_KEY, DataTable, type DataTableColumn, 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, 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 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 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, 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 QueuedTurn, QuotaRow, type QuotaRowProps, 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 Session, type SessionContextValue, type Flag as SessionFlag, SessionKit, SessionProvider, type SessionProviderProps, type SessionRole, type SessionStats, type SessionUser, SidebarNav, type SidebarNavItem, type SidebarNavProps, type SignInContinueAs, SignInPage, type SignInPageProps, Skeleton, type SkeletonProps, SkeletonText, type SkeletonTextProps, type SlashCommand, Slider, type SliderProps, SortMenu, type SortMenuField, type SortMenuProps, type SpecModule, Spinner, type SpinnerProps, type StackedLayer, type StackedLayerOptions, StackedLayerProvider, StatTile, type StatTileProps, type Step, StepList, type StepListProps, type StreamHandlers, type Suggestion, SurroundSound, type SurroundSoundProps, Switch, type SwitchProps, 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 ToastProps, Tooltip, type TooltipProps, Topbar, type TopbarProps, TranscriptKit, TransferList, type TransferListProps, type TransferListSide, type TransferListSideProps, TrendChart, type TrendChartProps, type TrendSeries, type UsageLimit, UseFeatureStatus, type UseResponsiveRailOptions, type UseResponsiveRailResult, UseRuntimeMode, type UseServerTableOptions, type User, VIRTUAL_LIST_BUFFER_ROWS, VIRTUAL_LIST_ROW_GAP, type VersionRecord, type VersionStore, VirtualList, type VirtualListProps, type VirtualLoadedBand, type VirtualWindow, type VoiceHandler, acceptMatches, anyOfFilter, applyPrefs, channelWeightOf, computeNeedMore, computeVirtualWindow, createLocalStorageAppearanceStore, createVersionStore, eqFilter, extensionOf, extractClipboardFiles, filterFiles, formatAbsolute, formatBytes, formatClock, formatDocumentTitle, formatDuration, formatEta, formatRelative, groupMessages, hasModifier, iconForMime, importanceLevel, importanceTokens, installFlytedeskFavicon, isImage, isSystemMessage, isWithinLayerTree, jobBucket, languageLabel, loadPrefs, markdownToText, meterFormats, modifierLabel, parseDelimited, pastedTextName, pluralizeUnit, preferenceScore, preferenceSegments, rangeFilter, resolveTheme, revokeAttachment, savePrefs, toAttachment, tokenize, useAppearancePrefs, useChatEngine, useDocumentTitle, useFeatureStatus, usePopoverPosition, useResponsiveRail, useRuntimeMode, useServerTable, useSessionContext, useStackedLayer, useStagedFiles, validateFilterValue, visibleMessages };
|
|
4960
|
+
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, 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, 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, type CreateVersionStoreOptions, CsiBadge, type CsiBadgeProps, CsiHero, type CsiHeroProps, CsiMeter, type CsiMeterProps, DEFAULT_PREFS, DEFAULT_STORAGE_KEY, DataTable, type DataTableColumn, 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, 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 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 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, 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 QueuedTurn, QuotaRow, type QuotaRowProps, 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 Session, type SessionContextValue, type Flag as SessionFlag, SessionKit, SessionProvider, type SessionProviderProps, type SessionRole, type SessionStats, type SessionUser, SidebarNav, type SidebarNavItem, type SidebarNavProps, type SignInContinueAs, SignInPage, type SignInPageProps, Skeleton, type SkeletonProps, SkeletonText, type SkeletonTextProps, type SlashCommand, Slider, type SliderProps, SortMenu, type SortMenuField, type SortMenuProps, type SpecModule, Spinner, type SpinnerProps, type StackedLayer, type StackedLayerOptions, StackedLayerProvider, StatTile, type StatTileProps, type Step, StepList, type StepListProps, type StreamHandlers, type Suggestion, SurroundSound, type SurroundSoundProps, Switch, type SwitchProps, 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 ToastProps, Tooltip, type TooltipProps, Topbar, type TopbarProps, TranscriptKit, TransferList, type TransferListProps, type TransferListSide, type TransferListSideProps, TrendChart, type TrendChartProps, type TrendSeries, type UsageLimit, UseFeatureStatus, type UseResponsiveRailOptions, type UseResponsiveRailResult, UseRuntimeMode, type UseServerTableOptions, type User, VIRTUAL_LIST_BUFFER_ROWS, VIRTUAL_LIST_ROW_GAP, type VersionRecord, type VersionStore, VirtualList, type VirtualListProps, type VirtualLoadedBand, type VirtualWindow, type VoiceHandler, acceptMatches, anyOfFilter, applyPrefs, channelWeightOf, computeNeedMore, computeVirtualWindow, createLocalStorageAppearanceStore, createVersionStore, eqFilter, extensionOf, extractClipboardFiles, filterFiles, formatAbsolute, formatBytes, formatClock, formatDocumentTitle, formatDuration, formatEta, formatRelative, groupMessages, hasModifier, iconForMime, importanceLevel, importanceTokens, installFlytedeskFavicon, isImage, isSystemMessage, isWithinLayerTree, jobBucket, languageLabel, loadPrefs, markdownToText, meterFormats, modifierLabel, parseDelimited, pastedTextName, pluralizeUnit, preferenceScore, preferenceSegments, rangeFilter, resolveTheme, revokeAttachment, savePrefs, toAttachment, tokenize, useAppearancePrefs, useChatEngine, useDocumentTitle, useFeatureStatus, usePopoverPosition, useResponsiveRail, useRuntimeMode, useServerTable, useSessionContext, useStackedLayer, useStagedFiles, validateFilterValue, visibleMessages };
|