@langchain/macaw-components 1.6.2 → 1.7.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.
@@ -0,0 +1,26 @@
1
+ import { type ReactNode, type Ref } from 'react';
2
+ export interface ChatConversationProps {
3
+ /** Messages, or a host-provided empty or loading state. */
4
+ children: ReactNode;
5
+ /** Fixed content above the scrolling messages; the host supplies its styling. */
6
+ header?: ReactNode;
7
+ /** Fixed content below the messages, such as a composer. Shares the message column. */
8
+ footer?: ReactNode;
9
+ /** Accessible name for the region; the message log is named "{label} messages". */
10
+ label?: string;
11
+ className?: string;
12
+ /**
13
+ * The scrolling element. Older messages inserted above the viewport are not
14
+ * anchored; hosts that load history upward can adjust `scrollTop` here.
15
+ */
16
+ viewportRef?: Ref<HTMLDivElement>;
17
+ }
18
+ /**
19
+ * Bounded-height chat layout that follows new output while the reader is at
20
+ * the bottom. Remount with a conversation `key` when switching threads.
21
+ *
22
+ * The message log doesn't announce changes (`aria-live="off"`), since streamed
23
+ * text would be read out word by word. Announce completed replies from a
24
+ * polite `role="status"` region in the host.
25
+ */
26
+ export declare function ChatConversation({ children, header, footer, label, className, viewportRef: externalViewportRef, }: ChatConversationProps): import("react").JSX.Element;
@@ -0,0 +1,115 @@
1
+ import { cn } from "../../utils/cn.js";
2
+ import { Button } from "../Button/Button.js";
3
+ import { mergeRefs } from "../../utils/merge-refs.js";
4
+ import { useLayoutEffect, useMemo, useRef, useState } from "react";
5
+ import { CaretDownIcon } from "@phosphor-icons/react/dist/ssr/CaretDown";
6
+ import { jsx, jsxs } from "react/jsx-runtime";
7
+ //#region packages/components/src/components/ChatConversation/ChatConversation.tsx
8
+ /** Distance from the bottom, in px, that still counts as reading the latest output. */
9
+ var FOLLOW_THRESHOLD = 48;
10
+ var COLUMN_CLASS_NAME = "mx-auto w-full min-w-0 max-w-3xl px-space-4";
11
+ var VIEWPORT_MASK_STYLE = { "--scroll-mask-fade-from-t": "calc(100% - 2rem)" };
12
+ /**
13
+ * Bounded-height chat layout that follows new output while the reader is at
14
+ * the bottom. Remount with a conversation `key` when switching threads.
15
+ *
16
+ * The message log doesn't announce changes (`aria-live="off"`), since streamed
17
+ * text would be read out word by word. Announce completed replies from a
18
+ * polite `role="status"` region in the host.
19
+ */
20
+ function ChatConversation({ children, header, footer, label = "Conversation", className, viewportRef: externalViewportRef }) {
21
+ const viewportRef = useRef(null);
22
+ const contentRef = useRef(null);
23
+ const followingRef = useRef(true);
24
+ const [isNearBottom, setIsNearBottom] = useState(true);
25
+ const mergedViewportRef = useMemo(() => mergeRefs([viewportRef, externalViewportRef]), [externalViewportRef]);
26
+ useLayoutEffect(() => {
27
+ const viewport = viewportRef.current;
28
+ const content = contentRef.current;
29
+ if (!viewport || !content) return;
30
+ const followContent = () => {
31
+ if (!followingRef.current) return;
32
+ viewport.scrollTop = viewport.scrollHeight;
33
+ };
34
+ let lastScrollTop = viewport.scrollTop;
35
+ const handleScroll = () => {
36
+ const { scrollTop, scrollHeight, clientHeight } = viewport;
37
+ const nearBottom = scrollHeight - clientHeight - scrollTop <= FOLLOW_THRESHOLD;
38
+ followingRef.current = nearBottom || followingRef.current && scrollTop >= lastScrollTop;
39
+ lastScrollTop = scrollTop;
40
+ setIsNearBottom(followingRef.current);
41
+ };
42
+ followContent();
43
+ const observer = new ResizeObserver(() => {
44
+ followContent();
45
+ handleScroll();
46
+ });
47
+ observer.observe(viewport);
48
+ observer.observe(content);
49
+ viewport.addEventListener("scroll", handleScroll, { passive: true });
50
+ return () => {
51
+ observer.disconnect();
52
+ viewport.removeEventListener("scroll", handleScroll);
53
+ };
54
+ }, []);
55
+ function scrollToLatest() {
56
+ const viewport = viewportRef.current;
57
+ if (!viewport) return;
58
+ followingRef.current = true;
59
+ viewport.scrollTop = viewport.scrollHeight;
60
+ setIsNearBottom(true);
61
+ viewport.focus({ preventScroll: true });
62
+ }
63
+ return /* @__PURE__ */ jsxs("section", {
64
+ "aria-label": label,
65
+ className: cn("flex h-full min-h-0 min-w-0 flex-col overflow-hidden bg-surface-level-1 text-primary", className),
66
+ children: [
67
+ header != null && /* @__PURE__ */ jsx("div", {
68
+ className: "min-w-0 shrink-0",
69
+ children: header
70
+ }),
71
+ /* @__PURE__ */ jsxs("div", {
72
+ className: "relative flex min-h-0 flex-1 flex-col",
73
+ children: [
74
+ /* @__PURE__ */ jsx("div", {
75
+ ref: mergedViewportRef,
76
+ role: "log",
77
+ "aria-label": `${label} messages`,
78
+ "aria-live": "off",
79
+ tabIndex: 0,
80
+ style: VIEWPORT_MASK_STYLE,
81
+ className: "peer scroll-mask-t min-h-0 flex-1 overflow-y-auto overflow-x-hidden overscroll-contain outline-hidden [scrollbar-gutter:stable_both-edges]",
82
+ children: /* @__PURE__ */ jsx("div", {
83
+ ref: contentRef,
84
+ className: cn(COLUMN_CLASS_NAME, "flex min-h-full flex-col gap-space-6 py-space-5 pb-space-9"),
85
+ children
86
+ })
87
+ }),
88
+ /* @__PURE__ */ jsx("div", {
89
+ "aria-hidden": true,
90
+ className: "pointer-events-none absolute inset-0 ring-inset ring-focus peer-focus-visible:ring-2"
91
+ }),
92
+ !isNearBottom && /* @__PURE__ */ jsx("div", {
93
+ className: "pointer-events-none absolute inset-x-0 bottom-0 flex justify-center pb-space-3",
94
+ children: /* @__PURE__ */ jsx(Button, {
95
+ color: "secondary",
96
+ size: "md",
97
+ leftDecorator: CaretDownIcon,
98
+ className: "pointer-events-auto shadow-md hover:bg-elevated pointer-coarse:h-11",
99
+ onClick: scrollToLatest,
100
+ children: "Jump to latest"
101
+ })
102
+ })
103
+ ]
104
+ }),
105
+ footer != null && /* @__PURE__ */ jsx("div", {
106
+ className: cn(COLUMN_CLASS_NAME, "shrink-0 py-space-3"),
107
+ children: footer
108
+ })
109
+ ]
110
+ });
111
+ }
112
+ //#endregion
113
+ export { ChatConversation };
114
+
115
+ //# sourceMappingURL=ChatConversation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChatConversation.js","names":[],"sources":["../../../src/components/ChatConversation/ChatConversation.tsx"],"sourcesContent":["import {\n useLayoutEffect,\n useMemo,\n useRef,\n useState,\n type CSSProperties,\n type ReactNode,\n type Ref,\n} from 'react';\n\nimport { CaretDownIcon } from '@phosphor-icons/react/dist/ssr/CaretDown';\n\nimport { cn } from '../../utils/cn';\nimport { mergeRefs } from '../../utils/merge-refs';\nimport { Button } from '../Button';\n\n/** Distance from the bottom, in px, that still counts as reading the latest output. */\nconst FOLLOW_THRESHOLD = 48;\n\nconst COLUMN_CLASS_NAME = 'mx-auto w-full min-w-0 max-w-3xl px-space-4';\n\n// Caps the top fade at 32px. Inline because the unlayered `.scroll-mask-t`\n// rule in base.css overrides utility classes.\nconst VIEWPORT_MASK_STYLE = {\n '--scroll-mask-fade-from-t': 'calc(100% - 2rem)',\n} as CSSProperties;\n\nexport interface ChatConversationProps {\n /** Messages, or a host-provided empty or loading state. */\n children: ReactNode;\n /** Fixed content above the scrolling messages; the host supplies its styling. */\n header?: ReactNode;\n /** Fixed content below the messages, such as a composer. Shares the message column. */\n footer?: ReactNode;\n /** Accessible name for the region; the message log is named \"{label} messages\". */\n label?: string;\n className?: string;\n /**\n * The scrolling element. Older messages inserted above the viewport are not\n * anchored; hosts that load history upward can adjust `scrollTop` here.\n */\n viewportRef?: Ref<HTMLDivElement>;\n}\n\n/**\n * Bounded-height chat layout that follows new output while the reader is at\n * the bottom. Remount with a conversation `key` when switching threads.\n *\n * The message log doesn't announce changes (`aria-live=\"off\"`), since streamed\n * text would be read out word by word. Announce completed replies from a\n * polite `role=\"status\"` region in the host.\n */\nexport function ChatConversation({\n children,\n header,\n footer,\n label = 'Conversation',\n className,\n viewportRef: externalViewportRef,\n}: ChatConversationProps) {\n const viewportRef = useRef<HTMLDivElement>(null);\n const contentRef = useRef<HTMLDivElement>(null);\n const followingRef = useRef(true);\n const [isNearBottom, setIsNearBottom] = useState(true);\n const mergedViewportRef = useMemo(\n () => mergeRefs([viewportRef, externalViewportRef]),\n [externalViewportRef]\n );\n\n useLayoutEffect(() => {\n const viewport = viewportRef.current;\n const content = contentRef.current;\n if (!viewport || !content) return;\n\n const followContent = () => {\n if (!followingRef.current) return;\n viewport.scrollTop = viewport.scrollHeight;\n };\n\n let lastScrollTop = viewport.scrollTop;\n const handleScroll = () => {\n const { scrollTop, scrollHeight, clientHeight } = viewport;\n const nearBottom =\n scrollHeight - clientHeight - scrollTop <= FOLLOW_THRESHOLD;\n // Only scrolling up stops following. The scroll event from our own pin\n // can land after more content arrives, leaving a gap the reader didn't make.\n followingRef.current =\n nearBottom || (followingRef.current && scrollTop >= lastScrollTop);\n lastScrollTop = scrollTop;\n setIsNearBottom(followingRef.current);\n };\n\n followContent();\n const observer = new ResizeObserver(() => {\n followContent();\n handleScroll();\n });\n observer.observe(viewport);\n observer.observe(content);\n viewport.addEventListener('scroll', handleScroll, { passive: true });\n return () => {\n observer.disconnect();\n viewport.removeEventListener('scroll', handleScroll);\n };\n }, []);\n\n function scrollToLatest() {\n const viewport = viewportRef.current;\n if (!viewport) return;\n followingRef.current = true;\n viewport.scrollTop = viewport.scrollHeight;\n setIsNearBottom(true);\n // The jump button disappears; keep keyboard focus in the reading region.\n viewport.focus({ preventScroll: true });\n }\n\n return (\n <section\n aria-label={label}\n className={cn(\n 'flex h-full min-h-0 min-w-0 flex-col overflow-hidden bg-surface-level-1 text-primary',\n className\n )}\n >\n {header != null && <div className=\"min-w-0 shrink-0\">{header}</div>}\n <div className=\"relative flex min-h-0 flex-1 flex-col\">\n <div\n ref={mergedViewportRef}\n role=\"log\"\n aria-label={`${label} messages`}\n aria-live=\"off\"\n tabIndex={0}\n style={VIEWPORT_MASK_STYLE}\n className=\"peer scroll-mask-t min-h-0 flex-1 overflow-y-auto overflow-x-hidden overscroll-contain outline-hidden [scrollbar-gutter:stable_both-edges]\"\n >\n <div\n ref={contentRef}\n className={cn(\n COLUMN_CLASS_NAME,\n 'flex min-h-full flex-col gap-space-6 py-space-5 pb-space-9'\n )}\n >\n {children}\n </div>\n </div>\n {/* The focus ring sits on an overlay so the viewport's scroll mask can't fade it. */}\n <div\n aria-hidden\n className=\"pointer-events-none absolute inset-0 ring-inset ring-focus peer-focus-visible:ring-2\"\n />\n {!isNearBottom && (\n <div className=\"pointer-events-none absolute inset-x-0 bottom-0 flex justify-center pb-space-3\">\n <Button\n color=\"secondary\"\n size=\"md\"\n leftDecorator={CaretDownIcon}\n className=\"pointer-events-auto shadow-md hover:bg-elevated pointer-coarse:h-11\"\n onClick={scrollToLatest}\n >\n Jump to latest\n </Button>\n </div>\n )}\n </div>\n {footer != null && (\n <div className={cn(COLUMN_CLASS_NAME, 'shrink-0 py-space-3')}>\n {footer}\n </div>\n )}\n </section>\n );\n}\n"],"mappings":";;;;;;;;AAiBA,IAAM,mBAAmB;AAEzB,IAAM,oBAAoB;AAI1B,IAAM,sBAAsB,EAC1B,6BAA6B,oBAC/B;;;;;;;;;AA2BA,SAAgB,iBAAiB,EAC/B,UACA,QACA,QACA,QAAQ,gBACR,WACA,aAAa,uBACW;CACxB,MAAM,cAAc,OAAuB,IAAI;CAC/C,MAAM,aAAa,OAAuB,IAAI;CAC9C,MAAM,eAAe,OAAO,IAAI;CAChC,MAAM,CAAC,cAAc,mBAAmB,SAAS,IAAI;CACrD,MAAM,oBAAoB,cAClB,UAAU,CAAC,aAAa,mBAAmB,CAAC,GAClD,CAAC,mBAAmB,CACtB;CAEA,sBAAsB;EACpB,MAAM,WAAW,YAAY;EAC7B,MAAM,UAAU,WAAW;EAC3B,IAAI,CAAC,YAAY,CAAC,SAAS;EAE3B,MAAM,sBAAsB;GAC1B,IAAI,CAAC,aAAa,SAAS;GAC3B,SAAS,YAAY,SAAS;EAChC;EAEA,IAAI,gBAAgB,SAAS;EAC7B,MAAM,qBAAqB;GACzB,MAAM,EAAE,WAAW,cAAc,iBAAiB;GAClD,MAAM,aACJ,eAAe,eAAe,aAAa;GAG7C,aAAa,UACX,cAAe,aAAa,WAAW,aAAa;GACtD,gBAAgB;GAChB,gBAAgB,aAAa,OAAO;EACtC;EAEA,cAAc;EACd,MAAM,WAAW,IAAI,qBAAqB;GACxC,cAAc;GACd,aAAa;EACf,CAAC;EACD,SAAS,QAAQ,QAAQ;EACzB,SAAS,QAAQ,OAAO;EACxB,SAAS,iBAAiB,UAAU,cAAc,EAAE,SAAS,KAAK,CAAC;EACnE,aAAa;GACX,SAAS,WAAW;GACpB,SAAS,oBAAoB,UAAU,YAAY;EACrD;CACF,GAAG,CAAC,CAAC;CAEL,SAAS,iBAAiB;EACxB,MAAM,WAAW,YAAY;EAC7B,IAAI,CAAC,UAAU;EACf,aAAa,UAAU;EACvB,SAAS,YAAY,SAAS;EAC9B,gBAAgB,IAAI;EAEpB,SAAS,MAAM,EAAE,eAAe,KAAK,CAAC;CACxC;CAEA,OACE,qBAAC,WAAD;EACE,cAAY;EACZ,WAAW,GACT,wFACA,SACF;EALF,UAAA;GAOG,UAAU,QAAQ,oBAAC,OAAD;IAAK,WAAU;IAAoB,UAAA;GAAY,CAAA;GAClE,qBAAC,OAAD;IAAK,WAAU;IAAf,UAAA;KACE,oBAAC,OAAD;MACE,KAAK;MACL,MAAK;MACL,cAAY,GAAG,MAAM;MACrB,aAAU;MACV,UAAU;MACV,OAAO;MACP,WAAU;MAEV,UAAA,oBAAC,OAAD;OACE,KAAK;OACL,WAAW,GACT,mBACA,4DACF;OAEC;MACE,CAAA;KACF,CAAA;KAEL,oBAAC,OAAD;MACE,eAAA;MACA,WAAU;KACX,CAAA;KACA,CAAC,gBACA,oBAAC,OAAD;MAAK,WAAU;MACb,UAAA,oBAAC,QAAD;OACE,OAAM;OACN,MAAK;OACL,eAAe;OACf,WAAU;OACV,SAAS;OACV,UAAA;MAEO,CAAA;KACL,CAAA;IAEJ;;GACJ,UAAU,QACT,oBAAC,OAAD;IAAK,WAAW,GAAG,mBAAmB,qBAAqB;IACxD,UAAA;GACE,CAAA;EAEA;;AAEb"}
@@ -0,0 +1,2 @@
1
+ export { ChatConversation } from './ChatConversation.js';
2
+ export type { ChatConversationProps } from './ChatConversation.js';
@@ -0,0 +1,2 @@
1
+ import { ChatConversation } from "./ChatConversation.js";
2
+ export { ChatConversation };
@@ -30,6 +30,8 @@ export { Banner } from './Banner/Banner.js';
30
30
  export type { BannerProps } from './Banner/Banner.js';
31
31
  export { ChatComposer, ChatComposerAction, ChatComposerAttachment, ChatComposerAttachmentMenu, ChatComposerAttachments, ChatComposerContext, ChatComposerInput, ChatComposerModelSelect, ChatComposerToolbar, } from './ChatComposer/index.js';
32
32
  export type { ChatComposerActionProps, ChatComposerAttachmentMenuProps, ChatComposerAttachmentProps, ChatComposerAttachmentsProps, ChatComposerContextValue, ChatComposerDrawerIntent, ChatComposerInputHandle, ChatComposerInputProps, ChatComposerModelSelectProps, ChatComposerProps, ChatComposerToolbarProps, } from './ChatComposer/index.js';
33
+ export { ChatConversation } from './ChatConversation/index.js';
34
+ export type { ChatConversationProps } from './ChatConversation/index.js';
33
35
  export { ChatRichContent, ChatRichContentChoices, ChatRichContentFallback, } from './ChatRichContent/index.js';
34
36
  export type { ChatRichContentChoicesProps, ChatRichContentChoicesValue, ChatRichContentFallbackProps, ChatRichContentNavigation, ChatRichContentProps, ChatRichContentRenderer, ChatRichContentRendererContext, ChatRichContentState, } from './ChatRichContent/index.js';
35
37
  export { ChatMessage, ChatMessageActions, ChatMessageBody, ChatMessageHeader, ChatTurnDivider, } from './ChatMessage/index.js';
@@ -23,6 +23,7 @@ import { ChatComposerAttachment, ChatComposerAttachmentMenu, ChatComposerAttachm
23
23
  import { Textarea } from "./Textarea/Textarea.js";
24
24
  import { ChatComposerInput } from "./ChatComposer/ChatComposerInput.js";
25
25
  import { ChatComposerModelSelect } from "./ChatComposer/ChatComposerModelSelect.js";
26
+ import { ChatConversation } from "./ChatConversation/ChatConversation.js";
26
27
  import { Divider } from "./Divider/Divider.js";
27
28
  import { ChatMessage, ChatMessageActions, ChatMessageBody, ChatMessageHeader, ChatTurnDivider } from "./ChatMessage/ChatMessage.js";
28
29
  import { ChatRichContent, ChatRichContentFallback } from "./ChatRichContent/ChatRichContent.js";
@@ -48,4 +49,4 @@ import { RadioCard } from "./RadioCard/RadioCard.js";
48
49
  import { Slider } from "./Slider/Slider.js";
49
50
  import { StatusBadge } from "./StatusBadge/StatusBadge.js";
50
51
  import { Switch } from "./Switch/Switch.js";
51
- export { Attachment, AttachmentList, Avatar, Badge, Banner, Breadcrumb, BreadcrumbLink, BreadcrumbPage, Button, ButtonGroup, Card, ChartTooltip, ChartTooltipBody, ChartTooltipHeader, ChartTooltipRow, ChatComposer, ChatComposerAction, ChatComposerAttachment, ChatComposerAttachmentMenu, ChatComposerAttachments, ChatComposerContext, ChatComposerInput, ChatComposerModelSelect, ChatComposerToolbar, ChatMessage, ChatMessageActions, ChatMessageBody, ChatMessageHeader, ChatRichContent, ChatRichContentChoices, ChatRichContentFallback, ChatTurnDivider, Checkbox, CircleSkeleton, Divider, EmptyState, ErrorState, GroupedTabs, HeatmapBlock, HeatmapChart, Icon, IconButton, ImagePreviewBlock, ImagePreviewDialog, Input, Kbd, KbdGroup, LinearProgress, Link, MetricChart, ProgressBar, RadioButton, RadioCard, RadioGroup, RadioGroupItem, Skeleton, SkeletonRows, Slider, Spinner, SpinnerIcon, StatusBadge, Switch, Text, Textarea, Tooltip, TooltipProvider, formatMetricCurrency, formatMetricDate, formatMetricDuration, formatMetricNumber, formatMetricTime, getCheckedState };
52
+ export { Attachment, AttachmentList, Avatar, Badge, Banner, Breadcrumb, BreadcrumbLink, BreadcrumbPage, Button, ButtonGroup, Card, ChartTooltip, ChartTooltipBody, ChartTooltipHeader, ChartTooltipRow, ChatComposer, ChatComposerAction, ChatComposerAttachment, ChatComposerAttachmentMenu, ChatComposerAttachments, ChatComposerContext, ChatComposerInput, ChatComposerModelSelect, ChatComposerToolbar, ChatConversation, ChatMessage, ChatMessageActions, ChatMessageBody, ChatMessageHeader, ChatRichContent, ChatRichContentChoices, ChatRichContentFallback, ChatTurnDivider, Checkbox, CircleSkeleton, Divider, EmptyState, ErrorState, GroupedTabs, HeatmapBlock, HeatmapChart, Icon, IconButton, ImagePreviewBlock, ImagePreviewDialog, Input, Kbd, KbdGroup, LinearProgress, Link, MetricChart, ProgressBar, RadioButton, RadioCard, RadioGroup, RadioGroupItem, Skeleton, SkeletonRows, Slider, Spinner, SpinnerIcon, StatusBadge, Switch, Text, Textarea, Tooltip, TooltipProvider, formatMetricCurrency, formatMetricDate, formatMetricDuration, formatMetricNumber, formatMetricTime, getCheckedState };
package/dist/index.js CHANGED
@@ -23,6 +23,7 @@ import { ChatComposerAttachment, ChatComposerAttachmentMenu, ChatComposerAttachm
23
23
  import { Textarea } from "./components/Textarea/Textarea.js";
24
24
  import { ChatComposerInput } from "./components/ChatComposer/ChatComposerInput.js";
25
25
  import { ChatComposerModelSelect } from "./components/ChatComposer/ChatComposerModelSelect.js";
26
+ import { ChatConversation } from "./components/ChatConversation/ChatConversation.js";
26
27
  import { Divider } from "./components/Divider/Divider.js";
27
28
  import { ChatMessage, ChatMessageActions, ChatMessageBody, ChatMessageHeader, ChatTurnDivider } from "./components/ChatMessage/ChatMessage.js";
28
29
  import { ChatRichContent, ChatRichContentFallback } from "./components/ChatRichContent/ChatRichContent.js";
@@ -49,4 +50,4 @@ import { Slider } from "./components/Slider/Slider.js";
49
50
  import { StatusBadge } from "./components/StatusBadge/StatusBadge.js";
50
51
  import { Switch } from "./components/Switch/Switch.js";
51
52
  import "./components/index.js";
52
- export { Attachment, AttachmentList, Avatar, Badge, Banner, Breadcrumb, BreadcrumbLink, BreadcrumbPage, Button, ButtonGroup, Card, ChartTooltip, ChartTooltipBody, ChartTooltipHeader, ChartTooltipRow, ChatComposer, ChatComposerAction, ChatComposerAttachment, ChatComposerAttachmentMenu, ChatComposerAttachments, ChatComposerContext, ChatComposerInput, ChatComposerModelSelect, ChatComposerToolbar, ChatMessage, ChatMessageActions, ChatMessageBody, ChatMessageHeader, ChatRichContent, ChatRichContentChoices, ChatRichContentFallback, ChatTurnDivider, Checkbox, CircleSkeleton, Divider, EmptyState, ErrorState, GroupedTabs, HeatmapBlock, HeatmapChart, Icon, IconButton, ImagePreviewBlock, ImagePreviewDialog, Input, Kbd, KbdGroup, LinearProgress, Link, MetricChart, ProgressBar, RadioButton, RadioCard, RadioGroup, RadioGroupItem, Skeleton, SkeletonRows, Slider, Spinner, SpinnerIcon, StatusBadge, Switch, Text, Textarea, Tooltip, TooltipProvider, formatMetricCurrency, formatMetricDate, formatMetricDuration, formatMetricNumber, formatMetricTime, getCheckedState };
53
+ export { Attachment, AttachmentList, Avatar, Badge, Banner, Breadcrumb, BreadcrumbLink, BreadcrumbPage, Button, ButtonGroup, Card, ChartTooltip, ChartTooltipBody, ChartTooltipHeader, ChartTooltipRow, ChatComposer, ChatComposerAction, ChatComposerAttachment, ChatComposerAttachmentMenu, ChatComposerAttachments, ChatComposerContext, ChatComposerInput, ChatComposerModelSelect, ChatComposerToolbar, ChatConversation, ChatMessage, ChatMessageActions, ChatMessageBody, ChatMessageHeader, ChatRichContent, ChatRichContentChoices, ChatRichContentFallback, ChatTurnDivider, Checkbox, CircleSkeleton, Divider, EmptyState, ErrorState, GroupedTabs, HeatmapBlock, HeatmapChart, Icon, IconButton, ImagePreviewBlock, ImagePreviewDialog, Input, Kbd, KbdGroup, LinearProgress, Link, MetricChart, ProgressBar, RadioButton, RadioCard, RadioGroup, RadioGroupItem, Skeleton, SkeletonRows, Slider, Spinner, SpinnerIcon, StatusBadge, Switch, Text, Textarea, Tooltip, TooltipProvider, formatMetricCurrency, formatMetricDate, formatMetricDuration, formatMetricNumber, formatMetricTime, getCheckedState };