@timbal-ai/timbal-react 0.7.0 → 0.8.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.
- package/CHANGELOG.md +32 -0
- package/README.md +11 -0
- package/dist/app.cjs +10 -4
- package/dist/app.d.cts +2 -2
- package/dist/app.d.ts +2 -2
- package/dist/app.esm.js +4 -4
- package/dist/{chart-artifact-bWUa-iSG.d.cts → chart-artifact-C2m891nx.d.cts} +1 -1
- package/dist/{chart-artifact-BFDz8Tf9.d.ts → chart-artifact-CqqhdSR9.d.ts} +1 -1
- package/dist/{chat-CWtQWDtJ.d.cts → chat-Bed4FQSl.d.cts} +10 -0
- package/dist/{chat-CWtQWDtJ.d.ts → chat-Bed4FQSl.d.ts} +10 -0
- package/dist/chat.cjs +5 -1
- package/dist/chat.d.cts +1 -1
- package/dist/chat.d.ts +1 -1
- package/dist/chat.esm.js +3 -3
- package/dist/{chunk-7O5VY3TP.esm.js → chunk-4AO3HCAR.esm.js} +4 -4
- package/dist/chunk-LSEUKTU5.esm.js +435 -0
- package/dist/{chunk-2XZ3S4OP.esm.js → chunk-QKO67F4V.esm.js} +39 -0
- package/dist/{chunk-TLUF2RUL.esm.js → chunk-VVTTLIGT.esm.js} +6 -2
- package/dist/{chunk-TDIJHV4I.esm.js → chunk-YNDXBN6C.esm.js} +1 -1
- package/dist/{chunk-533MK5EA.esm.js → chunk-ZEDE2TWQ.esm.js} +8 -6
- package/dist/{chunk-N3PYVTY5.esm.js → chunk-ZG5NBHOS.esm.js} +2 -2
- package/dist/index.cjs +509 -4
- package/dist/index.d.cts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.esm.js +70 -6
- package/dist/studio.cjs +5 -1
- package/dist/studio.d.cts +2 -2
- package/dist/studio.d.ts +2 -2
- package/dist/studio.esm.js +5 -5
- package/dist/styles.css +8 -4
- package/dist/ui.cjs +507 -8
- package/dist/ui.d.cts +45 -2
- package/dist/ui.d.ts +45 -2
- package/dist/ui.esm.js +66 -2
- package/dist/{welcome-C89Mgdaw.d.cts → welcome-COOb05a5.d.cts} +1 -1
- package/dist/{welcome-BBmB3tl7.d.ts → welcome-DE08m9ca.d.ts} +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { D as UiArtifact, E as UiNode, F as AnyArtifact, Q as QuestionArtifact, H as HtmlArtifact, J as JsonArtifact, G as TableArtifact } from './chat-
|
|
2
|
-
export { I as ArtifactRegistry, K as ArtifactRegistryProvider, L as ArtifactRenderer, M as ArtifactRendererProps, N as ArtifactView, C as ChartArtifact, c as ChatAttachment, d as ChatMessage, e as Composer, f as ComposerProps, g as ContentPart, O as CreateDefaultAttachmentAdapterOptions, P as CreateUploadAttachmentAdapterOptions, R as DEFAULT_UPLOAD_ACCEPT, V as QuestionOption, W as ResolveAttachmentAdapterOptions, S as SendOptions, h as Suggestions, i as SuggestionsComponent, j as SuggestionsSlotProps, k as SuggestionsSource, l as TextContentPart, m as ThinkingContentPart, n as Thread, o as ThreadArtifactsConfig, p as ThreadComponents, q as ThreadProps, r as ThreadSuggestion, s as ThreadSuggestionsProps, T as ThreadVariant, t as ThreadWelcomeConfig, u as ThreadWelcomeProps, X as TimbalArtifact, Y as TimbalAttachmentsConfig, Z as TimbalAttachmentsProp, a as TimbalChat, b as TimbalChatProps, v as TimbalRuntimeProvider, w as TimbalRuntimeProviderProps, x as TimbalStreamApi, y as ToolCallContentPart, _ as UiAction, $ as UiCustomNodeRegistryProvider, a0 as UiEventEnvelope, a1 as UiEventProvider, a2 as UploadFetchFn, U as UseTimbalStreamOptions, a3 as createDefaultAttachmentAdapter, a4 as createUploadAttachmentAdapter, a5 as defaultArtifactRenderers, a6 as getPath, a7 as isArtifact, a8 as isUiBinding, a9 as resolveAttachmentAdapter, aa as resolveBindable, ab as setPath, ac as useArtifactRegistry, z as useResolvedSuggestions, A as useTimbalRuntime, B as useTimbalStream, ad as useUiCustomNodeRegistry, ae as useUiDispatch, af as useUiEventEmitter, ag as useUiState } from './chat-
|
|
1
|
+
import { D as UiArtifact, E as UiNode, F as AnyArtifact, Q as QuestionArtifact, H as HtmlArtifact, J as JsonArtifact, G as TableArtifact } from './chat-Bed4FQSl.js';
|
|
2
|
+
export { I as ArtifactRegistry, K as ArtifactRegistryProvider, L as ArtifactRenderer, M as ArtifactRendererProps, N as ArtifactView, C as ChartArtifact, c as ChatAttachment, d as ChatMessage, e as Composer, f as ComposerProps, g as ContentPart, O as CreateDefaultAttachmentAdapterOptions, P as CreateUploadAttachmentAdapterOptions, R as DEFAULT_UPLOAD_ACCEPT, V as QuestionOption, W as ResolveAttachmentAdapterOptions, S as SendOptions, h as Suggestions, i as SuggestionsComponent, j as SuggestionsSlotProps, k as SuggestionsSource, l as TextContentPart, m as ThinkingContentPart, n as Thread, o as ThreadArtifactsConfig, p as ThreadComponents, q as ThreadProps, r as ThreadSuggestion, s as ThreadSuggestionsProps, T as ThreadVariant, t as ThreadWelcomeConfig, u as ThreadWelcomeProps, X as TimbalArtifact, Y as TimbalAttachmentsConfig, Z as TimbalAttachmentsProp, a as TimbalChat, b as TimbalChatProps, v as TimbalRuntimeProvider, w as TimbalRuntimeProviderProps, x as TimbalStreamApi, y as ToolCallContentPart, _ as UiAction, $ as UiCustomNodeRegistryProvider, a0 as UiEventEnvelope, a1 as UiEventProvider, a2 as UploadFetchFn, U as UseTimbalStreamOptions, a3 as createDefaultAttachmentAdapter, a4 as createUploadAttachmentAdapter, a5 as defaultArtifactRenderers, a6 as getPath, a7 as isArtifact, a8 as isUiBinding, a9 as resolveAttachmentAdapter, aa as resolveBindable, ab as setPath, ac as useArtifactRegistry, z as useResolvedSuggestions, A as useTimbalRuntime, B as useTimbalStream, ad as useUiCustomNodeRegistry, ae as useUiDispatch, af as useUiEventEmitter, ag as useUiState } from './chat-Bed4FQSl.js';
|
|
3
3
|
import { WorkforceItem, Session } from '@timbal-ai/timbal-sdk';
|
|
4
4
|
export { parseSSELine } from '@timbal-ai/timbal-sdk';
|
|
5
5
|
import { ToolCallMessagePartComponent } from '@assistant-ui/react';
|
|
6
6
|
export { ActionBarPrimitive, AssistantRuntimeProvider, AttachmentAdapter, AuiIf, ComposerPrimitive, MessagePrimitive, ThreadPrimitive, useComposerRuntime, useMessageRuntime, useThread, useThreadRuntime } from '@assistant-ui/react';
|
|
7
|
-
export { M as ModeToggle, a as ModeToggleProps, b as ModeToggleTheme, S as STUDIO_NAV_MODE, c as StudioModeSwitch, d as StudioModeSwitchProps, e as StudioNavMode, f as StudioSidebar, g as StudioSidebarProps, h as StudioWelcome, i as StudioWelcomeProps, T as TimbalChatShell, j as TimbalChatShellProps, k as TimbalMark, l as TimbalMarkProps, m as TimbalStudioShell, n as TimbalStudioShellProps } from './welcome-
|
|
7
|
+
export { M as ModeToggle, a as ModeToggleProps, b as ModeToggleTheme, S as STUDIO_NAV_MODE, c as StudioModeSwitch, d as StudioModeSwitchProps, e as StudioNavMode, f as StudioSidebar, g as StudioSidebarProps, h as StudioWelcome, i as StudioWelcomeProps, T as TimbalChatShell, j as TimbalChatShellProps, k as TimbalMark, l as TimbalMarkProps, m as TimbalStudioShell, n as TimbalStudioShellProps } from './welcome-DE08m9ca.js';
|
|
8
8
|
export { M as MarkdownText, T as THREAD_DEFAULT_MAX_WIDTH, a as ToolFallback, b as TooltipIconButton, c as TooltipIconButtonProps, W as WorkforceSelector, d as WorkforceSelectorProps, e as assistantMessageContentClass, f as assistantMessageRootClass, t as threadMessageColumnClass, u as useToolRunning, g as userMessageRootClass } from './layout-BTJyU8wd.js';
|
|
9
|
-
export { A as APP_KIT_AGENT_INSTRUCTIONS, a as AppChatPanel, b as AppChatPanelProps, c as AppConfirmDialog, d as AppConfirmDialogProps, e as AppCopilotContextValue, f as AppCopilotProvider, g as AppCopilotProviderProps, h as AppShell, i as AppShellChatControls, j as AppShellChatTrigger, k as AppShellChatTriggerProps, l as AppShellProps, m as AppShellTopbar, n as AppShellTopbarProps, B as BreadcrumbItem, o as Breadcrumbs, p as BreadcrumbsProps, C as CHART_PALETTE, q as ChartArtifactView, s as ChartPanel, t as ChartPanelProps, u as ChartSeries, v as ChartVariant, w as ConnectionRow, x as ConnectionRowList, y as ConnectionRowListProps, z as ConnectionRowProps, D as DangerZone, E as DangerZoneAction, F as DangerZoneActionProps, G as DangerZoneProps, H as DataTable, I as DataTableColumn, J as DataTableProps, K as DataTableSort, L as DataTableSortDirection, M as DescriptionItem, N as DescriptionList, O as DescriptionListProps, P as EmptyState, Q as EmptyStateProps, R as ExpandableSection, S as ExpandableSectionProps, T as Field, U as FieldInput, V as FieldInputProps, W as FieldProps, X as FieldRow, Y as FieldRowProps, Z as FieldSelect, _ as FieldSelectProps, $ as FieldSwitch, a0 as FieldSwitchProps, a1 as FieldTextarea, a2 as FieldTextareaProps, a3 as FilterBar, a4 as FilterBarProps, a5 as FloatingUnsavedChangesBar, a6 as FloatingUnsavedChangesBarProps, a7 as FormSection, a8 as FormSectionProps, a9 as INTEGRATION_CATALOG_CARD_HEIGHT_CLASS, aa as InfoCard, ab as InfoCardProps, ac as InfoCardTone, ad as IntegrationCard, ae as IntegrationCardProps, af as IntegrationCardStatus, ag as IntegrationsEmptyState, ah as IntegrationsEmptyStateProps, ai as LineAreaChart, aj as LineAreaChartProps, ak as MetricChartCard, al as MetricChartCardProps, am as MetricChartMetric, an as MetricRow, ao as MetricRowItem, ap as MetricRowProps, aq as MetricTile, ar as MetricTileProps, as as Page, at as PageHeader, au as PageHeaderProps, av as PageProps, aw as PlanBadge, ax as PlanBadgeProps, ay as PlanBadgeTone, az as ResourceCard, aA as ResourceCardProps, aB as SearchInput, aC as SearchInputProps, aD as Section, aE as SectionProps, aF as SettingsSection, aG as SettingsSectionHeader, aH as SettingsSectionHeaderProps, aI as SettingsSectionProps, aJ as Sparkline, aK as SparklineProps, aL as StatTile, aM as StatTileProps, aN as StatusBadge, aO as StatusBadgeProps, aP as StatusBadgeTone, aQ as StatusDot, aR as StatusDotProps, aS as StatusDotTone, aT as SubNav, aU as SubNavItem, aV as SubNavProps, aW as SurfaceCard, aX as SurfaceCardProps, aY as connectionRowListClass, aZ as useAppCopilotContext, a_ as useAppShellChat } from './chart-artifact-
|
|
9
|
+
export { A as APP_KIT_AGENT_INSTRUCTIONS, a as AppChatPanel, b as AppChatPanelProps, c as AppConfirmDialog, d as AppConfirmDialogProps, e as AppCopilotContextValue, f as AppCopilotProvider, g as AppCopilotProviderProps, h as AppShell, i as AppShellChatControls, j as AppShellChatTrigger, k as AppShellChatTriggerProps, l as AppShellProps, m as AppShellTopbar, n as AppShellTopbarProps, B as BreadcrumbItem, o as Breadcrumbs, p as BreadcrumbsProps, C as CHART_PALETTE, q as ChartArtifactView, s as ChartPanel, t as ChartPanelProps, u as ChartSeries, v as ChartVariant, w as ConnectionRow, x as ConnectionRowList, y as ConnectionRowListProps, z as ConnectionRowProps, D as DangerZone, E as DangerZoneAction, F as DangerZoneActionProps, G as DangerZoneProps, H as DataTable, I as DataTableColumn, J as DataTableProps, K as DataTableSort, L as DataTableSortDirection, M as DescriptionItem, N as DescriptionList, O as DescriptionListProps, P as EmptyState, Q as EmptyStateProps, R as ExpandableSection, S as ExpandableSectionProps, T as Field, U as FieldInput, V as FieldInputProps, W as FieldProps, X as FieldRow, Y as FieldRowProps, Z as FieldSelect, _ as FieldSelectProps, $ as FieldSwitch, a0 as FieldSwitchProps, a1 as FieldTextarea, a2 as FieldTextareaProps, a3 as FilterBar, a4 as FilterBarProps, a5 as FloatingUnsavedChangesBar, a6 as FloatingUnsavedChangesBarProps, a7 as FormSection, a8 as FormSectionProps, a9 as INTEGRATION_CATALOG_CARD_HEIGHT_CLASS, aa as InfoCard, ab as InfoCardProps, ac as InfoCardTone, ad as IntegrationCard, ae as IntegrationCardProps, af as IntegrationCardStatus, ag as IntegrationsEmptyState, ah as IntegrationsEmptyStateProps, ai as LineAreaChart, aj as LineAreaChartProps, ak as MetricChartCard, al as MetricChartCardProps, am as MetricChartMetric, an as MetricRow, ao as MetricRowItem, ap as MetricRowProps, aq as MetricTile, ar as MetricTileProps, as as Page, at as PageHeader, au as PageHeaderProps, av as PageProps, aw as PlanBadge, ax as PlanBadgeProps, ay as PlanBadgeTone, az as ResourceCard, aA as ResourceCardProps, aB as SearchInput, aC as SearchInputProps, aD as Section, aE as SectionProps, aF as SettingsSection, aG as SettingsSectionHeader, aH as SettingsSectionHeaderProps, aI as SettingsSectionProps, aJ as Sparkline, aK as SparklineProps, aL as StatTile, aM as StatTileProps, aN as StatusBadge, aO as StatusBadgeProps, aP as StatusBadgeTone, aQ as StatusDot, aR as StatusDotProps, aS as StatusDotTone, aT as SubNav, aU as SubNavItem, aV as SubNavProps, aW as SurfaceCard, aX as SurfaceCardProps, aY as connectionRowListClass, aZ as useAppCopilotContext, a_ as useAppShellChat } from './chart-artifact-CqqhdSR9.js';
|
|
10
10
|
export { B as Button } from './button-CIKzUrJI.js';
|
|
11
11
|
import React__default, { FC, ReactNode } from 'react';
|
|
12
|
-
export { Avatar, AvatarFallback, AvatarImage, Dialog, DialogClose, DialogContent, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, MemoPillSegmentedTabs, PillSegmentedTab, PillSegmentedTabs, PillSegmentedTabsProps, Shimmer, TextShimmerProps, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from './ui.js';
|
|
12
|
+
export { Avatar, AvatarFallback, AvatarImage, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, MemoPillSegmentedTabs, PillSegmentedTab, PillSegmentedTabs, PillSegmentedTabsProps, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Shimmer, TextShimmerProps, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from './ui.js';
|
|
13
13
|
import { ClassValue } from 'clsx';
|
|
14
14
|
import 'react/jsx-runtime';
|
|
15
15
|
import './timbal-v2-button-CNfdwGq4.js';
|
package/dist/index.esm.js
CHANGED
|
@@ -49,7 +49,7 @@ import {
|
|
|
49
49
|
connectionRowListClass,
|
|
50
50
|
useAppCopilotContext,
|
|
51
51
|
useAppShellChat
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-ZEDE2TWQ.esm.js";
|
|
53
53
|
import {
|
|
54
54
|
THREAD_DEFAULT_MAX_WIDTH,
|
|
55
55
|
assistantMessageContentClass,
|
|
@@ -70,11 +70,11 @@ import {
|
|
|
70
70
|
useOptionalSession,
|
|
71
71
|
useSession,
|
|
72
72
|
useWorkforces
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-4AO3HCAR.esm.js";
|
|
74
74
|
import "./chunk-Z27GBSOT.esm.js";
|
|
75
75
|
import {
|
|
76
76
|
WorkforceSelector
|
|
77
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-ZG5NBHOS.esm.js";
|
|
78
78
|
import {
|
|
79
79
|
ARTIFACT_FENCE_LANGUAGES,
|
|
80
80
|
ArtifactCard,
|
|
@@ -131,11 +131,41 @@ import {
|
|
|
131
131
|
useUiDispatch,
|
|
132
132
|
useUiEventEmitter,
|
|
133
133
|
useUiState
|
|
134
|
-
} from "./chunk-
|
|
134
|
+
} from "./chunk-VVTTLIGT.esm.js";
|
|
135
|
+
import {
|
|
136
|
+
DropdownMenu,
|
|
137
|
+
DropdownMenuCheckboxItem,
|
|
138
|
+
DropdownMenuContent,
|
|
139
|
+
DropdownMenuGroup,
|
|
140
|
+
DropdownMenuItem,
|
|
141
|
+
DropdownMenuLabel,
|
|
142
|
+
DropdownMenuRadioGroup,
|
|
143
|
+
DropdownMenuRadioItem,
|
|
144
|
+
DropdownMenuSeparator,
|
|
145
|
+
DropdownMenuShortcut,
|
|
146
|
+
DropdownMenuSub,
|
|
147
|
+
DropdownMenuSubContent,
|
|
148
|
+
DropdownMenuSubTrigger,
|
|
149
|
+
DropdownMenuTrigger,
|
|
150
|
+
Popover,
|
|
151
|
+
PopoverAnchor,
|
|
152
|
+
PopoverContent,
|
|
153
|
+
PopoverTrigger,
|
|
154
|
+
Select,
|
|
155
|
+
SelectContent,
|
|
156
|
+
SelectGroup,
|
|
157
|
+
SelectItem,
|
|
158
|
+
SelectLabel,
|
|
159
|
+
SelectScrollDownButton,
|
|
160
|
+
SelectScrollUpButton,
|
|
161
|
+
SelectSeparator,
|
|
162
|
+
SelectTrigger,
|
|
163
|
+
SelectValue
|
|
164
|
+
} from "./chunk-LSEUKTU5.esm.js";
|
|
135
165
|
import {
|
|
136
166
|
MemoPillSegmentedTabs,
|
|
137
167
|
PillSegmentedTabs
|
|
138
|
-
} from "./chunk-
|
|
168
|
+
} from "./chunk-YNDXBN6C.esm.js";
|
|
139
169
|
import {
|
|
140
170
|
Avatar,
|
|
141
171
|
AvatarFallback,
|
|
@@ -144,6 +174,9 @@ import {
|
|
|
144
174
|
Dialog,
|
|
145
175
|
DialogClose,
|
|
146
176
|
DialogContent,
|
|
177
|
+
DialogDescription,
|
|
178
|
+
DialogFooter,
|
|
179
|
+
DialogHeader,
|
|
147
180
|
DialogOverlay,
|
|
148
181
|
DialogPortal,
|
|
149
182
|
DialogTitle,
|
|
@@ -154,7 +187,7 @@ import {
|
|
|
154
187
|
TooltipProvider,
|
|
155
188
|
TooltipTrigger,
|
|
156
189
|
cn
|
|
157
|
-
} from "./chunk-
|
|
190
|
+
} from "./chunk-QKO67F4V.esm.js";
|
|
158
191
|
|
|
159
192
|
// src/index.ts
|
|
160
193
|
import { parseSSELine } from "@timbal-ai/timbal-sdk";
|
|
@@ -360,10 +393,27 @@ export {
|
|
|
360
393
|
Dialog,
|
|
361
394
|
DialogClose,
|
|
362
395
|
DialogContent,
|
|
396
|
+
DialogDescription,
|
|
397
|
+
DialogFooter,
|
|
398
|
+
DialogHeader,
|
|
363
399
|
DialogOverlay,
|
|
364
400
|
DialogPortal,
|
|
365
401
|
DialogTitle,
|
|
366
402
|
DialogTrigger,
|
|
403
|
+
DropdownMenu,
|
|
404
|
+
DropdownMenuCheckboxItem,
|
|
405
|
+
DropdownMenuContent,
|
|
406
|
+
DropdownMenuGroup,
|
|
407
|
+
DropdownMenuItem,
|
|
408
|
+
DropdownMenuLabel,
|
|
409
|
+
DropdownMenuRadioGroup,
|
|
410
|
+
DropdownMenuRadioItem,
|
|
411
|
+
DropdownMenuSeparator,
|
|
412
|
+
DropdownMenuShortcut,
|
|
413
|
+
DropdownMenuSub,
|
|
414
|
+
DropdownMenuSubContent,
|
|
415
|
+
DropdownMenuSubTrigger,
|
|
416
|
+
DropdownMenuTrigger,
|
|
367
417
|
EmptyState,
|
|
368
418
|
ExpandableSection,
|
|
369
419
|
Field,
|
|
@@ -393,11 +443,25 @@ export {
|
|
|
393
443
|
PageHeader,
|
|
394
444
|
PillSegmentedTabs,
|
|
395
445
|
PlanBadge,
|
|
446
|
+
Popover,
|
|
447
|
+
PopoverAnchor,
|
|
448
|
+
PopoverContent,
|
|
449
|
+
PopoverTrigger,
|
|
396
450
|
QuestionArtifactView,
|
|
397
451
|
ResourceCard,
|
|
398
452
|
STUDIO_NAV_MODE,
|
|
399
453
|
SearchInput,
|
|
400
454
|
Section,
|
|
455
|
+
Select,
|
|
456
|
+
SelectContent,
|
|
457
|
+
SelectGroup,
|
|
458
|
+
SelectItem,
|
|
459
|
+
SelectLabel,
|
|
460
|
+
SelectScrollDownButton,
|
|
461
|
+
SelectScrollUpButton,
|
|
462
|
+
SelectSeparator,
|
|
463
|
+
SelectTrigger,
|
|
464
|
+
SelectValue,
|
|
401
465
|
SessionProvider,
|
|
402
466
|
SettingsSection,
|
|
403
467
|
SettingsSectionHeader,
|
package/dist/studio.cjs
CHANGED
|
@@ -3993,6 +3993,7 @@ var Thread = ({
|
|
|
3993
3993
|
maxWidth: maxWidthProp,
|
|
3994
3994
|
welcome,
|
|
3995
3995
|
suggestions,
|
|
3996
|
+
showWelcomeSuggestions,
|
|
3996
3997
|
composerPlaceholder,
|
|
3997
3998
|
components,
|
|
3998
3999
|
artifacts,
|
|
@@ -4041,6 +4042,7 @@ var Thread = ({
|
|
|
4041
4042
|
{
|
|
4042
4043
|
config: welcome,
|
|
4043
4044
|
suggestions,
|
|
4045
|
+
showWelcomeSuggestions,
|
|
4044
4046
|
Suggestions: SuggestionsSlot
|
|
4045
4047
|
}
|
|
4046
4048
|
),
|
|
@@ -4121,10 +4123,12 @@ var welcomeIcon = {
|
|
|
4121
4123
|
var ThreadWelcome = ({
|
|
4122
4124
|
config,
|
|
4123
4125
|
suggestions,
|
|
4126
|
+
showWelcomeSuggestions: showWelcomeSuggestionsProp,
|
|
4124
4127
|
Suggestions: SuggestionsSlot = Suggestions
|
|
4125
4128
|
}) => {
|
|
4126
4129
|
const isEmpty = (0, import_react30.useThread)((s) => s.messages.length === 0);
|
|
4127
4130
|
const isPanel = useThreadVariant() === "panel";
|
|
4131
|
+
const showWelcomeSuggestions = showWelcomeSuggestionsProp ?? !isPanel;
|
|
4128
4132
|
if (!isEmpty) return null;
|
|
4129
4133
|
const defaultHeading = isPanel ? "Ask about this page" : "How can I help you today?";
|
|
4130
4134
|
const defaultSubheading = isPanel ? "The assistant can use dashboard context from your app." : "Send a message to start a conversation.";
|
|
@@ -4163,7 +4167,7 @@ var ThreadWelcome = ({
|
|
|
4163
4167
|
]
|
|
4164
4168
|
}
|
|
4165
4169
|
) }),
|
|
4166
|
-
|
|
4170
|
+
showWelcomeSuggestions && suggestions ? /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("div", { className: "aui-thread-welcome-suggestions mx-auto w-full max-w-(--thread-max-width) px-2", children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(SuggestionsSlot, { suggestions }) }) : null
|
|
4167
4171
|
] });
|
|
4168
4172
|
};
|
|
4169
4173
|
var MessageError = () => {
|
package/dist/studio.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { M as ModeToggle, a as ModeToggleProps, b as ModeToggleTheme, S as STUDIO_NAV_MODE, c as StudioModeSwitch, d as StudioModeSwitchProps, e as StudioNavMode, f as StudioSidebar, g as StudioSidebarProps, h as StudioWelcome, i as StudioWelcomeProps, T as TimbalChatShell, j as TimbalChatShellProps, k as TimbalMark, l as TimbalMarkProps, m as TimbalStudioShell, n as TimbalStudioShellProps } from './welcome-
|
|
1
|
+
export { M as ModeToggle, a as ModeToggleProps, b as ModeToggleTheme, S as STUDIO_NAV_MODE, c as StudioModeSwitch, d as StudioModeSwitchProps, e as StudioNavMode, f as StudioSidebar, g as StudioSidebarProps, h as StudioWelcome, i as StudioWelcomeProps, T as TimbalChatShell, j as TimbalChatShellProps, k as TimbalMark, l as TimbalMarkProps, m as TimbalStudioShell, n as TimbalStudioShellProps } from './welcome-COOb05a5.cjs';
|
|
2
2
|
import { FC } from 'react';
|
|
3
|
-
import './chat-
|
|
3
|
+
import './chat-Bed4FQSl.cjs';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
5
5
|
import '@assistant-ui/react';
|
|
6
6
|
import '@timbal-ai/timbal-sdk';
|
package/dist/studio.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { M as ModeToggle, a as ModeToggleProps, b as ModeToggleTheme, S as STUDIO_NAV_MODE, c as StudioModeSwitch, d as StudioModeSwitchProps, e as StudioNavMode, f as StudioSidebar, g as StudioSidebarProps, h as StudioWelcome, i as StudioWelcomeProps, T as TimbalChatShell, j as TimbalChatShellProps, k as TimbalMark, l as TimbalMarkProps, m as TimbalStudioShell, n as TimbalStudioShellProps } from './welcome-
|
|
1
|
+
export { M as ModeToggle, a as ModeToggleProps, b as ModeToggleTheme, S as STUDIO_NAV_MODE, c as StudioModeSwitch, d as StudioModeSwitchProps, e as StudioNavMode, f as StudioSidebar, g as StudioSidebarProps, h as StudioWelcome, i as StudioWelcomeProps, T as TimbalChatShell, j as TimbalChatShellProps, k as TimbalMark, l as TimbalMarkProps, m as TimbalStudioShell, n as TimbalStudioShellProps } from './welcome-DE08m9ca.js';
|
|
2
2
|
import { FC } from 'react';
|
|
3
|
-
import './chat-
|
|
3
|
+
import './chat-Bed4FQSl.js';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
5
5
|
import '@assistant-ui/react';
|
|
6
6
|
import '@timbal-ai/timbal-sdk';
|
package/dist/studio.esm.js
CHANGED
|
@@ -8,12 +8,12 @@ import {
|
|
|
8
8
|
TimbalChatShell,
|
|
9
9
|
TimbalMark,
|
|
10
10
|
TimbalStudioShell
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-4AO3HCAR.esm.js";
|
|
12
12
|
import "./chunk-Z27GBSOT.esm.js";
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-ZG5NBHOS.esm.js";
|
|
14
|
+
import "./chunk-VVTTLIGT.esm.js";
|
|
15
|
+
import "./chunk-YNDXBN6C.esm.js";
|
|
16
|
+
import "./chunk-QKO67F4V.esm.js";
|
|
17
17
|
export {
|
|
18
18
|
ModeToggle,
|
|
19
19
|
STUDIO_NAV_MODE,
|
package/dist/styles.css
CHANGED
|
@@ -58,9 +58,11 @@
|
|
|
58
58
|
|
|
59
59
|
/* Timbal extension tokens — keep light + dark in sync below */
|
|
60
60
|
|
|
61
|
-
/* Elevated surface gradient (cards, sidebar panel, secondary chrome).
|
|
61
|
+
/* Elevated surface gradient (cards, sidebar panel, secondary chrome).
|
|
62
|
+
Opaque stops — keeps the signature vertical gradient with no alpha
|
|
63
|
+
bleed-through, so whatever sits behind the surface never shows through. */
|
|
62
64
|
--elevated-from: oklch(1 0 0);
|
|
63
|
-
--elevated-to: oklch(0.985 0.002 260
|
|
65
|
+
--elevated-to: oklch(0.985 0.002 260);
|
|
64
66
|
|
|
65
67
|
/* Opaque modal/dialog gradient — same hue as elevated, no alpha bleed-through. */
|
|
66
68
|
--modal-from: oklch(1 0 0);
|
|
@@ -181,8 +183,10 @@
|
|
|
181
183
|
--sidebar-border: oklch(1 0 0 / 0.10);
|
|
182
184
|
--sidebar-ring: oklch(0.55 0.01 260);
|
|
183
185
|
|
|
184
|
-
|
|
185
|
-
|
|
186
|
+
/* Opaque equivalents of the translucent white wash — preserves the elevated
|
|
187
|
+
gradient look while keeping the surface fully opaque (no bleed-through). */
|
|
188
|
+
--elevated-from: oklch(0.205 0.004 260);
|
|
189
|
+
--elevated-to: oklch(0.185 0.004 260);
|
|
186
190
|
|
|
187
191
|
--modal-from: oklch(0.22 0.005 260);
|
|
188
192
|
--modal-to: oklch(0.19 0.005 260);
|