sparkdesign 0.3.1 → 0.3.3

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 (104) hide show
  1. package/README.md +7 -5
  2. package/cli/dist/index.js +0 -0
  3. package/cli/dist/utils/tokens.js +103 -17
  4. package/cli/registry/basic/button.test.tsx +333 -0
  5. package/cli/registry/chat/{question-part.tsx → ask-user-part.tsx} +4 -4
  6. package/cli/registry/chat/{browser-use-part.tsx → browser-action-part.tsx} +6 -6
  7. package/cli/registry/chat/{suggestion-part.tsx → hint-banner.tsx} +4 -4
  8. package/cli/registry/chat/markdown.test.tsx +387 -0
  9. package/cli/registry/chat/{reasoning-step.tsx → reasoning-step/compound.tsx} +163 -185
  10. package/cli/registry/chat/reasoning-step/context.tsx +114 -0
  11. package/cli/registry/chat/reasoning-step/index.tsx +45 -0
  12. package/cli/registry/chat/reasoning-step/types.ts +109 -0
  13. package/cli/registry/chat/response/compound.tsx +210 -0
  14. package/cli/registry/chat/{response.tsx → response/context.tsx} +65 -136
  15. package/cli/registry/chat/response/index.tsx +87 -0
  16. package/cli/registry/chat/response/types.ts +123 -0
  17. package/cli/registry/chat/thinking-indicator.test.tsx +244 -0
  18. package/cli/registry/chat/tool-invocation-card.test.tsx +346 -0
  19. package/cli/registry/chat/{request.tsx → user-message.tsx} +3 -3
  20. package/cli/registry/chat/user-question/compound.tsx +324 -0
  21. package/cli/registry/chat/user-question/context.tsx +456 -0
  22. package/cli/registry/chat/user-question/index.tsx +71 -316
  23. package/cli/registry/chat/user-question/useUserQuestionKeyboard.ts +5 -6
  24. package/cli/registry/tokens/index.css +31 -0
  25. package/cli/registry/tokens/scale/computed.css +103 -0
  26. package/cli/registry/tokens/scale/config.css +110 -0
  27. package/cli/registry/tokens/scale/index.css +30 -0
  28. package/cli/registry/tokens/scale/presets/compact.css +30 -0
  29. package/cli/registry/tokens/scale/presets/dense.css +64 -0
  30. package/cli/registry/tokens/scale/presets/sharp.css +40 -0
  31. package/cli/registry/tokens/scale/presets/soft.css +16 -0
  32. package/cli/registry/tokens/scale.css +12 -298
  33. package/cli/registry/tokens/scrollbar-utility.css +35 -0
  34. package/cli/registry/tokens/themes/dark-parchment.css +132 -0
  35. package/cli/registry/tokens/themes/dark-qoder.css +132 -0
  36. package/cli/registry/tokens/themes/light-parchment.css +123 -0
  37. package/cli/registry/tokens/themes/light-qoder.css +131 -0
  38. package/dist/qoder-design.css +1 -1
  39. package/dist/registry/chat/ask-user-part.d.ts +24 -0
  40. package/dist/registry/chat/browser-action-part.d.ts +28 -0
  41. package/dist/registry/chat/{suggestion-part.d.ts → hint-banner.d.ts} +4 -4
  42. package/dist/registry/chat/reasoning-step/compound.d.ts +17 -0
  43. package/dist/registry/chat/reasoning-step/context.d.ts +10 -0
  44. package/dist/registry/chat/reasoning-step/index.d.ts +14 -0
  45. package/dist/registry/chat/reasoning-step/types.d.ts +95 -0
  46. package/dist/registry/chat/response/compound.d.ts +25 -0
  47. package/dist/registry/chat/response/context.d.ts +9 -0
  48. package/dist/registry/chat/response/index.d.ts +15 -0
  49. package/dist/registry/chat/response/types.d.ts +99 -0
  50. package/dist/registry/chat/user-message.d.ts +6 -0
  51. package/dist/registry/chat/user-question/compound.d.ts +37 -0
  52. package/dist/registry/chat/user-question/context.d.ts +55 -0
  53. package/dist/registry/chat/user-question/index.d.ts +13 -5
  54. package/dist/registry/chat/user-question/useUserQuestionKeyboard.d.ts +2 -3
  55. package/dist/scale.css +9 -303
  56. package/dist/spark-design.cjs.js +62 -62
  57. package/dist/spark-design.es.js +3992 -3826
  58. package/dist/src/components/chat/AskUserPart/index.d.ts +6 -0
  59. package/dist/src/components/chat/BrowserActionPart/index.d.ts +7 -0
  60. package/dist/src/components/chat/HintBanner/index.d.ts +6 -0
  61. package/dist/src/components/chat/ReasoningStep/index.d.ts +11 -5
  62. package/dist/src/components/chat/Response/index.d.ts +16 -6
  63. package/dist/src/components/chat/UserMessage/index.d.ts +7 -0
  64. package/dist/src/components/chat/UserQuestion/index.d.ts +18 -4
  65. package/dist/src/components/index.d.ts +63 -63
  66. package/dist/theme.css +13 -800
  67. package/package.json +27 -3
  68. package/dist/registry/chat/browser-use-part.d.ts +0 -28
  69. package/dist/registry/chat/question-part.d.ts +0 -24
  70. package/dist/registry/chat/reasoning-step.d.ts +0 -35
  71. package/dist/registry/chat/request.d.ts +0 -6
  72. package/dist/registry/chat/response.d.ts +0 -28
  73. package/dist/src/components/chat/BrowserUsePart/index.d.ts +0 -7
  74. package/dist/src/components/chat/QuestionPart/index.d.ts +0 -6
  75. package/dist/src/components/chat/Request/index.d.ts +0 -7
  76. package/dist/src/components/chat/SuggestionPart/index.d.ts +0 -6
  77. /package/dist/src/components/{foundation → basic}/AlertDialog/index.d.ts +0 -0
  78. /package/dist/src/components/{foundation → basic}/Avatar/index.d.ts +0 -0
  79. /package/dist/src/components/{foundation → basic}/Button/index.d.ts +0 -0
  80. /package/dist/src/components/{foundation → basic}/Collapse/index.d.ts +0 -0
  81. /package/dist/src/components/{foundation → basic}/Collapsible/index.d.ts +0 -0
  82. /package/dist/src/components/{foundation → basic}/CollapsibleSection/index.d.ts +0 -0
  83. /package/dist/src/components/{foundation → basic}/DropdownMenu/index.d.ts +0 -0
  84. /package/dist/src/components/{foundation → basic}/EllipsisText/index.d.ts +0 -0
  85. /package/dist/src/components/{foundation → basic}/IconButton/index.d.ts +0 -0
  86. /package/dist/src/components/{foundation → basic}/Kbd/index.d.ts +0 -0
  87. /package/dist/src/components/{foundation → basic}/OptionList/index.d.ts +0 -0
  88. /package/dist/src/components/{foundation → basic}/Pagination/index.d.ts +0 -0
  89. /package/dist/src/components/{foundation → basic}/Progress/index.d.ts +0 -0
  90. /package/dist/src/components/{foundation → basic}/RadioGroup/index.d.ts +0 -0
  91. /package/dist/src/components/{foundation → basic}/Resizable/index.d.ts +0 -0
  92. /package/dist/src/components/{foundation → basic}/Scrollbar/index.d.ts +0 -0
  93. /package/dist/src/components/{foundation → basic}/Select/index.d.ts +0 -0
  94. /package/dist/src/components/{foundation → basic}/Skeleton/index.d.ts +0 -0
  95. /package/dist/src/components/{foundation → basic}/Slider/index.d.ts +0 -0
  96. /package/dist/src/components/{foundation → basic}/Spinner/index.d.ts +0 -0
  97. /package/dist/src/components/{foundation → basic}/Switch/index.d.ts +0 -0
  98. /package/dist/src/components/{foundation → basic}/Table/index.d.ts +0 -0
  99. /package/dist/src/components/{foundation → basic}/Tabs/index.d.ts +0 -0
  100. /package/dist/src/components/{foundation → basic}/Tag/index.d.ts +0 -0
  101. /package/dist/src/components/{foundation → basic}/Toast/index.d.ts +0 -0
  102. /package/dist/src/components/{foundation → basic}/Toggle/index.d.ts +0 -0
  103. /package/dist/src/components/{foundation → basic}/Tooltip/index.d.ts +0 -0
  104. /package/dist/src/components/{foundation → basic}/Typography/index.d.ts +0 -0
@@ -0,0 +1,6 @@
1
+ import type { AskUserPartProps as RegistryAskUserPartProps } from '../../../../registry/chat/ask-user-part';
2
+ export type AskUserPartProps = Omit<RegistryAskUserPartProps, 'headerIcon'>;
3
+ export declare function AskUserPart(props: AskUserPartProps): import("react/jsx-runtime").JSX.Element;
4
+ export declare namespace AskUserPart {
5
+ var displayName: string;
6
+ }
@@ -0,0 +1,7 @@
1
+ import type { BrowserActionPartProps as RegistryBrowserActionPartProps, BrowserActionStatus } from '../../../../registry/chat/browser-action-part';
2
+ export type { BrowserActionStatus };
3
+ export type BrowserActionPartProps = Omit<RegistryBrowserActionPartProps, 'normalIcon' | 'failedIcon' | 'skippedIcon'>;
4
+ export declare function BrowserActionPart(props: BrowserActionPartProps): import("react/jsx-runtime").JSX.Element;
5
+ export declare namespace BrowserActionPart {
6
+ var displayName: string;
7
+ }
@@ -0,0 +1,6 @@
1
+ import type { HintBannerProps } from '../../../../registry/chat/hint-banner';
2
+ export type { HintBannerProps };
3
+ export declare function HintBanner(props: Omit<HintBannerProps, 'closeIcon' | 'arrowDownSIcon' | 'suggestionIcon'>): import("react/jsx-runtime").JSX.Element;
4
+ export declare namespace HintBanner {
5
+ var displayName: string;
6
+ }
@@ -1,7 +1,13 @@
1
- import type { ReasoningStepProps as RegistryReasoningStepProps, ReasoningStepDetail } from '../../../../registry/chat/reasoning-step';
2
- export type { ReasoningStepDetail };
1
+ import { useReasoningStepContext } from '../../../../registry/chat/reasoning-step/context';
2
+ import { ReasoningStepDefaultLayout } from '../../../../registry/chat/reasoning-step/compound';
3
+ import type { ReasoningStepProps as RegistryReasoningStepProps, ReasoningStepDetail, ReasoningStepRootProps, ReasoningStepStatus, ReasoningStepCompound } from '../../../../registry/chat/reasoning-step/types';
4
+ import type { ReactNode } from 'react';
5
+ export type { ReasoningStepDetail, ReasoningStepStatus };
3
6
  export type ReasoningStepProps = Omit<RegistryReasoningStepProps, 'eyeIcon' | 'arrowRightIcon'>;
4
- export declare function ReasoningStep(props: ReasoningStepProps): import("react/jsx-runtime").JSX.Element;
5
- export declare namespace ReasoningStep {
6
- var displayName: string;
7
+ interface MainLibReasoningStepCompound extends Omit<ReasoningStepCompound, 'Root'> {
8
+ Root: React.FC<Omit<ReasoningStepRootProps, 'eyeIcon' | 'arrowRightIcon'> & {
9
+ children?: ReactNode;
10
+ }>;
7
11
  }
12
+ export declare const ReasoningStep: React.FC<ReasoningStepProps> & MainLibReasoningStepCompound;
13
+ export { useReasoningStepContext, ReasoningStepDefaultLayout };
@@ -1,6 +1,16 @@
1
- import type { ResponseProps as RegistryResponseProps } from '../../../../registry/chat/response';
2
- export type { ResponseProps, ResponsePhase, ResponseRound, ResponseStep, ResponseStepToolType, } from '../../../../registry/chat/response';
3
- export declare function Response(props: RegistryResponseProps): import("react/jsx-runtime").JSX.Element;
4
- export declare namespace Response {
5
- var displayName: string;
6
- }
1
+ /**
2
+ * [INPUT]: (ResponseProps)
3
+ * [OUTPUT]: (JSX.Element)
4
+ * [POS]: components/chat/Response - 从 registry 再导出,注入带 Lottie 的 ThinkingIndicator
5
+ *
6
+ * 设计模式:shadcn 风格复合组件
7
+ * - Response = 便捷导出(Root + DefaultLayout)
8
+ * - Response.Root/Thinking/Steps/Step/Content/ImageGenerating = 复合子组件
9
+ */
10
+ import type { HTMLAttributes } from 'react';
11
+ import { useResponseContext as useRegistryResponseContext, DEMO_ROUNDS, DEMO_FINAL_MD } from '../../../../registry/chat/response/context';
12
+ import type { ResponseProps as RegistryResponseProps, ResponseCompound, ResponsePhase, ResponseStep, ResponseStepToolType, ResponseRound, ResponseBlock, BlockType } from '../../../../registry/chat/response/types';
13
+ export type { ResponsePhase, ResponseRound, ResponseStep, ResponseStepToolType, ResponseBlock, BlockType, ResponseCompound, };
14
+ export type ResponseProps = RegistryResponseProps;
15
+ export declare const Response: React.FC<RegistryResponseProps & HTMLAttributes<HTMLDivElement>> & ResponseCompound;
16
+ export { useRegistryResponseContext as useResponseContext, DEMO_ROUNDS, DEMO_FINAL_MD, };
@@ -0,0 +1,7 @@
1
+ /**
2
+ * [INPUT]: (UserMessageProps)
3
+ * [OUTPUT]: (JSX.Element) - 用户消息气泡容器
4
+ * [POS]: components/chat/UserMessage - 从 registry 再导出
5
+ */
6
+ export { UserMessage } from '../../../../registry/chat/user-message';
7
+ export type { UserMessageProps } from '../../../../registry/chat/user-message';
@@ -1,5 +1,19 @@
1
- import type { UserQuestionProps as RegistryUserQuestionProps } from '../../../../registry/chat/user-question/index';
1
+ import type { ReactNode } from 'react';
2
+ import { useUserQuestionContext, type UserQuestionRootProps } from '../../../../registry/chat/user-question/context';
3
+ import { UserQuestionHeader, UserQuestionCard, UserQuestionCards, UserQuestionFooter, UserQuestionDefaultLayout } from '../../../../registry/chat/user-question/compound';
4
+ import type { UserQuestionProps as RegistryUserQuestionProps, UserQuestionHandle, UserQuestionItem, UserQuestionOption, UserQuestionLabels } from '../../../../registry/chat/user-question/types';
5
+ export type { UserQuestionHandle, UserQuestionItem, UserQuestionOption, UserQuestionLabels };
2
6
  export type UserQuestionProps = Omit<RegistryUserQuestionProps, 'chat4Icon' | 'arrowUpSIcon' | 'arrowDownSIcon' | 'sparklingIcon'>;
3
- export type { UserQuestionHandle, UserQuestionItem, UserQuestionOption, UserQuestionLabels, } from '../../../../registry/chat/user-question/index';
4
- import type { UserQuestionHandle as UQHandle } from '../../../../registry/chat/user-question/index';
5
- export declare const UserQuestion: import("react").ForwardRefExoticComponent<UserQuestionProps & import("react").RefAttributes<UQHandle>>;
7
+ declare const UserQuestionRootProvider: import("react").ForwardRefExoticComponent<Omit<UserQuestionRootProps, "arrowDownSIcon" | "sparklingIcon" | "chat4Icon" | "arrowUpSIcon"> & {
8
+ children?: ReactNode;
9
+ } & import("react").RefAttributes<UserQuestionHandle>>;
10
+ interface MainLibUserQuestionCompound {
11
+ Root: typeof UserQuestionRootProvider;
12
+ Header: typeof UserQuestionHeader;
13
+ Card: typeof UserQuestionCard;
14
+ Cards: typeof UserQuestionCards;
15
+ Footer: typeof UserQuestionFooter;
16
+ DefaultLayout: typeof UserQuestionDefaultLayout;
17
+ }
18
+ export declare const UserQuestion: React.ForwardRefExoticComponent<UserQuestionProps & React.RefAttributes<UserQuestionHandle>> & MainLibUserQuestionCompound;
19
+ export { useUserQuestionContext, UserQuestionDefaultLayout };
@@ -11,59 +11,59 @@
11
11
  *
12
12
  * 注意:样式通过 Vite 构建配置自动处理,无需在此引入
13
13
  */
14
- export { Button } from './foundation/Button';
15
- export type { ButtonProps } from './foundation/Button';
16
- export { IconButton } from './foundation/IconButton';
17
- export type { IconButtonProps } from './foundation/IconButton';
18
- export { Tooltip } from './foundation/Tooltip';
19
- export type { TooltipProps } from './foundation/Tooltip';
20
- export { EllipsisText } from './foundation/EllipsisText';
21
- export type { EllipsisTextProps } from './foundation/EllipsisText';
22
- export { OptionList } from './foundation/OptionList';
23
- export type { OptionListProps, OptionItem } from './foundation/OptionList';
24
- export { DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuItem, DropdownMenuCheckboxItem, DropdownMenuRadioItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuGroup, DropdownMenuPortal, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuRadioGroup, } from './foundation/DropdownMenu';
25
- export type { DropdownMenuItemProps, DropdownMenuSubTriggerProps, DropdownMenuLabelProps, } from './foundation/DropdownMenu';
26
- export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, } from './foundation/AlertDialog';
27
- export type { AlertDialogContentProps, AlertDialogActionProps, AlertDialogHeaderProps, AlertDialogFooterProps, AlertDialogMediaProps, } from './foundation/AlertDialog';
28
- export { Kbd, KbdGroup } from './foundation/Kbd';
29
- export type { KbdProps, KbdGroupProps } from './foundation/Kbd';
30
- export { Switch, FunctionSwitch } from './foundation/Switch';
31
- export type { SwitchProps, FunctionSwitchProps, FunctionSwitchSize, FunctionSwitchValue, SegmentOption } from './foundation/Switch';
32
- export { Toggle, ToggleGroup, ToggleGroupItem } from './foundation/Toggle';
33
- export type { ToggleProps, ToggleGroupProps, ToggleGroupItemProps } from './foundation/Toggle';
34
- export { RadioGroup, RadioGroupItem } from './foundation/RadioGroup';
35
- export type { RadioGroupProps, RadioGroupItemProps } from './foundation/RadioGroup';
36
- export { CollapsibleSection } from './foundation/CollapsibleSection';
37
- export type { CollapsibleSectionProps } from './foundation/CollapsibleSection';
38
- export { Collapsible, CollapsibleTrigger, CollapsibleContent } from './foundation/Collapsible';
39
- export { ResizablePanelGroup, ResizablePanel, ResizableHandle, } from './foundation/Resizable';
40
- export type { ResizablePanelGroupProps, ResizablePanelProps, ResizableHandleProps, } from './foundation/Resizable';
41
- export { Scrollbar } from './foundation/Scrollbar';
42
- export type { ScrollbarProps } from './foundation/Scrollbar';
43
- export { Skeleton } from './foundation/Skeleton';
44
- export type { SkeletonProps } from './foundation/Skeleton';
45
- export { Spinner } from './foundation/Spinner';
46
- export type { SpinnerProps } from './foundation/Spinner';
47
- export { Table, TableHeader, TableBody, TableFooter, TableHead, TableRow, TableCell, TableCaption, } from './foundation/Table';
48
- export type { TableProps, TableHeaderProps, TableBodyProps, TableFooterProps, TableRowProps, TableHeadProps, TableCellProps, TableCaptionProps, } from './foundation/Table';
49
- export { Avatar, AvatarImage, AvatarFallback, AvatarBadge, AvatarGroup, AvatarGroupCount, } from './foundation/Avatar';
50
- export type { AvatarProps, AvatarImageProps, AvatarFallbackProps, AvatarBadgeProps, AvatarGroupProps, AvatarGroupCountProps, } from './foundation/Avatar';
51
- export { Toaster, toast } from './foundation/Toast';
52
- export type { ToasterProps } from './foundation/Toast';
53
- export { Select, SelectTrigger, SelectValue, SelectContent, SelectLabel, SelectSeparator, SelectGroup, SelectItem, SelectScrollUpButton, SelectScrollDownButton, } from './foundation/Select';
54
- export type { SelectProps, SelectTriggerProps, SelectValueProps, SelectContentProps, SelectLabelProps, SelectSeparatorProps, SelectGroupProps, SelectItemProps, } from './foundation/Select';
55
- export { Tabs, TabsList, TabsTrigger, TabsContent, } from './foundation/Tabs';
56
- export type { TabsProps, TabsListProps, TabsTriggerProps, TabsContentProps, } from './foundation/Tabs';
57
- export { Collapse, CollapseItem, CollapseTrigger, CollapseContent, } from './foundation/Collapse';
58
- export type { CollapseProps, CollapseItemProps, CollapseTriggerProps, CollapseContentProps, } from './foundation/Collapse';
59
- export { TypographyH1, TypographyH2, TypographyH3, TypographyH4, TypographyP, TypographyBlockquote, TypographyTable, TypographyList, TypographyInlineCode, TypographyLead, TypographyLarge, TypographySmall, TypographyMuted, } from './foundation/Typography';
60
- export type { TypographyH1Props, TypographyH2Props, TypographyH3Props, TypographyH4Props, TypographyPProps, TypographyBlockquoteProps, TypographyTableProps, TypographyListProps, TypographyInlineCodeProps, TypographyLeadProps, TypographyLargeProps, TypographySmallProps, TypographyMutedProps, } from './foundation/Typography';
61
- export { Slider } from './foundation/Slider';
62
- export type { SliderProps } from './foundation/Slider';
63
- export { Pagination, PaginationContent, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PaginationEllipsis, } from './foundation/Pagination';
64
- export type { PaginationLinkProps, PaginationPreviousProps, PaginationNextProps, } from './foundation/Pagination';
65
- export { Tag, tagVariants } from './foundation/Tag';
66
- export type { TagProps } from './foundation/Tag';
14
+ export { Button } from './basic/Button';
15
+ export type { ButtonProps } from './basic/Button';
16
+ export { IconButton } from './basic/IconButton';
17
+ export type { IconButtonProps } from './basic/IconButton';
18
+ export { Tooltip } from './basic/Tooltip';
19
+ export type { TooltipProps } from './basic/Tooltip';
20
+ export { EllipsisText } from './basic/EllipsisText';
21
+ export type { EllipsisTextProps } from './basic/EllipsisText';
22
+ export { OptionList } from './basic/OptionList';
23
+ export type { OptionListProps, OptionItem } from './basic/OptionList';
24
+ export { DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuItem, DropdownMenuCheckboxItem, DropdownMenuRadioItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuGroup, DropdownMenuPortal, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuRadioGroup, } from './basic/DropdownMenu';
25
+ export type { DropdownMenuItemProps, DropdownMenuSubTriggerProps, DropdownMenuLabelProps, } from './basic/DropdownMenu';
26
+ export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, } from './basic/AlertDialog';
27
+ export type { AlertDialogContentProps, AlertDialogActionProps, AlertDialogHeaderProps, AlertDialogFooterProps, AlertDialogMediaProps, } from './basic/AlertDialog';
28
+ export { Kbd, KbdGroup } from './basic/Kbd';
29
+ export type { KbdProps, KbdGroupProps } from './basic/Kbd';
30
+ export { Switch, FunctionSwitch } from './basic/Switch';
31
+ export type { SwitchProps, FunctionSwitchProps, FunctionSwitchSize, FunctionSwitchValue, SegmentOption } from './basic/Switch';
32
+ export { Toggle, ToggleGroup, ToggleGroupItem } from './basic/Toggle';
33
+ export type { ToggleProps, ToggleGroupProps, ToggleGroupItemProps } from './basic/Toggle';
34
+ export { RadioGroup, RadioGroupItem } from './basic/RadioGroup';
35
+ export type { RadioGroupProps, RadioGroupItemProps } from './basic/RadioGroup';
36
+ export { CollapsibleSection } from './basic/CollapsibleSection';
37
+ export type { CollapsibleSectionProps } from './basic/CollapsibleSection';
38
+ export { Collapsible, CollapsibleTrigger, CollapsibleContent } from './basic/Collapsible';
39
+ export { ResizablePanelGroup, ResizablePanel, ResizableHandle, } from './basic/Resizable';
40
+ export type { ResizablePanelGroupProps, ResizablePanelProps, ResizableHandleProps, } from './basic/Resizable';
41
+ export { Scrollbar } from './basic/Scrollbar';
42
+ export type { ScrollbarProps } from './basic/Scrollbar';
43
+ export { Skeleton } from './basic/Skeleton';
44
+ export type { SkeletonProps } from './basic/Skeleton';
45
+ export { Spinner } from './basic/Spinner';
46
+ export type { SpinnerProps } from './basic/Spinner';
47
+ export { Table, TableHeader, TableBody, TableFooter, TableHead, TableRow, TableCell, TableCaption, } from './basic/Table';
48
+ export type { TableProps, TableHeaderProps, TableBodyProps, TableFooterProps, TableRowProps, TableHeadProps, TableCellProps, TableCaptionProps, } from './basic/Table';
49
+ export { Avatar, AvatarImage, AvatarFallback, AvatarBadge, AvatarGroup, AvatarGroupCount, } from './basic/Avatar';
50
+ export type { AvatarProps, AvatarImageProps, AvatarFallbackProps, AvatarBadgeProps, AvatarGroupProps, AvatarGroupCountProps, } from './basic/Avatar';
51
+ export { Toaster, toast } from './basic/Toast';
52
+ export type { ToasterProps } from './basic/Toast';
53
+ export { Select, SelectTrigger, SelectValue, SelectContent, SelectLabel, SelectSeparator, SelectGroup, SelectItem, SelectScrollUpButton, SelectScrollDownButton, } from './basic/Select';
54
+ export type { SelectProps, SelectTriggerProps, SelectValueProps, SelectContentProps, SelectLabelProps, SelectSeparatorProps, SelectGroupProps, SelectItemProps, } from './basic/Select';
55
+ export { Tabs, TabsList, TabsTrigger, TabsContent, } from './basic/Tabs';
56
+ export type { TabsProps, TabsListProps, TabsTriggerProps, TabsContentProps, } from './basic/Tabs';
57
+ export { Collapse, CollapseItem, CollapseTrigger, CollapseContent, } from './basic/Collapse';
58
+ export type { CollapseProps, CollapseItemProps, CollapseTriggerProps, CollapseContentProps, } from './basic/Collapse';
59
+ export { TypographyH1, TypographyH2, TypographyH3, TypographyH4, TypographyP, TypographyBlockquote, TypographyTable, TypographyList, TypographyInlineCode, TypographyLead, TypographyLarge, TypographySmall, TypographyMuted, } from './basic/Typography';
60
+ export type { TypographyH1Props, TypographyH2Props, TypographyH3Props, TypographyH4Props, TypographyPProps, TypographyBlockquoteProps, TypographyTableProps, TypographyListProps, TypographyInlineCodeProps, TypographyLeadProps, TypographyLargeProps, TypographySmallProps, TypographyMutedProps, } from './basic/Typography';
61
+ export { Slider } from './basic/Slider';
62
+ export type { SliderProps } from './basic/Slider';
63
+ export { Pagination, PaginationContent, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PaginationEllipsis, } from './basic/Pagination';
64
+ export type { PaginationLinkProps, PaginationPreviousProps, PaginationNextProps, } from './basic/Pagination';
65
+ export { Tag, tagVariants } from './basic/Tag';
66
+ export type { TagProps } from './basic/Tag';
67
67
  export { CollapsibleCard } from './chat/CollapsibleCard';
68
68
  export type { CollapsibleCardProps } from './chat/CollapsibleCard';
69
69
  export { FolderButton } from './chat/FolderButton';
@@ -72,14 +72,14 @@ export { ChatInput, ChatInputRoot, ChatInputAbove, ChatInputBox, ChatInputAttach
72
72
  export type { ChatInputProps, FolderPermissionConfig, GenerationStatusConfig, FooterLeftModelSwitchConfig, FooterLeftModelSwitchItem, ChatInputRootProps, ChatInputAboveProps, ChatInputBoxProps, ChatInputAttachmentsProps, ChatInputInputProps, ChatInputActionsProps, ChatInputActionsLeftProps, ChatInputActionsRightProps, ChatInputExpandButtonProps, } from './chat/ChatInput';
73
73
  export { RelatedPrompts } from './chat/RelatedPrompts';
74
74
  export type { RelatedPromptsProps, RelatedPromptItem } from './chat/RelatedPrompts';
75
- export { SuggestionPart } from './chat/SuggestionPart';
76
- export type { SuggestionPartProps } from './chat/SuggestionPart';
75
+ export { HintBanner } from './chat/HintBanner';
76
+ export type { HintBannerProps } from './chat/HintBanner';
77
77
  export { SendButton } from './chat/SendButton';
78
78
  export type { SendButtonProps } from './chat/SendButton';
79
79
  export { Response } from './chat/Response';
80
80
  export type { ResponseProps, ResponsePhase, ResponseRound, ResponseStep, ResponseStepToolType } from './chat/Response';
81
- export { Request } from './chat/Request';
82
- export type { RequestProps } from './chat/Request';
81
+ export { UserMessage } from './chat/UserMessage';
82
+ export type { UserMessageProps } from './chat/UserMessage';
83
83
  export { FileCard } from './chat/FileCard';
84
84
  export type { FileCardProps } from './chat/FileCard';
85
85
  export { FileAttachment } from './chat/FileAttachment';
@@ -122,12 +122,12 @@ export { CodeBlockPart } from './chat/CodeBlockPart';
122
122
  export type { CodeBlockPartProps, CodeBlockDiffType } from './chat/CodeBlockPart';
123
123
  export { TerminalCodeBlockPart } from './chat/TerminalCodeBlockPart';
124
124
  export type { TerminalCodeBlockPartProps } from './chat/TerminalCodeBlockPart';
125
- export { BrowserUsePart } from './chat/BrowserUsePart';
126
- export type { BrowserUsePartProps, BrowserUseStatus } from './chat/BrowserUsePart';
127
- export { QuestionPart } from './chat/QuestionPart';
128
- export type { QuestionPartProps } from './chat/QuestionPart';
129
- export { Progress } from './foundation/Progress';
130
- export type { ProgressProps } from './foundation/Progress';
125
+ export { BrowserActionPart } from './chat/BrowserActionPart';
126
+ export type { BrowserActionPartProps, BrowserActionStatus } from './chat/BrowserActionPart';
127
+ export { AskUserPart } from './chat/AskUserPart';
128
+ export type { AskUserPartProps } from './chat/AskUserPart';
129
+ export { Progress } from './basic/Progress';
130
+ export type { ProgressProps } from './basic/Progress';
131
131
  export { IconsProvider, useIcons, useIcon } from '../icons/context';
132
132
  export type { IconKey, IconComponent, IconProps } from '../icons/types';
133
133
  export type { IconsContextValue } from '../icons/context';