@swisper.ai/web-chat-ui 0.2.14 → 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.
Files changed (28) hide show
  1. package/README.md +1 -1
  2. package/dist/components/chat-artifact/chat-artifact.d.ts +7 -7
  3. package/dist/components/chat-artifact/chat-artifact.d.ts.map +1 -1
  4. package/dist/components/chat-artifact/chat-artifact.stories.d.ts +5 -3
  5. package/dist/components/chat-artifact/chat-artifact.stories.d.ts.map +1 -1
  6. package/dist/components/chat-thinking-process/chat-thinking-process.d.ts +22 -31
  7. package/dist/components/chat-thinking-process/chat-thinking-process.d.ts.map +1 -1
  8. package/dist/components/chat-thinking-process/chat-thinking-process.stories.d.ts +9 -11
  9. package/dist/components/chat-thinking-process/chat-thinking-process.stories.d.ts.map +1 -1
  10. package/dist/components/chat-thinking-process/index.d.ts +1 -1
  11. package/dist/components/chat-thinking-process/index.d.ts.map +1 -1
  12. package/dist/docs/agent.stories.d.ts.map +1 -1
  13. package/dist/docs/chatbot-panel.d.ts.map +1 -1
  14. package/dist/index.css +1 -1
  15. package/dist/index.es.js +991 -1027
  16. package/dist/index.es.js.map +1 -1
  17. package/package.json +1 -2
  18. package/src/components/chat-artifact/chat-artifact.json +25 -16
  19. package/src/components/chat-artifact/chat-artifact.stories.tsx +116 -23
  20. package/src/components/chat-artifact/chat-artifact.tsx +64 -55
  21. package/src/components/chat-message/__stories__/tool-steps.tsx +1 -4
  22. package/src/components/chat-thinking-process/chat-thinking-process.json +27 -28
  23. package/src/components/chat-thinking-process/chat-thinking-process.stories.tsx +58 -124
  24. package/src/components/chat-thinking-process/chat-thinking-process.tsx +55 -116
  25. package/src/components/chat-thinking-process/index.ts +1 -0
  26. package/src/docs/agent.stories.tsx +2 -7
  27. package/src/docs/chatbot-panel.tsx +1 -4
  28. package/src/docs/chatbot.mdx +1 -2
package/README.md CHANGED
@@ -179,7 +179,7 @@ Everything is exported from the package root. Each row names a component family:
179
179
  | `ChatMessage`, `ChatMessageContent`, `ChatMessageActions` | One question (an end-aligned bubble, `isQuestion`) or one answer (full width), with a row of actions that fades in on hover. |
180
180
  | `ChatMessageResponse` | An assistant answer: Markdown through `MarkdownViewer`, already configured for a message. |
181
181
  | `MarkdownViewer` | Renders model Markdown (GitHub-flavoured, sanitised inline HTML) through Streamdown, repairs half-received syntax while it streams, and renders `<swi-*>` tags with your components. |
182
- | `ChatThinkingProcess` and its parts | A collapsible timeline of the model's reasoning or tool steps above its answer, with a live preview while it thinks. |
182
+ | `ChatThinkingProcess` and its parts | A collapsible list of the model's reasoning or tool steps above its answer. |
183
183
  | `ChatMessageToolbar` and its parts | The row under a message: timestamp plus small icon actions (copy, edit, feedback), each with an optional tooltip. |
184
184
  | `ChatMessageAttachmentCard` and its parts, `getAttachmentIcon` | A compact chip for a file attached to a prompt or message: file-type icon or image thumbnail, truncated name, remove button. |
185
185
  | `ChatSuggestions`, `ChatSuggestion` and its parts, `useChatSuggestionContext` | Numbered follow-up questions or quick replies above the composer, keyboard-navigable; picking one (`onSelect`) sends it. |
@@ -1,6 +1,6 @@
1
- import { HtmlHTMLAttributes, ReactNode } from 'react';
2
- export interface ChatArtifactProps extends HtmlHTMLAttributes<HTMLButtonElement> {
3
- /** When true, merges props onto the single child instead of rendering a `div`. */
1
+ import { ComponentProps, ReactNode } from 'react';
2
+ export interface ChatArtifactProps extends ComponentProps<'button'> {
3
+ /** When true, merges props onto the single child instead of rendering a `button`. */
4
4
  asChild?: boolean;
5
5
  /** Classes merged last onto the root. */
6
6
  className?: string;
@@ -15,7 +15,7 @@ export interface ChatArtifactIconProps {
15
15
  /** The icon or thumbnail to show. */
16
16
  children?: ReactNode;
17
17
  }
18
- /** Shrink-wrapped slot for a consumer-supplied icon or thumbnail. */
18
+ /** Round 32px avatar slot for a consumer-supplied icon or thumbnail. */
19
19
  export declare function ChatArtifactIcon({ className, children }: ChatArtifactIconProps): import('react').JSX.Element;
20
20
  export interface ChatArtifactContentProps {
21
21
  /** Classes merged last onto the content element. */
@@ -31,7 +31,7 @@ export interface ChatArtifactTitleProps {
31
31
  /** The artifact name. */
32
32
  children?: ReactNode;
33
33
  }
34
- /** The artifact name, truncated to one line. */
34
+ /** The artifact name; wraps onto more lines when it is long. */
35
35
  export declare function ChatArtifactTitle({ className, children }: ChatArtifactTitleProps): import('react').JSX.Element;
36
36
  export interface ChatArtifactCaptionProps {
37
37
  /** Classes merged last onto the caption element. */
@@ -44,9 +44,9 @@ export declare function ChatArtifactCaption({ className, children }: ChatArtifac
44
44
  export interface ChatArtifactActionsProps {
45
45
  /** Classes merged last onto the actions wrapper. */
46
46
  className?: string;
47
- /** Consumer-supplied controls, e.g. share and open buttons. */
47
+ /** Consumer-supplied controls, e.g. share and open buttons with `isSemantic={false}`. */
48
48
  children?: ReactNode;
49
49
  }
50
- /** Trailing action slot on the right of the row. */
50
+ /** Trailing action slot on the right of the row; clicks here do not reach the root. */
51
51
  export declare function ChatArtifactActions({ className, children }: ChatArtifactActionsProps): import('react').JSX.Element;
52
52
  //# sourceMappingURL=chat-artifact.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"chat-artifact.d.ts","sourceRoot":"","sources":["../../../src/components/chat-artifact/chat-artifact.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAK3D,MAAM,WAAW,iBAAkB,SAAQ,kBAAkB,CAAC,iBAAiB,CAAC;IAC9E,kFAAkF;IAClF,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,yCAAyC;IACzC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,wFAAwF;IACxF,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,iGAAiG;AACjG,wBAAgB,YAAY,CAAC,EAAE,OAAe,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAE,EAAE,iBAAiB,+BAyBhG;AAED,MAAM,WAAW,qBAAqB;IACpC,iDAAiD;IACjD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,qCAAqC;IACrC,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,qEAAqE;AACrE,wBAAgB,gBAAgB,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,EAAE,qBAAqB,+BAqB9E;AAED,MAAM,WAAW,wBAAwB;IACvC,oDAAoD;IACpD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,wEAAwE;IACxE,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,4FAA4F;AAC5F,wBAAgB,mBAAmB,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,EAAE,wBAAwB,+BAUpF;AAED,MAAM,WAAW,sBAAsB;IACrC,kDAAkD;IAClD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,yBAAyB;IACzB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,gDAAgD;AAChD,wBAAgB,iBAAiB,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,EAAE,sBAAsB,+BAWhF;AAED,MAAM,WAAW,wBAAwB;IACvC,oDAAoD;IACpD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,iEAAiE;IACjE,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,uEAAuE;AACvE,wBAAgB,mBAAmB,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,EAAE,wBAAwB,+BAWpF;AAED,MAAM,WAAW,wBAAwB;IACvC,oDAAoD;IACpD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,+DAA+D;IAC/D,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,oDAAoD;AACpD,wBAAgB,mBAAmB,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,EAAE,wBAAwB,+BAWpF"}
1
+ {"version":3,"file":"chat-artifact.d.ts","sourceRoot":"","sources":["../../../src/components/chat-artifact/chat-artifact.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE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BAAgB,mBAAmB,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,EAAE,wBAAwB,+BAUpF;AAED,MAAM,WAAW,wBAAwB;IACvC,oDAAoD;IACpD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,yFAAyF;IACzF,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,uFAAuF;AACvF,wBAAgB,mBAAmB,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,EAAE,wBAAwB,+BAepF"}
@@ -3,13 +3,15 @@ import { ChatArtifact } from './chat-artifact';
3
3
  declare const meta: Meta<typeof ChatArtifact>;
4
4
  export default meta;
5
5
  type Story = StoryObj<typeof ChatArtifact>;
6
- /** An artifact in a message: presentation icon, name, caption, and share plus open actions. */
6
+ /** An artifact in a message: icon, name, caption, and an open action. Clicking the row or Open opens it. */
7
7
  export declare const Default: Story;
8
- /** The whole row is a link via `asChild` (no nested buttons — those belong on a `div` root). */
8
+ /** Share and open actions side by side. */
9
+ export declare const WithShare: Story;
10
+ /** The whole row is a link via `asChild` (no actions inside — the link is the only control). */
9
11
  export declare const AsChildLink: Story;
10
12
  /** Title only — caption and actions are optional. */
11
13
  export declare const TitleOnly: Story;
12
- /** A name and caption longer than the row: both ellipsize to one line, and the actions stay fully visible. */
14
+ /** A name and caption longer than the row: the name wraps, the caption ellipsizes to one line, and the actions stay fully visible. */
13
15
  export declare const LongTitle: Story;
14
16
  /** On mobile the row spans the full width (`w-full`) instead of fitting its content. */
15
17
  export declare const Mobile: Story;
@@ -1 +1 @@
1
- {"version":3,"file":"chat-artifact.stories.d.ts","sourceRoot":"","sources":["../../../src/components/chat-artifact/chat-artifact.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAQ5D,OAAO,EACL,YAAY,EAMb,MAAM,iBAAiB,CAAC;AAEzB,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,YAAY,CAi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pB,CAAC;AAEF,8DAA8D;AAC9D,eAAO,MAAM,QAAQ,EAAE,KAuCtB,CAAC;AAEF,sDAAsD;AACtD,eAAO,MAAM,UAAU,EAAE,KAsDxB,CAAC"}
@@ -1,72 +1,63 @@
1
- import { default as React, ComponentProps, ReactNode } from 'react';
1
+ import { ComponentProps, ReactNode } from 'react';
2
2
  import { CollapsibleProps } from '@swisper.ai/ui';
3
3
  export interface ChatThinkingProcessProps extends Omit<CollapsibleProps, 'isDisabled'> {
4
4
  children: ReactNode;
5
5
  className?: string;
6
- /** The model is still thinking: the label shimmers and, while collapsed, the last step is previewed. */
6
+ /** The model is still thinking: the label shimmers. */
7
7
  isStreaming?: boolean;
8
8
  }
9
9
  /**
10
10
  * Collapsible disclosure of the assistant's reasoning or tool steps. Collapsed by default; exposes
11
11
  * `data-state` (`open` / `closed`) and `data-streaming` for its parts to style from.
12
12
  */
13
- export declare const ChatThinkingProcess: React.ForwardRefExoticComponent<ChatThinkingProcessProps & React.RefAttributes<HTMLDivElement>>;
13
+ export declare const ChatThinkingProcess: import('react').ForwardRefExoticComponent<ChatThinkingProcessProps & import('react').RefAttributes<HTMLDivElement>>;
14
14
  export interface ChatThinkingProcessTriggerProps extends ComponentProps<'button'> {
15
15
  children: ReactNode;
16
16
  className?: string;
17
17
  isLoading?: boolean;
18
18
  }
19
- /** The button that expands and collapses the steps; holds the icon, the label and the arrow. */
20
- export declare function ChatThinkingProcessTrigger({ children, className, ...rest }: ChatThinkingProcessTriggerProps): React.JSX.Element;
19
+ /** The button that expands and collapses the steps; holds the icon and the label. */
20
+ export declare function ChatThinkingProcessTrigger({ children, className, ...rest }: ChatThinkingProcessTriggerProps): import('react').JSX.Element;
21
21
  export interface ChatThinkingProcessTriggerIconProps extends ComponentProps<'span'> {
22
22
  children: ReactNode;
23
23
  className?: string;
24
24
  }
25
25
  /** The icon before the label: what kind of work the process is. */
26
- export declare function ChatThinkingProcessTriggerIcon({ children, className, ...rest }: ChatThinkingProcessTriggerIconProps): React.JSX.Element;
26
+ export declare function ChatThinkingProcessTriggerIcon({ children, className, ...rest }: ChatThinkingProcessTriggerIconProps): import('react').JSX.Element;
27
27
  export interface ChatThinkingProcessTriggerLabelProps extends ComponentProps<'span'> {
28
28
  children: ReactNode;
29
29
  className?: string;
30
30
  }
31
31
  /** The trigger's text and accessible name; shimmers while the root is streaming. */
32
- export declare function ChatThinkingProcessTriggerLabel({ children, className, ...rest }: ChatThinkingProcessTriggerLabelProps): React.JSX.Element;
32
+ export declare function ChatThinkingProcessTriggerLabel({ children, className, ...rest }: ChatThinkingProcessTriggerLabelProps): import('react').JSX.Element;
33
33
  export interface ChatThinkingProcessTriggerArrowProps extends ComponentProps<'span'> {
34
34
  className?: string;
35
35
  }
36
- /** The chevron after the label; points up while the steps are expanded. Hidden from assistive tech. */
37
- export declare function ChatThinkingProcessTriggerArrow({ className, ...rest }: ChatThinkingProcessTriggerArrowProps): React.JSX.Element;
36
+ /**
37
+ * The chevron after the label; points up while the steps are expanded. Hidden from assistive tech.
38
+ *
39
+ * @deprecated The trigger no longer shows an arrow; leave it out. Kept so existing imports compile.
40
+ */
41
+ export declare function ChatThinkingProcessTriggerArrow({ className, ...rest }: ChatThinkingProcessTriggerArrowProps): import('react').JSX.Element;
38
42
  export interface ChatThinkingProcessContentProps extends ComponentProps<'div'> {
39
43
  children: ReactNode;
40
- /** Classes for the outer wrapper, which holds the preview and the list of steps. */
44
+ /** Classes for the outer wrapper, which holds the list of steps. */
41
45
  className?: string;
42
46
  /** Classes for the expanded list of steps. */
43
47
  itemsClassName?: string;
44
- /** Classes for each timeline row: the marker column and the step beside it. */
45
- rowClassName?: string;
46
- /** Classes for the dot that marks each step. */
47
- markerClassName?: string;
48
- /** Classes for the line that joins a step's dot to the next one. */
49
- connectorClassName?: string;
50
- /** Classes for the faded preview of the last step. */
51
- previewClassName?: string;
52
- /** Previews the last step while the root is streaming and collapsed. */
53
- hasLastMessagePreview?: boolean;
54
48
  }
55
- /**
56
- * The steps. Each child becomes a timeline row in the expanded list, and the last child is
57
- * previewed while the root is streaming and collapsed.
58
- */
59
- export declare function ChatThinkingProcessContent({ children, className, itemsClassName, rowClassName, markerClassName, connectorClassName, previewClassName, hasLastMessagePreview, ...rest }: ChatThinkingProcessContentProps): React.JSX.Element;
60
- export interface ChatThinkingProcessContentPreviewProps {
49
+ /** The steps, listed under the label once expanded. Nothing shows while collapsed. */
50
+ export declare function ChatThinkingProcessContent({ children, className, itemsClassName, ...rest }: ChatThinkingProcessContentProps): import('react').JSX.Element;
51
+ export interface ChatThinkingProcessContentItemProps extends ComponentProps<'div'> {
61
52
  children: ReactNode;
62
53
  className?: string;
63
- contentId: string;
64
54
  }
65
- export declare function ChatThinkingProcessContentPreview({ children, className, contentId, }: ChatThinkingProcessContentPreviewProps): React.JSX.Element;
66
- export interface ChatThinkingProcessContentItemProps extends ComponentProps<'div'> {
55
+ /** One step of the process: text, or any node such as streamed Markdown, after an optional icon. */
56
+ export declare function ChatThinkingProcessContentItem({ children, className, ...rest }: ChatThinkingProcessContentItemProps): import('react').JSX.Element;
57
+ export interface ChatThinkingProcessContentItemIconProps extends ComponentProps<'span'> {
67
58
  children: ReactNode;
68
59
  className?: string;
69
60
  }
70
- /** One step of the process: text, or any node such as streamed Markdown. */
71
- export declare function ChatThinkingProcessContentItem({ children, className, ...rest }: ChatThinkingProcessContentItemProps): React.JSX.Element;
61
+ /** The logo or icon before a step's text: which tool the step used. The height is fixed; a logo's width follows its image. */
62
+ export declare function ChatThinkingProcessContentItemIcon({ children, className, ...rest }: ChatThinkingProcessContentItemIconProps): import('react').JSX.Element;
72
63
  //# sourceMappingURL=chat-thinking-process.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"chat-thinking-process.d.ts","sourceRoot":"","sources":["../../../src/components/chat-thinking-process/chat-thinking-process.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAc,KAAK,cAAc,EAAE,KAAK,SAAS,EAAW,MAAM,OAAO,CAAC;AAExF,O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,IAAI,EACR,EAAE,oCAAoC,qBAStC;AAED,MAAM,WAAW,+BAAgC,SAAQ,cAAc,CAAC,KAAK,CAAC;IAC5E,QAAQ,EAAE,SAAS,CAAC;IACpB,oFAAoF;IACpF,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,8CAA8C;IAC9C,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,+EAA+E;IAC/E,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,gDAAgD;IAChD,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,oEAAoE;IACpE,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,sDAAsD;IACtD,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,wEAAwE;IACxE,qBAAqB,CAAC,EAAE,OAAO,CAAC;CACjC;AAED;;;GAGG;AACH,wBAAgB,0BAA0B,CAAC,EACzC,QAAQ,EACR,SAAS,EACT,cAAc,EACd,YAAY,EACZ,eAAe,EACf,kBAAkB,EAClB,gBAAgB,EAChB,qBAA4B,EAC5B,GAAG,IAAI,EACR,EAAE,+BAA+B,qBAoEjC;AAED,MAAM,WAAW,sCAAsC;IACrD,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,wBAAgB,iCAAiC,CAAC,EAChD,QAAQ,EACR,SAAS,EACT,SAAS,GACV,EAAE,sCAAsC,qBAoBxC;AAED,MAAM,WAAW,mCAAoC,SAAQ,cAAc,CAAC,KAAK,CAAC;IAChF,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,4EAA4E;AAC5E,wBAAgB,8BAA8B,CAAC,EAC7C,QAAQ,EACR,SAAS,EACT,GAAG,IAAI,EACR,EAAE,mCAAmC,qBAWrC"}
1
+ {"version":3,"file":"chat-thinking-process.d.ts","sourceRoot":"","sources":["../../../src/components/chat-thinking-process/chat-thinking-process.tsx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,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;GAIG;AACH,wBAAgB,+BAA+B,CAAC,EAC9C,SAAS,EACT,GAAG,IAAI,EACR,EAAE,oCAAoC,+BAatC;AAED,MAAM,WAAW,+BAAgC,SAAQ,cAAc,CAAC,KAAK,CAAC;IAC5E,QAAQ,EAAE,SAAS,CAAC;IACpB,oEAAoE;IACpE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,8CAA8C;IAC9C,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,sFAAsF;AACtF,wBAAgB,0BAA0B,CAAC,EACzC,QAAQ,EACR,SAAS,EACT,cAAc,EACd,GAAG,IAAI,EACR,EAAE,+BAA+B,+BAiBjC;AAED,MAAM,WAAW,mCAAoC,SAAQ,cAAc,CAAC,KAAK,CAAC;IAChF,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,oGAAoG;AACpG,wBAAgB,8BAA8B,CAAC,EAC7C,QAAQ,EACR,SAAS,EACT,GAAG,IAAI,EACR,EAAE,mCAAmC,+BAYrC;AAED,MAAM,WAAW,uCAAwC,SAAQ,cAAc,CAAC,MAAM,CAAC;IACrF,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,8HAA8H;AAC9H,wBAAgB,kCAAkC,CAAC,EACjD,QAAQ,EACR,SAAS,EACT,GAAG,IAAI,EACR,EAAE,uCAAuC,+BAgBzC"}
@@ -6,9 +6,9 @@ export default meta;
6
6
  type Story = StoryObj<typeof ChatThinkingProcess>;
7
7
  /** A finished process above an answer: collapsed, with a label that sums up what was done. */
8
8
  export declare const Default: Story;
9
- /** Still thinking with the preview switched off: the label shimmers, and the steps show only once expanded. */
10
- export declare const WithoutPreview: Story;
11
- /** Still thinking: the label shimmers and the latest step is previewed under the collapsed trigger. */
9
+ /** Expanded steps that each open with the logo of the tool they used. Logos keep their own width. */
10
+ export declare const WithItemIcons: Story;
11
+ /** Still thinking: the label shimmers, and the steps show only once expanded. */
12
12
  export declare const Streaming: Story;
13
13
  /** A step whose text grows as it streams in; the label changes to a summary once the stream ends. */
14
14
  export declare const StreamingWithContent: Story;
@@ -16,19 +16,17 @@ export declare const StreamingWithContent: Story;
16
16
  export declare const DefaultOpenAndClose: Story;
17
17
  /** Focuses the trigger with Tab, expands the steps with Enter and collapses them with Space. */
18
18
  export declare const DefaultKeyboard: Story;
19
- /** While streaming, the collapsed process previews its last step and drops the preview once expanded. */
20
- export declare const StreamingPreview: Story;
21
- /** With the preview off, a streaming process shows no step until it is expanded. */
22
- export declare const WithoutPreviewHidesSteps: Story;
19
+ /** While streaming, a collapsed process shows no step until it is expanded. */
20
+ export declare const StreamingHidesSteps: Story;
23
21
  /** The process in each place it's allowed: in a chat message while thinking, and above the answer in a thread. */
24
22
  export declare const Examples: Story;
25
- interface ChatThinkingProcessPlaygroundProps extends Omit<ChatThinkingProcessProps, 'children'>, Pick<ChatThinkingProcessContentProps, 'itemsClassName' | 'rowClassName' | 'markerClassName' | 'connectorClassName' | 'previewClassName' | 'hasLastMessagePreview'> {
23
+ interface ChatThinkingProcessPlaygroundProps extends Omit<ChatThinkingProcessProps, 'children'>, Pick<ChatThinkingProcessContentProps, 'itemsClassName'> {
26
24
  label: string;
27
25
  icon: ReactNode;
28
26
  stepCount: number;
29
- hasArrow: boolean;
27
+ hasItemIcons: boolean;
30
28
  }
31
- declare function ChatThinkingProcessPlayground({ label, icon, stepCount, itemsClassName, rowClassName, markerClassName, connectorClassName, previewClassName, defaultOpen, hasArrow, hasLastMessagePreview, ...rest }: ChatThinkingProcessPlaygroundProps): import('react').JSX.Element;
32
- /** Every part at once, with each part and prop of the root and the content on the Controls panel. */
29
+ declare function ChatThinkingProcessPlayground({ label, icon, stepCount, itemsClassName, defaultOpen, hasItemIcons, ...rest }: ChatThinkingProcessPlaygroundProps): import('react').JSX.Element;
30
+ /** Every supported part at once, with each part and prop of the root and the content on the Controls panel. */
33
31
  export declare const Playground: StoryObj<typeof ChatThinkingProcessPlayground>;
34
32
  //# sourceMappingURL=chat-thinking-process.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"chat-thinking-process.stories.d.ts","sourceRoot":"","sources":["../../../src/components/chat-thinking-process/chat-thinking-process.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAgBvC,OAAO,EACL,mBAAmB,EAOnB,KAAK,+BAA+B,EACpC,KAAK,wBAAwB,EAC9B,MAAM,yBAAyB,CAAC;AAEjC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,mBAAmB,CAuD1C,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAElD,8FAA8F;AAC9F,eAAO,MAAM,OAAO,EAAE,KAoBrB,CAAC;AAEF,+GAA+G;AAC/G,eAAO,MAAM,cAAc,EAAE,KAmB5B,CAAC;AAEF,uGAAuG;AACvG,eAAO,MAAM,SAAS,EAAE,KAmBvB,CAAC;AAEF,qGAAqG;AACrG,eAAO,MAAM,oBAAoB,EAAE,KAyBlC,CAAC;AAEF,wGAAwG;AACxG,eAAO,MAAM,mBAAmB,EAAE,KAiCjC,CAAC;AAEF,gGAAgG;AAChG,eAAO,MAAM,eAAe,EAAE,KA2B7B,CAAC;AAEF,yGAAyG;AACzG,eAAO,MAAM,gBAAgB,EAAE,KA+B9B,CAAC;AAEF,oFAAoF;AACpF,eAAO,MAAM,wBAAwB,EAAE,KAmBtC,CAAC;AAEF,kHAAkH;AAClH,eAAO,MAAM,QAAQ,EAAE,KA+CtB,CAAC;AAEF,UAAU,kCACR,SACE,IAAI,CAAC,wBAAwB,EAAE,UAAU,CAAC,EAC1C,IAAI,CACF,+BAA+B,EAC7B,gBAAgB,GAChB,cAAc,GACd,iBAAiB,GACjB,oBAAoB,GACpB,kBAAkB,GAClB,uBAAuB,CAC1B;IACH,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,SAAS,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,OAAO,CAAC;CACnB;AAED,iBAAS,6BAA6B,CAAC,EACrC,KAAK,EACL,IAAI,EACJ,SAAS,EACT,cAAc,EACd,YAAY,EACZ,eAAe,EACf,kBAAkB,EAClB,gBAAgB,EAChB,WAAW,EACX,QAAQ,EACR,qBAAqB,EACrB,GAAG,IAAI,EACR,EAAE,kCAAkC,+BAwBpC;AAED,qGAAqG;AACrG,eAAO,MAAM,UAAU,EAAE,QAAQ,CAAC,OAAO,6BAA6B,CA+DrE,CAAC"}
1
+ {"version":3,"file":"chat-thinking-process.stories.d.ts","sourceRoot":"","sources":["../../../src/components/chat-thinking-process/chat-thinking-process.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAiBvC,OAAO,EACL,mBAAmB,EAQnB,KAAK,+BAA+B,EACpC,KAAK,wBAAwB,EAC9B,MAAM,yBAAyB,CAAC;AAEjC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,mBAAmB,CAuD1C,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAElD,8FAA8F;AAC9F,eAAO,MAAM,OAAO,EAAE,KAkBrB,CAAC;AAEF,qGAAqG;AACrG,eAAO,MAAM,aAAa,EAAE,KA0B3B,CAAC;AAEF,iFAAiF;AACjF,eAAO,MAAM,SAAS,EAAE,KAiBvB,CAAC;AAEF,qGAAqG;AACrG,eAAO,MAAM,oBAAoB,EAAE,KAuBlC,CAAC;AAEF,wGAAwG;AACxG,eAAO,MAAM,mBAAmB,EAAE,KA8BjC,CAAC;AAEF,gGAAgG;AAChG,eAAO,MAAM,eAAe,EAAE,KA2B7B,CAAC;AAEF,+EAA+E;AAC/E,eAAO,MAAM,mBAAmB,EAAE,KA0BjC,CAAC;AAEF,kHAAkH;AAClH,eAAO,MAAM,QAAQ,EAAE,KA2CtB,CAAC;AAEF,UAAU,kCACR,SACE,IAAI,CAAC,wBAAwB,EAAE,UAAU,CAAC,EAC1C,IAAI,CAAC,+BAA+B,EAAE,gBAAgB,CAAC;IACzD,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,SAAS,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,OAAO,CAAC;CACvB;AAED,iBAAS,6BAA6B,CAAC,EACrC,KAAK,EACL,IAAI,EACJ,SAAS,EACT,cAAc,EACd,WAAW,EACX,YAAY,EACZ,GAAG,IAAI,EACR,EAAE,kCAAkC,+BAuBpC;AAED,+GAA+G;AAC/G,eAAO,MAAM,UAAU,EAAE,QAAQ,CAAC,OAAO,6BAA6B,CA0CrE,CAAC"}
@@ -1,2 +1,2 @@
1
- export { ChatThinkingProcess, ChatThinkingProcessTrigger, ChatThinkingProcessTriggerIcon, ChatThinkingProcessTriggerLabel, ChatThinkingProcessTriggerArrow, ChatThinkingProcessContent, ChatThinkingProcessContentItem, } from './chat-thinking-process';
1
+ export { ChatThinkingProcess, ChatThinkingProcessTrigger, ChatThinkingProcessTriggerIcon, ChatThinkingProcessTriggerLabel, ChatThinkingProcessTriggerArrow, ChatThinkingProcessContent, ChatThinkingProcessContentItem, ChatThinkingProcessContentItemIcon, } from './chat-thinking-process';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/chat-thinking-process/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,EACnB,0BAA0B,EAC1B,8BAA8B,EAC9B,+BAA+B,EAC/B,+BAA+B,EAC/B,0BAA0B,EAC1B,8BAA8B,GAC/B,MAAM,yBAAyB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/chat-thinking-process/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,EACnB,0BAA0B,EAC1B,8BAA8B,EAC9B,+BAA+B,EAC/B,+BAA+B,EAC/B,0BAA0B,EAC1B,8BAA8B,EAC9B,kCAAkC,GACnC,MAAM,yBAAyB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"agent.stories.d.ts","sourceRoot":"","sources":["../../src/docs/agent.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAA+B,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAuCpE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAMzC,UAAU,QAAQ;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,QAAQ,CAAC;CACpB;AAED,UAAU,QAAQ;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,qDAAqD;IACrD,IAAI,EAAE,MAAM,CAAC;IACb,kDAAkD;IAClD,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,SAAS,CAAC;IAChB,2DAA2D;IAC3D,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC;CAC5B;AAED,KAAK,SAAS,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAErC,UAAU,GAAG;IACX,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,SAAS,EAAE,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;CACd;AAiND,UAAU,eAAe;IACvB,0DAA0D;IAC1D,WAAW,EAAE,GAAG,EAAE,C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CAAC;IACnB,2FAA2F;IAC3F,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,iBAAS,UAAU,CAAC,EAAE,WAAW,EAAE,aAAa,EAAE,EAAE,eAAe,+BA4GlE;AA8GD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,UAAU,CA+BjC,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,UAAU,CAAC,CAAC;AAEzC;;;GAGG;AACH,eAAO,MAAM,KAAK,EAAE,KAkBnB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"chatbot-panel.d.ts","sourceRoot":"","sources":["../../src/docs/chatbot-panel.tsx"],"names":[],"mappings":"AA6CA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAMzC,MAAM,WAAW,IAAI;IACnB,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,MAAM,CAAC;IACjB,mFAAmF;IACnF,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,MAAM,EAAE,QAAQ,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;CACd;AAID,eAAO,MAAM,OAAO,EAAE,IAAI,EAkCzB,CAAC;AAEF,eAAO,MAAM,WAAW,UAIvB,CAAC;AA+EF,MAAM,WAAW,iBAAiB;IAChC,8DAA8D;IAC9D,YAAY,EAAE,IAAI,EAAE,CAAC;IACrB,6EAA6E;IAC7E,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,wBAAgB,YAAY,CAAC,EAAE,YAAY,EAAE,eAAe,EAAE,OAAO,EAAE,EAAE,iBAAiB,+BA2HzF"}
1
+ {"version":3,"file":"chatbot-panel.d.ts","sourceRoot":"","sources":["../../src/docs/chatbot-panel.tsx"],"names":[],"mappings":"AA4CA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAMzC,MAAM,WAAW,IAA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