@flytedan/flytebot-design-system 0.20.0 → 0.22.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 +3007 -2556
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +162 -2
- package/dist/index.d.ts +162 -2
- package/dist/index.js +2900 -2453
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/styles/components.css +302 -0
package/dist/index.d.cts
CHANGED
|
@@ -754,6 +754,158 @@ interface AnimNumProps {
|
|
|
754
754
|
}
|
|
755
755
|
declare function AnimNum({ value, format, duration }: AnimNumProps): React.JSX.Element;
|
|
756
756
|
|
|
757
|
+
type ChartState = "loading" | "refreshing" | "ready" | "empty" | "error";
|
|
758
|
+
|
|
759
|
+
interface TrendSeries {
|
|
760
|
+
id: string;
|
|
761
|
+
label: string;
|
|
762
|
+
/** One value per shared category, in the same order as `categories`. */
|
|
763
|
+
values: number[];
|
|
764
|
+
/** Defaults to the categorical ramp in order. */
|
|
765
|
+
color?: string;
|
|
766
|
+
}
|
|
767
|
+
interface TrendChartProps {
|
|
768
|
+
/** The shared x-axis, e.g. dates or week labels. */
|
|
769
|
+
categories: string[];
|
|
770
|
+
series: TrendSeries[];
|
|
771
|
+
/** Accessible name for the chart as a whole, e.g. "Sends over time". Required. */
|
|
772
|
+
label: string;
|
|
773
|
+
/** Value formatter for axis ticks, point tooltips and the data table. */
|
|
774
|
+
valueFormat?: (n: number) => string;
|
|
775
|
+
/** Height in px. Width is always fluid (100% of the container). */
|
|
776
|
+
height?: number;
|
|
777
|
+
/** Number of horizontal gridlines (excluding the zero baseline). */
|
|
778
|
+
yTicks?: number;
|
|
779
|
+
state?: ChartState;
|
|
780
|
+
error?: string;
|
|
781
|
+
onRetry?: () => void;
|
|
782
|
+
className?: string;
|
|
783
|
+
}
|
|
784
|
+
/**
|
|
785
|
+
* TrendChart — a multi-series line chart over a shared category axis, with gridlines,
|
|
786
|
+
* axis labels and per-point tooltips. Colour comes only from `--chart-1..8` (MP-210):
|
|
787
|
+
* those tokens are identical across light, dark and high-contrast, so the lines need no
|
|
788
|
+
* theme-specific code; axis lines, gridlines and labels use the theme-aware `--border`
|
|
789
|
+
* and `--text-muted` tokens instead of a fixed grey.
|
|
790
|
+
*
|
|
791
|
+
* The SVG itself is decorative (`role="img"`, one accessible name for the whole
|
|
792
|
+
* picture) — the actual accessible interface is the keyboard-reachable legend below it
|
|
793
|
+
* (hover or focus a series to highlight its line and read its tooltip) plus the
|
|
794
|
+
* visually-hidden data table, which carries every value a sighted user can read off the
|
|
795
|
+
* lines. See chartInternal.tsx for both pieces, shared with the other three charts.
|
|
796
|
+
*/
|
|
797
|
+
declare function TrendChart({ categories, series, label, valueFormat, height, yTicks, state, error, onRetry, className, }: TrendChartProps): React.JSX.Element;
|
|
798
|
+
|
|
799
|
+
interface DonutSegment {
|
|
800
|
+
id: string;
|
|
801
|
+
label: string;
|
|
802
|
+
value: number;
|
|
803
|
+
/** Defaults to the categorical ramp in order. */
|
|
804
|
+
color?: string;
|
|
805
|
+
}
|
|
806
|
+
interface DonutChartProps {
|
|
807
|
+
segments: DonutSegment[];
|
|
808
|
+
/** Accessible name for the chart, e.g. "Vendor source". Required. */
|
|
809
|
+
label: string;
|
|
810
|
+
/** Diameter in px. The ring is always fluid up to this size (100% of a narrower
|
|
811
|
+
* container), never wider. */
|
|
812
|
+
size?: number;
|
|
813
|
+
thickness?: number;
|
|
814
|
+
/** Big number in the centre. Defaults to the segment total. */
|
|
815
|
+
centerLabel?: string;
|
|
816
|
+
centerSubLabel?: string;
|
|
817
|
+
valueFormat?: (n: number) => string;
|
|
818
|
+
state?: ChartState;
|
|
819
|
+
error?: string;
|
|
820
|
+
onRetry?: () => void;
|
|
821
|
+
className?: string;
|
|
822
|
+
}
|
|
823
|
+
/**
|
|
824
|
+
* DonutChart — segments drawn as concentric `stroke-dasharray` arcs (no path/arc maths
|
|
825
|
+
* needed for a ring), a centre label, and a keyboard-reachable legend. Colour comes only
|
|
826
|
+
* from `--chart-1..8` (MP-210), which render identically in light, dark and high
|
|
827
|
+
* contrast, so the ring needs no theme-specific code.
|
|
828
|
+
*
|
|
829
|
+
* Matches the operator's reference front end (PLN-2 SMS-20): a ring with a percentage
|
|
830
|
+
* in the centre and a legend of `label · pct% · count` rows below it (vendor source,
|
|
831
|
+
* blocked-number breakdown).
|
|
832
|
+
*/
|
|
833
|
+
declare function DonutChart({ segments, label, size, thickness, centerLabel, centerSubLabel, valueFormat, state, error, onRetry, className, }: DonutChartProps): React.JSX.Element;
|
|
834
|
+
|
|
835
|
+
interface BarListRow {
|
|
836
|
+
id: string;
|
|
837
|
+
label: string;
|
|
838
|
+
value: number;
|
|
839
|
+
/** Defaults to the categorical ramp in order. */
|
|
840
|
+
color?: string;
|
|
841
|
+
}
|
|
842
|
+
interface BarListProps {
|
|
843
|
+
rows: BarListRow[];
|
|
844
|
+
/** Accessible name for the whole list, e.g. "Largest states". Required. */
|
|
845
|
+
label: string;
|
|
846
|
+
valueFormat?: (n: number) => string;
|
|
847
|
+
/** Percent is computed against this. Defaults to the sum of every row's value. */
|
|
848
|
+
total?: number;
|
|
849
|
+
/** Sort descending by value before rendering. Default true — this IS a ranking. */
|
|
850
|
+
sort?: boolean;
|
|
851
|
+
/** Cap the number of rows drawn (after sorting). */
|
|
852
|
+
maxRows?: number;
|
|
853
|
+
barHeight?: number;
|
|
854
|
+
state?: ChartState;
|
|
855
|
+
error?: string;
|
|
856
|
+
onRetry?: () => void;
|
|
857
|
+
className?: string;
|
|
858
|
+
}
|
|
859
|
+
/**
|
|
860
|
+
* BarList — ranked rows with a label, a proportional bar, a value and a percent, the
|
|
861
|
+
* shape the reference front end draws for "Largest states" / "Vendor source by count"
|
|
862
|
+
* (PLN-2 SMS-20).
|
|
863
|
+
*
|
|
864
|
+
* Each bar is scaled against the *largest* row (so the top row is always full width and
|
|
865
|
+
* the rest read relative to it, matching the reference), while the percent shown next to
|
|
866
|
+
* the value is computed against `total` (the sum of every row, by default) — the two
|
|
867
|
+
* numbers answer different questions and both matter. Not built on `Meter`: `Meter`
|
|
868
|
+
* stacks segments of one whole into a single bar, but a bar list draws one independent,
|
|
869
|
+
* fully proportional bar per row, which is a different shape than `Meter` produces.
|
|
870
|
+
* Reused from it instead: the same chart colour ramp and formatters (`chartInternal`,
|
|
871
|
+
* itself built on `SegmentedMeter`'s `meterFormats`) and the same row-composition idiom
|
|
872
|
+
* as `SegmentedMeter`'s legend rows (swatch, label, value).
|
|
873
|
+
*
|
|
874
|
+
* Every row is a real `<button>` wrapped in the kit's `Tooltip`, so the ranking is
|
|
875
|
+
* keyboard-reachable and each row's full detail is available as a tooltip even though
|
|
876
|
+
* the same numbers are already printed inline.
|
|
877
|
+
*/
|
|
878
|
+
declare function BarList({ rows, label, valueFormat, total, sort, maxRows, barHeight, state, error, onRetry, className, }: BarListProps): React.JSX.Element;
|
|
879
|
+
|
|
880
|
+
interface FunnelStep {
|
|
881
|
+
id: string;
|
|
882
|
+
label: string;
|
|
883
|
+
value: number;
|
|
884
|
+
}
|
|
885
|
+
interface FunnelChartProps {
|
|
886
|
+
/** In order, first to last — e.g. Sent, Delivered, Clicked, Opted-out. */
|
|
887
|
+
steps: FunnelStep[];
|
|
888
|
+
/** Accessible name for the whole funnel, e.g. "Send funnel". Required. */
|
|
889
|
+
label: string;
|
|
890
|
+
valueFormat?: (n: number) => string;
|
|
891
|
+
barHeight?: number;
|
|
892
|
+
state?: ChartState;
|
|
893
|
+
error?: string;
|
|
894
|
+
onRetry?: () => void;
|
|
895
|
+
className?: string;
|
|
896
|
+
}
|
|
897
|
+
/**
|
|
898
|
+
* FunnelChart — ordered steps drawn as a tapering stack (Sent -> Delivered -> Clicked ->
|
|
899
|
+
* Opted-out, the reference front end's own shape, PLN-2 SMS-20), each reporting its
|
|
900
|
+
* value, its step rate (conversion from the step before it) and its percent of the
|
|
901
|
+
* first step. Colour comes only from `--chart-1..8` (MP-210), one per step in order.
|
|
902
|
+
*
|
|
903
|
+
* Every step is a real `<button>` wrapped in the kit's `Tooltip`, keyboard-reachable
|
|
904
|
+
* exactly like `BarList`'s rows — a funnel is a ranked, ordered list before it is a
|
|
905
|
+
* picture, so it gets the same interaction.
|
|
906
|
+
*/
|
|
907
|
+
declare function FunnelChart({ steps, label, valueFormat, barHeight, state, error, onRetry, className, }: FunnelChartProps): React.JSX.Element;
|
|
908
|
+
|
|
757
909
|
interface ClampProps {
|
|
758
910
|
children?: React.ReactNode;
|
|
759
911
|
/** With maxChars, pass the raw string instead of children. */
|
|
@@ -2617,6 +2769,11 @@ declare function ProfilePage({ user: userProp, fields, notifications, extra, onC
|
|
|
2617
2769
|
* FlytedeskBrand.tsx), so it is wrapped in its own `data-theme="dark"` scope
|
|
2618
2770
|
* here to force the white variant against this page's permanently-dark
|
|
2619
2771
|
* background, without affecting the (light) Card beneath it.
|
|
2772
|
+
*
|
|
2773
|
+
* `error`, when set, renders as a danger-tone `Banner` above the sign-in
|
|
2774
|
+
* button, with `role="alert"` so assistive tech announces it immediately —
|
|
2775
|
+
* e.g. app-kit's AK-19 sends the user back here with a plain message ("Your
|
|
2776
|
+
* sign-in took too long. Please try again.") instead of a raw error payload.
|
|
2620
2777
|
*/
|
|
2621
2778
|
interface SignInContinueAs {
|
|
2622
2779
|
/** The previously-signed-in user's display name, e.g. "Dana Reyes". */
|
|
@@ -2637,8 +2794,11 @@ interface SignInPageProps {
|
|
|
2637
2794
|
* the page unloads. */
|
|
2638
2795
|
onSignIn: () => void;
|
|
2639
2796
|
continueAs?: SignInContinueAs;
|
|
2797
|
+
/** A plain-language message shown as a danger banner above the sign-in
|
|
2798
|
+
* button, e.g. after a failed silent resume. Omit for no banner. */
|
|
2799
|
+
error?: string;
|
|
2640
2800
|
}
|
|
2641
|
-
declare function SignInPage({ productName, onSignIn, continueAs }: SignInPageProps): React.JSX.Element;
|
|
2801
|
+
declare function SignInPage({ productName, onSignIn, continueAs, error }: SignInPageProps): React.JSX.Element;
|
|
2642
2802
|
|
|
2643
2803
|
interface RoadmapTimelineProps {
|
|
2644
2804
|
/** Called with a flag key when the reader clicks one — route it to your flag admin. */
|
|
@@ -4308,4 +4468,4 @@ declare function formatDocumentTitle(routeTitle: string | undefined | null, appN
|
|
|
4308
4468
|
*/
|
|
4309
4469
|
declare function useDocumentTitle(routeTitle: string | undefined | null, appName: string): void;
|
|
4310
4470
|
|
|
4311
|
-
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, BudgetReallocator, type BudgetReallocatorProps, Button, type ButtonProps, CHANNELS, CHANNEL_WEIGHTS, CHAT_UNAVAILABLE, Calendar, type CalendarProps, Card, 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, 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 FilterField, type FilterFieldOption, type FilterFieldSelect, type FilterFieldText, Flag$1 as Flag, type FlagExplanation, type FlagProps, FlytedeskBrand, type FlytedeskBrandProps, FlytedeskMark, type FlytedeskMarkProps, FormatEta, Gate, type GateProps, IMPORTANCE_LEVELS, IconButton, type IconButtonProps, type ImportanceLevel, type ImportanceLevelId, ImportanceTag, type ImportanceTagProps, type ImportanceTokens, Input, type InputProps, type JobStatus, 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 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, 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, 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, jobBucket, languageLabel, loadPrefs, markdownToText, meterFormats, modifierLabel, parseDelimited, pastedTextName, pluralizeUnit, preferenceScore, preferenceSegments, rangeFilter, resolveTheme, revokeAttachment, savePrefs, toAttachment, tokenize, useAppearancePrefs, useChatEngine, useDocumentTitle, useFeatureStatus, useFocusTrap, usePopoverPosition, useResponsiveRail, useRuntimeMode, useServerTable, useSessionContext, useStagedFiles, visibleMessages };
|
|
4471
|
+
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, 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 FilterField, type FilterFieldOption, type FilterFieldSelect, type FilterFieldText, Flag$1 as Flag, type FlagExplanation, type FlagProps, FlytedeskBrand, type FlytedeskBrandProps, FlytedeskMark, type FlytedeskMarkProps, FormatEta, FunnelChart, type FunnelChartProps, type FunnelStep, Gate, type GateProps, IMPORTANCE_LEVELS, IconButton, type IconButtonProps, type ImportanceLevel, type ImportanceLevelId, ImportanceTag, type ImportanceTagProps, type ImportanceTokens, Input, type InputProps, type JobStatus, 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 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, 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, jobBucket, languageLabel, loadPrefs, markdownToText, meterFormats, modifierLabel, parseDelimited, pastedTextName, pluralizeUnit, preferenceScore, preferenceSegments, rangeFilter, resolveTheme, revokeAttachment, savePrefs, toAttachment, tokenize, useAppearancePrefs, useChatEngine, useDocumentTitle, useFeatureStatus, useFocusTrap, usePopoverPosition, useResponsiveRail, useRuntimeMode, useServerTable, useSessionContext, useStagedFiles, visibleMessages };
|
package/dist/index.d.ts
CHANGED
|
@@ -754,6 +754,158 @@ interface AnimNumProps {
|
|
|
754
754
|
}
|
|
755
755
|
declare function AnimNum({ value, format, duration }: AnimNumProps): React.JSX.Element;
|
|
756
756
|
|
|
757
|
+
type ChartState = "loading" | "refreshing" | "ready" | "empty" | "error";
|
|
758
|
+
|
|
759
|
+
interface TrendSeries {
|
|
760
|
+
id: string;
|
|
761
|
+
label: string;
|
|
762
|
+
/** One value per shared category, in the same order as `categories`. */
|
|
763
|
+
values: number[];
|
|
764
|
+
/** Defaults to the categorical ramp in order. */
|
|
765
|
+
color?: string;
|
|
766
|
+
}
|
|
767
|
+
interface TrendChartProps {
|
|
768
|
+
/** The shared x-axis, e.g. dates or week labels. */
|
|
769
|
+
categories: string[];
|
|
770
|
+
series: TrendSeries[];
|
|
771
|
+
/** Accessible name for the chart as a whole, e.g. "Sends over time". Required. */
|
|
772
|
+
label: string;
|
|
773
|
+
/** Value formatter for axis ticks, point tooltips and the data table. */
|
|
774
|
+
valueFormat?: (n: number) => string;
|
|
775
|
+
/** Height in px. Width is always fluid (100% of the container). */
|
|
776
|
+
height?: number;
|
|
777
|
+
/** Number of horizontal gridlines (excluding the zero baseline). */
|
|
778
|
+
yTicks?: number;
|
|
779
|
+
state?: ChartState;
|
|
780
|
+
error?: string;
|
|
781
|
+
onRetry?: () => void;
|
|
782
|
+
className?: string;
|
|
783
|
+
}
|
|
784
|
+
/**
|
|
785
|
+
* TrendChart — a multi-series line chart over a shared category axis, with gridlines,
|
|
786
|
+
* axis labels and per-point tooltips. Colour comes only from `--chart-1..8` (MP-210):
|
|
787
|
+
* those tokens are identical across light, dark and high-contrast, so the lines need no
|
|
788
|
+
* theme-specific code; axis lines, gridlines and labels use the theme-aware `--border`
|
|
789
|
+
* and `--text-muted` tokens instead of a fixed grey.
|
|
790
|
+
*
|
|
791
|
+
* The SVG itself is decorative (`role="img"`, one accessible name for the whole
|
|
792
|
+
* picture) — the actual accessible interface is the keyboard-reachable legend below it
|
|
793
|
+
* (hover or focus a series to highlight its line and read its tooltip) plus the
|
|
794
|
+
* visually-hidden data table, which carries every value a sighted user can read off the
|
|
795
|
+
* lines. See chartInternal.tsx for both pieces, shared with the other three charts.
|
|
796
|
+
*/
|
|
797
|
+
declare function TrendChart({ categories, series, label, valueFormat, height, yTicks, state, error, onRetry, className, }: TrendChartProps): React.JSX.Element;
|
|
798
|
+
|
|
799
|
+
interface DonutSegment {
|
|
800
|
+
id: string;
|
|
801
|
+
label: string;
|
|
802
|
+
value: number;
|
|
803
|
+
/** Defaults to the categorical ramp in order. */
|
|
804
|
+
color?: string;
|
|
805
|
+
}
|
|
806
|
+
interface DonutChartProps {
|
|
807
|
+
segments: DonutSegment[];
|
|
808
|
+
/** Accessible name for the chart, e.g. "Vendor source". Required. */
|
|
809
|
+
label: string;
|
|
810
|
+
/** Diameter in px. The ring is always fluid up to this size (100% of a narrower
|
|
811
|
+
* container), never wider. */
|
|
812
|
+
size?: number;
|
|
813
|
+
thickness?: number;
|
|
814
|
+
/** Big number in the centre. Defaults to the segment total. */
|
|
815
|
+
centerLabel?: string;
|
|
816
|
+
centerSubLabel?: string;
|
|
817
|
+
valueFormat?: (n: number) => string;
|
|
818
|
+
state?: ChartState;
|
|
819
|
+
error?: string;
|
|
820
|
+
onRetry?: () => void;
|
|
821
|
+
className?: string;
|
|
822
|
+
}
|
|
823
|
+
/**
|
|
824
|
+
* DonutChart — segments drawn as concentric `stroke-dasharray` arcs (no path/arc maths
|
|
825
|
+
* needed for a ring), a centre label, and a keyboard-reachable legend. Colour comes only
|
|
826
|
+
* from `--chart-1..8` (MP-210), which render identically in light, dark and high
|
|
827
|
+
* contrast, so the ring needs no theme-specific code.
|
|
828
|
+
*
|
|
829
|
+
* Matches the operator's reference front end (PLN-2 SMS-20): a ring with a percentage
|
|
830
|
+
* in the centre and a legend of `label · pct% · count` rows below it (vendor source,
|
|
831
|
+
* blocked-number breakdown).
|
|
832
|
+
*/
|
|
833
|
+
declare function DonutChart({ segments, label, size, thickness, centerLabel, centerSubLabel, valueFormat, state, error, onRetry, className, }: DonutChartProps): React.JSX.Element;
|
|
834
|
+
|
|
835
|
+
interface BarListRow {
|
|
836
|
+
id: string;
|
|
837
|
+
label: string;
|
|
838
|
+
value: number;
|
|
839
|
+
/** Defaults to the categorical ramp in order. */
|
|
840
|
+
color?: string;
|
|
841
|
+
}
|
|
842
|
+
interface BarListProps {
|
|
843
|
+
rows: BarListRow[];
|
|
844
|
+
/** Accessible name for the whole list, e.g. "Largest states". Required. */
|
|
845
|
+
label: string;
|
|
846
|
+
valueFormat?: (n: number) => string;
|
|
847
|
+
/** Percent is computed against this. Defaults to the sum of every row's value. */
|
|
848
|
+
total?: number;
|
|
849
|
+
/** Sort descending by value before rendering. Default true — this IS a ranking. */
|
|
850
|
+
sort?: boolean;
|
|
851
|
+
/** Cap the number of rows drawn (after sorting). */
|
|
852
|
+
maxRows?: number;
|
|
853
|
+
barHeight?: number;
|
|
854
|
+
state?: ChartState;
|
|
855
|
+
error?: string;
|
|
856
|
+
onRetry?: () => void;
|
|
857
|
+
className?: string;
|
|
858
|
+
}
|
|
859
|
+
/**
|
|
860
|
+
* BarList — ranked rows with a label, a proportional bar, a value and a percent, the
|
|
861
|
+
* shape the reference front end draws for "Largest states" / "Vendor source by count"
|
|
862
|
+
* (PLN-2 SMS-20).
|
|
863
|
+
*
|
|
864
|
+
* Each bar is scaled against the *largest* row (so the top row is always full width and
|
|
865
|
+
* the rest read relative to it, matching the reference), while the percent shown next to
|
|
866
|
+
* the value is computed against `total` (the sum of every row, by default) — the two
|
|
867
|
+
* numbers answer different questions and both matter. Not built on `Meter`: `Meter`
|
|
868
|
+
* stacks segments of one whole into a single bar, but a bar list draws one independent,
|
|
869
|
+
* fully proportional bar per row, which is a different shape than `Meter` produces.
|
|
870
|
+
* Reused from it instead: the same chart colour ramp and formatters (`chartInternal`,
|
|
871
|
+
* itself built on `SegmentedMeter`'s `meterFormats`) and the same row-composition idiom
|
|
872
|
+
* as `SegmentedMeter`'s legend rows (swatch, label, value).
|
|
873
|
+
*
|
|
874
|
+
* Every row is a real `<button>` wrapped in the kit's `Tooltip`, so the ranking is
|
|
875
|
+
* keyboard-reachable and each row's full detail is available as a tooltip even though
|
|
876
|
+
* the same numbers are already printed inline.
|
|
877
|
+
*/
|
|
878
|
+
declare function BarList({ rows, label, valueFormat, total, sort, maxRows, barHeight, state, error, onRetry, className, }: BarListProps): React.JSX.Element;
|
|
879
|
+
|
|
880
|
+
interface FunnelStep {
|
|
881
|
+
id: string;
|
|
882
|
+
label: string;
|
|
883
|
+
value: number;
|
|
884
|
+
}
|
|
885
|
+
interface FunnelChartProps {
|
|
886
|
+
/** In order, first to last — e.g. Sent, Delivered, Clicked, Opted-out. */
|
|
887
|
+
steps: FunnelStep[];
|
|
888
|
+
/** Accessible name for the whole funnel, e.g. "Send funnel". Required. */
|
|
889
|
+
label: string;
|
|
890
|
+
valueFormat?: (n: number) => string;
|
|
891
|
+
barHeight?: number;
|
|
892
|
+
state?: ChartState;
|
|
893
|
+
error?: string;
|
|
894
|
+
onRetry?: () => void;
|
|
895
|
+
className?: string;
|
|
896
|
+
}
|
|
897
|
+
/**
|
|
898
|
+
* FunnelChart — ordered steps drawn as a tapering stack (Sent -> Delivered -> Clicked ->
|
|
899
|
+
* Opted-out, the reference front end's own shape, PLN-2 SMS-20), each reporting its
|
|
900
|
+
* value, its step rate (conversion from the step before it) and its percent of the
|
|
901
|
+
* first step. Colour comes only from `--chart-1..8` (MP-210), one per step in order.
|
|
902
|
+
*
|
|
903
|
+
* Every step is a real `<button>` wrapped in the kit's `Tooltip`, keyboard-reachable
|
|
904
|
+
* exactly like `BarList`'s rows — a funnel is a ranked, ordered list before it is a
|
|
905
|
+
* picture, so it gets the same interaction.
|
|
906
|
+
*/
|
|
907
|
+
declare function FunnelChart({ steps, label, valueFormat, barHeight, state, error, onRetry, className, }: FunnelChartProps): React.JSX.Element;
|
|
908
|
+
|
|
757
909
|
interface ClampProps {
|
|
758
910
|
children?: React.ReactNode;
|
|
759
911
|
/** With maxChars, pass the raw string instead of children. */
|
|
@@ -2617,6 +2769,11 @@ declare function ProfilePage({ user: userProp, fields, notifications, extra, onC
|
|
|
2617
2769
|
* FlytedeskBrand.tsx), so it is wrapped in its own `data-theme="dark"` scope
|
|
2618
2770
|
* here to force the white variant against this page's permanently-dark
|
|
2619
2771
|
* background, without affecting the (light) Card beneath it.
|
|
2772
|
+
*
|
|
2773
|
+
* `error`, when set, renders as a danger-tone `Banner` above the sign-in
|
|
2774
|
+
* button, with `role="alert"` so assistive tech announces it immediately —
|
|
2775
|
+
* e.g. app-kit's AK-19 sends the user back here with a plain message ("Your
|
|
2776
|
+
* sign-in took too long. Please try again.") instead of a raw error payload.
|
|
2620
2777
|
*/
|
|
2621
2778
|
interface SignInContinueAs {
|
|
2622
2779
|
/** The previously-signed-in user's display name, e.g. "Dana Reyes". */
|
|
@@ -2637,8 +2794,11 @@ interface SignInPageProps {
|
|
|
2637
2794
|
* the page unloads. */
|
|
2638
2795
|
onSignIn: () => void;
|
|
2639
2796
|
continueAs?: SignInContinueAs;
|
|
2797
|
+
/** A plain-language message shown as a danger banner above the sign-in
|
|
2798
|
+
* button, e.g. after a failed silent resume. Omit for no banner. */
|
|
2799
|
+
error?: string;
|
|
2640
2800
|
}
|
|
2641
|
-
declare function SignInPage({ productName, onSignIn, continueAs }: SignInPageProps): React.JSX.Element;
|
|
2801
|
+
declare function SignInPage({ productName, onSignIn, continueAs, error }: SignInPageProps): React.JSX.Element;
|
|
2642
2802
|
|
|
2643
2803
|
interface RoadmapTimelineProps {
|
|
2644
2804
|
/** Called with a flag key when the reader clicks one — route it to your flag admin. */
|
|
@@ -4308,4 +4468,4 @@ declare function formatDocumentTitle(routeTitle: string | undefined | null, appN
|
|
|
4308
4468
|
*/
|
|
4309
4469
|
declare function useDocumentTitle(routeTitle: string | undefined | null, appName: string): void;
|
|
4310
4470
|
|
|
4311
|
-
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, BudgetReallocator, type BudgetReallocatorProps, Button, type ButtonProps, CHANNELS, CHANNEL_WEIGHTS, CHAT_UNAVAILABLE, Calendar, type CalendarProps, Card, 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, 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 FilterField, type FilterFieldOption, type FilterFieldSelect, type FilterFieldText, Flag$1 as Flag, type FlagExplanation, type FlagProps, FlytedeskBrand, type FlytedeskBrandProps, FlytedeskMark, type FlytedeskMarkProps, FormatEta, Gate, type GateProps, IMPORTANCE_LEVELS, IconButton, type IconButtonProps, type ImportanceLevel, type ImportanceLevelId, ImportanceTag, type ImportanceTagProps, type ImportanceTokens, Input, type InputProps, type JobStatus, 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 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, 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, 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, jobBucket, languageLabel, loadPrefs, markdownToText, meterFormats, modifierLabel, parseDelimited, pastedTextName, pluralizeUnit, preferenceScore, preferenceSegments, rangeFilter, resolveTheme, revokeAttachment, savePrefs, toAttachment, tokenize, useAppearancePrefs, useChatEngine, useDocumentTitle, useFeatureStatus, useFocusTrap, usePopoverPosition, useResponsiveRail, useRuntimeMode, useServerTable, useSessionContext, useStagedFiles, visibleMessages };
|
|
4471
|
+
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, 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 FilterField, type FilterFieldOption, type FilterFieldSelect, type FilterFieldText, Flag$1 as Flag, type FlagExplanation, type FlagProps, FlytedeskBrand, type FlytedeskBrandProps, FlytedeskMark, type FlytedeskMarkProps, FormatEta, FunnelChart, type FunnelChartProps, type FunnelStep, Gate, type GateProps, IMPORTANCE_LEVELS, IconButton, type IconButtonProps, type ImportanceLevel, type ImportanceLevelId, ImportanceTag, type ImportanceTagProps, type ImportanceTokens, Input, type InputProps, type JobStatus, 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 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, 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, jobBucket, languageLabel, loadPrefs, markdownToText, meterFormats, modifierLabel, parseDelimited, pastedTextName, pluralizeUnit, preferenceScore, preferenceSegments, rangeFilter, resolveTheme, revokeAttachment, savePrefs, toAttachment, tokenize, useAppearancePrefs, useChatEngine, useDocumentTitle, useFeatureStatus, useFocusTrap, usePopoverPosition, useResponsiveRail, useRuntimeMode, useServerTable, useSessionContext, useStagedFiles, visibleMessages };
|