@timbal-ai/timbal-react 0.8.0 → 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/dist/index.d.cts CHANGED
@@ -6,8 +6,8 @@ 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 connectionRowListClass, aZ as useAppCopilotContext, a_ as useAppShellChat } from './chart-artifact-C2m891nx.cjs';
10
- export { B as Button } from './button-CIKzUrJI.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 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
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';
package/dist/index.d.ts CHANGED
@@ -6,8 +6,8 @@ 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 connectionRowListClass, aZ as useAppCopilotContext, a_ as useAppShellChat } from './chart-artifact-CqqhdSR9.js';
10
- export { B as Button } from './button-CIKzUrJI.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 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
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';
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-ZEDE2TWQ.esm.js";
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-4AO3HCAR.esm.js";
74
- import "./chunk-Z27GBSOT.esm.js";
84
+ } from "./chunk-VWHHKAHN.esm.js";
85
+ import "./chunk-QIABF4KB.esm.js";
75
86
  import {
76
87
  WorkforceSelector
77
- } from "./chunk-ZG5NBHOS.esm.js";
88
+ } from "./chunk-CFU3YDTV.esm.js";
78
89
  import {
79
90
  ARTIFACT_FENCE_LANGUAGES,
80
91
  ArtifactCard,
@@ -131,7 +142,7 @@ import {
131
142
  useUiDispatch,
132
143
  useUiEventEmitter,
133
144
  useUiState
134
- } from "./chunk-VVTTLIGT.esm.js";
145
+ } from "./chunk-5ZKLPWVN.esm.js";
135
146
  import {
136
147
  DropdownMenu,
137
148
  DropdownMenuCheckboxItem,
@@ -161,11 +172,11 @@ import {
161
172
  SelectSeparator,
162
173
  SelectTrigger,
163
174
  SelectValue
164
- } from "./chunk-LSEUKTU5.esm.js";
175
+ } from "./chunk-P4SN7M67.esm.js";
165
176
  import {
166
177
  MemoPillSegmentedTabs,
167
178
  PillSegmentedTabs
168
- } from "./chunk-YNDXBN6C.esm.js";
179
+ } from "./chunk-OISVICYF.esm.js";
169
180
  import {
170
181
  Avatar,
171
182
  AvatarFallback,
@@ -187,7 +198,7 @@ import {
187
198
  TooltipProvider,
188
199
  TooltipTrigger,
189
200
  cn
190
- } from "./chunk-QKO67F4V.esm.js";
201
+ } from "./chunk-QVAUCVQA.esm.js";
191
202
 
192
203
  // src/index.ts
193
204
  import { parseSSELine } from "@timbal-ai/timbal-sdk";
@@ -476,8 +487,11 @@ export {
476
487
  SubNav,
477
488
  Suggestions,
478
489
  SurfaceCard,
490
+ THEME_AGENT_INSTRUCTIONS,
479
491
  THREAD_DEFAULT_MAX_WIDTH,
492
+ TIMBAL_THEME_PRESETS,
480
493
  TableArtifactView,
494
+ ThemePresetGallery,
481
495
  Thread,
482
496
  ThreadPrimitive,
483
497
  TimbalChat,
@@ -485,6 +499,7 @@ export {
485
499
  TimbalMark,
486
500
  TimbalRuntimeProvider,
487
501
  TimbalStudioShell,
502
+ TimbalThemeStyle,
488
503
  ToolArtifactFallback,
489
504
  ToolFallback,
490
505
  Tooltip,
@@ -497,13 +512,17 @@ export {
497
512
  UiEventProvider,
498
513
  UiNodeView,
499
514
  WorkforceSelector,
515
+ applyThemePreset,
516
+ applyTimbalTheme,
500
517
  assistantMessageContentClass,
501
518
  assistantMessageRootClass,
502
519
  authFetch,
520
+ clearTimbalTheme,
503
521
  clearTokens,
504
522
  cn,
505
523
  connectionRowListClass,
506
524
  createDefaultAttachmentAdapter,
525
+ createTimbalTheme,
507
526
  createUploadAttachmentAdapter,
508
527
  defaultArtifactRenderers,
509
528
  fetchCurrentUser,
@@ -511,6 +530,8 @@ export {
511
530
  getAccessToken,
512
531
  getPath,
513
532
  getRefreshToken,
533
+ getStoredThemePreset,
534
+ getThemePreset,
514
535
  isArtifact,
515
536
  isArtifactFenceLanguage,
516
537
  isUiBinding,
@@ -523,6 +544,7 @@ export {
523
544
  setPath,
524
545
  setRefreshToken,
525
546
  splitMarkdownByArtifacts,
547
+ themeToCss,
526
548
  threadMessageColumnClass,
527
549
  useAppCopilotContext,
528
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",
@@ -8,12 +8,12 @@ import {
8
8
  TimbalChatShell,
9
9
  TimbalMark,
10
10
  TimbalStudioShell
11
- } from "./chunk-4AO3HCAR.esm.js";
12
- import "./chunk-Z27GBSOT.esm.js";
13
- import "./chunk-ZG5NBHOS.esm.js";
14
- import "./chunk-VVTTLIGT.esm.js";
15
- import "./chunk-YNDXBN6C.esm.js";
16
- import "./chunk-QKO67F4V.esm.js";
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,
package/dist/ui.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- export { B as Button } from './button-CIKzUrJI.cjs';
1
+ export { B as Button } from './button-ClSgD6OF.cjs';
2
2
  import * as react_jsx_runtime from 'react/jsx-runtime';
3
3
  import * as React from 'react';
4
4
  import { ElementType, ReactNode, FC } from 'react';
package/dist/ui.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { B as Button } from './button-CIKzUrJI.js';
1
+ export { B as Button } from './button-ClSgD6OF.js';
2
2
  import * as react_jsx_runtime from 'react/jsx-runtime';
3
3
  import * as React from 'react';
4
4
  import { ElementType, ReactNode, FC } from 'react';
package/dist/ui.esm.js CHANGED
@@ -27,11 +27,11 @@ import {
27
27
  SelectSeparator,
28
28
  SelectTrigger,
29
29
  SelectValue
30
- } from "./chunk-LSEUKTU5.esm.js";
30
+ } from "./chunk-P4SN7M67.esm.js";
31
31
  import {
32
32
  MemoPillSegmentedTabs,
33
33
  PillSegmentedTabs
34
- } from "./chunk-YNDXBN6C.esm.js";
34
+ } from "./chunk-OISVICYF.esm.js";
35
35
  import {
36
36
  Avatar,
37
37
  AvatarFallback,
@@ -53,7 +53,7 @@ import {
53
53
  TooltipContent,
54
54
  TooltipProvider,
55
55
  TooltipTrigger
56
- } from "./chunk-QKO67F4V.esm.js";
56
+ } from "./chunk-QVAUCVQA.esm.js";
57
57
  export {
58
58
  Avatar,
59
59
  AvatarFallback,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@timbal-ai/timbal-react",
3
- "version": "0.8.0",
3
+ "version": "0.8.1",
4
4
  "description": "React components and runtime for building Timbal chat and studio apps",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",