haze-ui 1.5.6 → 1.6.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.
Files changed (208) hide show
  1. package/dist/components/Affix/Affix.js +22 -0
  2. package/dist/components/Alert/Alert.js +14 -10
  3. package/dist/components/ApprovalCard/ApprovalCard.js +42 -0
  4. package/dist/components/AspectRatio/AspectRatio.js +17 -0
  5. package/dist/components/BackToTop/BackToTop.js +28 -0
  6. package/dist/components/Banner/Banner.js +36 -0
  7. package/dist/components/BottomSheet/BottomSheet.js +22 -0
  8. package/dist/components/ChatContainer/ChatContainer.js +25 -0
  9. package/dist/components/ChatInput/ChatInput.js +45 -0
  10. package/dist/components/ChatMessage/ChatMessage.js +45 -0
  11. package/dist/components/Chip/Chip.js +42 -0
  12. package/dist/components/CodeBlock/CodeBlock.js +19 -0
  13. package/dist/components/Collapsible/Collapsible.js +46 -0
  14. package/dist/components/ColorPicker/ColorPicker.js +45 -0
  15. package/dist/components/Combobox/Combobox.js +23 -23
  16. package/dist/components/Command/Command.js +58 -0
  17. package/dist/components/ConfirmDialog/ConfirmDialog.js +51 -0
  18. package/dist/components/Container/Container.js +23 -0
  19. package/dist/components/ContextMenu/ContextMenu.js +42 -0
  20. package/dist/components/ContextMenu/ContextMenuContent.js +19 -0
  21. package/dist/components/ContextMenu/ContextMenuContext.js +10 -0
  22. package/dist/components/ContextMenu/ContextMenuItem.js +20 -0
  23. package/dist/components/ContextMenu/ContextMenuSeparator.js +13 -0
  24. package/dist/components/ContextMenu/ContextMenuTrigger.js +18 -0
  25. package/dist/components/ConversationList/ConversationItem.js +32 -0
  26. package/dist/components/ConversationList/ConversationList.js +13 -0
  27. package/dist/components/DateRangePicker/DateRangePicker.js +38 -0
  28. package/dist/components/Datepicker/Datepicker.js +9 -9
  29. package/dist/components/DiffViewer/DiffViewer.js +81 -0
  30. package/dist/components/Divider/Divider.js +25 -0
  31. package/dist/components/Drawer/Drawer.js +35 -0
  32. package/dist/components/DropdownMenu/DropdownMenu.js +37 -0
  33. package/dist/components/DropdownMenu/DropdownMenuContent.js +23 -0
  34. package/dist/components/DropdownMenu/DropdownMenuContext.js +10 -0
  35. package/dist/components/DropdownMenu/DropdownMenuItem.js +20 -0
  36. package/dist/components/DropdownMenu/DropdownMenuSeparator.js +13 -0
  37. package/dist/components/DropdownMenu/DropdownMenuTrigger.js +17 -0
  38. package/dist/components/Empty/Empty.js +67 -0
  39. package/dist/components/Grid/Grid.js +17 -0
  40. package/dist/components/Grid/GridItem.js +11 -0
  41. package/dist/components/InlineEdit/InlineEdit.js +45 -0
  42. package/dist/components/LogViewer/LogViewer.js +65 -0
  43. package/dist/components/MarkdownRenderer/MarkdownRenderer.js +24 -0
  44. package/dist/components/ModelPicker/ModelPicker.js +26 -0
  45. package/dist/components/NavigationBar/NavLink.js +22 -0
  46. package/dist/components/NavigationBar/NavigationBar.js +26 -0
  47. package/dist/components/OTPInput/OTPInput.js +50 -0
  48. package/dist/components/Pagination/Pagination.js +58 -0
  49. package/dist/components/PasswordInput/PasswordInput.js +32 -0
  50. package/dist/components/Progress/Progress.js +83 -0
  51. package/dist/components/Rating/Rating.js +49 -0
  52. package/dist/components/Resizable/Resizable.js +56 -0
  53. package/dist/components/ScrollArea/ScrollArea.js +14 -0
  54. package/dist/components/Segmented/Segmented.js +42 -0
  55. package/dist/components/Spinner/Spinner.js +39 -0
  56. package/dist/components/Stat/Stat.js +52 -0
  57. package/dist/components/StepTimeline/StepTimeline.js +36 -0
  58. package/dist/components/Stepper/Step.js +38 -0
  59. package/dist/components/Stepper/Stepper.js +25 -0
  60. package/dist/components/Stepper/StepperContext.js +10 -0
  61. package/dist/components/StreamingText/StreamingText.js +34 -0
  62. package/dist/components/SwipeAction/SwipeAction.js +45 -0
  63. package/dist/components/Table/Table.js +14 -11
  64. package/dist/components/TagGroup/TagGroup.js +14 -0
  65. package/dist/components/TagGroup/TagGroupItem.js +19 -0
  66. package/dist/components/TagInput/TagInput.js +51 -0
  67. package/dist/components/ThinkingIndicator/ThinkingIndicator.js +20 -0
  68. package/dist/components/TimePicker/TimePicker.js +22 -0
  69. package/dist/components/Timeline/Timeline.js +47 -0
  70. package/dist/components/TokenCounter/TokenCounter.js +30 -0
  71. package/dist/components/ToolCallCard/ToolCallCard.js +57 -0
  72. package/dist/components/Transfer/Transfer.js +93 -0
  73. package/dist/components/Typography/Typography.js +49 -0
  74. package/dist/components/Upload/Upload.js +58 -0
  75. package/dist/components/VirtualList/VirtualList.js +36 -0
  76. package/dist/haze-ui.css +1 -1
  77. package/dist/index.js +70 -2
  78. package/dist/types/components/Affix/Affix.d.ts +10 -0
  79. package/dist/types/components/Affix/index.d.ts +2 -0
  80. package/dist/types/components/Alert/Alert.d.ts +4 -1
  81. package/dist/types/components/ApprovalCard/ApprovalCard.d.ts +13 -0
  82. package/dist/types/components/ApprovalCard/index.d.ts +2 -0
  83. package/dist/types/components/AspectRatio/AspectRatio.d.ts +8 -0
  84. package/dist/types/components/AspectRatio/index.d.ts +2 -0
  85. package/dist/types/components/BackToTop/BackToTop.d.ts +7 -0
  86. package/dist/types/components/BackToTop/index.d.ts +2 -0
  87. package/dist/types/components/Banner/Banner.d.ts +11 -0
  88. package/dist/types/components/Banner/index.d.ts +2 -0
  89. package/dist/types/components/BottomSheet/BottomSheet.d.ts +10 -0
  90. package/dist/types/components/BottomSheet/index.d.ts +2 -0
  91. package/dist/types/components/ChatContainer/ChatContainer.d.ts +8 -0
  92. package/dist/types/components/ChatContainer/index.d.ts +2 -0
  93. package/dist/types/components/ChatInput/ChatInput.d.ts +11 -0
  94. package/dist/types/components/ChatInput/index.d.ts +2 -0
  95. package/dist/types/components/ChatMessage/ChatMessage.d.ts +13 -0
  96. package/dist/types/components/ChatMessage/index.d.ts +2 -0
  97. package/dist/types/components/Chip/Chip.d.ts +11 -0
  98. package/dist/types/components/Chip/index.d.ts +2 -0
  99. package/dist/types/components/CodeBlock/CodeBlock.d.ts +8 -0
  100. package/dist/types/components/CodeBlock/index.d.ts +2 -0
  101. package/dist/types/components/Collapsible/Collapsible.d.ts +20 -0
  102. package/dist/types/components/Collapsible/index.d.ts +2 -0
  103. package/dist/types/components/ColorPicker/ColorPicker.d.ts +9 -0
  104. package/dist/types/components/ColorPicker/index.d.ts +2 -0
  105. package/dist/types/components/Combobox/Combobox.d.ts +2 -1
  106. package/dist/types/components/Command/Command.d.ts +25 -0
  107. package/dist/types/components/Command/index.d.ts +2 -0
  108. package/dist/types/components/ConfirmDialog/ConfirmDialog.d.ts +16 -0
  109. package/dist/types/components/ConfirmDialog/index.d.ts +2 -0
  110. package/dist/types/components/Container/Container.d.ts +8 -0
  111. package/dist/types/components/Container/index.d.ts +2 -0
  112. package/dist/types/components/ContextMenu/ContextMenu.d.ts +10 -0
  113. package/dist/types/components/ContextMenu/ContextMenuContent.d.ts +7 -0
  114. package/dist/types/components/ContextMenu/ContextMenuContext.d.ts +11 -0
  115. package/dist/types/components/ContextMenu/ContextMenuItem.d.ts +9 -0
  116. package/dist/types/components/ContextMenu/ContextMenuSeparator.d.ts +5 -0
  117. package/dist/types/components/ContextMenu/ContextMenuTrigger.d.ts +7 -0
  118. package/dist/types/components/ContextMenu/index.d.ts +10 -0
  119. package/dist/types/components/ConversationList/ConversationItem.d.ts +11 -0
  120. package/dist/types/components/ConversationList/ConversationList.d.ts +7 -0
  121. package/dist/types/components/ConversationList/index.d.ts +4 -0
  122. package/dist/types/components/DateRangePicker/DateRangePicker.d.ts +12 -0
  123. package/dist/types/components/DateRangePicker/index.d.ts +2 -0
  124. package/dist/types/components/Datepicker/Datepicker.d.ts +2 -1
  125. package/dist/types/components/DiffViewer/DiffViewer.d.ts +13 -0
  126. package/dist/types/components/DiffViewer/index.d.ts +2 -0
  127. package/dist/types/components/Divider/Divider.d.ts +6 -0
  128. package/dist/types/components/Divider/index.d.ts +2 -0
  129. package/dist/types/components/Drawer/Drawer.d.ts +11 -0
  130. package/dist/types/components/Drawer/index.d.ts +2 -0
  131. package/dist/types/components/DropdownMenu/DropdownMenu.d.ts +10 -0
  132. package/dist/types/components/DropdownMenu/DropdownMenuContent.d.ts +8 -0
  133. package/dist/types/components/DropdownMenu/DropdownMenuContext.d.ts +8 -0
  134. package/dist/types/components/DropdownMenu/DropdownMenuItem.d.ts +9 -0
  135. package/dist/types/components/DropdownMenu/DropdownMenuSeparator.d.ts +5 -0
  136. package/dist/types/components/DropdownMenu/DropdownMenuTrigger.d.ts +7 -0
  137. package/dist/types/components/DropdownMenu/index.d.ts +10 -0
  138. package/dist/types/components/Empty/Empty.d.ts +9 -0
  139. package/dist/types/components/Empty/index.d.ts +2 -0
  140. package/dist/types/components/Grid/Grid.d.ts +9 -0
  141. package/dist/types/components/Grid/GridItem.d.ts +9 -0
  142. package/dist/types/components/Grid/index.d.ts +4 -0
  143. package/dist/types/components/InlineEdit/InlineEdit.d.ts +10 -0
  144. package/dist/types/components/InlineEdit/index.d.ts +2 -0
  145. package/dist/types/components/LogViewer/LogViewer.d.ts +14 -0
  146. package/dist/types/components/LogViewer/index.d.ts +2 -0
  147. package/dist/types/components/MarkdownRenderer/MarkdownRenderer.d.ts +6 -0
  148. package/dist/types/components/MarkdownRenderer/index.d.ts +2 -0
  149. package/dist/types/components/ModelPicker/ModelPicker.d.ts +16 -0
  150. package/dist/types/components/ModelPicker/index.d.ts +2 -0
  151. package/dist/types/components/NavigationBar/NavLink.d.ts +10 -0
  152. package/dist/types/components/NavigationBar/NavigationBar.d.ts +9 -0
  153. package/dist/types/components/NavigationBar/index.d.ts +4 -0
  154. package/dist/types/components/OTPInput/OTPInput.d.ts +9 -0
  155. package/dist/types/components/OTPInput/index.d.ts +2 -0
  156. package/dist/types/components/Pagination/Pagination.d.ts +11 -0
  157. package/dist/types/components/Pagination/index.d.ts +2 -0
  158. package/dist/types/components/PasswordInput/PasswordInput.d.ts +10 -0
  159. package/dist/types/components/PasswordInput/index.d.ts +2 -0
  160. package/dist/types/components/Progress/Progress.d.ts +9 -0
  161. package/dist/types/components/Progress/index.d.ts +2 -0
  162. package/dist/types/components/Rating/Rating.d.ts +10 -0
  163. package/dist/types/components/Rating/index.d.ts +2 -0
  164. package/dist/types/components/Resizable/Resizable.d.ts +18 -0
  165. package/dist/types/components/Resizable/index.d.ts +2 -0
  166. package/dist/types/components/ScrollArea/ScrollArea.d.ts +8 -0
  167. package/dist/types/components/ScrollArea/index.d.ts +2 -0
  168. package/dist/types/components/Segmented/Segmented.d.ts +16 -0
  169. package/dist/types/components/Segmented/index.d.ts +2 -0
  170. package/dist/types/components/Spinner/Spinner.d.ts +6 -0
  171. package/dist/types/components/Spinner/index.d.ts +2 -0
  172. package/dist/types/components/Stat/Stat.d.ts +18 -0
  173. package/dist/types/components/Stat/index.d.ts +2 -0
  174. package/dist/types/components/StepTimeline/StepTimeline.d.ts +17 -0
  175. package/dist/types/components/StepTimeline/index.d.ts +2 -0
  176. package/dist/types/components/Stepper/Step.d.ts +8 -0
  177. package/dist/types/components/Stepper/Stepper.d.ts +9 -0
  178. package/dist/types/components/Stepper/StepperContext.d.ts +9 -0
  179. package/dist/types/components/Stepper/index.d.ts +4 -0
  180. package/dist/types/components/StreamingText/StreamingText.d.ts +9 -0
  181. package/dist/types/components/StreamingText/index.d.ts +2 -0
  182. package/dist/types/components/SwipeAction/SwipeAction.d.ts +12 -0
  183. package/dist/types/components/SwipeAction/index.d.ts +2 -0
  184. package/dist/types/components/TagGroup/TagGroup.d.ts +7 -0
  185. package/dist/types/components/TagGroup/TagGroupItem.d.ts +8 -0
  186. package/dist/types/components/TagGroup/index.d.ts +4 -0
  187. package/dist/types/components/TagInput/TagInput.d.ts +11 -0
  188. package/dist/types/components/TagInput/index.d.ts +2 -0
  189. package/dist/types/components/ThinkingIndicator/ThinkingIndicator.d.ts +6 -0
  190. package/dist/types/components/ThinkingIndicator/index.d.ts +2 -0
  191. package/dist/types/components/TimePicker/TimePicker.d.ts +10 -0
  192. package/dist/types/components/TimePicker/index.d.ts +2 -0
  193. package/dist/types/components/Timeline/Timeline.d.ts +15 -0
  194. package/dist/types/components/Timeline/index.d.ts +2 -0
  195. package/dist/types/components/TokenCounter/TokenCounter.d.ts +8 -0
  196. package/dist/types/components/TokenCounter/index.d.ts +2 -0
  197. package/dist/types/components/ToolCallCard/ToolCallCard.d.ts +11 -0
  198. package/dist/types/components/ToolCallCard/index.d.ts +2 -0
  199. package/dist/types/components/Transfer/Transfer.d.ts +14 -0
  200. package/dist/types/components/Transfer/index.d.ts +2 -0
  201. package/dist/types/components/Typography/Typography.d.ts +22 -0
  202. package/dist/types/components/Typography/index.d.ts +2 -0
  203. package/dist/types/components/Upload/Upload.d.ts +10 -0
  204. package/dist/types/components/Upload/index.d.ts +2 -0
  205. package/dist/types/components/VirtualList/VirtualList.d.ts +10 -0
  206. package/dist/types/components/VirtualList/index.d.ts +2 -0
  207. package/dist/types/index.d.ts +110 -0
  208. package/package.json +1 -1
@@ -0,0 +1,14 @@
1
+ import type { Control } from 'react-use-control';
2
+ type LogLevel = 'debug' | 'info' | 'warn' | 'error';
3
+ type LogEntry = {
4
+ level: LogLevel;
5
+ message: string;
6
+ timestamp?: string;
7
+ };
8
+ type LogViewerProps = {
9
+ logs: LogEntry[];
10
+ filter?: Control<LogLevel | null> | LogLevel | null;
11
+ className?: string;
12
+ };
13
+ export default function LogViewer({ logs, filter: filterControl, className }: LogViewerProps): import("react/jsx-runtime").JSX.Element;
14
+ export type { LogViewerProps, LogEntry, LogLevel };
@@ -0,0 +1,2 @@
1
+ export { default as LogViewer } from './LogViewer';
2
+ export type { LogViewerProps, LogEntry, LogLevel } from './LogViewer';
@@ -0,0 +1,6 @@
1
+ type MarkdownRendererProps = {
2
+ content: string;
3
+ className?: string;
4
+ };
5
+ export default function MarkdownRenderer({ content, className }: MarkdownRendererProps): import("react/jsx-runtime").JSX.Element;
6
+ export type { MarkdownRendererProps };
@@ -0,0 +1,2 @@
1
+ export { default as MarkdownRenderer } from './MarkdownRenderer';
2
+ export type { MarkdownRendererProps } from './MarkdownRenderer';
@@ -0,0 +1,16 @@
1
+ import type { Control } from 'react-use-control';
2
+ type ModelOption = {
3
+ value: string;
4
+ label: string;
5
+ description?: string;
6
+ contextLength?: string;
7
+ };
8
+ type ModelPickerProps = {
9
+ value?: Control<string> | string;
10
+ onChange?: (value: string) => void;
11
+ options: ModelOption[];
12
+ disabled?: boolean;
13
+ className?: string;
14
+ };
15
+ export default function ModelPicker({ value: valueControl, onChange, options, disabled, className, }: ModelPickerProps): import("react/jsx-runtime").JSX.Element;
16
+ export type { ModelPickerProps, ModelOption };
@@ -0,0 +1,2 @@
1
+ export { default as ModelPicker } from './ModelPicker';
2
+ export type { ModelPickerProps, ModelOption } from './ModelPicker';
@@ -0,0 +1,10 @@
1
+ import type { ReactNode } from 'react';
2
+ type NavLinkProps = {
3
+ href?: string;
4
+ active?: boolean;
5
+ children: ReactNode;
6
+ onClick?: () => void;
7
+ className?: string;
8
+ };
9
+ export default function NavLink({ href, active, children, onClick, className }: NavLinkProps): import("react/jsx-runtime").JSX.Element;
10
+ export type { NavLinkProps };
@@ -0,0 +1,9 @@
1
+ import type { ReactNode } from 'react';
2
+ type NavigationBarProps = {
3
+ brand?: ReactNode;
4
+ children?: ReactNode;
5
+ end?: ReactNode;
6
+ className?: string;
7
+ };
8
+ export default function NavigationBar({ brand: brandNode, children, end, className }: NavigationBarProps): import("react/jsx-runtime").JSX.Element;
9
+ export type { NavigationBarProps };
@@ -0,0 +1,4 @@
1
+ export { default as NavigationBar } from './NavigationBar';
2
+ export { default as NavLink } from './NavLink';
3
+ export type { NavigationBarProps } from './NavigationBar';
4
+ export type { NavLinkProps } from './NavLink';
@@ -0,0 +1,9 @@
1
+ import type { Control } from 'react-use-control';
2
+ type OTPInputProps = {
3
+ length?: number;
4
+ value?: Control<string> | string;
5
+ onChange?: (value: string) => void;
6
+ className?: string;
7
+ };
8
+ export default function OTPInput({ length, value: valueControl, onChange, className, }: OTPInputProps): import("react/jsx-runtime").JSX.Element;
9
+ export type { OTPInputProps };
@@ -0,0 +1,2 @@
1
+ export { default as OTPInput } from './OTPInput';
2
+ export type { OTPInputProps } from './OTPInput';
@@ -0,0 +1,11 @@
1
+ import type { ComponentPropsWithoutRef } from 'react';
2
+ import type { Control } from 'react-use-control';
3
+ type PaginationProps = {
4
+ page?: Control<number> | number;
5
+ total: number;
6
+ pageSize?: number;
7
+ size?: 'sm' | 'md' | 'lg';
8
+ className?: string;
9
+ } & Omit<ComponentPropsWithoutRef<'nav'>, 'onChange'>;
10
+ export default function Pagination({ page: pageControl, total, pageSize, size, className, ...rest }: PaginationProps): import("react/jsx-runtime").JSX.Element;
11
+ export type { PaginationProps };
@@ -0,0 +1,2 @@
1
+ export { default as Pagination } from './Pagination';
2
+ export type { PaginationProps } from './Pagination';
@@ -0,0 +1,10 @@
1
+ import type { Control } from 'react-use-control';
2
+ type PasswordInputProps = {
3
+ value?: Control<string> | string;
4
+ onChange?: (value: string) => void;
5
+ placeholder?: string;
6
+ disabled?: boolean;
7
+ className?: string;
8
+ };
9
+ export default function PasswordInput({ value: valueControl, onChange, placeholder, disabled, className, }: PasswordInputProps): import("react/jsx-runtime").JSX.Element;
10
+ export type { PasswordInputProps };
@@ -0,0 +1,2 @@
1
+ export { default as PasswordInput } from './PasswordInput';
2
+ export type { PasswordInputProps } from './PasswordInput';
@@ -0,0 +1,9 @@
1
+ type ProgressProps = {
2
+ value?: number;
3
+ variant?: 'bar' | 'circle';
4
+ size?: 'sm' | 'md' | 'lg';
5
+ color?: 'primary' | 'success' | 'warning' | 'danger';
6
+ className?: string;
7
+ };
8
+ export default function Progress({ value, variant, size, color, className, }: ProgressProps): import("react/jsx-runtime").JSX.Element;
9
+ export type { ProgressProps };
@@ -0,0 +1,2 @@
1
+ export { default as Progress } from './Progress';
2
+ export type { ProgressProps } from './Progress';
@@ -0,0 +1,10 @@
1
+ import type { Control } from 'react-use-control';
2
+ type RatingProps = {
3
+ value?: Control<number> | number;
4
+ count?: number;
5
+ allowHalf?: boolean;
6
+ onChange?: (value: number) => void;
7
+ className?: string;
8
+ };
9
+ export default function Rating({ value: valueControl, count, allowHalf, onChange, className, }: RatingProps): import("react/jsx-runtime").JSX.Element;
10
+ export type { RatingProps };
@@ -0,0 +1,2 @@
1
+ export { default as Rating } from './Rating';
2
+ export type { RatingProps } from './Rating';
@@ -0,0 +1,18 @@
1
+ import type { ReactNode } from 'react';
2
+ type ResizableGroupProps = {
3
+ direction?: 'horizontal' | 'vertical';
4
+ children: ReactNode;
5
+ className?: string;
6
+ };
7
+ export declare function ResizableGroup({ direction, children, className, }: ResizableGroupProps): import("react/jsx-runtime").JSX.Element;
8
+ type ResizablePanelProps = {
9
+ defaultSize?: number;
10
+ children: ReactNode;
11
+ className?: string;
12
+ };
13
+ export declare function ResizablePanel({ defaultSize, children, className, }: ResizablePanelProps): import("react/jsx-runtime").JSX.Element;
14
+ type ResizableHandleProps = {
15
+ className?: string;
16
+ };
17
+ export declare function ResizableHandle({ className }: ResizableHandleProps): import("react/jsx-runtime").JSX.Element;
18
+ export type { ResizableGroupProps, ResizablePanelProps, ResizableHandleProps };
@@ -0,0 +1,2 @@
1
+ export { ResizableGroup, ResizablePanel, ResizableHandle } from './Resizable';
2
+ export type { ResizableGroupProps, ResizablePanelProps, ResizableHandleProps } from './Resizable';
@@ -0,0 +1,8 @@
1
+ import type { ReactNode } from 'react';
2
+ type ScrollAreaProps = {
3
+ maxHeight?: number | string;
4
+ className?: string;
5
+ children: ReactNode;
6
+ };
7
+ export default function ScrollArea({ maxHeight, className, children, }: ScrollAreaProps): import("react/jsx-runtime").JSX.Element;
8
+ export type { ScrollAreaProps };
@@ -0,0 +1,2 @@
1
+ export { default as ScrollArea } from './ScrollArea';
2
+ export type { ScrollAreaProps } from './ScrollArea';
@@ -0,0 +1,16 @@
1
+ import type { ReactNode } from 'react';
2
+ import type { Control } from 'react-use-control';
3
+ type SegmentedOption = string | {
4
+ value: string;
5
+ label: ReactNode;
6
+ disabled?: boolean;
7
+ };
8
+ type SegmentedProps = {
9
+ options: SegmentedOption[];
10
+ value?: Control<string> | string;
11
+ onChange?: (value: string) => void;
12
+ size?: 'sm' | 'md' | 'lg';
13
+ className?: string;
14
+ };
15
+ export default function Segmented({ options, value: valueControl, onChange, size, className, }: SegmentedProps): import("react/jsx-runtime").JSX.Element;
16
+ export type { SegmentedProps, SegmentedOption };
@@ -0,0 +1,2 @@
1
+ export { default as Segmented } from './Segmented';
2
+ export type { SegmentedProps, SegmentedOption } from './Segmented';
@@ -0,0 +1,6 @@
1
+ type SpinnerProps = {
2
+ size?: 'sm' | 'md' | 'lg';
3
+ className?: string;
4
+ };
5
+ export default function Spinner({ size, className, }: SpinnerProps): import("react/jsx-runtime").JSX.Element;
6
+ export type { SpinnerProps };
@@ -0,0 +1,2 @@
1
+ export { default as Spinner } from './Spinner';
2
+ export type { SpinnerProps } from './Spinner';
@@ -0,0 +1,18 @@
1
+ import type { ReactNode } from 'react';
2
+ type StatProps = {
3
+ title: string;
4
+ value: string | number;
5
+ description?: string;
6
+ trend?: 'up' | 'down' | 'neutral';
7
+ trendValue?: string;
8
+ prefix?: ReactNode;
9
+ suffix?: ReactNode;
10
+ className?: string;
11
+ };
12
+ export declare function Stat({ title, value, description, trend, trendValue, prefix, suffix, className, }: StatProps): import("react/jsx-runtime").JSX.Element;
13
+ type StatGroupProps = {
14
+ children: ReactNode;
15
+ className?: string;
16
+ };
17
+ export declare function StatGroup({ children, className }: StatGroupProps): import("react/jsx-runtime").JSX.Element;
18
+ export type { StatProps, StatGroupProps };
@@ -0,0 +1,2 @@
1
+ export { Stat, StatGroup } from './Stat';
2
+ export type { StatProps, StatGroupProps } from './Stat';
@@ -0,0 +1,17 @@
1
+ import type { ReactNode } from 'react';
2
+ type StepStatus = 'pending' | 'active' | 'done' | 'error';
3
+ type StepTimelineProps = {
4
+ children: ReactNode;
5
+ className?: string;
6
+ };
7
+ type StepTimelineItemProps = {
8
+ label: ReactNode;
9
+ description?: ReactNode;
10
+ status?: StepStatus;
11
+ className?: string;
12
+ };
13
+ declare function StepTimelineItem({ label, description, status, className }: StepTimelineItemProps): import("react/jsx-runtime").JSX.Element;
14
+ declare function StepTimeline({ children, className }: StepTimelineProps): import("react/jsx-runtime").JSX.Element;
15
+ export default StepTimeline;
16
+ export { StepTimelineItem };
17
+ export type { StepTimelineProps, StepTimelineItemProps, StepStatus };
@@ -0,0 +1,2 @@
1
+ export { default as StepTimeline, StepTimelineItem } from './StepTimeline';
2
+ export type { StepTimelineProps, StepTimelineItemProps, StepStatus } from './StepTimeline';
@@ -0,0 +1,8 @@
1
+ type StepProps = {
2
+ title: string;
3
+ description?: string;
4
+ className?: string;
5
+ index?: number;
6
+ };
7
+ export default function Step({ title, description, className, index }: StepProps): import("react/jsx-runtime").JSX.Element;
8
+ export type { StepProps };
@@ -0,0 +1,9 @@
1
+ import type { ReactNode } from 'react';
2
+ import type { Control } from 'react-use-control';
3
+ type StepperProps = {
4
+ activeStep?: Control<number> | number;
5
+ children: ReactNode;
6
+ className?: string;
7
+ };
8
+ export default function Stepper({ activeStep: activeStepControl, children, className, }: StepperProps): import("react/jsx-runtime").JSX.Element;
9
+ export type { StepperProps };
@@ -0,0 +1,9 @@
1
+ import type { Dispatch, SetStateAction } from 'react';
2
+ type StepperContextValue = {
3
+ activeStep: number;
4
+ setActiveStep: Dispatch<SetStateAction<number>>;
5
+ totalSteps: number;
6
+ };
7
+ export declare const StepperProvider: import("react").Provider<StepperContextValue | undefined>;
8
+ export declare function useStepperContext(): StepperContextValue;
9
+ export {};
@@ -0,0 +1,4 @@
1
+ export { default as Stepper } from './Stepper';
2
+ export type { StepperProps } from './Stepper';
3
+ export { default as Step } from './Step';
4
+ export type { StepProps } from './Step';
@@ -0,0 +1,9 @@
1
+ type StreamingTextProps = {
2
+ text: string;
3
+ speed?: number;
4
+ onComplete?: () => void;
5
+ showCursor?: boolean;
6
+ className?: string;
7
+ };
8
+ export default function StreamingText({ text, speed, onComplete, showCursor, className, }: StreamingTextProps): import("react/jsx-runtime").JSX.Element;
9
+ export type { StreamingTextProps };
@@ -0,0 +1,2 @@
1
+ export { default as StreamingText } from './StreamingText';
2
+ export type { StreamingTextProps } from './StreamingText';
@@ -0,0 +1,12 @@
1
+ import type { ReactNode } from 'react';
2
+ type SwipeActionProps = {
3
+ left?: ReactNode;
4
+ right?: ReactNode;
5
+ children: ReactNode;
6
+ onSwipeLeft?: () => void;
7
+ onSwipeRight?: () => void;
8
+ threshold?: number;
9
+ className?: string;
10
+ };
11
+ export default function SwipeAction({ left, right, children, onSwipeLeft, onSwipeRight, threshold, className, }: SwipeActionProps): import("react/jsx-runtime").JSX.Element;
12
+ export type { SwipeActionProps };
@@ -0,0 +1,2 @@
1
+ export { default as SwipeAction } from './SwipeAction';
2
+ export type { SwipeActionProps } from './SwipeAction';
@@ -0,0 +1,7 @@
1
+ import type { ReactNode } from 'react';
2
+ type TagGroupProps = {
3
+ children: ReactNode;
4
+ className?: string;
5
+ };
6
+ export default function TagGroup({ children, className }: TagGroupProps): import("react/jsx-runtime").JSX.Element;
7
+ export type { TagGroupProps };
@@ -0,0 +1,8 @@
1
+ import type { ReactNode } from 'react';
2
+ type TagGroupItemProps = {
3
+ children: ReactNode;
4
+ onClose?: () => void;
5
+ className?: string;
6
+ };
7
+ export default function TagGroupItem({ children, onClose, className }: TagGroupItemProps): import("react/jsx-runtime").JSX.Element;
8
+ export type { TagGroupItemProps };
@@ -0,0 +1,4 @@
1
+ export { default as TagGroup } from './TagGroup';
2
+ export { default as TagGroupItem } from './TagGroupItem';
3
+ export type { TagGroupProps } from './TagGroup';
4
+ export type { TagGroupItemProps } from './TagGroupItem';
@@ -0,0 +1,11 @@
1
+ import type { Control } from 'react-use-control';
2
+ type TagInputProps = {
3
+ value?: Control<string[]> | string[];
4
+ onChange?: (value: string[]) => void;
5
+ placeholder?: string;
6
+ maxTags?: number;
7
+ disabled?: boolean;
8
+ className?: string;
9
+ };
10
+ export default function TagInput({ value: valueControl, onChange, placeholder, maxTags, disabled, className, }: TagInputProps): import("react/jsx-runtime").JSX.Element;
11
+ export type { TagInputProps };
@@ -0,0 +1,2 @@
1
+ export { default as TagInput } from './TagInput';
2
+ export type { TagInputProps } from './TagInput';
@@ -0,0 +1,6 @@
1
+ type ThinkingIndicatorProps = {
2
+ text?: string;
3
+ className?: string;
4
+ };
5
+ export default function ThinkingIndicator({ text, className }: ThinkingIndicatorProps): import("react/jsx-runtime").JSX.Element;
6
+ export type { ThinkingIndicatorProps };
@@ -0,0 +1,2 @@
1
+ export { default as ThinkingIndicator } from './ThinkingIndicator';
2
+ export type { ThinkingIndicatorProps } from './ThinkingIndicator';
@@ -0,0 +1,10 @@
1
+ import type { ComponentPropsWithoutRef } from 'react';
2
+ import type { Control } from 'react-use-control';
3
+ type TimePickerProps = {
4
+ value?: Control<string> | string;
5
+ onChange?: (value: string) => void;
6
+ placeholder?: string;
7
+ className?: string;
8
+ } & Omit<ComponentPropsWithoutRef<'input'>, 'value' | 'onChange' | 'type' | 'placeholder'>;
9
+ export default function TimePicker({ value: valueControl, onChange, placeholder, className, ...rest }: TimePickerProps): import("react/jsx-runtime").JSX.Element;
10
+ export type { TimePickerProps };
@@ -0,0 +1,2 @@
1
+ export { default as TimePicker } from './TimePicker';
2
+ export type { TimePickerProps } from './TimePicker';
@@ -0,0 +1,15 @@
1
+ import type { ReactNode } from 'react';
2
+ type TimelineProps = {
3
+ children: ReactNode;
4
+ className?: string;
5
+ };
6
+ export declare function Timeline({ children, className }: TimelineProps): import("react/jsx-runtime").JSX.Element;
7
+ type TimelineItemProps = {
8
+ title: string;
9
+ description?: string;
10
+ time?: string;
11
+ color?: 'primary' | 'success' | 'warning' | 'danger' | 'default';
12
+ className?: string;
13
+ };
14
+ export declare function TimelineItem({ title, description, time, color, className, }: TimelineItemProps): import("react/jsx-runtime").JSX.Element;
15
+ export type { TimelineProps, TimelineItemProps };
@@ -0,0 +1,2 @@
1
+ export { Timeline, TimelineItem } from './Timeline';
2
+ export type { TimelineProps, TimelineItemProps } from './Timeline';
@@ -0,0 +1,8 @@
1
+ type TokenCounterProps = {
2
+ used: number;
3
+ max: number;
4
+ label?: string;
5
+ className?: string;
6
+ };
7
+ export default function TokenCounter({ used, max, label, className }: TokenCounterProps): import("react/jsx-runtime").JSX.Element;
8
+ export type { TokenCounterProps };
@@ -0,0 +1,2 @@
1
+ export { default as TokenCounter } from './TokenCounter';
2
+ export type { TokenCounterProps } from './TokenCounter';
@@ -0,0 +1,11 @@
1
+ import type { ReactNode } from 'react';
2
+ type ToolCallStatus = 'pending' | 'running' | 'done' | 'error';
3
+ type ToolCallCardProps = {
4
+ name: string;
5
+ input?: ReactNode;
6
+ output?: ReactNode;
7
+ status?: ToolCallStatus;
8
+ className?: string;
9
+ };
10
+ export default function ToolCallCard({ name, input, output, status, className, }: ToolCallCardProps): import("react/jsx-runtime").JSX.Element;
11
+ export type { ToolCallCardProps, ToolCallStatus };
@@ -0,0 +1,2 @@
1
+ export { default as ToolCallCard } from './ToolCallCard';
2
+ export type { ToolCallCardProps, ToolCallStatus } from './ToolCallCard';
@@ -0,0 +1,14 @@
1
+ import type { Control } from 'react-use-control';
2
+ type TransferItem = {
3
+ key: string;
4
+ title: string;
5
+ disabled?: boolean;
6
+ };
7
+ type TransferProps = {
8
+ dataSource: TransferItem[];
9
+ targetKeys?: Control<string[]> | string[];
10
+ onChange?: (targetKeys: string[], direction: 'left' | 'right', moveKeys: string[]) => void;
11
+ className?: string;
12
+ };
13
+ export default function Transfer({ dataSource, targetKeys: targetKeysControl, onChange, className, }: TransferProps): import("react/jsx-runtime").JSX.Element;
14
+ export type { TransferProps, TransferItem };
@@ -0,0 +1,2 @@
1
+ export { default as Transfer } from './Transfer';
2
+ export type { TransferProps, TransferItem } from './Transfer';
@@ -0,0 +1,22 @@
1
+ import type { ReactNode } from 'react';
2
+ type TitleProps = {
3
+ level?: 1 | 2 | 3 | 4 | 5;
4
+ className?: string;
5
+ children: ReactNode;
6
+ };
7
+ export declare function Title({ level, className, children }: TitleProps): import("react/jsx-runtime").JSX.Element;
8
+ type TextProps = {
9
+ type?: 'default' | 'secondary' | 'muted';
10
+ strong?: boolean;
11
+ code?: boolean;
12
+ mark?: boolean;
13
+ className?: string;
14
+ children: ReactNode;
15
+ };
16
+ export declare function Text({ type, strong, code, mark, className, children, }: TextProps): import("react/jsx-runtime").JSX.Element;
17
+ type ParagraphProps = {
18
+ className?: string;
19
+ children: ReactNode;
20
+ };
21
+ export declare function Paragraph({ className, children }: ParagraphProps): import("react/jsx-runtime").JSX.Element;
22
+ export type { TitleProps, TextProps, ParagraphProps };
@@ -0,0 +1,2 @@
1
+ export { Title, Text, Paragraph } from './Typography';
2
+ export type { TitleProps, TextProps, ParagraphProps } from './Typography';
@@ -0,0 +1,10 @@
1
+ import type { ReactNode } from 'react';
2
+ type UploadProps = {
3
+ accept?: string;
4
+ multiple?: boolean;
5
+ onChange?: (files: File[]) => void;
6
+ className?: string;
7
+ children?: ReactNode;
8
+ };
9
+ export default function Upload({ accept, multiple, onChange, className, children, }: UploadProps): import("react/jsx-runtime").JSX.Element;
10
+ export type { UploadProps };
@@ -0,0 +1,2 @@
1
+ export { default as Upload } from './Upload';
2
+ export type { UploadProps } from './Upload';
@@ -0,0 +1,10 @@
1
+ type VirtualListProps<T> = {
2
+ items: T[];
3
+ height: number;
4
+ itemHeight: number;
5
+ renderItem: (item: T, index: number) => React.ReactNode;
6
+ overscan?: number;
7
+ className?: string;
8
+ };
9
+ export default function VirtualList<T>({ items, height, itemHeight, renderItem, overscan, className, }: VirtualListProps<T>): import("react/jsx-runtime").JSX.Element;
10
+ export type { VirtualListProps };
@@ -0,0 +1,2 @@
1
+ export { default as VirtualList } from './VirtualList';
2
+ export type { VirtualListProps } from './VirtualList';