@timbal-ai/timbal-react 0.8.0 → 0.8.2

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 ThemeShadow, b1 as ThemeToCssOptions, b2 as ThemeTokenMap, b3 as TimbalThemeIntent, b4 as TimbalThemePreset, b5 as TimbalThemePresetId, b6 as TimbalThemeStyle, b7 as TimbalThemeStyleProps, b8 as TimbalThemeTokens, b9 as TimbalThemeTypography, ba as applyThemePreset, bb as applyTimbalTheme, bc as clearTimbalTheme, bd as connectionRowListClass, be as createTimbalTheme, bf as ensureThemeFontLink, bg as getStoredThemePreset, bh as getThemePreset, bi as themeToCss, bj as useAppCopilotContext, bk as useAppShellChat } from './chart-artifact-BzcvblDe.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 ThemeShadow, b1 as ThemeToCssOptions, b2 as ThemeTokenMap, b3 as TimbalThemeIntent, b4 as TimbalThemePreset, b5 as TimbalThemePresetId, b6 as TimbalThemeStyle, b7 as TimbalThemeStyleProps, b8 as TimbalThemeTokens, b9 as TimbalThemeTypography, ba as applyThemePreset, bb as applyTimbalTheme, bc as clearTimbalTheme, bd as connectionRowListClass, be as createTimbalTheme, bf as ensureThemeFontLink, bg as getStoredThemePreset, bh as getThemePreset, bi as themeToCss, bj as useAppCopilotContext, bk as useAppShellChat } from './chart-artifact-Bl67kre7.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,22 @@ 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
+ ensureThemeFontLink,
59
+ getStoredThemePreset,
60
+ getThemePreset,
61
+ themeToCss,
50
62
  useAppCopilotContext,
51
63
  useAppShellChat
52
- } from "./chunk-ZEDE2TWQ.esm.js";
64
+ } from "./chunk-6YVKCVEP.esm.js";
53
65
  import {
54
66
  THREAD_DEFAULT_MAX_WIDTH,
55
67
  assistantMessageContentClass,
@@ -70,11 +82,11 @@ import {
70
82
  useOptionalSession,
71
83
  useSession,
72
84
  useWorkforces
73
- } from "./chunk-4AO3HCAR.esm.js";
74
- import "./chunk-Z27GBSOT.esm.js";
85
+ } from "./chunk-VWHHKAHN.esm.js";
86
+ import "./chunk-QIABF4KB.esm.js";
75
87
  import {
76
88
  WorkforceSelector
77
- } from "./chunk-ZG5NBHOS.esm.js";
89
+ } from "./chunk-CFU3YDTV.esm.js";
78
90
  import {
79
91
  ARTIFACT_FENCE_LANGUAGES,
80
92
  ArtifactCard,
@@ -131,7 +143,7 @@ import {
131
143
  useUiDispatch,
132
144
  useUiEventEmitter,
133
145
  useUiState
134
- } from "./chunk-VVTTLIGT.esm.js";
146
+ } from "./chunk-5ZKLPWVN.esm.js";
135
147
  import {
136
148
  DropdownMenu,
137
149
  DropdownMenuCheckboxItem,
@@ -161,11 +173,11 @@ import {
161
173
  SelectSeparator,
162
174
  SelectTrigger,
163
175
  SelectValue
164
- } from "./chunk-LSEUKTU5.esm.js";
176
+ } from "./chunk-P4SN7M67.esm.js";
165
177
  import {
166
178
  MemoPillSegmentedTabs,
167
179
  PillSegmentedTabs
168
- } from "./chunk-YNDXBN6C.esm.js";
180
+ } from "./chunk-OISVICYF.esm.js";
169
181
  import {
170
182
  Avatar,
171
183
  AvatarFallback,
@@ -187,7 +199,7 @@ import {
187
199
  TooltipProvider,
188
200
  TooltipTrigger,
189
201
  cn
190
- } from "./chunk-QKO67F4V.esm.js";
202
+ } from "./chunk-QVAUCVQA.esm.js";
191
203
 
192
204
  // src/index.ts
193
205
  import { parseSSELine } from "@timbal-ai/timbal-sdk";
@@ -476,8 +488,11 @@ export {
476
488
  SubNav,
477
489
  Suggestions,
478
490
  SurfaceCard,
491
+ THEME_AGENT_INSTRUCTIONS,
479
492
  THREAD_DEFAULT_MAX_WIDTH,
493
+ TIMBAL_THEME_PRESETS,
480
494
  TableArtifactView,
495
+ ThemePresetGallery,
481
496
  Thread,
482
497
  ThreadPrimitive,
483
498
  TimbalChat,
@@ -485,6 +500,7 @@ export {
485
500
  TimbalMark,
486
501
  TimbalRuntimeProvider,
487
502
  TimbalStudioShell,
503
+ TimbalThemeStyle,
488
504
  ToolArtifactFallback,
489
505
  ToolFallback,
490
506
  Tooltip,
@@ -497,20 +513,27 @@ export {
497
513
  UiEventProvider,
498
514
  UiNodeView,
499
515
  WorkforceSelector,
516
+ applyThemePreset,
517
+ applyTimbalTheme,
500
518
  assistantMessageContentClass,
501
519
  assistantMessageRootClass,
502
520
  authFetch,
521
+ clearTimbalTheme,
503
522
  clearTokens,
504
523
  cn,
505
524
  connectionRowListClass,
506
525
  createDefaultAttachmentAdapter,
526
+ createTimbalTheme,
507
527
  createUploadAttachmentAdapter,
508
528
  defaultArtifactRenderers,
529
+ ensureThemeFontLink,
509
530
  fetchCurrentUser,
510
531
  findMarkdownArtifacts,
511
532
  getAccessToken,
512
533
  getPath,
513
534
  getRefreshToken,
535
+ getStoredThemePreset,
536
+ getThemePreset,
514
537
  isArtifact,
515
538
  isArtifactFenceLanguage,
516
539
  isUiBinding,
@@ -523,6 +546,7 @@ export {
523
546
  setPath,
524
547
  setRefreshToken,
525
548
  splitMarkdownByArtifacts,
549
+ themeToCss,
526
550
  threadMessageColumnClass,
527
551
  useAppCopilotContext,
528
552
  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.2",
4
4
  "description": "React components and runtime for building Timbal chat and studio apps",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",