@timbal-ai/timbal-react 0.7.1 → 0.8.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 +29 -0
- package/README.md +51 -5
- package/dist/app.cjs +1750 -1157
- package/dist/app.d.cts +2 -2
- package/dist/app.d.ts +2 -2
- package/dist/app.esm.js +27 -5
- package/dist/{button-CIKzUrJI.d.cts → button-ClSgD6OF.d.cts} +1 -1
- package/dist/{button-CIKzUrJI.d.ts → button-ClSgD6OF.d.ts} +1 -1
- package/dist/{chart-artifact-C2m891nx.d.cts → chart-artifact-DWkqIAK5.d.cts} +165 -1
- package/dist/{chart-artifact-CqqhdSR9.d.ts → chart-artifact-DwfRtQWL.d.ts} +165 -1
- package/dist/chat.esm.js +3 -3
- package/dist/{chunk-RY3LB3JN.esm.js → chunk-5ZKLPWVN.esm.js} +1 -1
- package/dist/{chunk-3WCG6ZRL.esm.js → chunk-CFU3YDTV.esm.js} +2 -2
- package/dist/{chunk-7U2N6XZA.esm.js → chunk-GBBLAM3G.esm.js} +954 -378
- package/dist/{chunk-TDIJHV4I.esm.js → chunk-OISVICYF.esm.js} +1 -1
- package/dist/chunk-P4SN7M67.esm.js +435 -0
- package/dist/{chunk-Z27GBSOT.esm.js → chunk-QIABF4KB.esm.js} +53 -51
- package/dist/{chunk-2XZ3S4OP.esm.js → chunk-QVAUCVQA.esm.js} +129 -90
- package/dist/{chunk-EQC5JEDZ.esm.js → chunk-VWHHKAHN.esm.js} +5 -5
- package/dist/index.cjs +1580 -493
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.esm.js +93 -7
- package/dist/studio.cjs +3 -1
- package/dist/studio.esm.js +6 -6
- package/dist/ui.cjs +507 -8
- package/dist/ui.d.cts +46 -3
- package/dist/ui.d.ts +46 -3
- package/dist/ui.esm.js +66 -2
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -6,10 +6,10 @@ 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
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
|
|
10
|
-
export { B as Button } from './button-
|
|
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 THEME_AGENT_INSTRUCTIONS, aZ as TIMBAL_THEME_PRESETS, a_ as ThemePresetGallery, a$ as ThemePresetGalleryProps, b0 as ThemeToCssOptions, b1 as ThemeTokenMap, b2 as TimbalThemeIntent, b3 as TimbalThemePreset, b4 as TimbalThemePresetId, b5 as TimbalThemeStyle, b6 as TimbalThemeStyleProps, b7 as TimbalThemeTokens, b8 as applyThemePreset, b9 as applyTimbalTheme, ba as clearTimbalTheme, bb as connectionRowListClass, bc as createTimbalTheme, bd as getStoredThemePreset, be as getThemePreset, bf as themeToCss, bg as useAppCopilotContext, bh as useAppShellChat } from './chart-artifact-DWkqIAK5.cjs';
|
|
10
|
+
export { B as Button } from './button-ClSgD6OF.cjs';
|
|
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.cjs';
|
|
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.cjs';
|
|
13
13
|
import { ClassValue } from 'clsx';
|
|
14
14
|
import 'react/jsx-runtime';
|
|
15
15
|
import './timbal-v2-button-CNfdwGq4.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -6,10 +6,10 @@ 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
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
|
|
10
|
-
export { B as Button } from './button-
|
|
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 THEME_AGENT_INSTRUCTIONS, aZ as TIMBAL_THEME_PRESETS, a_ as ThemePresetGallery, a$ as ThemePresetGalleryProps, b0 as ThemeToCssOptions, b1 as ThemeTokenMap, b2 as TimbalThemeIntent, b3 as TimbalThemePreset, b4 as TimbalThemePresetId, b5 as TimbalThemeStyle, b6 as TimbalThemeStyleProps, b7 as TimbalThemeTokens, b8 as applyThemePreset, b9 as applyTimbalTheme, ba as clearTimbalTheme, bb as connectionRowListClass, bc as createTimbalTheme, bd as getStoredThemePreset, be as getThemePreset, bf as themeToCss, bg as useAppCopilotContext, bh as useAppShellChat } from './chart-artifact-DwfRtQWL.js';
|
|
10
|
+
export { B as Button } from './button-ClSgD6OF.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
|
@@ -46,10 +46,21 @@ import {
|
|
|
46
46
|
StatusDot,
|
|
47
47
|
SubNav,
|
|
48
48
|
SurfaceCard,
|
|
49
|
+
THEME_AGENT_INSTRUCTIONS,
|
|
50
|
+
TIMBAL_THEME_PRESETS,
|
|
51
|
+
ThemePresetGallery,
|
|
52
|
+
TimbalThemeStyle,
|
|
53
|
+
applyThemePreset,
|
|
54
|
+
applyTimbalTheme,
|
|
55
|
+
clearTimbalTheme,
|
|
49
56
|
connectionRowListClass,
|
|
57
|
+
createTimbalTheme,
|
|
58
|
+
getStoredThemePreset,
|
|
59
|
+
getThemePreset,
|
|
60
|
+
themeToCss,
|
|
50
61
|
useAppCopilotContext,
|
|
51
62
|
useAppShellChat
|
|
52
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-GBBLAM3G.esm.js";
|
|
53
64
|
import {
|
|
54
65
|
THREAD_DEFAULT_MAX_WIDTH,
|
|
55
66
|
assistantMessageContentClass,
|
|
@@ -70,11 +81,11 @@ import {
|
|
|
70
81
|
useOptionalSession,
|
|
71
82
|
useSession,
|
|
72
83
|
useWorkforces
|
|
73
|
-
} from "./chunk-
|
|
74
|
-
import "./chunk-
|
|
84
|
+
} from "./chunk-VWHHKAHN.esm.js";
|
|
85
|
+
import "./chunk-QIABF4KB.esm.js";
|
|
75
86
|
import {
|
|
76
87
|
WorkforceSelector
|
|
77
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-CFU3YDTV.esm.js";
|
|
78
89
|
import {
|
|
79
90
|
ARTIFACT_FENCE_LANGUAGES,
|
|
80
91
|
ArtifactCard,
|
|
@@ -131,11 +142,41 @@ import {
|
|
|
131
142
|
useUiDispatch,
|
|
132
143
|
useUiEventEmitter,
|
|
133
144
|
useUiState
|
|
134
|
-
} from "./chunk-
|
|
145
|
+
} from "./chunk-5ZKLPWVN.esm.js";
|
|
146
|
+
import {
|
|
147
|
+
DropdownMenu,
|
|
148
|
+
DropdownMenuCheckboxItem,
|
|
149
|
+
DropdownMenuContent,
|
|
150
|
+
DropdownMenuGroup,
|
|
151
|
+
DropdownMenuItem,
|
|
152
|
+
DropdownMenuLabel,
|
|
153
|
+
DropdownMenuRadioGroup,
|
|
154
|
+
DropdownMenuRadioItem,
|
|
155
|
+
DropdownMenuSeparator,
|
|
156
|
+
DropdownMenuShortcut,
|
|
157
|
+
DropdownMenuSub,
|
|
158
|
+
DropdownMenuSubContent,
|
|
159
|
+
DropdownMenuSubTrigger,
|
|
160
|
+
DropdownMenuTrigger,
|
|
161
|
+
Popover,
|
|
162
|
+
PopoverAnchor,
|
|
163
|
+
PopoverContent,
|
|
164
|
+
PopoverTrigger,
|
|
165
|
+
Select,
|
|
166
|
+
SelectContent,
|
|
167
|
+
SelectGroup,
|
|
168
|
+
SelectItem,
|
|
169
|
+
SelectLabel,
|
|
170
|
+
SelectScrollDownButton,
|
|
171
|
+
SelectScrollUpButton,
|
|
172
|
+
SelectSeparator,
|
|
173
|
+
SelectTrigger,
|
|
174
|
+
SelectValue
|
|
175
|
+
} from "./chunk-P4SN7M67.esm.js";
|
|
135
176
|
import {
|
|
136
177
|
MemoPillSegmentedTabs,
|
|
137
178
|
PillSegmentedTabs
|
|
138
|
-
} from "./chunk-
|
|
179
|
+
} from "./chunk-OISVICYF.esm.js";
|
|
139
180
|
import {
|
|
140
181
|
Avatar,
|
|
141
182
|
AvatarFallback,
|
|
@@ -144,6 +185,9 @@ import {
|
|
|
144
185
|
Dialog,
|
|
145
186
|
DialogClose,
|
|
146
187
|
DialogContent,
|
|
188
|
+
DialogDescription,
|
|
189
|
+
DialogFooter,
|
|
190
|
+
DialogHeader,
|
|
147
191
|
DialogOverlay,
|
|
148
192
|
DialogPortal,
|
|
149
193
|
DialogTitle,
|
|
@@ -154,7 +198,7 @@ import {
|
|
|
154
198
|
TooltipProvider,
|
|
155
199
|
TooltipTrigger,
|
|
156
200
|
cn
|
|
157
|
-
} from "./chunk-
|
|
201
|
+
} from "./chunk-QVAUCVQA.esm.js";
|
|
158
202
|
|
|
159
203
|
// src/index.ts
|
|
160
204
|
import { parseSSELine } from "@timbal-ai/timbal-sdk";
|
|
@@ -360,10 +404,27 @@ export {
|
|
|
360
404
|
Dialog,
|
|
361
405
|
DialogClose,
|
|
362
406
|
DialogContent,
|
|
407
|
+
DialogDescription,
|
|
408
|
+
DialogFooter,
|
|
409
|
+
DialogHeader,
|
|
363
410
|
DialogOverlay,
|
|
364
411
|
DialogPortal,
|
|
365
412
|
DialogTitle,
|
|
366
413
|
DialogTrigger,
|
|
414
|
+
DropdownMenu,
|
|
415
|
+
DropdownMenuCheckboxItem,
|
|
416
|
+
DropdownMenuContent,
|
|
417
|
+
DropdownMenuGroup,
|
|
418
|
+
DropdownMenuItem,
|
|
419
|
+
DropdownMenuLabel,
|
|
420
|
+
DropdownMenuRadioGroup,
|
|
421
|
+
DropdownMenuRadioItem,
|
|
422
|
+
DropdownMenuSeparator,
|
|
423
|
+
DropdownMenuShortcut,
|
|
424
|
+
DropdownMenuSub,
|
|
425
|
+
DropdownMenuSubContent,
|
|
426
|
+
DropdownMenuSubTrigger,
|
|
427
|
+
DropdownMenuTrigger,
|
|
367
428
|
EmptyState,
|
|
368
429
|
ExpandableSection,
|
|
369
430
|
Field,
|
|
@@ -393,11 +454,25 @@ export {
|
|
|
393
454
|
PageHeader,
|
|
394
455
|
PillSegmentedTabs,
|
|
395
456
|
PlanBadge,
|
|
457
|
+
Popover,
|
|
458
|
+
PopoverAnchor,
|
|
459
|
+
PopoverContent,
|
|
460
|
+
PopoverTrigger,
|
|
396
461
|
QuestionArtifactView,
|
|
397
462
|
ResourceCard,
|
|
398
463
|
STUDIO_NAV_MODE,
|
|
399
464
|
SearchInput,
|
|
400
465
|
Section,
|
|
466
|
+
Select,
|
|
467
|
+
SelectContent,
|
|
468
|
+
SelectGroup,
|
|
469
|
+
SelectItem,
|
|
470
|
+
SelectLabel,
|
|
471
|
+
SelectScrollDownButton,
|
|
472
|
+
SelectScrollUpButton,
|
|
473
|
+
SelectSeparator,
|
|
474
|
+
SelectTrigger,
|
|
475
|
+
SelectValue,
|
|
401
476
|
SessionProvider,
|
|
402
477
|
SettingsSection,
|
|
403
478
|
SettingsSectionHeader,
|
|
@@ -412,8 +487,11 @@ export {
|
|
|
412
487
|
SubNav,
|
|
413
488
|
Suggestions,
|
|
414
489
|
SurfaceCard,
|
|
490
|
+
THEME_AGENT_INSTRUCTIONS,
|
|
415
491
|
THREAD_DEFAULT_MAX_WIDTH,
|
|
492
|
+
TIMBAL_THEME_PRESETS,
|
|
416
493
|
TableArtifactView,
|
|
494
|
+
ThemePresetGallery,
|
|
417
495
|
Thread,
|
|
418
496
|
ThreadPrimitive,
|
|
419
497
|
TimbalChat,
|
|
@@ -421,6 +499,7 @@ export {
|
|
|
421
499
|
TimbalMark,
|
|
422
500
|
TimbalRuntimeProvider,
|
|
423
501
|
TimbalStudioShell,
|
|
502
|
+
TimbalThemeStyle,
|
|
424
503
|
ToolArtifactFallback,
|
|
425
504
|
ToolFallback,
|
|
426
505
|
Tooltip,
|
|
@@ -433,13 +512,17 @@ export {
|
|
|
433
512
|
UiEventProvider,
|
|
434
513
|
UiNodeView,
|
|
435
514
|
WorkforceSelector,
|
|
515
|
+
applyThemePreset,
|
|
516
|
+
applyTimbalTheme,
|
|
436
517
|
assistantMessageContentClass,
|
|
437
518
|
assistantMessageRootClass,
|
|
438
519
|
authFetch,
|
|
520
|
+
clearTimbalTheme,
|
|
439
521
|
clearTokens,
|
|
440
522
|
cn,
|
|
441
523
|
connectionRowListClass,
|
|
442
524
|
createDefaultAttachmentAdapter,
|
|
525
|
+
createTimbalTheme,
|
|
443
526
|
createUploadAttachmentAdapter,
|
|
444
527
|
defaultArtifactRenderers,
|
|
445
528
|
fetchCurrentUser,
|
|
@@ -447,6 +530,8 @@ export {
|
|
|
447
530
|
getAccessToken,
|
|
448
531
|
getPath,
|
|
449
532
|
getRefreshToken,
|
|
533
|
+
getStoredThemePreset,
|
|
534
|
+
getThemePreset,
|
|
450
535
|
isArtifact,
|
|
451
536
|
isArtifactFenceLanguage,
|
|
452
537
|
isUiBinding,
|
|
@@ -459,6 +544,7 @@ export {
|
|
|
459
544
|
setPath,
|
|
460
545
|
setRefreshToken,
|
|
461
546
|
splitMarkdownByArtifacts,
|
|
547
|
+
themeToCss,
|
|
462
548
|
threadMessageColumnClass,
|
|
463
549
|
useAppCopilotContext,
|
|
464
550
|
useAppShellChat,
|
package/dist/studio.cjs
CHANGED
|
@@ -4528,7 +4528,9 @@ var studioChromeShellStyle = {
|
|
|
4528
4528
|
var STORAGE_KEYS = {
|
|
4529
4529
|
sidebarCollapsed: "timbal-studio-sidebar-collapsed",
|
|
4530
4530
|
/** Used by `ModeToggle` in uncontrolled mode (`localStorage`). */
|
|
4531
|
-
theme: "timbal-theme"
|
|
4531
|
+
theme: "timbal-theme",
|
|
4532
|
+
/** Used by the theme preset picker to remember the selected brand preset. */
|
|
4533
|
+
themePreset: "timbal-theme-preset"
|
|
4532
4534
|
};
|
|
4533
4535
|
var DOM_IDS = {
|
|
4534
4536
|
sidebarRuntimeAnchor: "timbal-studio-sidebar-runtime-anchor",
|
package/dist/studio.esm.js
CHANGED
|
@@ -8,12 +8,12 @@ import {
|
|
|
8
8
|
TimbalChatShell,
|
|
9
9
|
TimbalMark,
|
|
10
10
|
TimbalStudioShell
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-VWHHKAHN.esm.js";
|
|
12
|
+
import "./chunk-QIABF4KB.esm.js";
|
|
13
|
+
import "./chunk-CFU3YDTV.esm.js";
|
|
14
|
+
import "./chunk-5ZKLPWVN.esm.js";
|
|
15
|
+
import "./chunk-OISVICYF.esm.js";
|
|
16
|
+
import "./chunk-QVAUCVQA.esm.js";
|
|
17
17
|
export {
|
|
18
18
|
ModeToggle,
|
|
19
19
|
STUDIO_NAV_MODE,
|