@timbal-ai/timbal-react 0.7.0 → 0.7.1
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 +18 -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 +2 -2
- 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 +2 -2
- package/dist/{chunk-N3PYVTY5.esm.js → chunk-3WCG6ZRL.esm.js} +1 -1
- package/dist/{chunk-533MK5EA.esm.js → chunk-7U2N6XZA.esm.js} +6 -4
- package/dist/{chunk-7O5VY3TP.esm.js → chunk-EQC5JEDZ.esm.js} +2 -2
- package/dist/{chunk-TLUF2RUL.esm.js → chunk-RY3LB3JN.esm.js} +5 -1
- package/dist/index.cjs +10 -4
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.esm.js +4 -4
- 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 +3 -3
- package/dist/styles.css +8 -4
- 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/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,24 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to `@timbal-ai/timbal-react` are documented here.
|
|
4
4
|
|
|
5
|
+
## [0.7.1] — 2026-06-02
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
|
|
9
|
+
- **Opaque elevated surfaces** — `--elevated-from` / `--elevated-to` no longer use alpha in light or dark themes, preserving the signature vertical gradient with no background bleed-through.
|
|
10
|
+
|
|
11
|
+
### Added
|
|
12
|
+
|
|
13
|
+
- **`TIMBAL_V2_ELEVATED_SURFACE`** — elevated card/list surface (gradient + border + `shadow-card`) without hover/active fill shifts, for catalog cards and connection lists.
|
|
14
|
+
- **`TIMBAL_V2_LOGO_TILE`** — logo/integration mark tile pinned to the light plate in both themes so dark provider logos stay legible.
|
|
15
|
+
- **`STORAGE_KEYS.theme`** — localStorage key used by `ModeToggle` in uncontrolled mode.
|
|
16
|
+
|
|
17
|
+
### Fixed
|
|
18
|
+
|
|
19
|
+
- **`StatTile`** typography aligned with platform metrics (normal weight, compact labels, tabular numerals).
|
|
20
|
+
|
|
21
|
+
---
|
|
22
|
+
|
|
5
23
|
## [0.7.0] — 2026-05-29
|
|
6
24
|
|
|
7
25
|
### Added
|
package/README.md
CHANGED
|
@@ -134,6 +134,16 @@ Suggestions also accept a function (sync or async) for per-user or server-driven
|
|
|
134
134
|
|
|
135
135
|
Each chip supports `icon`, `description`, and `prompt` (sent instead of `title` when clicked).
|
|
136
136
|
|
|
137
|
+
In `AppChatPanel` (`variant="panel"`), welcome suggestions are **off** by default. Enable them with `showWelcomeSuggestions`:
|
|
138
|
+
|
|
139
|
+
```tsx
|
|
140
|
+
<AppChatPanel
|
|
141
|
+
workforceId="your-workforce-id"
|
|
142
|
+
showWelcomeSuggestions
|
|
143
|
+
suggestions={[{ title: "Summarize this dashboard" }]}
|
|
144
|
+
/>
|
|
145
|
+
```
|
|
146
|
+
|
|
137
147
|
### Placeholder and width
|
|
138
148
|
|
|
139
149
|
```tsx
|
|
@@ -605,6 +615,7 @@ import {
|
|
|
605
615
|
| `welcome.heading` | `string` | `"How can I help you today?"` | Welcome screen heading |
|
|
606
616
|
| `welcome.subheading` | `string` | `"Send a message to start a conversation."` | Welcome screen subheading |
|
|
607
617
|
| `suggestions` | `{ title: string; description?: string }[]` | — | Suggestion chips on the welcome screen |
|
|
618
|
+
| `showWelcomeSuggestions` | `boolean` | `true` (`default` variant), `false` (`panel`) | Show built-in welcome suggestions when `suggestions` is set |
|
|
608
619
|
| `composerPlaceholder` | `string` | `"Send a message..."` | Composer input placeholder |
|
|
609
620
|
| `components` | `ThreadComponents` | — | Override individual UI slots |
|
|
610
621
|
| `onArtifactEvent` | `(event: UiEventEnvelope) => void` | — | Called when a `ui` artifact fires an `emit` action |
|
package/dist/app.cjs
CHANGED
|
@@ -4619,6 +4619,7 @@ var Thread = ({
|
|
|
4619
4619
|
maxWidth: maxWidthProp,
|
|
4620
4620
|
welcome,
|
|
4621
4621
|
suggestions,
|
|
4622
|
+
showWelcomeSuggestions,
|
|
4622
4623
|
composerPlaceholder,
|
|
4623
4624
|
components,
|
|
4624
4625
|
artifacts,
|
|
@@ -4667,6 +4668,7 @@ var Thread = ({
|
|
|
4667
4668
|
{
|
|
4668
4669
|
config: welcome,
|
|
4669
4670
|
suggestions,
|
|
4671
|
+
showWelcomeSuggestions,
|
|
4670
4672
|
Suggestions: SuggestionsSlot
|
|
4671
4673
|
}
|
|
4672
4674
|
),
|
|
@@ -4747,10 +4749,12 @@ var welcomeIcon = {
|
|
|
4747
4749
|
var ThreadWelcome = ({
|
|
4748
4750
|
config,
|
|
4749
4751
|
suggestions,
|
|
4752
|
+
showWelcomeSuggestions: showWelcomeSuggestionsProp,
|
|
4750
4753
|
Suggestions: SuggestionsSlot = Suggestions
|
|
4751
4754
|
}) => {
|
|
4752
4755
|
const isEmpty = (0, import_react35.useThread)((s) => s.messages.length === 0);
|
|
4753
4756
|
const isPanel = useThreadVariant() === "panel";
|
|
4757
|
+
const showWelcomeSuggestions = showWelcomeSuggestionsProp ?? !isPanel;
|
|
4754
4758
|
if (!isEmpty) return null;
|
|
4755
4759
|
const defaultHeading = isPanel ? "Ask about this page" : "How can I help you today?";
|
|
4756
4760
|
const defaultSubheading = isPanel ? "The assistant can use dashboard context from your app." : "Send a message to start a conversation.";
|
|
@@ -4789,7 +4793,7 @@ var ThreadWelcome = ({
|
|
|
4789
4793
|
]
|
|
4790
4794
|
}
|
|
4791
4795
|
) }),
|
|
4792
|
-
|
|
4796
|
+
showWelcomeSuggestions && suggestions ? /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", { className: "aui-thread-welcome-suggestions mx-auto w-full max-w-(--thread-max-width) px-2", children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(SuggestionsSlot, { suggestions }) }) : null
|
|
4793
4797
|
] });
|
|
4794
4798
|
};
|
|
4795
4799
|
var MessageError = () => {
|
|
@@ -4974,8 +4978,7 @@ var EditComposer = () => {
|
|
|
4974
4978
|
var import_jsx_runtime37 = require("react/jsx-runtime");
|
|
4975
4979
|
var shellClass = "aui-app-chat-panel flex h-full min-h-0 flex-col overflow-hidden";
|
|
4976
4980
|
var chromeClass = cn(
|
|
4977
|
-
"aui-app-chat-panel-chrome relative z-20 flex min-h-
|
|
4978
|
-
"bg-card/90 px-2 pt-3 pb-3 backdrop-blur-sm"
|
|
4981
|
+
"aui-app-chat-panel-chrome relative z-20 flex min-h-10 shrink-0 items-center justify-end px-2 pt-2"
|
|
4979
4982
|
);
|
|
4980
4983
|
var closeButtonClass = cn(
|
|
4981
4984
|
"aui-app-chat-panel-close flex size-8 shrink-0 items-center justify-center rounded-md",
|
|
@@ -4992,8 +4995,9 @@ var bodyClass = cn(
|
|
|
4992
4995
|
"[&_.aui-thread-viewport]:[scrollbar-gutter:stable_both-edges]",
|
|
4993
4996
|
// Tighter symmetric horizontal inset for panel + composer
|
|
4994
4997
|
"[&_.aui-thread-viewport]:!px-2",
|
|
4995
|
-
"[&_.aui-thread-viewport]:!pt-
|
|
4998
|
+
"[&_.aui-thread-viewport]:!pt-1",
|
|
4996
4999
|
"[&_.aui-user-message-root]:!px-0",
|
|
5000
|
+
"[&_.aui-user-message-root]:!pe-1",
|
|
4997
5001
|
"[&_.aui-composer-input]:!px-2",
|
|
4998
5002
|
"[&_.aui-composer-action-wrapper]:!px-2"
|
|
4999
5003
|
);
|
|
@@ -5008,6 +5012,7 @@ var AppChatPanel = ({
|
|
|
5008
5012
|
debug,
|
|
5009
5013
|
welcome,
|
|
5010
5014
|
suggestions,
|
|
5015
|
+
showWelcomeSuggestions,
|
|
5011
5016
|
composerPlaceholder,
|
|
5012
5017
|
components,
|
|
5013
5018
|
artifacts,
|
|
@@ -5043,6 +5048,7 @@ var AppChatPanel = ({
|
|
|
5043
5048
|
className: "aui-app-chat-panel-thread",
|
|
5044
5049
|
welcome,
|
|
5045
5050
|
suggestions,
|
|
5051
|
+
showWelcomeSuggestions,
|
|
5046
5052
|
composerPlaceholder,
|
|
5047
5053
|
components,
|
|
5048
5054
|
artifacts,
|
package/dist/app.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
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, r as ChartLayout, 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-
|
|
1
|
+
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, r as ChartLayout, 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-C2m891nx.cjs';
|
|
2
2
|
export { B as Button } from './button-CIKzUrJI.cjs';
|
|
3
|
-
export { C as ChartArtifact, T as ThreadVariant, a as TimbalChat, b as TimbalChatProps } from './chat-
|
|
3
|
+
export { C as ChartArtifact, T as ThreadVariant, a as TimbalChat, b as TimbalChatProps } from './chat-Bed4FQSl.cjs';
|
|
4
4
|
import 'react';
|
|
5
5
|
import 'react/jsx-runtime';
|
|
6
6
|
import 'class-variance-authority/types';
|
package/dist/app.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
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, r as ChartLayout, 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-
|
|
1
|
+
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, r as ChartLayout, 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';
|
|
2
2
|
export { B as Button } from './button-CIKzUrJI.js';
|
|
3
|
-
export { C as ChartArtifact, T as ThreadVariant, a as TimbalChat, b as TimbalChatProps } from './chat-
|
|
3
|
+
export { C as ChartArtifact, T as ThreadVariant, a as TimbalChat, b as TimbalChatProps } from './chat-Bed4FQSl.js';
|
|
4
4
|
import 'react';
|
|
5
5
|
import 'react/jsx-runtime';
|
|
6
6
|
import 'class-variance-authority/types';
|
package/dist/app.esm.js
CHANGED
|
@@ -56,14 +56,14 @@ import {
|
|
|
56
56
|
connectionRowListClass,
|
|
57
57
|
useAppCopilotContext,
|
|
58
58
|
useAppShellChat
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-7U2N6XZA.esm.js";
|
|
60
60
|
import "./chunk-Z27GBSOT.esm.js";
|
|
61
61
|
import {
|
|
62
62
|
CHART_PALETTE,
|
|
63
63
|
ChartArtifactView,
|
|
64
64
|
LineAreaChart,
|
|
65
65
|
TimbalChat
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-RY3LB3JN.esm.js";
|
|
67
67
|
import "./chunk-TDIJHV4I.esm.js";
|
|
68
68
|
import {
|
|
69
69
|
Button
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FC, ReactNode, InputHTMLAttributes, TextareaHTMLAttributes, SelectHTMLAttributes } from 'react';
|
|
2
|
-
import { w as TimbalRuntimeProviderProps, q as ThreadProps, C as ChartArtifact } from './chat-
|
|
2
|
+
import { w as TimbalRuntimeProviderProps, q as ThreadProps, C as ChartArtifact } from './chat-Bed4FQSl.cjs';
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FC, ReactNode, InputHTMLAttributes, TextareaHTMLAttributes, SelectHTMLAttributes } from 'react';
|
|
2
|
-
import { w as TimbalRuntimeProviderProps, q as ThreadProps, C as ChartArtifact } from './chat-
|
|
2
|
+
import { w as TimbalRuntimeProviderProps, q as ThreadProps, C as ChartArtifact } from './chat-Bed4FQSl.js';
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -374,6 +374,11 @@ interface ThreadWelcomeConfig {
|
|
|
374
374
|
interface ThreadWelcomeProps {
|
|
375
375
|
config?: ThreadWelcomeConfig;
|
|
376
376
|
suggestions?: SuggestionsSource;
|
|
377
|
+
/**
|
|
378
|
+
* When set, controls whether the default welcome renders `suggestions`.
|
|
379
|
+
* Omitted: shown for `variant="default"`, hidden for `variant="panel"`.
|
|
380
|
+
*/
|
|
381
|
+
showWelcomeSuggestions?: boolean;
|
|
377
382
|
/**
|
|
378
383
|
* The resolved `Suggestions` component (default or user-overridden via
|
|
379
384
|
* `components.Suggestions`). Custom Welcome implementations should render
|
|
@@ -420,6 +425,11 @@ interface ThreadProps {
|
|
|
420
425
|
* async function for per-user suggestions.
|
|
421
426
|
*/
|
|
422
427
|
suggestions?: SuggestionsSource;
|
|
428
|
+
/**
|
|
429
|
+
* Show suggestion rows on the built-in welcome when `suggestions` is set.
|
|
430
|
+
* Default: `true` for `variant="default"`, `false` for `variant="panel"`.
|
|
431
|
+
*/
|
|
432
|
+
showWelcomeSuggestions?: boolean;
|
|
423
433
|
/** Composer input placeholder. Default: "Send a message...". */
|
|
424
434
|
composerPlaceholder?: string;
|
|
425
435
|
/** Override individual UI slots while keeping the rest as defaults. */
|
|
@@ -374,6 +374,11 @@ interface ThreadWelcomeConfig {
|
|
|
374
374
|
interface ThreadWelcomeProps {
|
|
375
375
|
config?: ThreadWelcomeConfig;
|
|
376
376
|
suggestions?: SuggestionsSource;
|
|
377
|
+
/**
|
|
378
|
+
* When set, controls whether the default welcome renders `suggestions`.
|
|
379
|
+
* Omitted: shown for `variant="default"`, hidden for `variant="panel"`.
|
|
380
|
+
*/
|
|
381
|
+
showWelcomeSuggestions?: boolean;
|
|
377
382
|
/**
|
|
378
383
|
* The resolved `Suggestions` component (default or user-overridden via
|
|
379
384
|
* `components.Suggestions`). Custom Welcome implementations should render
|
|
@@ -420,6 +425,11 @@ interface ThreadProps {
|
|
|
420
425
|
* async function for per-user suggestions.
|
|
421
426
|
*/
|
|
422
427
|
suggestions?: SuggestionsSource;
|
|
428
|
+
/**
|
|
429
|
+
* Show suggestion rows on the built-in welcome when `suggestions` is set.
|
|
430
|
+
* Default: `true` for `variant="default"`, `false` for `variant="panel"`.
|
|
431
|
+
*/
|
|
432
|
+
showWelcomeSuggestions?: boolean;
|
|
423
433
|
/** Composer input placeholder. Default: "Send a message...". */
|
|
424
434
|
composerPlaceholder?: string;
|
|
425
435
|
/** Override individual UI slots while keeping the rest as defaults. */
|
package/dist/chat.cjs
CHANGED
|
@@ -3999,6 +3999,7 @@ var Thread = ({
|
|
|
3999
3999
|
maxWidth: maxWidthProp,
|
|
4000
4000
|
welcome,
|
|
4001
4001
|
suggestions,
|
|
4002
|
+
showWelcomeSuggestions,
|
|
4002
4003
|
composerPlaceholder,
|
|
4003
4004
|
components,
|
|
4004
4005
|
artifacts,
|
|
@@ -4047,6 +4048,7 @@ var Thread = ({
|
|
|
4047
4048
|
{
|
|
4048
4049
|
config: welcome,
|
|
4049
4050
|
suggestions,
|
|
4051
|
+
showWelcomeSuggestions,
|
|
4050
4052
|
Suggestions: SuggestionsSlot
|
|
4051
4053
|
}
|
|
4052
4054
|
),
|
|
@@ -4127,10 +4129,12 @@ var welcomeIcon = {
|
|
|
4127
4129
|
var ThreadWelcome = ({
|
|
4128
4130
|
config,
|
|
4129
4131
|
suggestions,
|
|
4132
|
+
showWelcomeSuggestions: showWelcomeSuggestionsProp,
|
|
4130
4133
|
Suggestions: SuggestionsSlot = Suggestions
|
|
4131
4134
|
}) => {
|
|
4132
4135
|
const isEmpty = (0, import_react30.useThread)((s) => s.messages.length === 0);
|
|
4133
4136
|
const isPanel = useThreadVariant() === "panel";
|
|
4137
|
+
const showWelcomeSuggestions = showWelcomeSuggestionsProp ?? !isPanel;
|
|
4134
4138
|
if (!isEmpty) return null;
|
|
4135
4139
|
const defaultHeading = isPanel ? "Ask about this page" : "How can I help you today?";
|
|
4136
4140
|
const defaultSubheading = isPanel ? "The assistant can use dashboard context from your app." : "Send a message to start a conversation.";
|
|
@@ -4169,7 +4173,7 @@ var ThreadWelcome = ({
|
|
|
4169
4173
|
]
|
|
4170
4174
|
}
|
|
4171
4175
|
) }),
|
|
4172
|
-
|
|
4176
|
+
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
|
|
4173
4177
|
] });
|
|
4174
4178
|
};
|
|
4175
4179
|
var MessageError = () => {
|
package/dist/chat.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { c as ChatAttachment, d as ChatMessage, e as Composer, f as ComposerProps, g as ContentPart, 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, a as TimbalChat, b as TimbalChatProps, v as TimbalRuntimeProvider, w as TimbalRuntimeProviderProps, x as TimbalStreamApi, y as ToolCallContentPart, U as UseTimbalStreamOptions, z as useResolvedSuggestions, A as useTimbalRuntime, B as useTimbalStream } from './chat-
|
|
1
|
+
export { c as ChatAttachment, d as ChatMessage, e as Composer, f as ComposerProps, g as ContentPart, 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, a as TimbalChat, b as TimbalChatProps, v as TimbalRuntimeProvider, w as TimbalRuntimeProviderProps, x as TimbalStreamApi, y as ToolCallContentPart, U as UseTimbalStreamOptions, z as useResolvedSuggestions, A as useTimbalRuntime, B as useTimbalStream } from './chat-Bed4FQSl.cjs';
|
|
2
2
|
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-C2G-FcER.cjs';
|
|
3
3
|
import { FC } from 'react';
|
|
4
4
|
import 'react/jsx-runtime';
|
package/dist/chat.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { c as ChatAttachment, d as ChatMessage, e as Composer, f as ComposerProps, g as ContentPart, 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, a as TimbalChat, b as TimbalChatProps, v as TimbalRuntimeProvider, w as TimbalRuntimeProviderProps, x as TimbalStreamApi, y as ToolCallContentPart, U as UseTimbalStreamOptions, z as useResolvedSuggestions, A as useTimbalRuntime, B as useTimbalStream } from './chat-
|
|
1
|
+
export { c as ChatAttachment, d as ChatMessage, e as Composer, f as ComposerProps, g as ContentPart, 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, a as TimbalChat, b as TimbalChatProps, v as TimbalRuntimeProvider, w as TimbalRuntimeProviderProps, x as TimbalStreamApi, y as ToolCallContentPart, U as UseTimbalStreamOptions, z as useResolvedSuggestions, A as useTimbalRuntime, B as useTimbalStream } from './chat-Bed4FQSl.js';
|
|
2
2
|
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';
|
|
3
3
|
import { FC } from 'react';
|
|
4
4
|
import 'react/jsx-runtime';
|
package/dist/chat.esm.js
CHANGED
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
} from "./chunk-KC5QLVUG.esm.js";
|
|
8
8
|
import {
|
|
9
9
|
WorkforceSelector
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-3WCG6ZRL.esm.js";
|
|
11
11
|
import {
|
|
12
12
|
Composer,
|
|
13
13
|
ComposerAddAttachment,
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
useTimbalRuntime,
|
|
25
25
|
useTimbalStream,
|
|
26
26
|
useToolRunning
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-RY3LB3JN.esm.js";
|
|
28
28
|
import "./chunk-2XZ3S4OP.esm.js";
|
|
29
29
|
export {
|
|
30
30
|
Composer,
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
studioSecondaryChromeClass,
|
|
17
17
|
studioTopbarPillHeightClass,
|
|
18
18
|
toNum
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-RY3LB3JN.esm.js";
|
|
20
20
|
import {
|
|
21
21
|
PillSegmentedTabs
|
|
22
22
|
} from "./chunk-TDIJHV4I.esm.js";
|
|
@@ -552,8 +552,7 @@ import { XIcon } from "lucide-react";
|
|
|
552
552
|
import { jsx as jsx8, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
553
553
|
var shellClass = "aui-app-chat-panel flex h-full min-h-0 flex-col overflow-hidden";
|
|
554
554
|
var chromeClass = cn(
|
|
555
|
-
"aui-app-chat-panel-chrome relative z-20 flex min-h-
|
|
556
|
-
"bg-card/90 px-2 pt-3 pb-3 backdrop-blur-sm"
|
|
555
|
+
"aui-app-chat-panel-chrome relative z-20 flex min-h-10 shrink-0 items-center justify-end px-2 pt-2"
|
|
557
556
|
);
|
|
558
557
|
var closeButtonClass = cn(
|
|
559
558
|
"aui-app-chat-panel-close flex size-8 shrink-0 items-center justify-center rounded-md",
|
|
@@ -570,8 +569,9 @@ var bodyClass = cn(
|
|
|
570
569
|
"[&_.aui-thread-viewport]:[scrollbar-gutter:stable_both-edges]",
|
|
571
570
|
// Tighter symmetric horizontal inset for panel + composer
|
|
572
571
|
"[&_.aui-thread-viewport]:!px-2",
|
|
573
|
-
"[&_.aui-thread-viewport]:!pt-
|
|
572
|
+
"[&_.aui-thread-viewport]:!pt-1",
|
|
574
573
|
"[&_.aui-user-message-root]:!px-0",
|
|
574
|
+
"[&_.aui-user-message-root]:!pe-1",
|
|
575
575
|
"[&_.aui-composer-input]:!px-2",
|
|
576
576
|
"[&_.aui-composer-action-wrapper]:!px-2"
|
|
577
577
|
);
|
|
@@ -586,6 +586,7 @@ var AppChatPanel = ({
|
|
|
586
586
|
debug,
|
|
587
587
|
welcome,
|
|
588
588
|
suggestions,
|
|
589
|
+
showWelcomeSuggestions,
|
|
589
590
|
composerPlaceholder,
|
|
590
591
|
components,
|
|
591
592
|
artifacts,
|
|
@@ -621,6 +622,7 @@ var AppChatPanel = ({
|
|
|
621
622
|
className: "aui-app-chat-panel-thread",
|
|
622
623
|
welcome,
|
|
623
624
|
suggestions,
|
|
625
|
+
showWelcomeSuggestions,
|
|
624
626
|
composerPlaceholder,
|
|
625
627
|
components,
|
|
626
628
|
artifacts,
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
} from "./chunk-Z27GBSOT.esm.js";
|
|
21
21
|
import {
|
|
22
22
|
WorkforceSelector
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-3WCG6ZRL.esm.js";
|
|
24
24
|
import {
|
|
25
25
|
Composer,
|
|
26
26
|
TimbalChat,
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
studioTopbarIconPillClass,
|
|
44
44
|
studioTopbarPillHeightClass,
|
|
45
45
|
useTimbalRuntime
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-RY3LB3JN.esm.js";
|
|
47
47
|
import {
|
|
48
48
|
PillSegmentedTabs
|
|
49
49
|
} from "./chunk-TDIJHV4I.esm.js";
|
|
@@ -3521,6 +3521,7 @@ var Thread = ({
|
|
|
3521
3521
|
maxWidth: maxWidthProp,
|
|
3522
3522
|
welcome,
|
|
3523
3523
|
suggestions,
|
|
3524
|
+
showWelcomeSuggestions,
|
|
3524
3525
|
composerPlaceholder,
|
|
3525
3526
|
components,
|
|
3526
3527
|
artifacts,
|
|
@@ -3569,6 +3570,7 @@ var Thread = ({
|
|
|
3569
3570
|
{
|
|
3570
3571
|
config: welcome,
|
|
3571
3572
|
suggestions,
|
|
3573
|
+
showWelcomeSuggestions,
|
|
3572
3574
|
Suggestions: SuggestionsSlot
|
|
3573
3575
|
}
|
|
3574
3576
|
),
|
|
@@ -3649,10 +3651,12 @@ var welcomeIcon = {
|
|
|
3649
3651
|
var ThreadWelcome = ({
|
|
3650
3652
|
config,
|
|
3651
3653
|
suggestions,
|
|
3654
|
+
showWelcomeSuggestions: showWelcomeSuggestionsProp,
|
|
3652
3655
|
Suggestions: SuggestionsSlot = Suggestions
|
|
3653
3656
|
}) => {
|
|
3654
3657
|
const isEmpty = useThread((s) => s.messages.length === 0);
|
|
3655
3658
|
const isPanel = useThreadVariant() === "panel";
|
|
3659
|
+
const showWelcomeSuggestions = showWelcomeSuggestionsProp ?? !isPanel;
|
|
3656
3660
|
if (!isEmpty) return null;
|
|
3657
3661
|
const defaultHeading = isPanel ? "Ask about this page" : "How can I help you today?";
|
|
3658
3662
|
const defaultSubheading = isPanel ? "The assistant can use dashboard context from your app." : "Send a message to start a conversation.";
|
|
@@ -3691,7 +3695,7 @@ var ThreadWelcome = ({
|
|
|
3691
3695
|
]
|
|
3692
3696
|
}
|
|
3693
3697
|
) }),
|
|
3694
|
-
|
|
3698
|
+
showWelcomeSuggestions && suggestions ? /* @__PURE__ */ jsx23("div", { className: "aui-thread-welcome-suggestions mx-auto w-full max-w-(--thread-max-width) px-2", children: /* @__PURE__ */ jsx23(SuggestionsSlot, { suggestions }) }) : null
|
|
3695
3699
|
] });
|
|
3696
3700
|
};
|
|
3697
3701
|
var MessageError = () => {
|
package/dist/index.cjs
CHANGED
|
@@ -4203,6 +4203,7 @@ var Thread = ({
|
|
|
4203
4203
|
maxWidth: maxWidthProp,
|
|
4204
4204
|
welcome,
|
|
4205
4205
|
suggestions,
|
|
4206
|
+
showWelcomeSuggestions,
|
|
4206
4207
|
composerPlaceholder,
|
|
4207
4208
|
components,
|
|
4208
4209
|
artifacts,
|
|
@@ -4251,6 +4252,7 @@ var Thread = ({
|
|
|
4251
4252
|
{
|
|
4252
4253
|
config: welcome,
|
|
4253
4254
|
suggestions,
|
|
4255
|
+
showWelcomeSuggestions,
|
|
4254
4256
|
Suggestions: SuggestionsSlot
|
|
4255
4257
|
}
|
|
4256
4258
|
),
|
|
@@ -4331,10 +4333,12 @@ var welcomeIcon = {
|
|
|
4331
4333
|
var ThreadWelcome = ({
|
|
4332
4334
|
config,
|
|
4333
4335
|
suggestions,
|
|
4336
|
+
showWelcomeSuggestions: showWelcomeSuggestionsProp,
|
|
4334
4337
|
Suggestions: SuggestionsSlot = Suggestions
|
|
4335
4338
|
}) => {
|
|
4336
4339
|
const isEmpty = (0, import_react30.useThread)((s) => s.messages.length === 0);
|
|
4337
4340
|
const isPanel = useThreadVariant() === "panel";
|
|
4341
|
+
const showWelcomeSuggestions = showWelcomeSuggestionsProp ?? !isPanel;
|
|
4338
4342
|
if (!isEmpty) return null;
|
|
4339
4343
|
const defaultHeading = isPanel ? "Ask about this page" : "How can I help you today?";
|
|
4340
4344
|
const defaultSubheading = isPanel ? "The assistant can use dashboard context from your app." : "Send a message to start a conversation.";
|
|
@@ -4373,7 +4377,7 @@ var ThreadWelcome = ({
|
|
|
4373
4377
|
]
|
|
4374
4378
|
}
|
|
4375
4379
|
) }),
|
|
4376
|
-
|
|
4380
|
+
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
|
|
4377
4381
|
] });
|
|
4378
4382
|
};
|
|
4379
4383
|
var MessageError = () => {
|
|
@@ -6912,8 +6916,7 @@ var import_lucide_react15 = require("lucide-react");
|
|
|
6912
6916
|
var import_jsx_runtime56 = require("react/jsx-runtime");
|
|
6913
6917
|
var shellClass = "aui-app-chat-panel flex h-full min-h-0 flex-col overflow-hidden";
|
|
6914
6918
|
var chromeClass = cn(
|
|
6915
|
-
"aui-app-chat-panel-chrome relative z-20 flex min-h-
|
|
6916
|
-
"bg-card/90 px-2 pt-3 pb-3 backdrop-blur-sm"
|
|
6919
|
+
"aui-app-chat-panel-chrome relative z-20 flex min-h-10 shrink-0 items-center justify-end px-2 pt-2"
|
|
6917
6920
|
);
|
|
6918
6921
|
var closeButtonClass = cn(
|
|
6919
6922
|
"aui-app-chat-panel-close flex size-8 shrink-0 items-center justify-center rounded-md",
|
|
@@ -6930,8 +6933,9 @@ var bodyClass = cn(
|
|
|
6930
6933
|
"[&_.aui-thread-viewport]:[scrollbar-gutter:stable_both-edges]",
|
|
6931
6934
|
// Tighter symmetric horizontal inset for panel + composer
|
|
6932
6935
|
"[&_.aui-thread-viewport]:!px-2",
|
|
6933
|
-
"[&_.aui-thread-viewport]:!pt-
|
|
6936
|
+
"[&_.aui-thread-viewport]:!pt-1",
|
|
6934
6937
|
"[&_.aui-user-message-root]:!px-0",
|
|
6938
|
+
"[&_.aui-user-message-root]:!pe-1",
|
|
6935
6939
|
"[&_.aui-composer-input]:!px-2",
|
|
6936
6940
|
"[&_.aui-composer-action-wrapper]:!px-2"
|
|
6937
6941
|
);
|
|
@@ -6946,6 +6950,7 @@ var AppChatPanel = ({
|
|
|
6946
6950
|
debug,
|
|
6947
6951
|
welcome,
|
|
6948
6952
|
suggestions,
|
|
6953
|
+
showWelcomeSuggestions,
|
|
6949
6954
|
composerPlaceholder,
|
|
6950
6955
|
components,
|
|
6951
6956
|
artifacts,
|
|
@@ -6981,6 +6986,7 @@ var AppChatPanel = ({
|
|
|
6981
6986
|
className: "aui-app-chat-panel-thread",
|
|
6982
6987
|
welcome,
|
|
6983
6988
|
suggestions,
|
|
6989
|
+
showWelcomeSuggestions,
|
|
6984
6990
|
composerPlaceholder,
|
|
6985
6991
|
components,
|
|
6986
6992
|
artifacts,
|
package/dist/index.d.cts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
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.cjs';
|
|
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.cjs';
|
|
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-COOb05a5.cjs';
|
|
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-C2G-FcER.cjs';
|
|
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-C2m891nx.cjs';
|
|
10
10
|
export { B as Button } from './button-CIKzUrJI.cjs';
|
|
11
11
|
import React__default, { FC, ReactNode } from 'react';
|
|
12
12
|
export { Avatar, AvatarFallback, AvatarImage, Dialog, DialogClose, DialogContent, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, MemoPillSegmentedTabs, PillSegmentedTab, PillSegmentedTabs, PillSegmentedTabsProps, Shimmer, TextShimmerProps, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from './ui.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
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
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';
|
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-7U2N6XZA.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-EQC5JEDZ.esm.js";
|
|
74
74
|
import "./chunk-Z27GBSOT.esm.js";
|
|
75
75
|
import {
|
|
76
76
|
WorkforceSelector
|
|
77
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-3WCG6ZRL.esm.js";
|
|
78
78
|
import {
|
|
79
79
|
ARTIFACT_FENCE_LANGUAGES,
|
|
80
80
|
ArtifactCard,
|
|
@@ -131,7 +131,7 @@ import {
|
|
|
131
131
|
useUiDispatch,
|
|
132
132
|
useUiEventEmitter,
|
|
133
133
|
useUiState
|
|
134
|
-
} from "./chunk-
|
|
134
|
+
} from "./chunk-RY3LB3JN.esm.js";
|
|
135
135
|
import {
|
|
136
136
|
MemoPillSegmentedTabs,
|
|
137
137
|
PillSegmentedTabs
|
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,10 +8,10 @@ import {
|
|
|
8
8
|
TimbalChatShell,
|
|
9
9
|
TimbalMark,
|
|
10
10
|
TimbalStudioShell
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-EQC5JEDZ.esm.js";
|
|
12
12
|
import "./chunk-Z27GBSOT.esm.js";
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-3WCG6ZRL.esm.js";
|
|
14
|
+
import "./chunk-RY3LB3JN.esm.js";
|
|
15
15
|
import "./chunk-TDIJHV4I.esm.js";
|
|
16
16
|
import "./chunk-2XZ3S4OP.esm.js";
|
|
17
17
|
export {
|
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);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FC, ReactNode } from 'react';
|
|
2
|
-
import { b as TimbalChatProps, u as ThreadWelcomeProps } from './chat-
|
|
2
|
+
import { b as TimbalChatProps, u as ThreadWelcomeProps } from './chat-Bed4FQSl.cjs';
|
|
3
3
|
import { WorkforceItem } from '@timbal-ai/timbal-sdk';
|
|
4
4
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FC, ReactNode } from 'react';
|
|
2
|
-
import { b as TimbalChatProps, u as ThreadWelcomeProps } from './chat-
|
|
2
|
+
import { b as TimbalChatProps, u as ThreadWelcomeProps } from './chat-Bed4FQSl.js';
|
|
3
3
|
import { WorkforceItem } from '@timbal-ai/timbal-sdk';
|
|
4
4
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
5
5
|
|