@timbal-ai/timbal-react 1.1.0 → 1.2.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 +8 -1
- package/README.md +13 -7
- package/dist/app.cjs +1234 -867
- package/dist/app.d.cts +2 -2
- package/dist/app.d.ts +2 -2
- package/dist/app.esm.js +14 -6
- package/dist/{chart-artifact-CX-rh9nq.d.cts → chart-artifact-E58ve76I.d.cts} +29 -3
- package/dist/{chart-artifact-BZp7nmaf.d.ts → chart-artifact-_PEJgCpQ.d.ts} +29 -3
- package/dist/{chat-DCms8pJ_.d.cts → chat-ClmzWzCX.d.cts} +2 -0
- package/dist/{chat-DCms8pJ_.d.ts → chat-ClmzWzCX.d.ts} +2 -0
- package/dist/chat.cjs +868 -511
- package/dist/chat.d.cts +1 -1
- package/dist/chat.d.ts +1 -1
- package/dist/chat.esm.js +3 -3
- package/dist/{chunk-6HWMJNZT.esm.js → chunk-4VULP3CJ.esm.js} +1 -1
- package/dist/{chunk-XCM3V6RK.esm.js → chunk-AGJKK6R7.esm.js} +2 -2
- package/dist/{chunk-4AKJ6FKE.esm.js → chunk-BMXFXLVV.esm.js} +120 -22
- package/dist/{chunk-JEAUF54A.esm.js → chunk-FEYZUVBM.esm.js} +1 -1
- package/dist/{chunk-FRZOEYBO.esm.js → chunk-MTYXREHK.esm.js} +4 -4
- package/dist/{chunk-P3KDAYX6.esm.js → chunk-NAMKO2MU.esm.js} +1 -1
- package/dist/{chunk-YXZ22OJN.esm.js → chunk-UY7AKWJL.esm.js} +670 -402
- package/dist/{chunk-TK2AGIME.esm.js → chunk-XDIY2WSL.esm.js} +15 -13
- package/dist/index.cjs +1871 -1497
- package/dist/index.d.cts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.esm.js +21 -9
- package/dist/{pill-segmented-tabs-Ba5q0feL.d.cts → pill-segmented-tabs-BsIOW1Lo.d.cts} +32 -4
- package/dist/{pill-segmented-tabs-Ba5q0feL.d.ts → pill-segmented-tabs-BsIOW1Lo.d.ts} +32 -4
- package/dist/studio.cjs +1089 -732
- package/dist/studio.d.cts +2 -2
- package/dist/studio.d.ts +2 -2
- package/dist/studio.esm.js +5 -5
- package/dist/styles.css +14 -16
- package/dist/ui.cjs +122 -22
- package/dist/ui.d.cts +1 -1
- package/dist/ui.d.ts +1 -1
- package/dist/ui.esm.js +8 -4
- package/dist/{welcome-CRqOPKMp.d.cts → welcome-BFGRoNfK.d.cts} +1 -1
- package/dist/{welcome-DlHUa3OL.d.ts → welcome-DXqsGTwH.d.ts} +1 -1
- package/package.json +1 -1
- package/vite/local-dev.d.ts +5 -1
- package/vite/local-dev.mjs +17 -13
package/dist/index.d.cts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { E as UiArtifact, F as UiNode, G as AnyArtifact, Q as QuestionArtifact, H as HtmlArtifact, J as JsonArtifact, I as TableArtifact } from './chat-
|
|
2
|
-
export { K as ArtifactRegistry, L as ArtifactRegistryProvider, M as ArtifactRenderer, N as ArtifactRendererProps, O as ArtifactView, C as ChartArtifact, a as ChartSeriesConfig, d as ChatAttachment, e as ChatMessage, f as Composer, g as ComposerProps, h as ContentPart, P as CreateDefaultAttachmentAdapterOptions, R as CreateUploadAttachmentAdapterOptions, V as DEFAULT_UPLOAD_ACCEPT, W as QuestionOption, X as ResolveAttachmentAdapterOptions, S as SendOptions, i as Suggestions, j as SuggestionsComponent, k as SuggestionsSlotProps, l as SuggestionsSource, m as TextContentPart, n as ThinkingContentPart, o as Thread, p as ThreadArtifactsConfig, q as ThreadComponents, r as ThreadProps, s as ThreadSuggestion, t as ThreadSuggestionsProps, T as ThreadVariant, u as ThreadWelcomeConfig, v as ThreadWelcomeProps, Y as TimbalArtifact, Z as TimbalAttachmentsConfig, _ as TimbalAttachmentsProp, b as TimbalChat, c as TimbalChatProps, w as TimbalRuntimeProvider, x as TimbalRuntimeProviderProps, y as TimbalStreamApi, z as ToolCallContentPart, $ as UiAction, a0 as UiCustomNodeRegistryProvider, a1 as UiEventEnvelope, a2 as UiEventProvider, a3 as UploadFetchFn, U as UseTimbalStreamOptions, a4 as createDefaultAttachmentAdapter, a5 as createUploadAttachmentAdapter, a6 as defaultArtifactRenderers, a7 as getPath, a8 as isArtifact, a9 as isUiBinding, aa as resolveAttachmentAdapter, ab as resolveBindable, ac as setPath, ad as useArtifactRegistry, A as useResolvedSuggestions, B as useTimbalRuntime, D as useTimbalStream, ae as useUiCustomNodeRegistry, af as useUiDispatch, ag as useUiEventEmitter, ah as useUiState } from './chat-
|
|
1
|
+
import { E as UiArtifact, F as UiNode, G as AnyArtifact, Q as QuestionArtifact, H as HtmlArtifact, J as JsonArtifact, I as TableArtifact } from './chat-ClmzWzCX.cjs';
|
|
2
|
+
export { K as ArtifactRegistry, L as ArtifactRegistryProvider, M as ArtifactRenderer, N as ArtifactRendererProps, O as ArtifactView, C as ChartArtifact, a as ChartSeriesConfig, d as ChatAttachment, e as ChatMessage, f as Composer, g as ComposerProps, h as ContentPart, P as CreateDefaultAttachmentAdapterOptions, R as CreateUploadAttachmentAdapterOptions, V as DEFAULT_UPLOAD_ACCEPT, W as QuestionOption, X as ResolveAttachmentAdapterOptions, S as SendOptions, i as Suggestions, j as SuggestionsComponent, k as SuggestionsSlotProps, l as SuggestionsSource, m as TextContentPart, n as ThinkingContentPart, o as Thread, p as ThreadArtifactsConfig, q as ThreadComponents, r as ThreadProps, s as ThreadSuggestion, t as ThreadSuggestionsProps, T as ThreadVariant, u as ThreadWelcomeConfig, v as ThreadWelcomeProps, Y as TimbalArtifact, Z as TimbalAttachmentsConfig, _ as TimbalAttachmentsProp, b as TimbalChat, c as TimbalChatProps, w as TimbalRuntimeProvider, x as TimbalRuntimeProviderProps, y as TimbalStreamApi, z as ToolCallContentPart, $ as UiAction, a0 as UiCustomNodeRegistryProvider, a1 as UiEventEnvelope, a2 as UiEventProvider, a3 as UploadFetchFn, U as UseTimbalStreamOptions, a4 as createDefaultAttachmentAdapter, a5 as createUploadAttachmentAdapter, a6 as defaultArtifactRenderers, a7 as getPath, a8 as isArtifact, a9 as isUiBinding, aa as resolveAttachmentAdapter, ab as resolveBindable, ac as setPath, ad as useArtifactRegistry, A as useResolvedSuggestions, B as useTimbalRuntime, D as useTimbalStream, ae as useUiCustomNodeRegistry, af as useUiDispatch, ag as useUiEventEmitter, ah as useUiState } from './chat-ClmzWzCX.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-BFGRoNfK.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, r as AppBreadcrumbItem, 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 AppShellNavControls, m as AppShellProps, n as AppShellSidebarTrigger, o as AppShellSidebarTriggerProps, p as AppShellTopbar, q as AppShellTopbarProps, B as BreadcrumbEntry, s as Breadcrumbs, t as BreadcrumbsProps, C as CHART_PALETTE, u as COLOR_UTILITY_PREFIXES, v as ChartArtifactView,
|
|
9
|
+
export { A as APP_KIT_AGENT_INSTRUCTIONS, r as AppBreadcrumbItem, 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 AppShellNavControls, m as AppShellProps, n as AppShellSidebarTrigger, o as AppShellSidebarTriggerProps, p as AppShellTopbar, q as AppShellTopbarProps, B as BreadcrumbEntry, s as Breadcrumbs, t as BreadcrumbsProps, C as CHART_PALETTE, u as COLOR_UTILITY_PREFIXES, v as ChartArtifactView, y as ChartPanel, z as ChartPanelProps, D as ChartSeries, E as ChartTooltipIndicator, F as ChartVariant, G as ConnectionRow, H as ConnectionRowList, I as ConnectionRowListProps, J as ConnectionRowProps, K as DangerZone, L as DangerZoneAction, M as DangerZoneActionProps, N as DangerZoneProps, O as DataTable, P as DataTableColumn, Q as DataTableProps, R as DataTableSort, S as DataTableSortDirection, T as DescriptionItem, U as DescriptionList, V as DescriptionListProps, W as EmptyState, X as EmptyStateProps, Y as ExpandableSection, Z as ExpandableSectionProps, _ as Field, $ as FieldInput, a0 as FieldInputProps, a1 as FieldProps, a2 as FieldRow, a3 as FieldRowProps, a4 as FieldSelect, a5 as FieldSelectProps, a6 as FieldSwitch, a7 as FieldSwitchProps, a8 as FieldTextarea, a9 as FieldTextareaProps, aa as FilterBar, ab as FilterBarProps, ac as FilterField, ad as FilterFieldProps, ae as FloatingUnsavedChangesBar, af as FloatingUnsavedChangesBarProps, ag as FormSection, ah as FormSectionProps, ai as HOUSE_RULES, aj as HouseRule, ak as INTEGRATION_CATALOG_CARD_HEIGHT_CLASS, al as InfoCard, am as InfoCardProps, an as InfoCardTone, ao as IntegrationCard, ap as IntegrationCardProps, aq as IntegrationCardStatus, ar as IntegrationsEmptyState, as as IntegrationsEmptyStateProps, at as LineAreaChart, au as LineAreaChartProps, av as LintFinding, aw as LintOptions, ax as LintResult, ay as LintSeverity, az as MetricChartCard, aA as MetricChartCardProps, aB as MetricChartMetric, aC as MetricRow, aD as MetricRowItem, aE as MetricRowProps, aF as MetricTile, aG as MetricTileProps, aH as Page, aI as PageHeader, aJ as PageHeaderProps, aK as PageProps, aL as PieChart, aM as PieChartProps, aN as PlanBadge, aO as PlanBadgeProps, aP as PlanBadgeTone, aQ as RESERVED_GRADIENT_TOKENS, aR as RadarChart, aS as RadarChartProps, aT as RadialChart, aU as RadialChartProps, aV as ResourceCard, aW as ResourceCardProps, aX as ReviewResult, aY as SEMANTIC_COLOR_TOKENS, aZ as SLOP_BUDGETS, a_ as SearchInput, a$ as SearchInputProps, b0 as Section, b1 as SectionProps, b2 as SemanticColorToken, b3 as SettingsSection, b4 as SettingsSectionHeader, b5 as SettingsSectionHeaderProps, b6 as SettingsSectionProps, b7 as Sparkline, b8 as SparklineProps, b9 as StatTile, ba as StatTileProps, bb as StatusBadge, bc as StatusBadgeProps, bd as StatusBadgeTone, be as StatusDot, bf as StatusDotProps, bg as StatusDotTone, bh as SubNav, bi as SubNavItem, bj as SubNavProps, bk as SurfaceCard, bl as SurfaceCardProps, bm as TAILWIND_PALETTE_COLORS, bn as THEME_AGENT_INSTRUCTIONS, bo as TIMBAL_THEME_PRESETS, bp as ThemePresetGallery, bq as ThemePresetGalleryProps, br as ThemeShadow, bs as ThemeToCssOptions, bt as ThemeTokenMap, bu as TimbalThemeIntent, bv as TimbalThemePreset, bw as TimbalThemePresetId, bx as TimbalThemeStyle, by as TimbalThemeStyleProps, bz as TimbalThemeTokens, bA as TimbalThemeTypography, bB as UI_REVIEW_AGENT_INSTRUCTIONS, bC as UseLiveQueryOptions, bD as UseLiveQueryResult, bE as applyThemePreset, bF as applyTimbalTheme, bG as clearTimbalTheme, bH as connectionRowListClass, bI as createTimbalTheme, bJ as ensureThemeFontLink, bK as flushBarCategoryGap, bL as flushLineAreaEdgeToEdge, bM as formatLintReport, bN as getStoredThemePreset, bO as getThemePreset, bP as lintGeneratedUi, bQ as resolveChartMargin, bR as resolveTooltipCategory, bS as reviewGeneratedUi, bT as themeToCss, bU as useAppCopilotContext, bV as useAppShellChat, bW as useAppShellNav, bX as useInterval, bY as useLiveQuery } from './chart-artifact-E58ve76I.cjs';
|
|
10
10
|
export { B as Button } from './button-BoyX5pM_.cjs';
|
|
11
11
|
import React__default, { FC, ReactNode } from 'react';
|
|
12
|
-
export { A as
|
|
12
|
+
export { A as AVATAR_PRIMARY_FALLBACK_CLASS, a as Accordion, b as AccordionContent, c as AccordionItem, d as AccordionTrigger, e as Alert, f as AlertDescription, g as AlertDialog, h as AlertDialogAction, i as AlertDialogCancel, j as AlertDialogContent, k as AlertDialogDescription, l as AlertDialogFooter, m as AlertDialogHeader, n as AlertDialogOverlay, o as AlertDialogPortal, p as AlertDialogTitle, q as AlertDialogTrigger, r as AlertTitle, s as AspectRatio, t as Avatar, u as AvatarFallback, v as AvatarImage, B as Badge, w as Breadcrumb, x as BreadcrumbEllipsis, y as BreadcrumbItem, z as BreadcrumbLink, C as BreadcrumbList, D as BreadcrumbPage, E as BreadcrumbSeparator, F as CONTROL_SIZE, G as Calendar, H as CalendarDayButton, I as Card, J as CardContent, K as CardDescription, L as CardFooter, M as CardHeader, N as CardTitle, O as Checkbox, P as Collapsible, Q as CollapsibleContent, R as CollapsibleTrigger, S as Combobox, T as ComboboxAnchor, U as ComboboxCommand, V as ComboboxContent, W as ComboboxEmpty, X as ComboboxGroup, Y as ComboboxInput, Z as ComboboxItem, _ as ComboboxList, $ as ComboboxSeparator, a0 as ComboboxShortcut, a1 as ComboboxTrigger, a2 as Command, a3 as CommandDialog, a4 as CommandEmpty, a5 as CommandGroup, a6 as CommandInput, a7 as CommandItem, a8 as CommandList, a9 as CommandSeparator, aa as CommandShortcut, ab as ContextMenu, ac as ContextMenuCheckboxItem, ad as ContextMenuContent, ae as ContextMenuGroup, af as ContextMenuItem, ag as ContextMenuLabel, ah as ContextMenuRadioGroup, ai as ContextMenuRadioItem, aj as ContextMenuSeparator, ak as ContextMenuShortcut, al as ContextMenuSub, am as ContextMenuSubContent, an as ContextMenuSubTrigger, ao as ContextMenuTrigger, ap as ControlClassOptions, aq as ControlShape, ar as ControlSize, as as DatePicker, at as DatePickerButton, au as DatePickerCalendar, av as DatePickerContent, aw as DatePickerTrigger, ax as Dialog, ay as DialogClose, az as DialogContent, aA as DialogDescription, aB as DialogFooter, aC as DialogHeader, aD as DialogOverlay, aE as DialogPortal, aF as DialogTitle, aG as DialogTrigger, aH as DropdownMenu, aI as DropdownMenuCheckboxItem, aJ as DropdownMenuContent, aK as DropdownMenuGroup, aL as DropdownMenuItem, aM as DropdownMenuLabel, aN as DropdownMenuRadioGroup, aO as DropdownMenuRadioItem, aP as DropdownMenuSeparator, aQ as DropdownMenuShortcut, aR as DropdownMenuSub, aS as DropdownMenuSubContent, aT as DropdownMenuSubTrigger, aU as DropdownMenuTrigger, aV as Form, aW as FormControl, aX as FormField, aY as FormItem, aZ as FormLabel, a_ as FormMessage, a$ as FormSubmit, b0 as HoverCard, b1 as HoverCardContent, b2 as HoverCardTrigger, b3 as Input, b4 as InputGroup, b5 as InputGroupAddon, b6 as InputGroupInput, b7 as InputGroupText, b8 as InputOTP, b9 as InputOTPGroup, ba as InputOTPHiddenInput, bb as InputOTPSeparator, bc as InputOTPSlot, bd as Kbd, be as KbdGroup, bf as Label, bg as MemoPillSegmentedTabs, bh as Menubar, bi as MenubarCheckboxItem, bj as MenubarContent, bk as MenubarItem, bl as MenubarLabel, bm as MenubarMenu, bn as MenubarRadioGroup, bo as MenubarRadioItem, bp as MenubarSeparator, bq as MenubarShortcut, br as MenubarSub, bs as MenubarSubContent, bt as MenubarSubTrigger, bu as MenubarTrigger, bv as NavigationMenu, bw as NavigationMenuContent, bx as NavigationMenuIndicator, by as NavigationMenuItem, bz as NavigationMenuLink, bA as NavigationMenuList, bB as NavigationMenuTrigger, bC as NavigationMenuViewport, bD as Pagination, bE as PaginationContent, bF as PaginationEllipsis, bG as PaginationItem, bH as PaginationLink, bI as PaginationNext, bJ as PaginationPrevious, bK as PillSegmentedTab, bL as PillSegmentedTabs, bM as PillSegmentedTabsProps, bN as Popover, bO as PopoverAnchor, bP as PopoverContent, bQ as PopoverTrigger, bR as Progress, bS as RadioGroup, bT as RadioGroupItem, bU as ScrollArea, bV as ScrollBar, bW as Select, bX as SelectContent, bY as SelectGroup, bZ as SelectItem, b_ as SelectLabel, b$ as SelectScrollDownButton, c0 as SelectScrollUpButton, c1 as SelectSeparator, c2 as SelectTrigger, c3 as SelectValue, c4 as Separator, c5 as Sheet, c6 as SheetClose, c7 as SheetContent, c8 as SheetDescription, c9 as SheetFooter, ca as SheetHeader, cb as SheetTitle, cc as SheetTrigger, cd as Shimmer, ce as Skeleton, cf as Slider, cg as Spinner, ch as Switch, ci as Table, cj as TableBody, ck as TableCaption, cl as TableCell, cm as TableFooter, cn as TableHead, co as TableHeader, cp as TableRow, cq as TextShimmerProps, cr as Textarea, cs as Toast, ct as ToastAction, cu as ToastClose, cv as ToastDescription, cw as ToastProps, cx as ToastProvider, cy as ToastTitle, cz as ToastViewport, cA as Toaster, cB as Toggle, cC as ToggleGroup, cD as ToggleGroupItem, cE as Toolbar, cF as ToolbarButton, cG as ToolbarLink, cH as ToolbarSeparator, cI as ToolbarToggleGroup, cJ as ToolbarToggleItem, cK as Tooltip, cL as TooltipContent, cM as TooltipProvider, cN as TooltipTrigger, cO as alertVariants, cP as avatarChartVariantClass, cQ as badgeVariants, cR as controlClass, cS as controlSurfaceClass, cT as formatPickerDate, cU as navigationMenuTriggerStyle, cV as overlayAnimationClass, cW as overlayItemClass, cX as overlayListPanelClass, cY as overlaySurfaceClass, cZ as toast, c_ as toggleVariants, c$ as useToast } from './pill-segmented-tabs-BsIOW1Lo.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
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { E as UiArtifact, F as UiNode, G as AnyArtifact, Q as QuestionArtifact, H as HtmlArtifact, J as JsonArtifact, I as TableArtifact } from './chat-
|
|
2
|
-
export { K as ArtifactRegistry, L as ArtifactRegistryProvider, M as ArtifactRenderer, N as ArtifactRendererProps, O as ArtifactView, C as ChartArtifact, a as ChartSeriesConfig, d as ChatAttachment, e as ChatMessage, f as Composer, g as ComposerProps, h as ContentPart, P as CreateDefaultAttachmentAdapterOptions, R as CreateUploadAttachmentAdapterOptions, V as DEFAULT_UPLOAD_ACCEPT, W as QuestionOption, X as ResolveAttachmentAdapterOptions, S as SendOptions, i as Suggestions, j as SuggestionsComponent, k as SuggestionsSlotProps, l as SuggestionsSource, m as TextContentPart, n as ThinkingContentPart, o as Thread, p as ThreadArtifactsConfig, q as ThreadComponents, r as ThreadProps, s as ThreadSuggestion, t as ThreadSuggestionsProps, T as ThreadVariant, u as ThreadWelcomeConfig, v as ThreadWelcomeProps, Y as TimbalArtifact, Z as TimbalAttachmentsConfig, _ as TimbalAttachmentsProp, b as TimbalChat, c as TimbalChatProps, w as TimbalRuntimeProvider, x as TimbalRuntimeProviderProps, y as TimbalStreamApi, z as ToolCallContentPart, $ as UiAction, a0 as UiCustomNodeRegistryProvider, a1 as UiEventEnvelope, a2 as UiEventProvider, a3 as UploadFetchFn, U as UseTimbalStreamOptions, a4 as createDefaultAttachmentAdapter, a5 as createUploadAttachmentAdapter, a6 as defaultArtifactRenderers, a7 as getPath, a8 as isArtifact, a9 as isUiBinding, aa as resolveAttachmentAdapter, ab as resolveBindable, ac as setPath, ad as useArtifactRegistry, A as useResolvedSuggestions, B as useTimbalRuntime, D as useTimbalStream, ae as useUiCustomNodeRegistry, af as useUiDispatch, ag as useUiEventEmitter, ah as useUiState } from './chat-
|
|
1
|
+
import { E as UiArtifact, F as UiNode, G as AnyArtifact, Q as QuestionArtifact, H as HtmlArtifact, J as JsonArtifact, I as TableArtifact } from './chat-ClmzWzCX.js';
|
|
2
|
+
export { K as ArtifactRegistry, L as ArtifactRegistryProvider, M as ArtifactRenderer, N as ArtifactRendererProps, O as ArtifactView, C as ChartArtifact, a as ChartSeriesConfig, d as ChatAttachment, e as ChatMessage, f as Composer, g as ComposerProps, h as ContentPart, P as CreateDefaultAttachmentAdapterOptions, R as CreateUploadAttachmentAdapterOptions, V as DEFAULT_UPLOAD_ACCEPT, W as QuestionOption, X as ResolveAttachmentAdapterOptions, S as SendOptions, i as Suggestions, j as SuggestionsComponent, k as SuggestionsSlotProps, l as SuggestionsSource, m as TextContentPart, n as ThinkingContentPart, o as Thread, p as ThreadArtifactsConfig, q as ThreadComponents, r as ThreadProps, s as ThreadSuggestion, t as ThreadSuggestionsProps, T as ThreadVariant, u as ThreadWelcomeConfig, v as ThreadWelcomeProps, Y as TimbalArtifact, Z as TimbalAttachmentsConfig, _ as TimbalAttachmentsProp, b as TimbalChat, c as TimbalChatProps, w as TimbalRuntimeProvider, x as TimbalRuntimeProviderProps, y as TimbalStreamApi, z as ToolCallContentPart, $ as UiAction, a0 as UiCustomNodeRegistryProvider, a1 as UiEventEnvelope, a2 as UiEventProvider, a3 as UploadFetchFn, U as UseTimbalStreamOptions, a4 as createDefaultAttachmentAdapter, a5 as createUploadAttachmentAdapter, a6 as defaultArtifactRenderers, a7 as getPath, a8 as isArtifact, a9 as isUiBinding, aa as resolveAttachmentAdapter, ab as resolveBindable, ac as setPath, ad as useArtifactRegistry, A as useResolvedSuggestions, B as useTimbalRuntime, D as useTimbalStream, ae as useUiCustomNodeRegistry, af as useUiDispatch, ag as useUiEventEmitter, ah as useUiState } from './chat-ClmzWzCX.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-DXqsGTwH.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, r as AppBreadcrumbItem, 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 AppShellNavControls, m as AppShellProps, n as AppShellSidebarTrigger, o as AppShellSidebarTriggerProps, p as AppShellTopbar, q as AppShellTopbarProps, B as BreadcrumbEntry, s as Breadcrumbs, t as BreadcrumbsProps, C as CHART_PALETTE, u as COLOR_UTILITY_PREFIXES, v as ChartArtifactView,
|
|
9
|
+
export { A as APP_KIT_AGENT_INSTRUCTIONS, r as AppBreadcrumbItem, 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 AppShellNavControls, m as AppShellProps, n as AppShellSidebarTrigger, o as AppShellSidebarTriggerProps, p as AppShellTopbar, q as AppShellTopbarProps, B as BreadcrumbEntry, s as Breadcrumbs, t as BreadcrumbsProps, C as CHART_PALETTE, u as COLOR_UTILITY_PREFIXES, v as ChartArtifactView, y as ChartPanel, z as ChartPanelProps, D as ChartSeries, E as ChartTooltipIndicator, F as ChartVariant, G as ConnectionRow, H as ConnectionRowList, I as ConnectionRowListProps, J as ConnectionRowProps, K as DangerZone, L as DangerZoneAction, M as DangerZoneActionProps, N as DangerZoneProps, O as DataTable, P as DataTableColumn, Q as DataTableProps, R as DataTableSort, S as DataTableSortDirection, T as DescriptionItem, U as DescriptionList, V as DescriptionListProps, W as EmptyState, X as EmptyStateProps, Y as ExpandableSection, Z as ExpandableSectionProps, _ as Field, $ as FieldInput, a0 as FieldInputProps, a1 as FieldProps, a2 as FieldRow, a3 as FieldRowProps, a4 as FieldSelect, a5 as FieldSelectProps, a6 as FieldSwitch, a7 as FieldSwitchProps, a8 as FieldTextarea, a9 as FieldTextareaProps, aa as FilterBar, ab as FilterBarProps, ac as FilterField, ad as FilterFieldProps, ae as FloatingUnsavedChangesBar, af as FloatingUnsavedChangesBarProps, ag as FormSection, ah as FormSectionProps, ai as HOUSE_RULES, aj as HouseRule, ak as INTEGRATION_CATALOG_CARD_HEIGHT_CLASS, al as InfoCard, am as InfoCardProps, an as InfoCardTone, ao as IntegrationCard, ap as IntegrationCardProps, aq as IntegrationCardStatus, ar as IntegrationsEmptyState, as as IntegrationsEmptyStateProps, at as LineAreaChart, au as LineAreaChartProps, av as LintFinding, aw as LintOptions, ax as LintResult, ay as LintSeverity, az as MetricChartCard, aA as MetricChartCardProps, aB as MetricChartMetric, aC as MetricRow, aD as MetricRowItem, aE as MetricRowProps, aF as MetricTile, aG as MetricTileProps, aH as Page, aI as PageHeader, aJ as PageHeaderProps, aK as PageProps, aL as PieChart, aM as PieChartProps, aN as PlanBadge, aO as PlanBadgeProps, aP as PlanBadgeTone, aQ as RESERVED_GRADIENT_TOKENS, aR as RadarChart, aS as RadarChartProps, aT as RadialChart, aU as RadialChartProps, aV as ResourceCard, aW as ResourceCardProps, aX as ReviewResult, aY as SEMANTIC_COLOR_TOKENS, aZ as SLOP_BUDGETS, a_ as SearchInput, a$ as SearchInputProps, b0 as Section, b1 as SectionProps, b2 as SemanticColorToken, b3 as SettingsSection, b4 as SettingsSectionHeader, b5 as SettingsSectionHeaderProps, b6 as SettingsSectionProps, b7 as Sparkline, b8 as SparklineProps, b9 as StatTile, ba as StatTileProps, bb as StatusBadge, bc as StatusBadgeProps, bd as StatusBadgeTone, be as StatusDot, bf as StatusDotProps, bg as StatusDotTone, bh as SubNav, bi as SubNavItem, bj as SubNavProps, bk as SurfaceCard, bl as SurfaceCardProps, bm as TAILWIND_PALETTE_COLORS, bn as THEME_AGENT_INSTRUCTIONS, bo as TIMBAL_THEME_PRESETS, bp as ThemePresetGallery, bq as ThemePresetGalleryProps, br as ThemeShadow, bs as ThemeToCssOptions, bt as ThemeTokenMap, bu as TimbalThemeIntent, bv as TimbalThemePreset, bw as TimbalThemePresetId, bx as TimbalThemeStyle, by as TimbalThemeStyleProps, bz as TimbalThemeTokens, bA as TimbalThemeTypography, bB as UI_REVIEW_AGENT_INSTRUCTIONS, bC as UseLiveQueryOptions, bD as UseLiveQueryResult, bE as applyThemePreset, bF as applyTimbalTheme, bG as clearTimbalTheme, bH as connectionRowListClass, bI as createTimbalTheme, bJ as ensureThemeFontLink, bK as flushBarCategoryGap, bL as flushLineAreaEdgeToEdge, bM as formatLintReport, bN as getStoredThemePreset, bO as getThemePreset, bP as lintGeneratedUi, bQ as resolveChartMargin, bR as resolveTooltipCategory, bS as reviewGeneratedUi, bT as themeToCss, bU as useAppCopilotContext, bV as useAppShellChat, bW as useAppShellNav, bX as useInterval, bY as useLiveQuery } from './chart-artifact-_PEJgCpQ.js';
|
|
10
10
|
export { B as Button } from './button-BoyX5pM_.js';
|
|
11
11
|
import React__default, { FC, ReactNode } from 'react';
|
|
12
|
-
export { A as
|
|
12
|
+
export { A as AVATAR_PRIMARY_FALLBACK_CLASS, a as Accordion, b as AccordionContent, c as AccordionItem, d as AccordionTrigger, e as Alert, f as AlertDescription, g as AlertDialog, h as AlertDialogAction, i as AlertDialogCancel, j as AlertDialogContent, k as AlertDialogDescription, l as AlertDialogFooter, m as AlertDialogHeader, n as AlertDialogOverlay, o as AlertDialogPortal, p as AlertDialogTitle, q as AlertDialogTrigger, r as AlertTitle, s as AspectRatio, t as Avatar, u as AvatarFallback, v as AvatarImage, B as Badge, w as Breadcrumb, x as BreadcrumbEllipsis, y as BreadcrumbItem, z as BreadcrumbLink, C as BreadcrumbList, D as BreadcrumbPage, E as BreadcrumbSeparator, F as CONTROL_SIZE, G as Calendar, H as CalendarDayButton, I as Card, J as CardContent, K as CardDescription, L as CardFooter, M as CardHeader, N as CardTitle, O as Checkbox, P as Collapsible, Q as CollapsibleContent, R as CollapsibleTrigger, S as Combobox, T as ComboboxAnchor, U as ComboboxCommand, V as ComboboxContent, W as ComboboxEmpty, X as ComboboxGroup, Y as ComboboxInput, Z as ComboboxItem, _ as ComboboxList, $ as ComboboxSeparator, a0 as ComboboxShortcut, a1 as ComboboxTrigger, a2 as Command, a3 as CommandDialog, a4 as CommandEmpty, a5 as CommandGroup, a6 as CommandInput, a7 as CommandItem, a8 as CommandList, a9 as CommandSeparator, aa as CommandShortcut, ab as ContextMenu, ac as ContextMenuCheckboxItem, ad as ContextMenuContent, ae as ContextMenuGroup, af as ContextMenuItem, ag as ContextMenuLabel, ah as ContextMenuRadioGroup, ai as ContextMenuRadioItem, aj as ContextMenuSeparator, ak as ContextMenuShortcut, al as ContextMenuSub, am as ContextMenuSubContent, an as ContextMenuSubTrigger, ao as ContextMenuTrigger, ap as ControlClassOptions, aq as ControlShape, ar as ControlSize, as as DatePicker, at as DatePickerButton, au as DatePickerCalendar, av as DatePickerContent, aw as DatePickerTrigger, ax as Dialog, ay as DialogClose, az as DialogContent, aA as DialogDescription, aB as DialogFooter, aC as DialogHeader, aD as DialogOverlay, aE as DialogPortal, aF as DialogTitle, aG as DialogTrigger, aH as DropdownMenu, aI as DropdownMenuCheckboxItem, aJ as DropdownMenuContent, aK as DropdownMenuGroup, aL as DropdownMenuItem, aM as DropdownMenuLabel, aN as DropdownMenuRadioGroup, aO as DropdownMenuRadioItem, aP as DropdownMenuSeparator, aQ as DropdownMenuShortcut, aR as DropdownMenuSub, aS as DropdownMenuSubContent, aT as DropdownMenuSubTrigger, aU as DropdownMenuTrigger, aV as Form, aW as FormControl, aX as FormField, aY as FormItem, aZ as FormLabel, a_ as FormMessage, a$ as FormSubmit, b0 as HoverCard, b1 as HoverCardContent, b2 as HoverCardTrigger, b3 as Input, b4 as InputGroup, b5 as InputGroupAddon, b6 as InputGroupInput, b7 as InputGroupText, b8 as InputOTP, b9 as InputOTPGroup, ba as InputOTPHiddenInput, bb as InputOTPSeparator, bc as InputOTPSlot, bd as Kbd, be as KbdGroup, bf as Label, bg as MemoPillSegmentedTabs, bh as Menubar, bi as MenubarCheckboxItem, bj as MenubarContent, bk as MenubarItem, bl as MenubarLabel, bm as MenubarMenu, bn as MenubarRadioGroup, bo as MenubarRadioItem, bp as MenubarSeparator, bq as MenubarShortcut, br as MenubarSub, bs as MenubarSubContent, bt as MenubarSubTrigger, bu as MenubarTrigger, bv as NavigationMenu, bw as NavigationMenuContent, bx as NavigationMenuIndicator, by as NavigationMenuItem, bz as NavigationMenuLink, bA as NavigationMenuList, bB as NavigationMenuTrigger, bC as NavigationMenuViewport, bD as Pagination, bE as PaginationContent, bF as PaginationEllipsis, bG as PaginationItem, bH as PaginationLink, bI as PaginationNext, bJ as PaginationPrevious, bK as PillSegmentedTab, bL as PillSegmentedTabs, bM as PillSegmentedTabsProps, bN as Popover, bO as PopoverAnchor, bP as PopoverContent, bQ as PopoverTrigger, bR as Progress, bS as RadioGroup, bT as RadioGroupItem, bU as ScrollArea, bV as ScrollBar, bW as Select, bX as SelectContent, bY as SelectGroup, bZ as SelectItem, b_ as SelectLabel, b$ as SelectScrollDownButton, c0 as SelectScrollUpButton, c1 as SelectSeparator, c2 as SelectTrigger, c3 as SelectValue, c4 as Separator, c5 as Sheet, c6 as SheetClose, c7 as SheetContent, c8 as SheetDescription, c9 as SheetFooter, ca as SheetHeader, cb as SheetTitle, cc as SheetTrigger, cd as Shimmer, ce as Skeleton, cf as Slider, cg as Spinner, ch as Switch, ci as Table, cj as TableBody, ck as TableCaption, cl as TableCell, cm as TableFooter, cn as TableHead, co as TableHeader, cp as TableRow, cq as TextShimmerProps, cr as Textarea, cs as Toast, ct as ToastAction, cu as ToastClose, cv as ToastDescription, cw as ToastProps, cx as ToastProvider, cy as ToastTitle, cz as ToastViewport, cA as Toaster, cB as Toggle, cC as ToggleGroup, cD as ToggleGroupItem, cE as Toolbar, cF as ToolbarButton, cG as ToolbarLink, cH as ToolbarSeparator, cI as ToolbarToggleGroup, cJ as ToolbarToggleItem, cK as Tooltip, cL as TooltipContent, cM as TooltipProvider, cN as TooltipTrigger, cO as alertVariants, cP as avatarChartVariantClass, cQ as badgeVariants, cR as controlClass, cS as controlSurfaceClass, cT as formatPickerDate, cU as navigationMenuTriggerStyle, cV as overlayAnimationClass, cW as overlayItemClass, cX as overlayListPanelClass, cY as overlaySurfaceClass, cZ as toast, c_ as toggleVariants, c$ as useToast } from './pill-segmented-tabs-BsIOW1Lo.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
|
@@ -76,7 +76,7 @@ import {
|
|
|
76
76
|
useAppShellNav,
|
|
77
77
|
useInterval,
|
|
78
78
|
useLiveQuery
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-XDIY2WSL.esm.js";
|
|
80
80
|
import {
|
|
81
81
|
THREAD_DEFAULT_MAX_WIDTH,
|
|
82
82
|
assistantMessageContentClass,
|
|
@@ -97,11 +97,11 @@ import {
|
|
|
97
97
|
useOptionalSession,
|
|
98
98
|
useSession,
|
|
99
99
|
useWorkforces
|
|
100
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-MTYXREHK.esm.js";
|
|
101
101
|
import "./chunk-QIABF4KB.esm.js";
|
|
102
102
|
import {
|
|
103
103
|
WorkforceSelector
|
|
104
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-AGJKK6R7.esm.js";
|
|
105
105
|
import {
|
|
106
106
|
ARTIFACT_FENCE_LANGUAGES,
|
|
107
107
|
ArtifactCard,
|
|
@@ -138,6 +138,8 @@ import {
|
|
|
138
138
|
defaultArtifactRenderers,
|
|
139
139
|
fetchCurrentUser,
|
|
140
140
|
findMarkdownArtifacts,
|
|
141
|
+
flushBarCategoryGap,
|
|
142
|
+
flushLineAreaEdgeToEdge,
|
|
141
143
|
getAccessToken,
|
|
142
144
|
getPath,
|
|
143
145
|
getRefreshToken,
|
|
@@ -148,6 +150,8 @@ import {
|
|
|
148
150
|
refreshAccessToken,
|
|
149
151
|
resolveAttachmentAdapter,
|
|
150
152
|
resolveBindable,
|
|
153
|
+
resolveChartMargin,
|
|
154
|
+
resolveTooltipCategory,
|
|
151
155
|
setAccessToken,
|
|
152
156
|
setPath,
|
|
153
157
|
setRefreshToken,
|
|
@@ -161,7 +165,7 @@ import {
|
|
|
161
165
|
useUiDispatch,
|
|
162
166
|
useUiEventEmitter,
|
|
163
167
|
useUiState
|
|
164
|
-
} from "./chunk-
|
|
168
|
+
} from "./chunk-UY7AKWJL.esm.js";
|
|
165
169
|
import {
|
|
166
170
|
Accordion,
|
|
167
171
|
AccordionContent,
|
|
@@ -371,16 +375,17 @@ import {
|
|
|
371
375
|
toast,
|
|
372
376
|
toggleVariants,
|
|
373
377
|
useToast
|
|
374
|
-
} from "./chunk-
|
|
378
|
+
} from "./chunk-4VULP3CJ.esm.js";
|
|
375
379
|
import {
|
|
376
380
|
Checkbox,
|
|
377
381
|
Skeleton
|
|
378
|
-
} from "./chunk-
|
|
382
|
+
} from "./chunk-FEYZUVBM.esm.js";
|
|
379
383
|
import {
|
|
380
384
|
MemoPillSegmentedTabs,
|
|
381
385
|
PillSegmentedTabs
|
|
382
|
-
} from "./chunk-
|
|
386
|
+
} from "./chunk-NAMKO2MU.esm.js";
|
|
383
387
|
import {
|
|
388
|
+
AVATAR_PRIMARY_FALLBACK_CLASS,
|
|
384
389
|
Avatar,
|
|
385
390
|
AvatarFallback,
|
|
386
391
|
AvatarImage,
|
|
@@ -401,6 +406,7 @@ import {
|
|
|
401
406
|
TooltipContent,
|
|
402
407
|
TooltipProvider,
|
|
403
408
|
TooltipTrigger,
|
|
409
|
+
avatarChartVariantClass,
|
|
404
410
|
cn,
|
|
405
411
|
controlClass,
|
|
406
412
|
controlSurfaceClass,
|
|
@@ -408,7 +414,7 @@ import {
|
|
|
408
414
|
overlayItemClass,
|
|
409
415
|
overlayListPanelClass,
|
|
410
416
|
overlaySurfaceClass
|
|
411
|
-
} from "./chunk-
|
|
417
|
+
} from "./chunk-BMXFXLVV.esm.js";
|
|
412
418
|
|
|
413
419
|
// src/index.ts
|
|
414
420
|
import { parseSSELine } from "@timbal-ai/timbal-sdk";
|
|
@@ -434,7 +440,7 @@ The alias \`\`\`timbal\`\`\` is also accepted.
|
|
|
434
440
|
|
|
435
441
|
| \`type\` | Use for |
|
|
436
442
|
|---|---|
|
|
437
|
-
| \`chart\` | Charts. \`chartType\`: \`bar\` \\| \`horizontalBar\` \\| \`line\` \\| \`area\` \\| \`pie\` \\| \`donut\` \\| \`radial\` \\| \`radar\`. Fields: \`data\`, \`xKey\`, \`dataKey\` (or \`series
|
|
443
|
+
| \`chart\` | Charts (bar/pie fills render with theme gradients). \`chartType\`: \`bar\` \\| \`horizontalBar\` \\| \`line\` \\| \`area\` \\| \`pie\` \\| \`donut\` \\| \`radial\` \\| \`radar\`. Fields: \`data\`, \`xKey\`, \`dataKey\` (or \`series\`), \`title\`, \`unit\`. Options: \`stacked\`, \`curve\`, \`dots\`, \`legend\`, \`tooltipIndicator\`, \`colors\`, \`showAxes\` (rare \u2014 default false; category + values in hover tooltip). Colors default to \`--chart-N\`. |
|
|
438
444
|
| \`table\` | Tabular data. Fields: \`rows\`, optional \`columns\`, \`title\`. |
|
|
439
445
|
| \`question\` | In-thread multiple choice. Fields: \`options: [{ id, label, description? }]\`, optional \`prompt\`, \`multi\`. User replies are sent back as a normal user message. |
|
|
440
446
|
| \`html\` | Custom HTML/CSS/JS in an iframe. Fields: \`content\` (HTML document or fragment), optional \`title\`, \`height\`, \`sandboxed\` (default \`true\`; set \`false\` for unrestricted scripts/CDN). |
|
|
@@ -581,6 +587,7 @@ export {
|
|
|
581
587
|
APP_KIT_AGENT_INSTRUCTIONS,
|
|
582
588
|
ARTIFACT_AGENT_INSTRUCTIONS,
|
|
583
589
|
ARTIFACT_FENCE_LANGUAGES,
|
|
590
|
+
AVATAR_PRIMARY_FALLBACK_CLASS,
|
|
584
591
|
Accordion,
|
|
585
592
|
AccordionContent,
|
|
586
593
|
AccordionItem,
|
|
@@ -916,6 +923,7 @@ export {
|
|
|
916
923
|
assistantMessageContentClass,
|
|
917
924
|
assistantMessageRootClass,
|
|
918
925
|
authFetch,
|
|
926
|
+
avatarChartVariantClass,
|
|
919
927
|
badgeVariants,
|
|
920
928
|
clearTimbalTheme,
|
|
921
929
|
clearTokens,
|
|
@@ -930,6 +938,8 @@ export {
|
|
|
930
938
|
ensureThemeFontLink,
|
|
931
939
|
fetchCurrentUser,
|
|
932
940
|
findMarkdownArtifacts,
|
|
941
|
+
flushBarCategoryGap,
|
|
942
|
+
flushLineAreaEdgeToEdge,
|
|
933
943
|
formatLintReport,
|
|
934
944
|
formatPickerDate,
|
|
935
945
|
getAccessToken,
|
|
@@ -951,6 +961,8 @@ export {
|
|
|
951
961
|
refreshAccessToken,
|
|
952
962
|
resolveAttachmentAdapter,
|
|
953
963
|
resolveBindable,
|
|
964
|
+
resolveChartMargin,
|
|
965
|
+
resolveTooltipCategory,
|
|
954
966
|
reviewGeneratedUi,
|
|
955
967
|
setAccessToken,
|
|
956
968
|
setPath,
|
|
@@ -12,11 +12,39 @@ declare function Tooltip({ ...props }: React.ComponentProps<typeof Tooltip$1.Roo
|
|
|
12
12
|
declare function TooltipTrigger({ ...props }: React.ComponentProps<typeof Tooltip$1.Trigger>): react_jsx_runtime.JSX.Element;
|
|
13
13
|
declare function TooltipContent({ className, sideOffset, children, ...props }: React.ComponentProps<typeof Tooltip$1.Content>): react_jsx_runtime.JSX.Element;
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
type AvatarVariant = "muted" | "secondary" | "primary" | "chart";
|
|
16
|
+
/**
|
|
17
|
+
* Action-button chrome for initials — matches `Button variant="secondary"` (elevated
|
|
18
|
+
* gradient, border, shadow, foreground text). `variant="primary"` / `"chart"` use this too.
|
|
19
|
+
*/
|
|
20
|
+
declare const AVATAR_PRIMARY_FALLBACK_CLASS: string;
|
|
21
|
+
/**
|
|
22
|
+
* @deprecated Name retained for API stability — returns Action-button (secondary) surface.
|
|
23
|
+
*/
|
|
24
|
+
declare function avatarChartVariantClass(_seed?: string): string;
|
|
25
|
+
declare const AVATAR_SIZE_CLASS: {
|
|
26
|
+
readonly default: "size-8";
|
|
27
|
+
readonly sm: "size-6";
|
|
28
|
+
readonly lg: "size-10";
|
|
29
|
+
};
|
|
30
|
+
declare function Avatar({ className, size, variant: rootVariant, children, ...props }: React.ComponentProps<typeof Avatar$1.Root> & {
|
|
31
|
+
size?: keyof typeof AVATAR_SIZE_CLASS;
|
|
32
|
+
/**
|
|
33
|
+
* `secondary` / `primary` / `chart` — elevated Action-button chrome on the root.
|
|
34
|
+
* Prefer `secondary`; `primary` is an alias for the same look (not dark primary CTA).
|
|
35
|
+
*/
|
|
36
|
+
variant?: AvatarVariant;
|
|
17
37
|
}): react_jsx_runtime.JSX.Element;
|
|
18
38
|
declare function AvatarImage({ className, ...props }: React.ComponentProps<typeof Avatar$1.Image>): react_jsx_runtime.JSX.Element;
|
|
19
|
-
declare function AvatarFallback({ className, ...props }: React.ComponentProps<typeof Avatar$1.Fallback>
|
|
39
|
+
declare function AvatarFallback({ className, variant, seed: _seed, children, style, ...props }: React.ComponentProps<typeof Avatar$1.Fallback> & {
|
|
40
|
+
/**
|
|
41
|
+
* `secondary` — Action button look (`Button variant="secondary"`).
|
|
42
|
+
* `primary` / `chart` — same as `secondary` (aliases for prompts).
|
|
43
|
+
*/
|
|
44
|
+
variant?: AvatarVariant;
|
|
45
|
+
/** Reserved for API compatibility; color no longer varies by seed. */
|
|
46
|
+
seed?: string;
|
|
47
|
+
}): react_jsx_runtime.JSX.Element;
|
|
20
48
|
|
|
21
49
|
declare function Dialog({ ...props }: React.ComponentProps<typeof Dialog$1.Root>): react_jsx_runtime.JSX.Element;
|
|
22
50
|
declare function DialogTrigger({ ...props }: React.ComponentProps<typeof Dialog$1.Trigger>): react_jsx_runtime.JSX.Element;
|
|
@@ -497,4 +525,4 @@ interface PillSegmentedTabsProps {
|
|
|
497
525
|
declare const PillSegmentedTabs: FC<PillSegmentedTabsProps>;
|
|
498
526
|
declare const MemoPillSegmentedTabs: React.NamedExoticComponent<PillSegmentedTabsProps>;
|
|
499
527
|
|
|
500
|
-
export {
|
|
528
|
+
export { ComboboxSeparator as $, AVATAR_PRIMARY_FALLBACK_CLASS as A, Badge as B, BreadcrumbList as C, BreadcrumbPage as D, BreadcrumbSeparator as E, CONTROL_SIZE as F, Calendar as G, CalendarDayButton as H, Card as I, CardContent as J, CardDescription as K, CardFooter as L, CardHeader as M, CardTitle as N, Checkbox as O, Collapsible as P, CollapsibleContent as Q, CollapsibleTrigger as R, Combobox as S, ComboboxAnchor as T, ComboboxCommand as U, ComboboxContent as V, ComboboxEmpty as W, ComboboxGroup as X, ComboboxInput as Y, ComboboxItem as Z, ComboboxList as _, Accordion as a, FormSubmit as a$, ComboboxShortcut as a0, ComboboxTrigger as a1, Command as a2, CommandDialog as a3, CommandEmpty as a4, CommandGroup as a5, CommandInput as a6, CommandItem as a7, CommandList as a8, CommandSeparator as a9, DialogDescription as aA, DialogFooter as aB, DialogHeader as aC, DialogOverlay as aD, DialogPortal as aE, DialogTitle as aF, DialogTrigger as aG, DropdownMenu as aH, DropdownMenuCheckboxItem as aI, DropdownMenuContent as aJ, DropdownMenuGroup as aK, DropdownMenuItem as aL, DropdownMenuLabel as aM, DropdownMenuRadioGroup as aN, DropdownMenuRadioItem as aO, DropdownMenuSeparator as aP, DropdownMenuShortcut as aQ, DropdownMenuSub as aR, DropdownMenuSubContent as aS, DropdownMenuSubTrigger as aT, DropdownMenuTrigger as aU, Form as aV, FormControl as aW, FormField as aX, FormItem as aY, FormLabel as aZ, FormMessage as a_, CommandShortcut as aa, ContextMenu as ab, ContextMenuCheckboxItem as ac, ContextMenuContent as ad, ContextMenuGroup as ae, ContextMenuItem as af, ContextMenuLabel as ag, ContextMenuRadioGroup as ah, ContextMenuRadioItem as ai, ContextMenuSeparator as aj, ContextMenuShortcut as ak, ContextMenuSub as al, ContextMenuSubContent as am, ContextMenuSubTrigger as an, ContextMenuTrigger as ao, type ControlClassOptions as ap, type ControlShape as aq, type ControlSize as ar, DatePicker as as, DatePickerButton as at, DatePickerCalendar as au, DatePickerContent as av, DatePickerTrigger as aw, Dialog as ax, DialogClose as ay, DialogContent as az, AccordionContent as b, SelectScrollDownButton as b$, HoverCard as b0, HoverCardContent as b1, HoverCardTrigger as b2, Input as b3, InputGroup as b4, InputGroupAddon as b5, InputGroupInput as b6, InputGroupText as b7, InputOTP as b8, InputOTPGroup as b9, NavigationMenuList as bA, NavigationMenuTrigger as bB, NavigationMenuViewport as bC, Pagination as bD, PaginationContent as bE, PaginationEllipsis as bF, PaginationItem as bG, PaginationLink as bH, PaginationNext as bI, PaginationPrevious as bJ, type PillSegmentedTab as bK, PillSegmentedTabs as bL, type PillSegmentedTabsProps as bM, Popover as bN, PopoverAnchor as bO, PopoverContent as bP, PopoverTrigger as bQ, Progress as bR, RadioGroup as bS, RadioGroupItem as bT, ScrollArea as bU, ScrollBar as bV, Select as bW, SelectContent as bX, SelectGroup as bY, SelectItem as bZ, SelectLabel as b_, InputOTPHiddenInput as ba, InputOTPSeparator as bb, InputOTPSlot as bc, Kbd as bd, KbdGroup as be, Label as bf, MemoPillSegmentedTabs as bg, Menubar as bh, MenubarCheckboxItem as bi, MenubarContent as bj, MenubarItem as bk, MenubarLabel as bl, MenubarMenu as bm, MenubarRadioGroup as bn, MenubarRadioItem as bo, MenubarSeparator as bp, MenubarShortcut as bq, MenubarSub as br, MenubarSubContent as bs, MenubarSubTrigger as bt, MenubarTrigger as bu, NavigationMenu as bv, NavigationMenuContent as bw, NavigationMenuIndicator as bx, NavigationMenuItem as by, NavigationMenuLink as bz, AccordionItem as c, useToast as c$, SelectScrollUpButton as c0, SelectSeparator as c1, SelectTrigger as c2, SelectValue as c3, Separator as c4, Sheet as c5, SheetClose as c6, SheetContent as c7, SheetDescription as c8, SheetFooter as c9, Toaster as cA, Toggle as cB, ToggleGroup as cC, ToggleGroupItem as cD, Toolbar as cE, ToolbarButton as cF, ToolbarLink as cG, ToolbarSeparator as cH, ToolbarToggleGroup as cI, ToolbarToggleItem as cJ, Tooltip as cK, TooltipContent as cL, TooltipProvider as cM, TooltipTrigger as cN, alertVariants as cO, avatarChartVariantClass as cP, badgeVariants as cQ, controlClass as cR, controlSurfaceClass as cS, formatPickerDate as cT, navigationMenuTriggerStyle as cU, overlayAnimationClass as cV, overlayItemClass as cW, overlayListPanelClass as cX, overlaySurfaceClass as cY, toast as cZ, toggleVariants as c_, SheetHeader as ca, SheetTitle as cb, SheetTrigger as cc, Shimmer as cd, Skeleton as ce, Slider as cf, Spinner as cg, Switch as ch, Table as ci, TableBody as cj, TableCaption as ck, TableCell as cl, TableFooter as cm, TableHead as cn, TableHeader as co, TableRow as cp, type TextShimmerProps as cq, Textarea as cr, Toast as cs, ToastAction as ct, ToastClose as cu, ToastDescription as cv, type ToastProps as cw, ToastProvider as cx, ToastTitle as cy, ToastViewport as cz, AccordionTrigger as d, Alert as e, AlertDescription as f, AlertDialog as g, AlertDialogAction as h, AlertDialogCancel as i, AlertDialogContent as j, AlertDialogDescription as k, AlertDialogFooter as l, AlertDialogHeader as m, AlertDialogOverlay as n, AlertDialogPortal as o, AlertDialogTitle as p, AlertDialogTrigger as q, AlertTitle as r, AspectRatio as s, Avatar as t, AvatarFallback as u, AvatarImage as v, Breadcrumb as w, BreadcrumbEllipsis as x, BreadcrumbItem as y, BreadcrumbLink as z };
|
|
@@ -12,11 +12,39 @@ declare function Tooltip({ ...props }: React.ComponentProps<typeof Tooltip$1.Roo
|
|
|
12
12
|
declare function TooltipTrigger({ ...props }: React.ComponentProps<typeof Tooltip$1.Trigger>): react_jsx_runtime.JSX.Element;
|
|
13
13
|
declare function TooltipContent({ className, sideOffset, children, ...props }: React.ComponentProps<typeof Tooltip$1.Content>): react_jsx_runtime.JSX.Element;
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
type AvatarVariant = "muted" | "secondary" | "primary" | "chart";
|
|
16
|
+
/**
|
|
17
|
+
* Action-button chrome for initials — matches `Button variant="secondary"` (elevated
|
|
18
|
+
* gradient, border, shadow, foreground text). `variant="primary"` / `"chart"` use this too.
|
|
19
|
+
*/
|
|
20
|
+
declare const AVATAR_PRIMARY_FALLBACK_CLASS: string;
|
|
21
|
+
/**
|
|
22
|
+
* @deprecated Name retained for API stability — returns Action-button (secondary) surface.
|
|
23
|
+
*/
|
|
24
|
+
declare function avatarChartVariantClass(_seed?: string): string;
|
|
25
|
+
declare const AVATAR_SIZE_CLASS: {
|
|
26
|
+
readonly default: "size-8";
|
|
27
|
+
readonly sm: "size-6";
|
|
28
|
+
readonly lg: "size-10";
|
|
29
|
+
};
|
|
30
|
+
declare function Avatar({ className, size, variant: rootVariant, children, ...props }: React.ComponentProps<typeof Avatar$1.Root> & {
|
|
31
|
+
size?: keyof typeof AVATAR_SIZE_CLASS;
|
|
32
|
+
/**
|
|
33
|
+
* `secondary` / `primary` / `chart` — elevated Action-button chrome on the root.
|
|
34
|
+
* Prefer `secondary`; `primary` is an alias for the same look (not dark primary CTA).
|
|
35
|
+
*/
|
|
36
|
+
variant?: AvatarVariant;
|
|
17
37
|
}): react_jsx_runtime.JSX.Element;
|
|
18
38
|
declare function AvatarImage({ className, ...props }: React.ComponentProps<typeof Avatar$1.Image>): react_jsx_runtime.JSX.Element;
|
|
19
|
-
declare function AvatarFallback({ className, ...props }: React.ComponentProps<typeof Avatar$1.Fallback>
|
|
39
|
+
declare function AvatarFallback({ className, variant, seed: _seed, children, style, ...props }: React.ComponentProps<typeof Avatar$1.Fallback> & {
|
|
40
|
+
/**
|
|
41
|
+
* `secondary` — Action button look (`Button variant="secondary"`).
|
|
42
|
+
* `primary` / `chart` — same as `secondary` (aliases for prompts).
|
|
43
|
+
*/
|
|
44
|
+
variant?: AvatarVariant;
|
|
45
|
+
/** Reserved for API compatibility; color no longer varies by seed. */
|
|
46
|
+
seed?: string;
|
|
47
|
+
}): react_jsx_runtime.JSX.Element;
|
|
20
48
|
|
|
21
49
|
declare function Dialog({ ...props }: React.ComponentProps<typeof Dialog$1.Root>): react_jsx_runtime.JSX.Element;
|
|
22
50
|
declare function DialogTrigger({ ...props }: React.ComponentProps<typeof Dialog$1.Trigger>): react_jsx_runtime.JSX.Element;
|
|
@@ -497,4 +525,4 @@ interface PillSegmentedTabsProps {
|
|
|
497
525
|
declare const PillSegmentedTabs: FC<PillSegmentedTabsProps>;
|
|
498
526
|
declare const MemoPillSegmentedTabs: React.NamedExoticComponent<PillSegmentedTabsProps>;
|
|
499
527
|
|
|
500
|
-
export {
|
|
528
|
+
export { ComboboxSeparator as $, AVATAR_PRIMARY_FALLBACK_CLASS as A, Badge as B, BreadcrumbList as C, BreadcrumbPage as D, BreadcrumbSeparator as E, CONTROL_SIZE as F, Calendar as G, CalendarDayButton as H, Card as I, CardContent as J, CardDescription as K, CardFooter as L, CardHeader as M, CardTitle as N, Checkbox as O, Collapsible as P, CollapsibleContent as Q, CollapsibleTrigger as R, Combobox as S, ComboboxAnchor as T, ComboboxCommand as U, ComboboxContent as V, ComboboxEmpty as W, ComboboxGroup as X, ComboboxInput as Y, ComboboxItem as Z, ComboboxList as _, Accordion as a, FormSubmit as a$, ComboboxShortcut as a0, ComboboxTrigger as a1, Command as a2, CommandDialog as a3, CommandEmpty as a4, CommandGroup as a5, CommandInput as a6, CommandItem as a7, CommandList as a8, CommandSeparator as a9, DialogDescription as aA, DialogFooter as aB, DialogHeader as aC, DialogOverlay as aD, DialogPortal as aE, DialogTitle as aF, DialogTrigger as aG, DropdownMenu as aH, DropdownMenuCheckboxItem as aI, DropdownMenuContent as aJ, DropdownMenuGroup as aK, DropdownMenuItem as aL, DropdownMenuLabel as aM, DropdownMenuRadioGroup as aN, DropdownMenuRadioItem as aO, DropdownMenuSeparator as aP, DropdownMenuShortcut as aQ, DropdownMenuSub as aR, DropdownMenuSubContent as aS, DropdownMenuSubTrigger as aT, DropdownMenuTrigger as aU, Form as aV, FormControl as aW, FormField as aX, FormItem as aY, FormLabel as aZ, FormMessage as a_, CommandShortcut as aa, ContextMenu as ab, ContextMenuCheckboxItem as ac, ContextMenuContent as ad, ContextMenuGroup as ae, ContextMenuItem as af, ContextMenuLabel as ag, ContextMenuRadioGroup as ah, ContextMenuRadioItem as ai, ContextMenuSeparator as aj, ContextMenuShortcut as ak, ContextMenuSub as al, ContextMenuSubContent as am, ContextMenuSubTrigger as an, ContextMenuTrigger as ao, type ControlClassOptions as ap, type ControlShape as aq, type ControlSize as ar, DatePicker as as, DatePickerButton as at, DatePickerCalendar as au, DatePickerContent as av, DatePickerTrigger as aw, Dialog as ax, DialogClose as ay, DialogContent as az, AccordionContent as b, SelectScrollDownButton as b$, HoverCard as b0, HoverCardContent as b1, HoverCardTrigger as b2, Input as b3, InputGroup as b4, InputGroupAddon as b5, InputGroupInput as b6, InputGroupText as b7, InputOTP as b8, InputOTPGroup as b9, NavigationMenuList as bA, NavigationMenuTrigger as bB, NavigationMenuViewport as bC, Pagination as bD, PaginationContent as bE, PaginationEllipsis as bF, PaginationItem as bG, PaginationLink as bH, PaginationNext as bI, PaginationPrevious as bJ, type PillSegmentedTab as bK, PillSegmentedTabs as bL, type PillSegmentedTabsProps as bM, Popover as bN, PopoverAnchor as bO, PopoverContent as bP, PopoverTrigger as bQ, Progress as bR, RadioGroup as bS, RadioGroupItem as bT, ScrollArea as bU, ScrollBar as bV, Select as bW, SelectContent as bX, SelectGroup as bY, SelectItem as bZ, SelectLabel as b_, InputOTPHiddenInput as ba, InputOTPSeparator as bb, InputOTPSlot as bc, Kbd as bd, KbdGroup as be, Label as bf, MemoPillSegmentedTabs as bg, Menubar as bh, MenubarCheckboxItem as bi, MenubarContent as bj, MenubarItem as bk, MenubarLabel as bl, MenubarMenu as bm, MenubarRadioGroup as bn, MenubarRadioItem as bo, MenubarSeparator as bp, MenubarShortcut as bq, MenubarSub as br, MenubarSubContent as bs, MenubarSubTrigger as bt, MenubarTrigger as bu, NavigationMenu as bv, NavigationMenuContent as bw, NavigationMenuIndicator as bx, NavigationMenuItem as by, NavigationMenuLink as bz, AccordionItem as c, useToast as c$, SelectScrollUpButton as c0, SelectSeparator as c1, SelectTrigger as c2, SelectValue as c3, Separator as c4, Sheet as c5, SheetClose as c6, SheetContent as c7, SheetDescription as c8, SheetFooter as c9, Toaster as cA, Toggle as cB, ToggleGroup as cC, ToggleGroupItem as cD, Toolbar as cE, ToolbarButton as cF, ToolbarLink as cG, ToolbarSeparator as cH, ToolbarToggleGroup as cI, ToolbarToggleItem as cJ, Tooltip as cK, TooltipContent as cL, TooltipProvider as cM, TooltipTrigger as cN, alertVariants as cO, avatarChartVariantClass as cP, badgeVariants as cQ, controlClass as cR, controlSurfaceClass as cS, formatPickerDate as cT, navigationMenuTriggerStyle as cU, overlayAnimationClass as cV, overlayItemClass as cW, overlayListPanelClass as cX, overlaySurfaceClass as cY, toast as cZ, toggleVariants as c_, SheetHeader as ca, SheetTitle as cb, SheetTrigger as cc, Shimmer as cd, Skeleton as ce, Slider as cf, Spinner as cg, Switch as ch, Table as ci, TableBody as cj, TableCaption as ck, TableCell as cl, TableFooter as cm, TableHead as cn, TableHeader as co, TableRow as cp, type TextShimmerProps as cq, Textarea as cr, Toast as cs, ToastAction as ct, ToastClose as cu, ToastDescription as cv, type ToastProps as cw, ToastProvider as cx, ToastTitle as cy, ToastViewport as cz, AccordionTrigger as d, Alert as e, AlertDescription as f, AlertDialog as g, AlertDialogAction as h, AlertDialogCancel as i, AlertDialogContent as j, AlertDialogDescription as k, AlertDialogFooter as l, AlertDialogHeader as m, AlertDialogOverlay as n, AlertDialogPortal as o, AlertDialogTitle as p, AlertDialogTrigger as q, AlertTitle as r, AspectRatio as s, Avatar as t, AvatarFallback as u, AvatarImage as v, Breadcrumb as w, BreadcrumbEllipsis as x, BreadcrumbItem as y, BreadcrumbLink as z };
|