@hxdhxd/harmony-flow-ui 0.2.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -862,8 +862,64 @@ declare function MobileNavigation({ brand, items, mode, activeKey, open, onOpenC
862
862
  interface ScrollspyProps extends HTMLAttributes<HTMLElement>, NavigationSelectionProps {
863
863
  items: readonly NavigationItem[];
864
864
  rootMargin?: string;
865
+ /** Scroll container that owns the observed sections. Omit to observe the document viewport. */
866
+ target?: HTMLElement | null;
867
+ }
868
+ declare function Scrollspy({ items, activeKey, onItemSelect, rootMargin, target, className, ...props }: ScrollspyProps): react.JSX.Element;
869
+
870
+ interface BackToTopProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'onClick' | 'type'> {
871
+ target?: HTMLElement | null;
872
+ threshold?: number;
873
+ behavior?: ScrollBehavior;
874
+ label?: string;
875
+ onActivate?: () => void;
865
876
  }
866
- declare function Scrollspy({ items, activeKey, onItemSelect, rootMargin, className, ...props }: ScrollspyProps): react.JSX.Element;
877
+ declare function BackToTop({ target, threshold, behavior, label, onActivate, className, ...props }: BackToTopProps): react.JSX.Element | null;
878
+
879
+ interface HierarchicalSidebarProps extends Omit<HTMLAttributes<HTMLElement>, 'title'>, NavigationSelectionProps {
880
+ items: readonly NavigationItem[];
881
+ title?: ReactNode;
882
+ expandedKeys?: readonly string[];
883
+ defaultExpandedKeys?: readonly string[];
884
+ onExpandedChange?: (keys: string[]) => void;
885
+ }
886
+ declare function HierarchicalSidebar({ items, title, activeKey, onItemSelect, expandedKeys, defaultExpandedKeys, onExpandedChange, className, ...props }: HierarchicalSidebarProps): react.JSX.Element;
887
+
888
+ interface LongPageNavigationProps extends Omit<HTMLAttributes<HTMLElement>, 'title'>, NavigationSelectionProps {
889
+ items: readonly NavigationItem[];
890
+ target?: HTMLElement | null;
891
+ title?: ReactNode;
892
+ progressLabel?: string;
893
+ rootMargin?: string;
894
+ backToTopThreshold?: number;
895
+ showProgress?: boolean;
896
+ }
897
+ declare function LongPageNavigation({ items, target, title, progressLabel, rootMargin, backToTopThreshold, showProgress, activeKey, onItemSelect, className, ...props }: LongPageNavigationProps): react.JSX.Element;
898
+
899
+ interface BottomNavigationProps extends HTMLAttributes<HTMLElement>, NavigationSelectionProps {
900
+ items: readonly NavigationItem[];
901
+ label?: string;
902
+ }
903
+ declare function BottomNavigation({ items, label, activeKey, onItemSelect, className, ...props }: BottomNavigationProps): react.JSX.Element;
904
+
905
+ interface PullToRefreshProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onRefresh'> {
906
+ children: ReactNode;
907
+ onRefresh: () => void | Promise<void>;
908
+ threshold?: number;
909
+ disabled?: boolean;
910
+ label?: string;
911
+ onRefreshError?: (error: unknown) => void;
912
+ }
913
+ declare function PullToRefresh({ children, onRefresh, threshold, disabled, label, onRefreshError, className, onPointerDown, onPointerMove, onPointerUp, onPointerCancel, ...props }: PullToRefreshProps): react.JSX.Element;
914
+
915
+ interface MobileContentNavigationProps extends HTMLAttributes<HTMLDivElement>, NavigationSelectionProps {
916
+ items: readonly NavigationItem[];
917
+ children: ReactNode;
918
+ onRefresh?: () => void | Promise<void>;
919
+ refreshThreshold?: number;
920
+ navigationLabel?: string;
921
+ }
922
+ declare function MobileContentNavigation({ items, children, onRefresh, refreshThreshold, navigationLabel, activeKey, onItemSelect, className, ...props }: MobileContentNavigationProps): react.JSX.Element;
867
923
 
868
924
  interface ShrinkNavProps extends HTMLAttributes<HTMLElement>, NavigationSelectionProps {
869
925
  brand: ReactNode;
@@ -1449,9 +1505,14 @@ interface TreeProps {
1449
1505
  selectedKey?: string;
1450
1506
  onSelect?: (key: string) => void;
1451
1507
  defaultExpandedKeys?: readonly string[];
1508
+ expandedKeys?: readonly string[];
1509
+ onExpand?: (keys: string[]) => void;
1452
1510
  label?: string;
1511
+ showIcon?: boolean;
1512
+ showLine?: boolean;
1513
+ emptyText?: ReactNode;
1453
1514
  }
1454
- declare function Tree({ nodes, selectedKey, onSelect, defaultExpandedKeys, label }: TreeProps): react.JSX.Element;
1515
+ declare function Tree({ nodes, selectedKey, onSelect, defaultExpandedKeys, expandedKeys, onExpand, label, showIcon, showLine, emptyText }: TreeProps): react.JSX.Element;
1455
1516
 
1456
1517
  interface AuthLayoutProps {
1457
1518
  children: ReactNode;
@@ -1828,4 +1889,43 @@ interface OptimisticUpdateProps<T> {
1828
1889
  }
1829
1890
  declare function OptimisticUpdate<T>(props: OptimisticUpdateProps<T>): react.JSX.Element;
1830
1891
 
1831
- export { Accordion, type AccordionItem, type AccordionProps, ActivityFeed, type ActivityFeedProps, ActivityIndicator, type ActivityIndicatorProps, type ActivityItem, type AgentRunStatus, type AgentRunStep, AgentRunTimeline, type AgentRunTimelineProps, Alert, type Announcement, AnnouncementBar, type AnnouncementBarProps, ApprovalFlow, type ApprovalFlowProps, type ApprovalStatus, type ApprovalStep, type AuditEvent, AuditLog, type AuditLogProps, AuthLayout, type AuthLayoutProps, AvailabilityGrid, type AvailabilityState, Avatar, AvatarGroup, type AvatarGroupItem, type AvatarGroupProps, Badge, Breadcrumb, type BreadcrumbProps, Button, ButtonGroup, type ButtonProps, Calendar, type CalendarProps, type CalendarResource, Card, type CardProps, Cascader, type CascaderOption, ChartContainer, type ChartContainerProps, ChartCrosshair, type ChartCrosshairProps, type ChartLegendItem, type ChatAttachment, ChatComposer, type ChatComposerProps, ChatMessage, type ChatMessageProps, Checkbox, CheckboxGroup, ChecklistConfirm, type ChecklistConfirmProps, ChoiceGroup, type ChoiceOption, CircularProgress, type CircularProgressProps, type CitationItem, CitationList, type CitationListProps, CodeBlock, type CodeBlockProps, CodeEditor, type CodeEditorProps, ColorPicker, type ColorPickerProps, Combobox, type ComboboxOption, type ComboboxProps, type CommandItem, CommandPalette, type CommandPaletteProps, type CommentItem, CommentThread, type CommentThreadProps, type ConfirmationItem, Container, type ContainerProps, ContextMenu, type ContextMenuProps, ConversationBranch, type ConversationBranchProps, type CrosshairPoint, DataGrid, type DataGridColumn, type DataGridProps, DatePicker, type DatePickerProps, DateRangePicker, type DescriptionItem, Descriptions, DiffViewer, type DiffViewerProps, Divider, Drawer, type DrawerProps, DrilldownChart, type DrilldownChartProps, type DrilldownItem, Dropdown, type DropdownItem, DropdownMenu, type DropdownProps, EmptyState, EventCard, ExpandablePanel, type ExpandablePanelProps, FileExplorer, type FileItem, FilePreview, FilterBuilder, type FilterBuilderProps, type FilterField, type FilterOption, type FilterValue, FloatingNav, type FloatingNavProps, FlowCanvas, type FlowCanvasProps, type FlowEdge, type FlowNode, Form, FormItem, type FormItemProps, type FormProps, GanttChart, type GanttChartProps, type GanttTask, Grid, type GridProps, Hero, type HeroProps, HoldToConfirm, type HoldToConfirmProps, HotspotGuide, type HotspotGuideProps, Icon, IconButton, type IconButtonProps, type IconName, type IconProps, InfiniteScroll, type InfiniteScrollProps, Input, type InputProps, InsightBoard, type InsightBoardProps, JsonViewer, type JsonViewerProps, KanbanBoard, type KanbanBoardProps, type KanbanCard, type KanbanColumn, LazyLoad, type LazyLoadProps, LegendFilter, type LegendFilterItem, type LegendFilterProps, Link, List, type ListItem, LoadMore, type LoadMoreProps, LoadingDots, LoadingOverlay, type LoadingOverlayProps, MarkdownContent, type MarkdownContentProps, Masonry, type MasonryProps, MegaMenu, type MemberOption, MemberPicker, MentionInput, type MentionInputProps, type MentionOption, MobileNavigation, type MobileNavigationProps, Modal, type ModalProps, type ModelOption, ModelSelector, type ModelSelectorProps, MultiSelect, type MultiSelectProps, type NavigationItem, type NavigationSelectionProps, Notification, NotificationCenter, type NotificationCenterProps, type NotificationItem, type NotificationProps, NumberInput, type NumberInputProps, OnboardingChecklist, type OnboardingChecklistProps, type OnboardingTask, OptimisticUpdate, type OptimisticUpdateProps, type OptimisticUpdateState, PageLayout, type PageLayoutProps, Pagination, type PaginationProps, type PermissionLevel, PermissionMatrix, type PermissionResource, type PermissionSubject, PivotTable, type PivotTableProps, type PivotValue, Popconfirm, type PopconfirmProps, Popover, type PopoverProps, Presence, type PresenceProps, type PresenceStatus, ProductTour, type ProductTourProps, type ProductTourStep, Progress, ProgressBar, type ProgressProps, ProgressRing, type PromptSuggestion, PromptSuggestions, type PromptSuggestionsProps, QueryBuilder, type QueryBuilderProps, type QueryField, type QueryOperator, type QueryRule, Radio, RadioGroup, RangeBrush, type RangeBrushProps, ReadMore, type ReadMoreProps, ReadingProgress, type ReadingProgressProps, RecurrenceEditor, type RecurrenceValue, ResizablePanel, type ResizablePanelProps, ResourceCalendar, Result, type ResultProps, RichTextEditor, type RichTextEditorProps, type ScheduleEvent, Scheduler, Scrollspy, type ScrollspyProps, SearchInput, type SegmentOption, SegmentedControl, type SegmentedControlProps, Select, type SelectOption, type SelectProps, SharePanel, type ShareScope, ShrinkNav, type ShrinkNavProps, Sidebar, type SidebarProps, Skeleton, type SkeletonProps, Slider, type SliderProps, SortableList, type SortableListItem, type SortableListProps, Sparkline, type SparklineProps, Spinner, SplitButton, type SplitButtonOption, type SplitButtonProps, Stack, type StackProps, Stat, StatisticCard, type StatisticCardProps, type StepItem, StepProgress, type StepProgressProps, Steps, type StepsProps, type SwipeAction, SwipeActions, type SwipeActionsProps, Switch, type SwitchProps, type TabItem, Table, type TableColumn, type TableProps, Tabs, type TabsProps, Tag, Textarea, type TextareaProps, ThemeProvider, type ThemeProviderProps, type ThemeTokens, TimePicker, type TimePickerProps, Timeline, type TimelineItem, type TimezoneOption, TimezoneSelect, Toast, type ToastProps, TokenUsage, type TokenUsageProps, ToolCallCard, type ToolCallCardProps, type ToolCallStatus, Tooltip, Transfer, type TransferItem, Tree, type TreeNode, type TreeProps, TreeSelect, type TreeSelectOption, TypedConfirm, type TypedConfirmProps, Typography, type TypographyProps, type TypographyVariant, UndoNotice, type UndoNoticeProps, Upload, type UploadProps, type UploadRejection, type UploadRejectionReason, ValidatedInput, type ValidatedInputProps, type ValidationRule, VersionHistory, type VersionItem, VirtualList, type VirtualListProps, VoiceInput, type VoiceInputProps, ZoomableChart, type ZoomableChartProps, activateNavigationItem, darkTheme, defaultTheme, highContrastTheme, tokensToStyle, validateForm, validateValue };
1892
+ type TaskProgressPhase = 'idle' | 'running' | 'success' | 'error' | 'cancelled';
1893
+ interface TaskProgressReport {
1894
+ stageId: string;
1895
+ progress?: number;
1896
+ message?: string;
1897
+ }
1898
+ interface TaskProgressContext {
1899
+ signal: AbortSignal;
1900
+ report: (update: TaskProgressReport) => void;
1901
+ }
1902
+ interface TaskProgressSnapshot<TResult> {
1903
+ phase: TaskProgressPhase;
1904
+ activeStageId?: string;
1905
+ progress: number;
1906
+ message?: string;
1907
+ result?: TResult;
1908
+ start: () => void;
1909
+ cancel: () => void;
1910
+ retry: () => void;
1911
+ }
1912
+
1913
+ interface TaskProgressStage {
1914
+ id: string;
1915
+ label: ReactNode;
1916
+ description?: ReactNode;
1917
+ }
1918
+ interface TaskProgressProps<TResult> {
1919
+ taskKey: string | number;
1920
+ stages: readonly TaskProgressStage[];
1921
+ run: (context: TaskProgressContext) => Promise<TResult>;
1922
+ title?: ReactNode;
1923
+ autoStart?: boolean;
1924
+ disabled?: boolean;
1925
+ renderResult?: (result: TResult) => ReactNode;
1926
+ onPhaseChange?: (phase: TaskProgressPhase) => void;
1927
+ className?: string;
1928
+ }
1929
+ declare function TaskProgress<TResult>(props: TaskProgressProps<TResult>): react.JSX.Element;
1930
+
1931
+ export { Accordion, type AccordionItem, type AccordionProps, ActivityFeed, type ActivityFeedProps, ActivityIndicator, type ActivityIndicatorProps, type ActivityItem, type AgentRunStatus, type AgentRunStep, AgentRunTimeline, type AgentRunTimelineProps, Alert, type Announcement, AnnouncementBar, type AnnouncementBarProps, ApprovalFlow, type ApprovalFlowProps, type ApprovalStatus, type ApprovalStep, type AuditEvent, AuditLog, type AuditLogProps, AuthLayout, type AuthLayoutProps, AvailabilityGrid, type AvailabilityState, Avatar, AvatarGroup, type AvatarGroupItem, type AvatarGroupProps, BackToTop, type BackToTopProps, Badge, BottomNavigation, type BottomNavigationProps, Breadcrumb, type BreadcrumbProps, Button, ButtonGroup, type ButtonProps, Calendar, type CalendarProps, type CalendarResource, Card, type CardProps, Cascader, type CascaderOption, ChartContainer, type ChartContainerProps, ChartCrosshair, type ChartCrosshairProps, type ChartLegendItem, type ChatAttachment, ChatComposer, type ChatComposerProps, ChatMessage, type ChatMessageProps, Checkbox, CheckboxGroup, ChecklistConfirm, type ChecklistConfirmProps, ChoiceGroup, type ChoiceOption, CircularProgress, type CircularProgressProps, type CitationItem, CitationList, type CitationListProps, CodeBlock, type CodeBlockProps, CodeEditor, type CodeEditorProps, ColorPicker, type ColorPickerProps, Combobox, type ComboboxOption, type ComboboxProps, type CommandItem, CommandPalette, type CommandPaletteProps, type CommentItem, CommentThread, type CommentThreadProps, type ConfirmationItem, Container, type ContainerProps, ContextMenu, type ContextMenuProps, ConversationBranch, type ConversationBranchProps, type CrosshairPoint, DataGrid, type DataGridColumn, type DataGridProps, DatePicker, type DatePickerProps, DateRangePicker, type DescriptionItem, Descriptions, DiffViewer, type DiffViewerProps, Divider, Drawer, type DrawerProps, DrilldownChart, type DrilldownChartProps, type DrilldownItem, Dropdown, type DropdownItem, DropdownMenu, type DropdownProps, EmptyState, EventCard, ExpandablePanel, type ExpandablePanelProps, FileExplorer, type FileItem, FilePreview, FilterBuilder, type FilterBuilderProps, type FilterField, type FilterOption, type FilterValue, FloatingNav, type FloatingNavProps, FlowCanvas, type FlowCanvasProps, type FlowEdge, type FlowNode, Form, FormItem, type FormItemProps, type FormProps, GanttChart, type GanttChartProps, type GanttTask, Grid, type GridProps, Hero, type HeroProps, HierarchicalSidebar, type HierarchicalSidebarProps, HoldToConfirm, type HoldToConfirmProps, HotspotGuide, type HotspotGuideProps, Icon, IconButton, type IconButtonProps, type IconName, type IconProps, InfiniteScroll, type InfiniteScrollProps, Input, type InputProps, InsightBoard, type InsightBoardProps, JsonViewer, type JsonViewerProps, KanbanBoard, type KanbanBoardProps, type KanbanCard, type KanbanColumn, LazyLoad, type LazyLoadProps, LegendFilter, type LegendFilterItem, type LegendFilterProps, Link, List, type ListItem, LoadMore, type LoadMoreProps, LoadingDots, LoadingOverlay, type LoadingOverlayProps, LongPageNavigation, type LongPageNavigationProps, MarkdownContent, type MarkdownContentProps, Masonry, type MasonryProps, MegaMenu, type MemberOption, MemberPicker, MentionInput, type MentionInputProps, type MentionOption, MobileContentNavigation, type MobileContentNavigationProps, MobileNavigation, type MobileNavigationProps, Modal, type ModalProps, type ModelOption, ModelSelector, type ModelSelectorProps, MultiSelect, type MultiSelectProps, type NavigationItem, type NavigationSelectionProps, Notification, NotificationCenter, type NotificationCenterProps, type NotificationItem, type NotificationProps, NumberInput, type NumberInputProps, OnboardingChecklist, type OnboardingChecklistProps, type OnboardingTask, OptimisticUpdate, type OptimisticUpdateProps, type OptimisticUpdateState, PageLayout, type PageLayoutProps, Pagination, type PaginationProps, type PermissionLevel, PermissionMatrix, type PermissionResource, type PermissionSubject, PivotTable, type PivotTableProps, type PivotValue, Popconfirm, type PopconfirmProps, Popover, type PopoverProps, Presence, type PresenceProps, type PresenceStatus, ProductTour, type ProductTourProps, type ProductTourStep, Progress, ProgressBar, type ProgressProps, ProgressRing, type PromptSuggestion, PromptSuggestions, type PromptSuggestionsProps, PullToRefresh, type PullToRefreshProps, QueryBuilder, type QueryBuilderProps, type QueryField, type QueryOperator, type QueryRule, Radio, RadioGroup, RangeBrush, type RangeBrushProps, ReadMore, type ReadMoreProps, ReadingProgress, type ReadingProgressProps, RecurrenceEditor, type RecurrenceValue, ResizablePanel, type ResizablePanelProps, ResourceCalendar, Result, type ResultProps, RichTextEditor, type RichTextEditorProps, type ScheduleEvent, Scheduler, Scrollspy, type ScrollspyProps, SearchInput, type SegmentOption, SegmentedControl, type SegmentedControlProps, Select, type SelectOption, type SelectProps, SharePanel, type ShareScope, ShrinkNav, type ShrinkNavProps, Sidebar, type SidebarProps, Skeleton, type SkeletonProps, Slider, type SliderProps, SortableList, type SortableListItem, type SortableListProps, Sparkline, type SparklineProps, Spinner, SplitButton, type SplitButtonOption, type SplitButtonProps, Stack, type StackProps, Stat, StatisticCard, type StatisticCardProps, type StepItem, StepProgress, type StepProgressProps, Steps, type StepsProps, type SwipeAction, SwipeActions, type SwipeActionsProps, Switch, type SwitchProps, type TabItem, Table, type TableColumn, type TableProps, Tabs, type TabsProps, Tag, TaskProgress, type TaskProgressContext, type TaskProgressPhase, type TaskProgressProps, type TaskProgressReport, type TaskProgressSnapshot, type TaskProgressStage, Textarea, type TextareaProps, ThemeProvider, type ThemeProviderProps, type ThemeTokens, TimePicker, type TimePickerProps, Timeline, type TimelineItem, type TimezoneOption, TimezoneSelect, Toast, type ToastProps, TokenUsage, type TokenUsageProps, ToolCallCard, type ToolCallCardProps, type ToolCallStatus, Tooltip, Transfer, type TransferItem, Tree, type TreeNode, type TreeProps, TreeSelect, type TreeSelectOption, TypedConfirm, type TypedConfirmProps, Typography, type TypographyProps, type TypographyVariant, UndoNotice, type UndoNoticeProps, Upload, type UploadProps, type UploadRejection, type UploadRejectionReason, ValidatedInput, type ValidatedInputProps, type ValidationRule, VersionHistory, type VersionItem, VirtualList, type VirtualListProps, VoiceInput, type VoiceInputProps, ZoomableChart, type ZoomableChartProps, activateNavigationItem, darkTheme, defaultTheme, highContrastTheme, tokensToStyle, validateForm, validateValue };
package/dist/index.d.ts CHANGED
@@ -862,8 +862,64 @@ declare function MobileNavigation({ brand, items, mode, activeKey, open, onOpenC
862
862
  interface ScrollspyProps extends HTMLAttributes<HTMLElement>, NavigationSelectionProps {
863
863
  items: readonly NavigationItem[];
864
864
  rootMargin?: string;
865
+ /** Scroll container that owns the observed sections. Omit to observe the document viewport. */
866
+ target?: HTMLElement | null;
867
+ }
868
+ declare function Scrollspy({ items, activeKey, onItemSelect, rootMargin, target, className, ...props }: ScrollspyProps): react.JSX.Element;
869
+
870
+ interface BackToTopProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'onClick' | 'type'> {
871
+ target?: HTMLElement | null;
872
+ threshold?: number;
873
+ behavior?: ScrollBehavior;
874
+ label?: string;
875
+ onActivate?: () => void;
865
876
  }
866
- declare function Scrollspy({ items, activeKey, onItemSelect, rootMargin, className, ...props }: ScrollspyProps): react.JSX.Element;
877
+ declare function BackToTop({ target, threshold, behavior, label, onActivate, className, ...props }: BackToTopProps): react.JSX.Element | null;
878
+
879
+ interface HierarchicalSidebarProps extends Omit<HTMLAttributes<HTMLElement>, 'title'>, NavigationSelectionProps {
880
+ items: readonly NavigationItem[];
881
+ title?: ReactNode;
882
+ expandedKeys?: readonly string[];
883
+ defaultExpandedKeys?: readonly string[];
884
+ onExpandedChange?: (keys: string[]) => void;
885
+ }
886
+ declare function HierarchicalSidebar({ items, title, activeKey, onItemSelect, expandedKeys, defaultExpandedKeys, onExpandedChange, className, ...props }: HierarchicalSidebarProps): react.JSX.Element;
887
+
888
+ interface LongPageNavigationProps extends Omit<HTMLAttributes<HTMLElement>, 'title'>, NavigationSelectionProps {
889
+ items: readonly NavigationItem[];
890
+ target?: HTMLElement | null;
891
+ title?: ReactNode;
892
+ progressLabel?: string;
893
+ rootMargin?: string;
894
+ backToTopThreshold?: number;
895
+ showProgress?: boolean;
896
+ }
897
+ declare function LongPageNavigation({ items, target, title, progressLabel, rootMargin, backToTopThreshold, showProgress, activeKey, onItemSelect, className, ...props }: LongPageNavigationProps): react.JSX.Element;
898
+
899
+ interface BottomNavigationProps extends HTMLAttributes<HTMLElement>, NavigationSelectionProps {
900
+ items: readonly NavigationItem[];
901
+ label?: string;
902
+ }
903
+ declare function BottomNavigation({ items, label, activeKey, onItemSelect, className, ...props }: BottomNavigationProps): react.JSX.Element;
904
+
905
+ interface PullToRefreshProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onRefresh'> {
906
+ children: ReactNode;
907
+ onRefresh: () => void | Promise<void>;
908
+ threshold?: number;
909
+ disabled?: boolean;
910
+ label?: string;
911
+ onRefreshError?: (error: unknown) => void;
912
+ }
913
+ declare function PullToRefresh({ children, onRefresh, threshold, disabled, label, onRefreshError, className, onPointerDown, onPointerMove, onPointerUp, onPointerCancel, ...props }: PullToRefreshProps): react.JSX.Element;
914
+
915
+ interface MobileContentNavigationProps extends HTMLAttributes<HTMLDivElement>, NavigationSelectionProps {
916
+ items: readonly NavigationItem[];
917
+ children: ReactNode;
918
+ onRefresh?: () => void | Promise<void>;
919
+ refreshThreshold?: number;
920
+ navigationLabel?: string;
921
+ }
922
+ declare function MobileContentNavigation({ items, children, onRefresh, refreshThreshold, navigationLabel, activeKey, onItemSelect, className, ...props }: MobileContentNavigationProps): react.JSX.Element;
867
923
 
868
924
  interface ShrinkNavProps extends HTMLAttributes<HTMLElement>, NavigationSelectionProps {
869
925
  brand: ReactNode;
@@ -1449,9 +1505,14 @@ interface TreeProps {
1449
1505
  selectedKey?: string;
1450
1506
  onSelect?: (key: string) => void;
1451
1507
  defaultExpandedKeys?: readonly string[];
1508
+ expandedKeys?: readonly string[];
1509
+ onExpand?: (keys: string[]) => void;
1452
1510
  label?: string;
1511
+ showIcon?: boolean;
1512
+ showLine?: boolean;
1513
+ emptyText?: ReactNode;
1453
1514
  }
1454
- declare function Tree({ nodes, selectedKey, onSelect, defaultExpandedKeys, label }: TreeProps): react.JSX.Element;
1515
+ declare function Tree({ nodes, selectedKey, onSelect, defaultExpandedKeys, expandedKeys, onExpand, label, showIcon, showLine, emptyText }: TreeProps): react.JSX.Element;
1455
1516
 
1456
1517
  interface AuthLayoutProps {
1457
1518
  children: ReactNode;
@@ -1828,4 +1889,43 @@ interface OptimisticUpdateProps<T> {
1828
1889
  }
1829
1890
  declare function OptimisticUpdate<T>(props: OptimisticUpdateProps<T>): react.JSX.Element;
1830
1891
 
1831
- export { Accordion, type AccordionItem, type AccordionProps, ActivityFeed, type ActivityFeedProps, ActivityIndicator, type ActivityIndicatorProps, type ActivityItem, type AgentRunStatus, type AgentRunStep, AgentRunTimeline, type AgentRunTimelineProps, Alert, type Announcement, AnnouncementBar, type AnnouncementBarProps, ApprovalFlow, type ApprovalFlowProps, type ApprovalStatus, type ApprovalStep, type AuditEvent, AuditLog, type AuditLogProps, AuthLayout, type AuthLayoutProps, AvailabilityGrid, type AvailabilityState, Avatar, AvatarGroup, type AvatarGroupItem, type AvatarGroupProps, Badge, Breadcrumb, type BreadcrumbProps, Button, ButtonGroup, type ButtonProps, Calendar, type CalendarProps, type CalendarResource, Card, type CardProps, Cascader, type CascaderOption, ChartContainer, type ChartContainerProps, ChartCrosshair, type ChartCrosshairProps, type ChartLegendItem, type ChatAttachment, ChatComposer, type ChatComposerProps, ChatMessage, type ChatMessageProps, Checkbox, CheckboxGroup, ChecklistConfirm, type ChecklistConfirmProps, ChoiceGroup, type ChoiceOption, CircularProgress, type CircularProgressProps, type CitationItem, CitationList, type CitationListProps, CodeBlock, type CodeBlockProps, CodeEditor, type CodeEditorProps, ColorPicker, type ColorPickerProps, Combobox, type ComboboxOption, type ComboboxProps, type CommandItem, CommandPalette, type CommandPaletteProps, type CommentItem, CommentThread, type CommentThreadProps, type ConfirmationItem, Container, type ContainerProps, ContextMenu, type ContextMenuProps, ConversationBranch, type ConversationBranchProps, type CrosshairPoint, DataGrid, type DataGridColumn, type DataGridProps, DatePicker, type DatePickerProps, DateRangePicker, type DescriptionItem, Descriptions, DiffViewer, type DiffViewerProps, Divider, Drawer, type DrawerProps, DrilldownChart, type DrilldownChartProps, type DrilldownItem, Dropdown, type DropdownItem, DropdownMenu, type DropdownProps, EmptyState, EventCard, ExpandablePanel, type ExpandablePanelProps, FileExplorer, type FileItem, FilePreview, FilterBuilder, type FilterBuilderProps, type FilterField, type FilterOption, type FilterValue, FloatingNav, type FloatingNavProps, FlowCanvas, type FlowCanvasProps, type FlowEdge, type FlowNode, Form, FormItem, type FormItemProps, type FormProps, GanttChart, type GanttChartProps, type GanttTask, Grid, type GridProps, Hero, type HeroProps, HoldToConfirm, type HoldToConfirmProps, HotspotGuide, type HotspotGuideProps, Icon, IconButton, type IconButtonProps, type IconName, type IconProps, InfiniteScroll, type InfiniteScrollProps, Input, type InputProps, InsightBoard, type InsightBoardProps, JsonViewer, type JsonViewerProps, KanbanBoard, type KanbanBoardProps, type KanbanCard, type KanbanColumn, LazyLoad, type LazyLoadProps, LegendFilter, type LegendFilterItem, type LegendFilterProps, Link, List, type ListItem, LoadMore, type LoadMoreProps, LoadingDots, LoadingOverlay, type LoadingOverlayProps, MarkdownContent, type MarkdownContentProps, Masonry, type MasonryProps, MegaMenu, type MemberOption, MemberPicker, MentionInput, type MentionInputProps, type MentionOption, MobileNavigation, type MobileNavigationProps, Modal, type ModalProps, type ModelOption, ModelSelector, type ModelSelectorProps, MultiSelect, type MultiSelectProps, type NavigationItem, type NavigationSelectionProps, Notification, NotificationCenter, type NotificationCenterProps, type NotificationItem, type NotificationProps, NumberInput, type NumberInputProps, OnboardingChecklist, type OnboardingChecklistProps, type OnboardingTask, OptimisticUpdate, type OptimisticUpdateProps, type OptimisticUpdateState, PageLayout, type PageLayoutProps, Pagination, type PaginationProps, type PermissionLevel, PermissionMatrix, type PermissionResource, type PermissionSubject, PivotTable, type PivotTableProps, type PivotValue, Popconfirm, type PopconfirmProps, Popover, type PopoverProps, Presence, type PresenceProps, type PresenceStatus, ProductTour, type ProductTourProps, type ProductTourStep, Progress, ProgressBar, type ProgressProps, ProgressRing, type PromptSuggestion, PromptSuggestions, type PromptSuggestionsProps, QueryBuilder, type QueryBuilderProps, type QueryField, type QueryOperator, type QueryRule, Radio, RadioGroup, RangeBrush, type RangeBrushProps, ReadMore, type ReadMoreProps, ReadingProgress, type ReadingProgressProps, RecurrenceEditor, type RecurrenceValue, ResizablePanel, type ResizablePanelProps, ResourceCalendar, Result, type ResultProps, RichTextEditor, type RichTextEditorProps, type ScheduleEvent, Scheduler, Scrollspy, type ScrollspyProps, SearchInput, type SegmentOption, SegmentedControl, type SegmentedControlProps, Select, type SelectOption, type SelectProps, SharePanel, type ShareScope, ShrinkNav, type ShrinkNavProps, Sidebar, type SidebarProps, Skeleton, type SkeletonProps, Slider, type SliderProps, SortableList, type SortableListItem, type SortableListProps, Sparkline, type SparklineProps, Spinner, SplitButton, type SplitButtonOption, type SplitButtonProps, Stack, type StackProps, Stat, StatisticCard, type StatisticCardProps, type StepItem, StepProgress, type StepProgressProps, Steps, type StepsProps, type SwipeAction, SwipeActions, type SwipeActionsProps, Switch, type SwitchProps, type TabItem, Table, type TableColumn, type TableProps, Tabs, type TabsProps, Tag, Textarea, type TextareaProps, ThemeProvider, type ThemeProviderProps, type ThemeTokens, TimePicker, type TimePickerProps, Timeline, type TimelineItem, type TimezoneOption, TimezoneSelect, Toast, type ToastProps, TokenUsage, type TokenUsageProps, ToolCallCard, type ToolCallCardProps, type ToolCallStatus, Tooltip, Transfer, type TransferItem, Tree, type TreeNode, type TreeProps, TreeSelect, type TreeSelectOption, TypedConfirm, type TypedConfirmProps, Typography, type TypographyProps, type TypographyVariant, UndoNotice, type UndoNoticeProps, Upload, type UploadProps, type UploadRejection, type UploadRejectionReason, ValidatedInput, type ValidatedInputProps, type ValidationRule, VersionHistory, type VersionItem, VirtualList, type VirtualListProps, VoiceInput, type VoiceInputProps, ZoomableChart, type ZoomableChartProps, activateNavigationItem, darkTheme, defaultTheme, highContrastTheme, tokensToStyle, validateForm, validateValue };
1892
+ type TaskProgressPhase = 'idle' | 'running' | 'success' | 'error' | 'cancelled';
1893
+ interface TaskProgressReport {
1894
+ stageId: string;
1895
+ progress?: number;
1896
+ message?: string;
1897
+ }
1898
+ interface TaskProgressContext {
1899
+ signal: AbortSignal;
1900
+ report: (update: TaskProgressReport) => void;
1901
+ }
1902
+ interface TaskProgressSnapshot<TResult> {
1903
+ phase: TaskProgressPhase;
1904
+ activeStageId?: string;
1905
+ progress: number;
1906
+ message?: string;
1907
+ result?: TResult;
1908
+ start: () => void;
1909
+ cancel: () => void;
1910
+ retry: () => void;
1911
+ }
1912
+
1913
+ interface TaskProgressStage {
1914
+ id: string;
1915
+ label: ReactNode;
1916
+ description?: ReactNode;
1917
+ }
1918
+ interface TaskProgressProps<TResult> {
1919
+ taskKey: string | number;
1920
+ stages: readonly TaskProgressStage[];
1921
+ run: (context: TaskProgressContext) => Promise<TResult>;
1922
+ title?: ReactNode;
1923
+ autoStart?: boolean;
1924
+ disabled?: boolean;
1925
+ renderResult?: (result: TResult) => ReactNode;
1926
+ onPhaseChange?: (phase: TaskProgressPhase) => void;
1927
+ className?: string;
1928
+ }
1929
+ declare function TaskProgress<TResult>(props: TaskProgressProps<TResult>): react.JSX.Element;
1930
+
1931
+ export { Accordion, type AccordionItem, type AccordionProps, ActivityFeed, type ActivityFeedProps, ActivityIndicator, type ActivityIndicatorProps, type ActivityItem, type AgentRunStatus, type AgentRunStep, AgentRunTimeline, type AgentRunTimelineProps, Alert, type Announcement, AnnouncementBar, type AnnouncementBarProps, ApprovalFlow, type ApprovalFlowProps, type ApprovalStatus, type ApprovalStep, type AuditEvent, AuditLog, type AuditLogProps, AuthLayout, type AuthLayoutProps, AvailabilityGrid, type AvailabilityState, Avatar, AvatarGroup, type AvatarGroupItem, type AvatarGroupProps, BackToTop, type BackToTopProps, Badge, BottomNavigation, type BottomNavigationProps, Breadcrumb, type BreadcrumbProps, Button, ButtonGroup, type ButtonProps, Calendar, type CalendarProps, type CalendarResource, Card, type CardProps, Cascader, type CascaderOption, ChartContainer, type ChartContainerProps, ChartCrosshair, type ChartCrosshairProps, type ChartLegendItem, type ChatAttachment, ChatComposer, type ChatComposerProps, ChatMessage, type ChatMessageProps, Checkbox, CheckboxGroup, ChecklistConfirm, type ChecklistConfirmProps, ChoiceGroup, type ChoiceOption, CircularProgress, type CircularProgressProps, type CitationItem, CitationList, type CitationListProps, CodeBlock, type CodeBlockProps, CodeEditor, type CodeEditorProps, ColorPicker, type ColorPickerProps, Combobox, type ComboboxOption, type ComboboxProps, type CommandItem, CommandPalette, type CommandPaletteProps, type CommentItem, CommentThread, type CommentThreadProps, type ConfirmationItem, Container, type ContainerProps, ContextMenu, type ContextMenuProps, ConversationBranch, type ConversationBranchProps, type CrosshairPoint, DataGrid, type DataGridColumn, type DataGridProps, DatePicker, type DatePickerProps, DateRangePicker, type DescriptionItem, Descriptions, DiffViewer, type DiffViewerProps, Divider, Drawer, type DrawerProps, DrilldownChart, type DrilldownChartProps, type DrilldownItem, Dropdown, type DropdownItem, DropdownMenu, type DropdownProps, EmptyState, EventCard, ExpandablePanel, type ExpandablePanelProps, FileExplorer, type FileItem, FilePreview, FilterBuilder, type FilterBuilderProps, type FilterField, type FilterOption, type FilterValue, FloatingNav, type FloatingNavProps, FlowCanvas, type FlowCanvasProps, type FlowEdge, type FlowNode, Form, FormItem, type FormItemProps, type FormProps, GanttChart, type GanttChartProps, type GanttTask, Grid, type GridProps, Hero, type HeroProps, HierarchicalSidebar, type HierarchicalSidebarProps, HoldToConfirm, type HoldToConfirmProps, HotspotGuide, type HotspotGuideProps, Icon, IconButton, type IconButtonProps, type IconName, type IconProps, InfiniteScroll, type InfiniteScrollProps, Input, type InputProps, InsightBoard, type InsightBoardProps, JsonViewer, type JsonViewerProps, KanbanBoard, type KanbanBoardProps, type KanbanCard, type KanbanColumn, LazyLoad, type LazyLoadProps, LegendFilter, type LegendFilterItem, type LegendFilterProps, Link, List, type ListItem, LoadMore, type LoadMoreProps, LoadingDots, LoadingOverlay, type LoadingOverlayProps, LongPageNavigation, type LongPageNavigationProps, MarkdownContent, type MarkdownContentProps, Masonry, type MasonryProps, MegaMenu, type MemberOption, MemberPicker, MentionInput, type MentionInputProps, type MentionOption, MobileContentNavigation, type MobileContentNavigationProps, MobileNavigation, type MobileNavigationProps, Modal, type ModalProps, type ModelOption, ModelSelector, type ModelSelectorProps, MultiSelect, type MultiSelectProps, type NavigationItem, type NavigationSelectionProps, Notification, NotificationCenter, type NotificationCenterProps, type NotificationItem, type NotificationProps, NumberInput, type NumberInputProps, OnboardingChecklist, type OnboardingChecklistProps, type OnboardingTask, OptimisticUpdate, type OptimisticUpdateProps, type OptimisticUpdateState, PageLayout, type PageLayoutProps, Pagination, type PaginationProps, type PermissionLevel, PermissionMatrix, type PermissionResource, type PermissionSubject, PivotTable, type PivotTableProps, type PivotValue, Popconfirm, type PopconfirmProps, Popover, type PopoverProps, Presence, type PresenceProps, type PresenceStatus, ProductTour, type ProductTourProps, type ProductTourStep, Progress, ProgressBar, type ProgressProps, ProgressRing, type PromptSuggestion, PromptSuggestions, type PromptSuggestionsProps, PullToRefresh, type PullToRefreshProps, QueryBuilder, type QueryBuilderProps, type QueryField, type QueryOperator, type QueryRule, Radio, RadioGroup, RangeBrush, type RangeBrushProps, ReadMore, type ReadMoreProps, ReadingProgress, type ReadingProgressProps, RecurrenceEditor, type RecurrenceValue, ResizablePanel, type ResizablePanelProps, ResourceCalendar, Result, type ResultProps, RichTextEditor, type RichTextEditorProps, type ScheduleEvent, Scheduler, Scrollspy, type ScrollspyProps, SearchInput, type SegmentOption, SegmentedControl, type SegmentedControlProps, Select, type SelectOption, type SelectProps, SharePanel, type ShareScope, ShrinkNav, type ShrinkNavProps, Sidebar, type SidebarProps, Skeleton, type SkeletonProps, Slider, type SliderProps, SortableList, type SortableListItem, type SortableListProps, Sparkline, type SparklineProps, Spinner, SplitButton, type SplitButtonOption, type SplitButtonProps, Stack, type StackProps, Stat, StatisticCard, type StatisticCardProps, type StepItem, StepProgress, type StepProgressProps, Steps, type StepsProps, type SwipeAction, SwipeActions, type SwipeActionsProps, Switch, type SwitchProps, type TabItem, Table, type TableColumn, type TableProps, Tabs, type TabsProps, Tag, TaskProgress, type TaskProgressContext, type TaskProgressPhase, type TaskProgressProps, type TaskProgressReport, type TaskProgressSnapshot, type TaskProgressStage, Textarea, type TextareaProps, ThemeProvider, type ThemeProviderProps, type ThemeTokens, TimePicker, type TimePickerProps, Timeline, type TimelineItem, type TimezoneOption, TimezoneSelect, Toast, type ToastProps, TokenUsage, type TokenUsageProps, ToolCallCard, type ToolCallCardProps, type ToolCallStatus, Tooltip, Transfer, type TransferItem, Tree, type TreeNode, type TreeProps, TreeSelect, type TreeSelectOption, TypedConfirm, type TypedConfirmProps, Typography, type TypographyProps, type TypographyVariant, UndoNotice, type UndoNoticeProps, Upload, type UploadProps, type UploadRejection, type UploadRejectionReason, ValidatedInput, type ValidatedInputProps, type ValidationRule, VersionHistory, type VersionItem, VirtualList, type VirtualListProps, VoiceInput, type VoiceInputProps, ZoomableChart, type ZoomableChartProps, activateNavigationItem, darkTheme, defaultTheme, highContrastTheme, tokensToStyle, validateForm, validateValue };