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.
- package/README.md +7 -5
- package/cli/dist/index.js +0 -0
- package/cli/dist/utils/tokens.js +103 -17
- package/cli/registry/basic/button.test.tsx +333 -0
- package/cli/registry/chat/{question-part.tsx → ask-user-part.tsx} +4 -4
- package/cli/registry/chat/{browser-use-part.tsx → browser-action-part.tsx} +6 -6
- package/cli/registry/chat/{suggestion-part.tsx → hint-banner.tsx} +4 -4
- package/cli/registry/chat/markdown.test.tsx +387 -0
- package/cli/registry/chat/{reasoning-step.tsx → reasoning-step/compound.tsx} +163 -185
- package/cli/registry/chat/reasoning-step/context.tsx +114 -0
- package/cli/registry/chat/reasoning-step/index.tsx +45 -0
- package/cli/registry/chat/reasoning-step/types.ts +109 -0
- package/cli/registry/chat/response/compound.tsx +210 -0
- package/cli/registry/chat/{response.tsx → response/context.tsx} +65 -136
- package/cli/registry/chat/response/index.tsx +87 -0
- package/cli/registry/chat/response/types.ts +123 -0
- package/cli/registry/chat/thinking-indicator.test.tsx +244 -0
- package/cli/registry/chat/tool-invocation-card.test.tsx +346 -0
- package/cli/registry/chat/{request.tsx → user-message.tsx} +3 -3
- package/cli/registry/chat/user-question/compound.tsx +324 -0
- package/cli/registry/chat/user-question/context.tsx +456 -0
- package/cli/registry/chat/user-question/index.tsx +71 -316
- package/cli/registry/chat/user-question/useUserQuestionKeyboard.ts +5 -6
- package/cli/registry/tokens/index.css +31 -0
- package/cli/registry/tokens/scale/computed.css +103 -0
- package/cli/registry/tokens/scale/config.css +110 -0
- package/cli/registry/tokens/scale/index.css +30 -0
- package/cli/registry/tokens/scale/presets/compact.css +30 -0
- package/cli/registry/tokens/scale/presets/dense.css +64 -0
- package/cli/registry/tokens/scale/presets/sharp.css +40 -0
- package/cli/registry/tokens/scale/presets/soft.css +16 -0
- package/cli/registry/tokens/scale.css +12 -298
- package/cli/registry/tokens/scrollbar-utility.css +35 -0
- package/cli/registry/tokens/themes/dark-parchment.css +132 -0
- package/cli/registry/tokens/themes/dark-qoder.css +132 -0
- package/cli/registry/tokens/themes/light-parchment.css +123 -0
- package/cli/registry/tokens/themes/light-qoder.css +131 -0
- package/dist/qoder-design.css +1 -1
- package/dist/registry/chat/ask-user-part.d.ts +24 -0
- package/dist/registry/chat/browser-action-part.d.ts +28 -0
- package/dist/registry/chat/{suggestion-part.d.ts → hint-banner.d.ts} +4 -4
- package/dist/registry/chat/reasoning-step/compound.d.ts +17 -0
- package/dist/registry/chat/reasoning-step/context.d.ts +10 -0
- package/dist/registry/chat/reasoning-step/index.d.ts +14 -0
- package/dist/registry/chat/reasoning-step/types.d.ts +95 -0
- package/dist/registry/chat/response/compound.d.ts +25 -0
- package/dist/registry/chat/response/context.d.ts +9 -0
- package/dist/registry/chat/response/index.d.ts +15 -0
- package/dist/registry/chat/response/types.d.ts +99 -0
- package/dist/registry/chat/user-message.d.ts +6 -0
- package/dist/registry/chat/user-question/compound.d.ts +37 -0
- package/dist/registry/chat/user-question/context.d.ts +55 -0
- package/dist/registry/chat/user-question/index.d.ts +13 -5
- package/dist/registry/chat/user-question/useUserQuestionKeyboard.d.ts +2 -3
- package/dist/scale.css +9 -303
- package/dist/spark-design.cjs.js +62 -62
- package/dist/spark-design.es.js +3992 -3826
- package/dist/src/components/chat/AskUserPart/index.d.ts +6 -0
- package/dist/src/components/chat/BrowserActionPart/index.d.ts +7 -0
- package/dist/src/components/chat/HintBanner/index.d.ts +6 -0
- package/dist/src/components/chat/ReasoningStep/index.d.ts +11 -5
- package/dist/src/components/chat/Response/index.d.ts +16 -6
- package/dist/src/components/chat/UserMessage/index.d.ts +7 -0
- package/dist/src/components/chat/UserQuestion/index.d.ts +18 -4
- package/dist/src/components/index.d.ts +63 -63
- package/dist/theme.css +13 -800
- package/package.json +27 -3
- package/dist/registry/chat/browser-use-part.d.ts +0 -28
- package/dist/registry/chat/question-part.d.ts +0 -24
- package/dist/registry/chat/reasoning-step.d.ts +0 -35
- package/dist/registry/chat/request.d.ts +0 -6
- package/dist/registry/chat/response.d.ts +0 -28
- package/dist/src/components/chat/BrowserUsePart/index.d.ts +0 -7
- package/dist/src/components/chat/QuestionPart/index.d.ts +0 -6
- package/dist/src/components/chat/Request/index.d.ts +0 -7
- package/dist/src/components/chat/SuggestionPart/index.d.ts +0 -6
- /package/dist/src/components/{foundation → basic}/AlertDialog/index.d.ts +0 -0
- /package/dist/src/components/{foundation → basic}/Avatar/index.d.ts +0 -0
- /package/dist/src/components/{foundation → basic}/Button/index.d.ts +0 -0
- /package/dist/src/components/{foundation → basic}/Collapse/index.d.ts +0 -0
- /package/dist/src/components/{foundation → basic}/Collapsible/index.d.ts +0 -0
- /package/dist/src/components/{foundation → basic}/CollapsibleSection/index.d.ts +0 -0
- /package/dist/src/components/{foundation → basic}/DropdownMenu/index.d.ts +0 -0
- /package/dist/src/components/{foundation → basic}/EllipsisText/index.d.ts +0 -0
- /package/dist/src/components/{foundation → basic}/IconButton/index.d.ts +0 -0
- /package/dist/src/components/{foundation → basic}/Kbd/index.d.ts +0 -0
- /package/dist/src/components/{foundation → basic}/OptionList/index.d.ts +0 -0
- /package/dist/src/components/{foundation → basic}/Pagination/index.d.ts +0 -0
- /package/dist/src/components/{foundation → basic}/Progress/index.d.ts +0 -0
- /package/dist/src/components/{foundation → basic}/RadioGroup/index.d.ts +0 -0
- /package/dist/src/components/{foundation → basic}/Resizable/index.d.ts +0 -0
- /package/dist/src/components/{foundation → basic}/Scrollbar/index.d.ts +0 -0
- /package/dist/src/components/{foundation → basic}/Select/index.d.ts +0 -0
- /package/dist/src/components/{foundation → basic}/Skeleton/index.d.ts +0 -0
- /package/dist/src/components/{foundation → basic}/Slider/index.d.ts +0 -0
- /package/dist/src/components/{foundation → basic}/Spinner/index.d.ts +0 -0
- /package/dist/src/components/{foundation → basic}/Switch/index.d.ts +0 -0
- /package/dist/src/components/{foundation → basic}/Table/index.d.ts +0 -0
- /package/dist/src/components/{foundation → basic}/Tabs/index.d.ts +0 -0
- /package/dist/src/components/{foundation → basic}/Tag/index.d.ts +0 -0
- /package/dist/src/components/{foundation → basic}/Toast/index.d.ts +0 -0
- /package/dist/src/components/{foundation → basic}/Toggle/index.d.ts +0 -0
- /package/dist/src/components/{foundation → basic}/Tooltip/index.d.ts +0 -0
- /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
|
|
2
|
-
|
|
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
|
-
|
|
5
|
-
|
|
6
|
-
|
|
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
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
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 {
|
|
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
|
-
|
|
4
|
-
|
|
5
|
-
|
|
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 './
|
|
15
|
-
export type { ButtonProps } from './
|
|
16
|
-
export { IconButton } from './
|
|
17
|
-
export type { IconButtonProps } from './
|
|
18
|
-
export { Tooltip } from './
|
|
19
|
-
export type { TooltipProps } from './
|
|
20
|
-
export { EllipsisText } from './
|
|
21
|
-
export type { EllipsisTextProps } from './
|
|
22
|
-
export { OptionList } from './
|
|
23
|
-
export type { OptionListProps, OptionItem } from './
|
|
24
|
-
export { DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuItem, DropdownMenuCheckboxItem, DropdownMenuRadioItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuGroup, DropdownMenuPortal, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuRadioGroup, } from './
|
|
25
|
-
export type { DropdownMenuItemProps, DropdownMenuSubTriggerProps, DropdownMenuLabelProps, } from './
|
|
26
|
-
export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, } from './
|
|
27
|
-
export type { AlertDialogContentProps, AlertDialogActionProps, AlertDialogHeaderProps, AlertDialogFooterProps, AlertDialogMediaProps, } from './
|
|
28
|
-
export { Kbd, KbdGroup } from './
|
|
29
|
-
export type { KbdProps, KbdGroupProps } from './
|
|
30
|
-
export { Switch, FunctionSwitch } from './
|
|
31
|
-
export type { SwitchProps, FunctionSwitchProps, FunctionSwitchSize, FunctionSwitchValue, SegmentOption } from './
|
|
32
|
-
export { Toggle, ToggleGroup, ToggleGroupItem } from './
|
|
33
|
-
export type { ToggleProps, ToggleGroupProps, ToggleGroupItemProps } from './
|
|
34
|
-
export { RadioGroup, RadioGroupItem } from './
|
|
35
|
-
export type { RadioGroupProps, RadioGroupItemProps } from './
|
|
36
|
-
export { CollapsibleSection } from './
|
|
37
|
-
export type { CollapsibleSectionProps } from './
|
|
38
|
-
export { Collapsible, CollapsibleTrigger, CollapsibleContent } from './
|
|
39
|
-
export { ResizablePanelGroup, ResizablePanel, ResizableHandle, } from './
|
|
40
|
-
export type { ResizablePanelGroupProps, ResizablePanelProps, ResizableHandleProps, } from './
|
|
41
|
-
export { Scrollbar } from './
|
|
42
|
-
export type { ScrollbarProps } from './
|
|
43
|
-
export { Skeleton } from './
|
|
44
|
-
export type { SkeletonProps } from './
|
|
45
|
-
export { Spinner } from './
|
|
46
|
-
export type { SpinnerProps } from './
|
|
47
|
-
export { Table, TableHeader, TableBody, TableFooter, TableHead, TableRow, TableCell, TableCaption, } from './
|
|
48
|
-
export type { TableProps, TableHeaderProps, TableBodyProps, TableFooterProps, TableRowProps, TableHeadProps, TableCellProps, TableCaptionProps, } from './
|
|
49
|
-
export { Avatar, AvatarImage, AvatarFallback, AvatarBadge, AvatarGroup, AvatarGroupCount, } from './
|
|
50
|
-
export type { AvatarProps, AvatarImageProps, AvatarFallbackProps, AvatarBadgeProps, AvatarGroupProps, AvatarGroupCountProps, } from './
|
|
51
|
-
export { Toaster, toast } from './
|
|
52
|
-
export type { ToasterProps } from './
|
|
53
|
-
export { Select, SelectTrigger, SelectValue, SelectContent, SelectLabel, SelectSeparator, SelectGroup, SelectItem, SelectScrollUpButton, SelectScrollDownButton, } from './
|
|
54
|
-
export type { SelectProps, SelectTriggerProps, SelectValueProps, SelectContentProps, SelectLabelProps, SelectSeparatorProps, SelectGroupProps, SelectItemProps, } from './
|
|
55
|
-
export { Tabs, TabsList, TabsTrigger, TabsContent, } from './
|
|
56
|
-
export type { TabsProps, TabsListProps, TabsTriggerProps, TabsContentProps, } from './
|
|
57
|
-
export { Collapse, CollapseItem, CollapseTrigger, CollapseContent, } from './
|
|
58
|
-
export type { CollapseProps, CollapseItemProps, CollapseTriggerProps, CollapseContentProps, } from './
|
|
59
|
-
export { TypographyH1, TypographyH2, TypographyH3, TypographyH4, TypographyP, TypographyBlockquote, TypographyTable, TypographyList, TypographyInlineCode, TypographyLead, TypographyLarge, TypographySmall, TypographyMuted, } from './
|
|
60
|
-
export type { TypographyH1Props, TypographyH2Props, TypographyH3Props, TypographyH4Props, TypographyPProps, TypographyBlockquoteProps, TypographyTableProps, TypographyListProps, TypographyInlineCodeProps, TypographyLeadProps, TypographyLargeProps, TypographySmallProps, TypographyMutedProps, } from './
|
|
61
|
-
export { Slider } from './
|
|
62
|
-
export type { SliderProps } from './
|
|
63
|
-
export { Pagination, PaginationContent, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PaginationEllipsis, } from './
|
|
64
|
-
export type { PaginationLinkProps, PaginationPreviousProps, PaginationNextProps, } from './
|
|
65
|
-
export { Tag, tagVariants } from './
|
|
66
|
-
export type { TagProps } from './
|
|
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 {
|
|
76
|
-
export type {
|
|
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 {
|
|
82
|
-
export type {
|
|
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 {
|
|
126
|
-
export type {
|
|
127
|
-
export {
|
|
128
|
-
export type {
|
|
129
|
-
export { Progress } from './
|
|
130
|
-
export type { ProgressProps } from './
|
|
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';
|