@timbal-ai/timbal-react 0.6.0 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +37 -0
- package/README.md +24 -5
- package/dist/app.cjs +2282 -738
- package/dist/app.d.cts +4 -1
- package/dist/app.d.ts +4 -1
- package/dist/app.esm.js +58 -5
- package/dist/button-CIKzUrJI.d.cts +18 -0
- package/dist/button-CIKzUrJI.d.ts +18 -0
- package/dist/chart-artifact-BFDz8Tf9.d.ts +756 -0
- package/dist/chart-artifact-bWUa-iSG.d.cts +756 -0
- package/dist/chat.cjs +872 -562
- package/dist/chat.d.cts +2 -2
- package/dist/chat.d.ts +2 -2
- package/dist/chat.esm.js +3 -3
- package/dist/{chunk-4TCJQSIX.esm.js → chunk-2XZ3S4OP.esm.js} +14 -3
- package/dist/chunk-533MK5EA.esm.js +2294 -0
- package/dist/{chunk-OVHR7J3J.esm.js → chunk-7O5VY3TP.esm.js} +38 -11
- package/dist/{chunk-WLTW56MC.esm.js → chunk-N3PYVTY5.esm.js} +2 -2
- package/dist/{chunk-IYENDIRY.esm.js → chunk-TDIJHV4I.esm.js} +1 -1
- package/dist/{chunk-YJQLLFKP.esm.js → chunk-TLUF2RUL.esm.js} +813 -507
- package/dist/{chunk-OFHLFNJH.esm.js → chunk-Z27GBSOT.esm.js} +3 -1
- package/dist/index.cjs +2587 -1016
- package/dist/index.d.cts +6 -5
- package/dist/index.d.ts +6 -5
- package/dist/index.esm.js +57 -7
- package/dist/{layout-CQWngNQ7.d.ts → layout-BTJyU8wd.d.ts} +1 -1
- package/dist/{layout-B9VayJhZ.d.cts → layout-C2G-FcER.d.cts} +1 -1
- package/dist/studio.cjs +1127 -788
- package/dist/studio.d.cts +1 -1
- package/dist/studio.d.ts +1 -1
- package/dist/studio.esm.js +6 -6
- package/dist/{timbal-v2-button-F4-z7m33.d.ts → timbal-v2-button-CNfdwGq4.d.cts} +1 -1
- package/dist/{timbal-v2-button-F4-z7m33.d.cts → timbal-v2-button-CNfdwGq4.d.ts} +1 -1
- package/dist/ui.cjs +12 -3
- package/dist/ui.d.cts +5 -16
- package/dist/ui.d.ts +5 -16
- package/dist/ui.esm.js +2 -2
- package/dist/{welcome-BOizSp5h.d.ts → welcome-BBmB3tl7.d.ts} +4 -3
- package/dist/{welcome--80i_O0p.d.cts → welcome-C89Mgdaw.d.cts} +4 -3
- package/package.json +2 -1
- package/vite/local-dev.mjs +91 -5
- package/dist/chart-artifact-C71dk4xI.d.ts +0 -329
- package/dist/chart-artifact-CPEpOmtV.d.cts +0 -329
- package/dist/chunk-M4V6Q6XO.esm.js +0 -1082
package/dist/app.d.cts
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
|
-
export { A as
|
|
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-bWUa-iSG.cjs';
|
|
2
|
+
export { B as Button } from './button-CIKzUrJI.cjs';
|
|
2
3
|
export { C as ChartArtifact, T as ThreadVariant, a as TimbalChat, b as TimbalChatProps } from './chat-CWtQWDtJ.cjs';
|
|
3
4
|
import 'react';
|
|
4
5
|
import 'react/jsx-runtime';
|
|
6
|
+
import 'class-variance-authority/types';
|
|
7
|
+
import 'class-variance-authority';
|
|
5
8
|
import '@assistant-ui/react';
|
|
6
9
|
|
|
7
10
|
/**
|
package/dist/app.d.ts
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
|
-
export { A as
|
|
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-BFDz8Tf9.js';
|
|
2
|
+
export { B as Button } from './button-CIKzUrJI.js';
|
|
2
3
|
export { C as ChartArtifact, T as ThreadVariant, a as TimbalChat, b as TimbalChatProps } from './chat-CWtQWDtJ.js';
|
|
3
4
|
import 'react';
|
|
4
5
|
import 'react/jsx-runtime';
|
|
6
|
+
import 'class-variance-authority/types';
|
|
7
|
+
import 'class-variance-authority';
|
|
5
8
|
import '@assistant-ui/react';
|
|
6
9
|
|
|
7
10
|
/**
|
package/dist/app.esm.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import {
|
|
2
|
+
APP_KIT_AGENT_INSTRUCTIONS,
|
|
2
3
|
AppChatPanel,
|
|
3
4
|
AppConfirmDialog,
|
|
4
5
|
AppCopilotProvider,
|
|
@@ -7,21 +8,42 @@ import {
|
|
|
7
8
|
AppShellTopbar,
|
|
8
9
|
Breadcrumbs,
|
|
9
10
|
ChartPanel,
|
|
11
|
+
ConnectionRow,
|
|
12
|
+
ConnectionRowList,
|
|
13
|
+
DangerZone,
|
|
14
|
+
DangerZoneAction,
|
|
10
15
|
DataTable,
|
|
16
|
+
DescriptionList,
|
|
11
17
|
EmptyState,
|
|
18
|
+
ExpandableSection,
|
|
12
19
|
Field,
|
|
13
20
|
FieldInput,
|
|
21
|
+
FieldRow,
|
|
14
22
|
FieldSelect,
|
|
15
23
|
FieldSwitch,
|
|
16
24
|
FieldTextarea,
|
|
17
25
|
FilterBar,
|
|
26
|
+
FloatingUnsavedChangesBar,
|
|
18
27
|
FormSection,
|
|
28
|
+
INTEGRATION_CATALOG_CARD_HEIGHT_CLASS,
|
|
29
|
+
InfoCard,
|
|
30
|
+
IntegrationCard,
|
|
31
|
+
IntegrationsEmptyState,
|
|
32
|
+
MetricChartCard,
|
|
33
|
+
MetricRow,
|
|
34
|
+
MetricTile,
|
|
19
35
|
Page,
|
|
20
36
|
PageHeader,
|
|
37
|
+
PlanBadge,
|
|
38
|
+
ResourceCard,
|
|
21
39
|
SearchInput,
|
|
22
40
|
Section,
|
|
41
|
+
SettingsSection,
|
|
42
|
+
SettingsSectionHeader,
|
|
43
|
+
Sparkline,
|
|
23
44
|
StatTile,
|
|
24
45
|
StatusBadge,
|
|
46
|
+
StatusDot,
|
|
25
47
|
SubNav,
|
|
26
48
|
SurfaceCard,
|
|
27
49
|
appFilterBarClass,
|
|
@@ -31,17 +53,23 @@ import {
|
|
|
31
53
|
appShellTopbarInsetClass,
|
|
32
54
|
appStatTileClass,
|
|
33
55
|
appSurfaceCardClass,
|
|
56
|
+
connectionRowListClass,
|
|
34
57
|
useAppCopilotContext,
|
|
35
58
|
useAppShellChat
|
|
36
|
-
} from "./chunk-
|
|
37
|
-
import "./chunk-
|
|
59
|
+
} from "./chunk-533MK5EA.esm.js";
|
|
60
|
+
import "./chunk-Z27GBSOT.esm.js";
|
|
38
61
|
import {
|
|
62
|
+
CHART_PALETTE,
|
|
39
63
|
ChartArtifactView,
|
|
64
|
+
LineAreaChart,
|
|
40
65
|
TimbalChat
|
|
41
|
-
} from "./chunk-
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import
|
|
66
|
+
} from "./chunk-TLUF2RUL.esm.js";
|
|
67
|
+
import "./chunk-TDIJHV4I.esm.js";
|
|
68
|
+
import {
|
|
69
|
+
Button
|
|
70
|
+
} from "./chunk-2XZ3S4OP.esm.js";
|
|
44
71
|
export {
|
|
72
|
+
APP_KIT_AGENT_INSTRUCTIONS,
|
|
45
73
|
AppChatPanel,
|
|
46
74
|
AppConfirmDialog,
|
|
47
75
|
AppCopilotProvider,
|
|
@@ -49,23 +77,47 @@ export {
|
|
|
49
77
|
AppShellChatTrigger,
|
|
50
78
|
AppShellTopbar,
|
|
51
79
|
Breadcrumbs,
|
|
80
|
+
Button,
|
|
81
|
+
CHART_PALETTE,
|
|
52
82
|
ChartArtifactView,
|
|
53
83
|
ChartPanel,
|
|
84
|
+
ConnectionRow,
|
|
85
|
+
ConnectionRowList,
|
|
86
|
+
DangerZone,
|
|
87
|
+
DangerZoneAction,
|
|
54
88
|
DataTable,
|
|
89
|
+
DescriptionList,
|
|
55
90
|
EmptyState,
|
|
91
|
+
ExpandableSection,
|
|
56
92
|
Field,
|
|
57
93
|
FieldInput,
|
|
94
|
+
FieldRow,
|
|
58
95
|
FieldSelect,
|
|
59
96
|
FieldSwitch,
|
|
60
97
|
FieldTextarea,
|
|
61
98
|
FilterBar,
|
|
99
|
+
FloatingUnsavedChangesBar,
|
|
62
100
|
FormSection,
|
|
101
|
+
INTEGRATION_CATALOG_CARD_HEIGHT_CLASS,
|
|
102
|
+
InfoCard,
|
|
103
|
+
IntegrationCard,
|
|
104
|
+
IntegrationsEmptyState,
|
|
105
|
+
LineAreaChart,
|
|
106
|
+
MetricChartCard,
|
|
107
|
+
MetricRow,
|
|
108
|
+
MetricTile,
|
|
63
109
|
Page,
|
|
64
110
|
PageHeader,
|
|
111
|
+
PlanBadge,
|
|
112
|
+
ResourceCard,
|
|
65
113
|
SearchInput,
|
|
66
114
|
Section,
|
|
115
|
+
SettingsSection,
|
|
116
|
+
SettingsSectionHeader,
|
|
117
|
+
Sparkline,
|
|
67
118
|
StatTile,
|
|
68
119
|
StatusBadge,
|
|
120
|
+
StatusDot,
|
|
69
121
|
SubNav,
|
|
70
122
|
SurfaceCard,
|
|
71
123
|
TimbalChat,
|
|
@@ -76,6 +128,7 @@ export {
|
|
|
76
128
|
appShellTopbarInsetClass,
|
|
77
129
|
appStatTileClass,
|
|
78
130
|
appSurfaceCardClass,
|
|
131
|
+
connectionRowListClass,
|
|
79
132
|
useAppCopilotContext,
|
|
80
133
|
useAppShellChat
|
|
81
134
|
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
import { VariantProps } from 'class-variance-authority';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Layout-only variants for consumers that compose `buttonVariants` directly.
|
|
8
|
+
* Fill / border / shadow come from `button-tokens` via `TimbalV2Button`.
|
|
9
|
+
*/
|
|
10
|
+
declare const buttonVariants: (props?: ({
|
|
11
|
+
variant?: "secondary" | "ghost" | "destructive" | "link" | "default" | "outline" | null | undefined;
|
|
12
|
+
size?: "xs" | "sm" | "lg" | "default" | "icon" | "icon-xs" | "icon-sm" | "icon-lg" | null | undefined;
|
|
13
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
14
|
+
declare function Button({ className, variant, size, asChild, ...props }: React.ComponentProps<"button"> & VariantProps<typeof buttonVariants> & {
|
|
15
|
+
asChild?: boolean;
|
|
16
|
+
}): react_jsx_runtime.JSX.Element;
|
|
17
|
+
|
|
18
|
+
export { Button as B };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
import { VariantProps } from 'class-variance-authority';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Layout-only variants for consumers that compose `buttonVariants` directly.
|
|
8
|
+
* Fill / border / shadow come from `button-tokens` via `TimbalV2Button`.
|
|
9
|
+
*/
|
|
10
|
+
declare const buttonVariants: (props?: ({
|
|
11
|
+
variant?: "secondary" | "ghost" | "destructive" | "link" | "default" | "outline" | null | undefined;
|
|
12
|
+
size?: "xs" | "sm" | "lg" | "default" | "icon" | "icon-xs" | "icon-sm" | "icon-lg" | null | undefined;
|
|
13
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
14
|
+
declare function Button({ className, variant, size, asChild, ...props }: React.ComponentProps<"button"> & VariantProps<typeof buttonVariants> & {
|
|
15
|
+
asChild?: boolean;
|
|
16
|
+
}): react_jsx_runtime.JSX.Element;
|
|
17
|
+
|
|
18
|
+
export { Button as B };
|