@timbal-ai/timbal-react 1.5.0 → 1.6.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 +17 -1
- package/README.md +25 -0
- package/dist/app.cjs +855 -640
- package/dist/app.d.cts +4 -4
- package/dist/app.d.ts +4 -4
- package/dist/app.esm.js +6 -6
- package/dist/{chart-artifact-2OTDTRwM.d.ts → chart-artifact-C2pZQsaP.d.ts} +81 -29
- package/dist/{chart-artifact-CS3qyGIY.d.cts → chart-artifact-VAqgH-My.d.cts} +81 -29
- package/dist/{chat-ClmzWzCX.d.cts → chat-DDsp-Vzz.d.cts} +1 -1
- package/dist/{chat-ClmzWzCX.d.ts → chat-DDsp-Vzz.d.ts} +1 -1
- package/dist/chat.cjs +26 -26
- package/dist/chat.d.cts +3 -3
- package/dist/chat.d.ts +3 -3
- package/dist/chat.esm.js +3 -3
- package/dist/{chunk-TZI3ID3C.esm.js → chunk-24B4I4XC.esm.js} +3 -3
- package/dist/{chunk-SZDYIRMB.esm.js → chunk-6SQMTBPL.esm.js} +618 -530
- package/dist/{chunk-QIABF4KB.esm.js → chunk-ELEY66OH.esm.js} +2 -2
- package/dist/{chunk-WMKPT5BV.esm.js → chunk-HSL36SJ4.esm.js} +6 -6
- package/dist/chunk-JJOO4PR5.esm.js +391 -0
- package/dist/{chunk-AZL2WANO.esm.js → chunk-MBS7XHV2.esm.js} +28 -28
- package/dist/{chunk-5ECRZ5O7.esm.js → chunk-NO5AWNWT.esm.js} +224 -57
- package/dist/{chunk-ZNYAETFD.esm.js → chunk-R4RQT2XQ.esm.js} +2 -2
- package/dist/{chunk-JYDJRGDE.esm.js → chunk-TMP7RIA7.esm.js} +2 -2
- package/dist/{chunk-IGHBLJV3.esm.js → chunk-WQIQW7EM.esm.js} +3 -2
- package/dist/{chunk-B4XAC4G7.esm.js → chunk-YYEI6XME.esm.js} +361 -527
- package/dist/{circular-progress-CDsJwIPF.d.cts → circular-progress-B9nnwzCu.d.cts} +1 -1
- package/dist/{circular-progress-CDsJwIPF.d.ts → circular-progress-B9nnwzCu.d.ts} +1 -1
- package/dist/index.cjs +1327 -852
- package/dist/index.d.cts +9 -8
- package/dist/index.d.ts +9 -8
- package/dist/index.esm.js +40 -20
- package/dist/{kanban-U5xNe9py.d.cts → kanban-FFBeaZPS.d.cts} +4 -4
- package/dist/{kanban-U5xNe9py.d.ts → kanban-FFBeaZPS.d.ts} +4 -4
- package/dist/{layout-B8r6Jbat.d.ts → layout-CuKeSY74.d.ts} +1 -1
- package/dist/{layout-Cu7Ijn04.d.cts → layout-PzVwkJyL.d.cts} +1 -1
- package/dist/site.cjs +71 -0
- package/dist/site.d.cts +15 -1
- package/dist/site.d.ts +15 -1
- package/dist/site.esm.js +12 -311
- package/dist/studio.cjs +31 -31
- package/dist/studio.d.cts +2 -2
- package/dist/studio.d.ts +2 -2
- package/dist/studio.esm.js +7 -7
- package/dist/{timbal-v2-button-B7vPs7gg.d.ts → timbal-v2-button-DCAZNyUx.d.cts} +1 -1
- package/dist/{timbal-v2-button-B7vPs7gg.d.cts → timbal-v2-button-DCAZNyUx.d.ts} +1 -1
- package/dist/ui.cjs +77 -77
- package/dist/ui.d.cts +3 -3
- package/dist/ui.d.ts +3 -3
- package/dist/ui.esm.js +15 -15
- package/dist/{welcome-NXZlcihe.d.cts → welcome-B00oH5Io.d.cts} +1 -1
- package/dist/{welcome-DduQAC4K.d.ts → welcome-DU-4NTjZ.d.ts} +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,18 +1,19 @@
|
|
|
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,
|
|
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-DDsp-Vzz.cjs';
|
|
2
|
+
export { K as ArtifactRegistry, L as ArtifactRegistryProvider, M as ArtifactRenderer, N as ArtifactRendererProps, O as ArtifactView, B as ChartArtifact, D as ChartSeriesConfig, C as ChatAttachment, a as ChatMessage, b as Composer, c as ComposerProps, d as ContentPart, P as CreateDefaultAttachmentAdapterOptions, R as CreateUploadAttachmentAdapterOptions, V as DEFAULT_UPLOAD_ACCEPT, W as QuestionOption, X as ResolveAttachmentAdapterOptions, S as SendOptions, e as Suggestions, f as SuggestionsComponent, g as SuggestionsSlotProps, h as SuggestionsSource, T as TextContentPart, i as ThinkingContentPart, j as Thread, k as ThreadArtifactsConfig, l as ThreadComponents, m as ThreadProps, n as ThreadSuggestion, o as ThreadSuggestionsProps, p as ThreadVariant, q as ThreadWelcomeConfig, r as ThreadWelcomeProps, Y as TimbalArtifact, Z as TimbalAttachmentsConfig, _ as TimbalAttachmentsProp, s as TimbalChat, t as TimbalChatProps, u as TimbalRuntimeProvider, v as TimbalRuntimeProviderProps, w as TimbalStreamApi, x 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, y as useResolvedSuggestions, z as useTimbalRuntime, A as useTimbalStream, ae as useUiCustomNodeRegistry, af as useUiDispatch, ag as useUiEventEmitter, ah as useUiState } from './chat-DDsp-Vzz.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-
|
|
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-
|
|
9
|
-
export { d as APP_KIT_AGENT_INSTRUCTIONS, u as AppBreadcrumbItem, e as AppChatPanel, f as AppChatPanelProps, g as AppConfirmDialog, h as AppConfirmDialogProps, i as AppCopilotContextValue, j as AppCopilotProvider, k as AppCopilotProviderProps, l as AppPageWidth, m as AppShell, n as AppShellChatControls, o as AppShellChatTrigger, p as AppShellChatTriggerProps, q as AppShellNavControls, r as AppShellProps, s as AppShellSidebarTrigger, t as AppShellSidebarTriggerProps, B as BreadcrumbEntry, v as Breadcrumbs, w as BreadcrumbsProps, C as CHART_PALETTE, x as COLOR_UTILITY_PREFIXES, y as ChartArtifactView, E as ChartPanel, F as ChartPanelProps, G as ChartSeries, H as ChartTooltipIndicator, I as ChartVariant, J as ConnectionRow, K as ConnectionRowList, L as ConnectionRowListProps, M as ConnectionRowProps, N as
|
|
10
|
-
export {
|
|
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-B00oH5Io.cjs';
|
|
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-PzVwkJyL.cjs';
|
|
9
|
+
export { d as APP_KIT_AGENT_INSTRUCTIONS, u as AppBreadcrumbItem, e as AppChatPanel, f as AppChatPanelProps, g as AppConfirmDialog, h as AppConfirmDialogProps, i as AppCopilotContextValue, j as AppCopilotProvider, k as AppCopilotProviderProps, l as AppPageWidth, m as AppShell, n as AppShellChatControls, o as AppShellChatTrigger, p as AppShellChatTriggerProps, q as AppShellNavControls, r as AppShellProps, s as AppShellSidebarTrigger, t as AppShellSidebarTriggerProps, B as BreadcrumbEntry, v as Breadcrumbs, w as BreadcrumbsProps, C as CHART_PALETTE, x as COLOR_UTILITY_PREFIXES, y as ChartArtifactView, E as ChartPanel, F as ChartPanelProps, G as ChartSeries, H as ChartTooltipIndicator, I as ChartVariant, J as ConnectionRow, K as ConnectionRowList, L as ConnectionRowListProps, M as ConnectionRowProps, N as DangerZone, O as DangerZoneAction, P as DangerZoneActionProps, Q as DangerZoneProps, R as DataTable, T as DataTableColumn, U as DataTableProps, V as DataTableSort, W as DataTableSortDirection, X as DescriptionItem, Y as DescriptionList, Z as DescriptionListProps, _ as EmptyState, $ as EmptyStateProps, a0 as ExpandableSection, a1 as ExpandableSectionProps, a2 as Field, a3 as FieldInput, a4 as FieldInputProps, a5 as FieldProps, a6 as FieldRow, a7 as FieldRowProps, a8 as FieldSelect, a9 as FieldSelectProps, aa as FieldSwitch, ab as FieldSwitchProps, ac as FieldTextarea, ad as FieldTextareaProps, ae as FilterBar, af as FilterBarProps, ag as FilterDatePreset, ah as FilterDateRangeValue, ai as FilterDropdown, aj as FilterDropdownProps, ak as FilterField, al as FilterFieldDef, am as FilterFieldProps, an as FilterFieldType, ao as FilterNumericOperatorOption, ap as FilterNumericValue, aq as FilterSelectOption, ar as FilterValue, as as FilterValues, at as FloatingUnsavedChangesBar, au as FloatingUnsavedChangesBarProps, av as FormSection, aw as FormSectionProps, ax as HOUSE_RULES, ay as HouseRule, az 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 LintFinding, aL as LintOptions, aM as LintResult, aN as LintSeverity, aO as MetricChartCard, aP as MetricChartCardProps, aQ as MetricChartMetric, aR as MetricRow, aS as MetricRowItem, aT as MetricRowProps, aU as MetricTile, aV as MetricTileProps, aW as NumericOperator, aX as Page, aY as PageHeader, aZ as PageHeaderProps, a_ as PageProps, a$ as PieChart, b0 as PieChartProps, b1 as PlanBadge, b2 as PlanBadgeProps, b3 as PlanBadgeTone, b4 as RESERVED_GRADIENT_TOKENS, b5 as RadarChart, b6 as RadarChartProps, b7 as RadialChart, b8 as RadialChartProps, b9 as ResourceCard, ba as ResourceCardProps, bb as ReviewResult, bc as SEMANTIC_COLOR_TOKENS, bd as SLOP_BUDGETS, be as SearchInput, bf as SearchInputProps, bg as Section, bh as SectionProps, bi as SemanticColorToken, bj as SettingsSection, bk as SettingsSectionHeader, bl as SettingsSectionHeaderProps, bm as SettingsSectionProps, bn as Sparkline, bo as SparklineProps, bp as Stack, bq as StackAlign, br as StackGap, bs as StackJustify, bt as StackProps, bu as StatTile, bv as StatTileProps, bw as StatTileTone, bx as StatusBadge, by as StatusBadgeProps, S as StatusBadgeTone, bz as StatusDot, bA as StatusDotProps, bB as StatusDotTone, bC as SubNav, bD as SubNavItem, bE as SubNavProps, bF as SurfaceCard, bG as SurfaceCardProps, bH as SurfaceCardTone, bI as SurfaceCardVariant, bJ as TAILWIND_PALETTE_COLORS, bK as THEME_AGENT_INSTRUCTIONS, bL as TIMBAL_THEME_PRESETS, bM as ThemeShadow, bN as ThemeToCssOptions, bO as ThemeTokenMap, bP as TimbalThemeIntent, bQ as TimbalThemePreset, bR as TimbalThemePresetId, bS as TimbalThemeStyle, bT as TimbalThemeStyleProps, bU as TimbalThemeTokens, bV as TimbalThemeTypography, bW as UI_REVIEW_AGENT_INSTRUCTIONS, bX as UseLiveQueryOptions, bY as UseLiveQueryResult, c5 as applyThemePreset, c6 as applyTimbalTheme, c7 as clearTimbalTheme, c8 as connectionRowListClass, c9 as createTimbalTheme, ca as ensureThemeFontLink, cb as flushBarCategoryGap, cc as flushLineAreaEdgeToEdge, cd as formatLintReport, ce as getStoredThemePreset, cf as getThemePreset, cg as lintGeneratedUi, ch as resolveChartMargin, ci as resolveTooltipCategory, cj as reviewGeneratedUi, ck as themeToCss, cl as useAppCopilotContext, cm as useAppShellChat, cn as useAppShellNav, co as useInterval, cp as useLiveQuery } from './chart-artifact-VAqgH-My.cjs';
|
|
10
|
+
export { A as AVATAR_PRIMARY_FALLBACK_CLASS, a as Avatar, b as AvatarFallback, c as AvatarImage, B as Banner, d as BannerProps, e as BannerSize, f as BannerTone, g as BannerVariant, h as Button, i as ButtonColor, K as Kanban, j as KanbanCardData, k as KanbanCardVariant, l as KanbanColumnData, m as KanbanDensity, n as KanbanDragHandleProps, o as KanbanLocation, p as KanbanMoveEvent, q as KanbanProps, r as KanbanRenderCardContext, s as KanbanTone, T as Timeline, t as TimelineItem, u as TimelineProps, v as TimelineSize, U as UntitledButton, w as UntitledButtonColor, x as UntitledButtonProps, y as UntitledButtonSize, z as avatarChartVariantClass, C as untitledButtonVariants } from './kanban-FFBeaZPS.cjs';
|
|
11
11
|
import React__default, { FC, ReactNode } from 'react';
|
|
12
|
-
export { A as Accordion, a as AccordionContent, b as AccordionItem, c as AccordionTrigger, d as Alert, e as AlertDescription, f as AlertDialog, g as AlertDialogAction, h as AlertDialogCancel, i as AlertDialogContent, j as AlertDialogDescription, k as AlertDialogFooter, l as AlertDialogHeader, m as AlertDialogOverlay, n as AlertDialogPortal, o as AlertDialogTitle, p as AlertDialogTrigger, q as AlertTitle, r as AspectRatio, s as AvatarGroup, t as AvatarGroupProps, B as Badge, u as Breadcrumb, v as BreadcrumbEllipsis, w as BreadcrumbItem, x as BreadcrumbLink, y as BreadcrumbList, z as BreadcrumbPage, C as BreadcrumbSeparator, D as CONTROL_SIZE, E as Calendar, F as CalendarDayButton, G as Card, H as CardContent, I as CardDescription, J as CardFooter, K as CardHeader, L as CardTitle, M as Checkbox, N as CircularProgress, O as CircularProgressProps, 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 CopyButton, at as CopyButtonProps, au as DatePicker, av as DatePickerButton, aw as DatePickerCalendar, ax as DatePickerContent, ay as DatePickerTrigger, az as Dialog, aA as DialogClose, aB as DialogContent, aC as DialogDescription, aD as DialogFooter, aE as DialogHeader, aF as DialogOverlay, aG as DialogPortal, aH as DialogTitle, aI as DialogTrigger, aJ as DropdownMenu, aK as DropdownMenuCheckboxItem, aL as DropdownMenuContent, aM as DropdownMenuGroup, aN as DropdownMenuItem, aO as DropdownMenuLabel, aP as DropdownMenuRadioGroup, aQ as DropdownMenuRadioItem, aR as DropdownMenuSeparator, aS as DropdownMenuShortcut, aT as DropdownMenuSub, aU as DropdownMenuSubContent, aV as DropdownMenuSubTrigger, aW as DropdownMenuTrigger, aX as Form, aY as FormControl, aZ as FormField, a_ as FormItem, a$ as FormLabel, b0 as FormMessage, b1 as FormSubmit, b2 as HoverCard, b3 as HoverCardContent, b4 as HoverCardTrigger, b5 as Input, b6 as InputGroup, b7 as InputGroupAddon, b8 as InputGroupInput, b9 as InputGroupText, ba as InputOTP, bb as InputOTPGroup, bc as InputOTPHiddenInput, bd as InputOTPSeparator, be as InputOTPSlot, bf as Kbd, bg as KbdGroup, bh as Label, bi as MemoPillSegmentedTabs, bj as Menubar, bk as MenubarCheckboxItem, bl as MenubarContent, bm as MenubarItem, bn as MenubarLabel, bo as MenubarMenu, bp as MenubarRadioGroup, bq as MenubarRadioItem, br as MenubarSeparator, bs as MenubarShortcut, bt as MenubarSub, bu as MenubarSubContent, bv as MenubarSubTrigger, bw as MenubarTrigger, bx as NavigationMenu, by as NavigationMenuContent, bz as NavigationMenuIndicator, bA as NavigationMenuItem, bB as NavigationMenuLink, bC as NavigationMenuList, bD as NavigationMenuTrigger, bE as NavigationMenuViewport, bF as NumberField, bG as NumberFieldProps, bH as Pagination, bI as PaginationContent, bJ as PaginationEllipsis, bK as PaginationItem, bL as PaginationLink, bM as PaginationNext, bN as PaginationPrevious, bO as PillSegmentedTab, bP as PillSegmentedTabs, bQ as PillSegmentedTabsProps, bR as Popover, bS as PopoverAnchor, bT as PopoverContent, bU as PopoverTrigger, bV as Progress, bW as RadioGroup, bX as RadioGroupItem, bY as Rating, bZ as RatingProps, b_ as RatingTone, b$ as ScrollArea, c0 as ScrollBar, c1 as Select, c2 as SelectContent, c3 as SelectGroup, c4 as SelectItem, c5 as SelectLabel, c6 as SelectScrollDownButton, c7 as SelectScrollUpButton, c8 as SelectSeparator, c9 as SelectTrigger, ca as SelectValue, cb as Separator, cc as Sheet, cd as SheetClose, ce as SheetContent, cf as SheetDescription, cg as SheetFooter, ch as SheetHeader, ci as SheetTitle, cj as SheetTrigger, ck as Shimmer, cl as Skeleton, cm as Slider, cn as Snippet, co as SnippetProps, cp as SnippetSize, cq as SnippetVariant, cr as Spinner, cs as Stepper, ct as StepperProps, cu as StepperStep, cv as Switch, cw as Table, cx as TableBody, cy as TableCaption, cz as TableCell, cA as TableFooter, cB as TableHead, cC as TableHeader, cD as TableRow, cE as TagInput, cF as TagInputProps, cG as TagInputSize, cH as TextShimmerProps, cI as Textarea, cJ as Toast, cK as ToastAction, cL as ToastClose, cM as ToastDescription, cN as ToastProps, cO as ToastProvider, cP as ToastTitle, cQ as ToastViewport, cR as Toaster, cS as Toggle, cT as ToggleGroup, cU as ToggleGroupItem, cV as Toolbar, cW as ToolbarButton, cX as ToolbarLink, cY as ToolbarSeparator, cZ as ToolbarToggleGroup, c_ as ToolbarToggleItem, c$ as Tooltip, d0 as TooltipContent, d1 as TooltipProvider, d2 as TooltipTrigger, d3 as alertVariants, d4 as badgeVariants, d5 as controlClass, d6 as controlSurfaceClass, d7 as formatPickerDate, d8 as navigationMenuTriggerStyle, d9 as overlayAnimationClass, da as overlayItemClass, db as overlayListPanelClass, dc as overlaySurfaceClass, dd as toast, de as toggleVariants, df as useToast } from './circular-progress-
|
|
12
|
+
export { A as Accordion, a as AccordionContent, b as AccordionItem, c as AccordionTrigger, d as Alert, e as AlertDescription, f as AlertDialog, g as AlertDialogAction, h as AlertDialogCancel, i as AlertDialogContent, j as AlertDialogDescription, k as AlertDialogFooter, l as AlertDialogHeader, m as AlertDialogOverlay, n as AlertDialogPortal, o as AlertDialogTitle, p as AlertDialogTrigger, q as AlertTitle, r as AspectRatio, s as AvatarGroup, t as AvatarGroupProps, B as Badge, u as Breadcrumb, v as BreadcrumbEllipsis, w as BreadcrumbItem, x as BreadcrumbLink, y as BreadcrumbList, z as BreadcrumbPage, C as BreadcrumbSeparator, D as CONTROL_SIZE, E as Calendar, F as CalendarDayButton, G as Card, H as CardContent, I as CardDescription, J as CardFooter, K as CardHeader, L as CardTitle, M as Checkbox, N as CircularProgress, O as CircularProgressProps, 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 CopyButton, at as CopyButtonProps, au as DatePicker, av as DatePickerButton, aw as DatePickerCalendar, ax as DatePickerContent, ay as DatePickerTrigger, az as Dialog, aA as DialogClose, aB as DialogContent, aC as DialogDescription, aD as DialogFooter, aE as DialogHeader, aF as DialogOverlay, aG as DialogPortal, aH as DialogTitle, aI as DialogTrigger, aJ as DropdownMenu, aK as DropdownMenuCheckboxItem, aL as DropdownMenuContent, aM as DropdownMenuGroup, aN as DropdownMenuItem, aO as DropdownMenuLabel, aP as DropdownMenuRadioGroup, aQ as DropdownMenuRadioItem, aR as DropdownMenuSeparator, aS as DropdownMenuShortcut, aT as DropdownMenuSub, aU as DropdownMenuSubContent, aV as DropdownMenuSubTrigger, aW as DropdownMenuTrigger, aX as Form, aY as FormControl, aZ as FormField, a_ as FormItem, a$ as FormLabel, b0 as FormMessage, b1 as FormSubmit, b2 as HoverCard, b3 as HoverCardContent, b4 as HoverCardTrigger, b5 as Input, b6 as InputGroup, b7 as InputGroupAddon, b8 as InputGroupInput, b9 as InputGroupText, ba as InputOTP, bb as InputOTPGroup, bc as InputOTPHiddenInput, bd as InputOTPSeparator, be as InputOTPSlot, bf as Kbd, bg as KbdGroup, bh as Label, bi as MemoPillSegmentedTabs, bj as Menubar, bk as MenubarCheckboxItem, bl as MenubarContent, bm as MenubarItem, bn as MenubarLabel, bo as MenubarMenu, bp as MenubarRadioGroup, bq as MenubarRadioItem, br as MenubarSeparator, bs as MenubarShortcut, bt as MenubarSub, bu as MenubarSubContent, bv as MenubarSubTrigger, bw as MenubarTrigger, bx as NavigationMenu, by as NavigationMenuContent, bz as NavigationMenuIndicator, bA as NavigationMenuItem, bB as NavigationMenuLink, bC as NavigationMenuList, bD as NavigationMenuTrigger, bE as NavigationMenuViewport, bF as NumberField, bG as NumberFieldProps, bH as Pagination, bI as PaginationContent, bJ as PaginationEllipsis, bK as PaginationItem, bL as PaginationLink, bM as PaginationNext, bN as PaginationPrevious, bO as PillSegmentedTab, bP as PillSegmentedTabs, bQ as PillSegmentedTabsProps, bR as Popover, bS as PopoverAnchor, bT as PopoverContent, bU as PopoverTrigger, bV as Progress, bW as RadioGroup, bX as RadioGroupItem, bY as Rating, bZ as RatingProps, b_ as RatingTone, b$ as ScrollArea, c0 as ScrollBar, c1 as Select, c2 as SelectContent, c3 as SelectGroup, c4 as SelectItem, c5 as SelectLabel, c6 as SelectScrollDownButton, c7 as SelectScrollUpButton, c8 as SelectSeparator, c9 as SelectTrigger, ca as SelectValue, cb as Separator, cc as Sheet, cd as SheetClose, ce as SheetContent, cf as SheetDescription, cg as SheetFooter, ch as SheetHeader, ci as SheetTitle, cj as SheetTrigger, ck as Shimmer, cl as Skeleton, cm as Slider, cn as Snippet, co as SnippetProps, cp as SnippetSize, cq as SnippetVariant, cr as Spinner, cs as Stepper, ct as StepperProps, cu as StepperStep, cv as Switch, cw as Table, cx as TableBody, cy as TableCaption, cz as TableCell, cA as TableFooter, cB as TableHead, cC as TableHeader, cD as TableRow, cE as TagInput, cF as TagInputProps, cG as TagInputSize, cH as TextShimmerProps, cI as Textarea, cJ as Toast, cK as ToastAction, cL as ToastClose, cM as ToastDescription, cN as ToastProps, cO as ToastProvider, cP as ToastTitle, cQ as ToastViewport, cR as Toaster, cS as Toggle, cT as ToggleGroup, cU as ToggleGroupItem, cV as Toolbar, cW as ToolbarButton, cX as ToolbarLink, cY as ToolbarSeparator, cZ as ToolbarToggleGroup, c_ as ToolbarToggleItem, c$ as Tooltip, d0 as TooltipContent, d1 as TooltipProvider, d2 as TooltipTrigger, d3 as alertVariants, d4 as badgeVariants, d5 as controlClass, d6 as controlSurfaceClass, d7 as formatPickerDate, d8 as navigationMenuTriggerStyle, d9 as overlayAnimationClass, da as overlayItemClass, db as overlayListPanelClass, dc as overlaySurfaceClass, dd as toast, de as toggleVariants, df as useToast } from './circular-progress-B9nnwzCu.cjs';
|
|
13
|
+
export { DURATION, EASE, Magnetic, MagneticProps, Marquee, MarqueeProps, Parallax, ParallaxProps, Reveal, RevealProps, RevealVariant, SITE_AGENT_INSTRUCTIONS, SPRING, TextReveal, TextRevealProps } from './site.cjs';
|
|
13
14
|
import { ClassValue } from 'clsx';
|
|
14
15
|
import 'react/jsx-runtime';
|
|
15
|
-
import './timbal-v2-button-
|
|
16
|
+
import './timbal-v2-button-DCAZNyUx.cjs';
|
|
16
17
|
import 'class-variance-authority/types';
|
|
17
18
|
import 'class-variance-authority';
|
|
18
19
|
import 'radix-ui';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,18 +1,19 @@
|
|
|
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,
|
|
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-DDsp-Vzz.js';
|
|
2
|
+
export { K as ArtifactRegistry, L as ArtifactRegistryProvider, M as ArtifactRenderer, N as ArtifactRendererProps, O as ArtifactView, B as ChartArtifact, D as ChartSeriesConfig, C as ChatAttachment, a as ChatMessage, b as Composer, c as ComposerProps, d as ContentPart, P as CreateDefaultAttachmentAdapterOptions, R as CreateUploadAttachmentAdapterOptions, V as DEFAULT_UPLOAD_ACCEPT, W as QuestionOption, X as ResolveAttachmentAdapterOptions, S as SendOptions, e as Suggestions, f as SuggestionsComponent, g as SuggestionsSlotProps, h as SuggestionsSource, T as TextContentPart, i as ThinkingContentPart, j as Thread, k as ThreadArtifactsConfig, l as ThreadComponents, m as ThreadProps, n as ThreadSuggestion, o as ThreadSuggestionsProps, p as ThreadVariant, q as ThreadWelcomeConfig, r as ThreadWelcomeProps, Y as TimbalArtifact, Z as TimbalAttachmentsConfig, _ as TimbalAttachmentsProp, s as TimbalChat, t as TimbalChatProps, u as TimbalRuntimeProvider, v as TimbalRuntimeProviderProps, w as TimbalStreamApi, x 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, y as useResolvedSuggestions, z as useTimbalRuntime, A as useTimbalStream, ae as useUiCustomNodeRegistry, af as useUiDispatch, ag as useUiEventEmitter, ah as useUiState } from './chat-DDsp-Vzz.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-
|
|
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-
|
|
9
|
-
export { d as APP_KIT_AGENT_INSTRUCTIONS, u as AppBreadcrumbItem, e as AppChatPanel, f as AppChatPanelProps, g as AppConfirmDialog, h as AppConfirmDialogProps, i as AppCopilotContextValue, j as AppCopilotProvider, k as AppCopilotProviderProps, l as AppPageWidth, m as AppShell, n as AppShellChatControls, o as AppShellChatTrigger, p as AppShellChatTriggerProps, q as AppShellNavControls, r as AppShellProps, s as AppShellSidebarTrigger, t as AppShellSidebarTriggerProps, B as BreadcrumbEntry, v as Breadcrumbs, w as BreadcrumbsProps, C as CHART_PALETTE, x as COLOR_UTILITY_PREFIXES, y as ChartArtifactView, E as ChartPanel, F as ChartPanelProps, G as ChartSeries, H as ChartTooltipIndicator, I as ChartVariant, J as ConnectionRow, K as ConnectionRowList, L as ConnectionRowListProps, M as ConnectionRowProps, N as
|
|
10
|
-
export {
|
|
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-DU-4NTjZ.js';
|
|
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-CuKeSY74.js';
|
|
9
|
+
export { d as APP_KIT_AGENT_INSTRUCTIONS, u as AppBreadcrumbItem, e as AppChatPanel, f as AppChatPanelProps, g as AppConfirmDialog, h as AppConfirmDialogProps, i as AppCopilotContextValue, j as AppCopilotProvider, k as AppCopilotProviderProps, l as AppPageWidth, m as AppShell, n as AppShellChatControls, o as AppShellChatTrigger, p as AppShellChatTriggerProps, q as AppShellNavControls, r as AppShellProps, s as AppShellSidebarTrigger, t as AppShellSidebarTriggerProps, B as BreadcrumbEntry, v as Breadcrumbs, w as BreadcrumbsProps, C as CHART_PALETTE, x as COLOR_UTILITY_PREFIXES, y as ChartArtifactView, E as ChartPanel, F as ChartPanelProps, G as ChartSeries, H as ChartTooltipIndicator, I as ChartVariant, J as ConnectionRow, K as ConnectionRowList, L as ConnectionRowListProps, M as ConnectionRowProps, N as DangerZone, O as DangerZoneAction, P as DangerZoneActionProps, Q as DangerZoneProps, R as DataTable, T as DataTableColumn, U as DataTableProps, V as DataTableSort, W as DataTableSortDirection, X as DescriptionItem, Y as DescriptionList, Z as DescriptionListProps, _ as EmptyState, $ as EmptyStateProps, a0 as ExpandableSection, a1 as ExpandableSectionProps, a2 as Field, a3 as FieldInput, a4 as FieldInputProps, a5 as FieldProps, a6 as FieldRow, a7 as FieldRowProps, a8 as FieldSelect, a9 as FieldSelectProps, aa as FieldSwitch, ab as FieldSwitchProps, ac as FieldTextarea, ad as FieldTextareaProps, ae as FilterBar, af as FilterBarProps, ag as FilterDatePreset, ah as FilterDateRangeValue, ai as FilterDropdown, aj as FilterDropdownProps, ak as FilterField, al as FilterFieldDef, am as FilterFieldProps, an as FilterFieldType, ao as FilterNumericOperatorOption, ap as FilterNumericValue, aq as FilterSelectOption, ar as FilterValue, as as FilterValues, at as FloatingUnsavedChangesBar, au as FloatingUnsavedChangesBarProps, av as FormSection, aw as FormSectionProps, ax as HOUSE_RULES, ay as HouseRule, az 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 LintFinding, aL as LintOptions, aM as LintResult, aN as LintSeverity, aO as MetricChartCard, aP as MetricChartCardProps, aQ as MetricChartMetric, aR as MetricRow, aS as MetricRowItem, aT as MetricRowProps, aU as MetricTile, aV as MetricTileProps, aW as NumericOperator, aX as Page, aY as PageHeader, aZ as PageHeaderProps, a_ as PageProps, a$ as PieChart, b0 as PieChartProps, b1 as PlanBadge, b2 as PlanBadgeProps, b3 as PlanBadgeTone, b4 as RESERVED_GRADIENT_TOKENS, b5 as RadarChart, b6 as RadarChartProps, b7 as RadialChart, b8 as RadialChartProps, b9 as ResourceCard, ba as ResourceCardProps, bb as ReviewResult, bc as SEMANTIC_COLOR_TOKENS, bd as SLOP_BUDGETS, be as SearchInput, bf as SearchInputProps, bg as Section, bh as SectionProps, bi as SemanticColorToken, bj as SettingsSection, bk as SettingsSectionHeader, bl as SettingsSectionHeaderProps, bm as SettingsSectionProps, bn as Sparkline, bo as SparklineProps, bp as Stack, bq as StackAlign, br as StackGap, bs as StackJustify, bt as StackProps, bu as StatTile, bv as StatTileProps, bw as StatTileTone, bx as StatusBadge, by as StatusBadgeProps, S as StatusBadgeTone, bz as StatusDot, bA as StatusDotProps, bB as StatusDotTone, bC as SubNav, bD as SubNavItem, bE as SubNavProps, bF as SurfaceCard, bG as SurfaceCardProps, bH as SurfaceCardTone, bI as SurfaceCardVariant, bJ as TAILWIND_PALETTE_COLORS, bK as THEME_AGENT_INSTRUCTIONS, bL as TIMBAL_THEME_PRESETS, bM as ThemeShadow, bN as ThemeToCssOptions, bO as ThemeTokenMap, bP as TimbalThemeIntent, bQ as TimbalThemePreset, bR as TimbalThemePresetId, bS as TimbalThemeStyle, bT as TimbalThemeStyleProps, bU as TimbalThemeTokens, bV as TimbalThemeTypography, bW as UI_REVIEW_AGENT_INSTRUCTIONS, bX as UseLiveQueryOptions, bY as UseLiveQueryResult, c5 as applyThemePreset, c6 as applyTimbalTheme, c7 as clearTimbalTheme, c8 as connectionRowListClass, c9 as createTimbalTheme, ca as ensureThemeFontLink, cb as flushBarCategoryGap, cc as flushLineAreaEdgeToEdge, cd as formatLintReport, ce as getStoredThemePreset, cf as getThemePreset, cg as lintGeneratedUi, ch as resolveChartMargin, ci as resolveTooltipCategory, cj as reviewGeneratedUi, ck as themeToCss, cl as useAppCopilotContext, cm as useAppShellChat, cn as useAppShellNav, co as useInterval, cp as useLiveQuery } from './chart-artifact-C2pZQsaP.js';
|
|
10
|
+
export { A as AVATAR_PRIMARY_FALLBACK_CLASS, a as Avatar, b as AvatarFallback, c as AvatarImage, B as Banner, d as BannerProps, e as BannerSize, f as BannerTone, g as BannerVariant, h as Button, i as ButtonColor, K as Kanban, j as KanbanCardData, k as KanbanCardVariant, l as KanbanColumnData, m as KanbanDensity, n as KanbanDragHandleProps, o as KanbanLocation, p as KanbanMoveEvent, q as KanbanProps, r as KanbanRenderCardContext, s as KanbanTone, T as Timeline, t as TimelineItem, u as TimelineProps, v as TimelineSize, U as UntitledButton, w as UntitledButtonColor, x as UntitledButtonProps, y as UntitledButtonSize, z as avatarChartVariantClass, C as untitledButtonVariants } from './kanban-FFBeaZPS.js';
|
|
11
11
|
import React__default, { FC, ReactNode } from 'react';
|
|
12
|
-
export { A as Accordion, a as AccordionContent, b as AccordionItem, c as AccordionTrigger, d as Alert, e as AlertDescription, f as AlertDialog, g as AlertDialogAction, h as AlertDialogCancel, i as AlertDialogContent, j as AlertDialogDescription, k as AlertDialogFooter, l as AlertDialogHeader, m as AlertDialogOverlay, n as AlertDialogPortal, o as AlertDialogTitle, p as AlertDialogTrigger, q as AlertTitle, r as AspectRatio, s as AvatarGroup, t as AvatarGroupProps, B as Badge, u as Breadcrumb, v as BreadcrumbEllipsis, w as BreadcrumbItem, x as BreadcrumbLink, y as BreadcrumbList, z as BreadcrumbPage, C as BreadcrumbSeparator, D as CONTROL_SIZE, E as Calendar, F as CalendarDayButton, G as Card, H as CardContent, I as CardDescription, J as CardFooter, K as CardHeader, L as CardTitle, M as Checkbox, N as CircularProgress, O as CircularProgressProps, 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 CopyButton, at as CopyButtonProps, au as DatePicker, av as DatePickerButton, aw as DatePickerCalendar, ax as DatePickerContent, ay as DatePickerTrigger, az as Dialog, aA as DialogClose, aB as DialogContent, aC as DialogDescription, aD as DialogFooter, aE as DialogHeader, aF as DialogOverlay, aG as DialogPortal, aH as DialogTitle, aI as DialogTrigger, aJ as DropdownMenu, aK as DropdownMenuCheckboxItem, aL as DropdownMenuContent, aM as DropdownMenuGroup, aN as DropdownMenuItem, aO as DropdownMenuLabel, aP as DropdownMenuRadioGroup, aQ as DropdownMenuRadioItem, aR as DropdownMenuSeparator, aS as DropdownMenuShortcut, aT as DropdownMenuSub, aU as DropdownMenuSubContent, aV as DropdownMenuSubTrigger, aW as DropdownMenuTrigger, aX as Form, aY as FormControl, aZ as FormField, a_ as FormItem, a$ as FormLabel, b0 as FormMessage, b1 as FormSubmit, b2 as HoverCard, b3 as HoverCardContent, b4 as HoverCardTrigger, b5 as Input, b6 as InputGroup, b7 as InputGroupAddon, b8 as InputGroupInput, b9 as InputGroupText, ba as InputOTP, bb as InputOTPGroup, bc as InputOTPHiddenInput, bd as InputOTPSeparator, be as InputOTPSlot, bf as Kbd, bg as KbdGroup, bh as Label, bi as MemoPillSegmentedTabs, bj as Menubar, bk as MenubarCheckboxItem, bl as MenubarContent, bm as MenubarItem, bn as MenubarLabel, bo as MenubarMenu, bp as MenubarRadioGroup, bq as MenubarRadioItem, br as MenubarSeparator, bs as MenubarShortcut, bt as MenubarSub, bu as MenubarSubContent, bv as MenubarSubTrigger, bw as MenubarTrigger, bx as NavigationMenu, by as NavigationMenuContent, bz as NavigationMenuIndicator, bA as NavigationMenuItem, bB as NavigationMenuLink, bC as NavigationMenuList, bD as NavigationMenuTrigger, bE as NavigationMenuViewport, bF as NumberField, bG as NumberFieldProps, bH as Pagination, bI as PaginationContent, bJ as PaginationEllipsis, bK as PaginationItem, bL as PaginationLink, bM as PaginationNext, bN as PaginationPrevious, bO as PillSegmentedTab, bP as PillSegmentedTabs, bQ as PillSegmentedTabsProps, bR as Popover, bS as PopoverAnchor, bT as PopoverContent, bU as PopoverTrigger, bV as Progress, bW as RadioGroup, bX as RadioGroupItem, bY as Rating, bZ as RatingProps, b_ as RatingTone, b$ as ScrollArea, c0 as ScrollBar, c1 as Select, c2 as SelectContent, c3 as SelectGroup, c4 as SelectItem, c5 as SelectLabel, c6 as SelectScrollDownButton, c7 as SelectScrollUpButton, c8 as SelectSeparator, c9 as SelectTrigger, ca as SelectValue, cb as Separator, cc as Sheet, cd as SheetClose, ce as SheetContent, cf as SheetDescription, cg as SheetFooter, ch as SheetHeader, ci as SheetTitle, cj as SheetTrigger, ck as Shimmer, cl as Skeleton, cm as Slider, cn as Snippet, co as SnippetProps, cp as SnippetSize, cq as SnippetVariant, cr as Spinner, cs as Stepper, ct as StepperProps, cu as StepperStep, cv as Switch, cw as Table, cx as TableBody, cy as TableCaption, cz as TableCell, cA as TableFooter, cB as TableHead, cC as TableHeader, cD as TableRow, cE as TagInput, cF as TagInputProps, cG as TagInputSize, cH as TextShimmerProps, cI as Textarea, cJ as Toast, cK as ToastAction, cL as ToastClose, cM as ToastDescription, cN as ToastProps, cO as ToastProvider, cP as ToastTitle, cQ as ToastViewport, cR as Toaster, cS as Toggle, cT as ToggleGroup, cU as ToggleGroupItem, cV as Toolbar, cW as ToolbarButton, cX as ToolbarLink, cY as ToolbarSeparator, cZ as ToolbarToggleGroup, c_ as ToolbarToggleItem, c$ as Tooltip, d0 as TooltipContent, d1 as TooltipProvider, d2 as TooltipTrigger, d3 as alertVariants, d4 as badgeVariants, d5 as controlClass, d6 as controlSurfaceClass, d7 as formatPickerDate, d8 as navigationMenuTriggerStyle, d9 as overlayAnimationClass, da as overlayItemClass, db as overlayListPanelClass, dc as overlaySurfaceClass, dd as toast, de as toggleVariants, df as useToast } from './circular-progress-
|
|
12
|
+
export { A as Accordion, a as AccordionContent, b as AccordionItem, c as AccordionTrigger, d as Alert, e as AlertDescription, f as AlertDialog, g as AlertDialogAction, h as AlertDialogCancel, i as AlertDialogContent, j as AlertDialogDescription, k as AlertDialogFooter, l as AlertDialogHeader, m as AlertDialogOverlay, n as AlertDialogPortal, o as AlertDialogTitle, p as AlertDialogTrigger, q as AlertTitle, r as AspectRatio, s as AvatarGroup, t as AvatarGroupProps, B as Badge, u as Breadcrumb, v as BreadcrumbEllipsis, w as BreadcrumbItem, x as BreadcrumbLink, y as BreadcrumbList, z as BreadcrumbPage, C as BreadcrumbSeparator, D as CONTROL_SIZE, E as Calendar, F as CalendarDayButton, G as Card, H as CardContent, I as CardDescription, J as CardFooter, K as CardHeader, L as CardTitle, M as Checkbox, N as CircularProgress, O as CircularProgressProps, 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 CopyButton, at as CopyButtonProps, au as DatePicker, av as DatePickerButton, aw as DatePickerCalendar, ax as DatePickerContent, ay as DatePickerTrigger, az as Dialog, aA as DialogClose, aB as DialogContent, aC as DialogDescription, aD as DialogFooter, aE as DialogHeader, aF as DialogOverlay, aG as DialogPortal, aH as DialogTitle, aI as DialogTrigger, aJ as DropdownMenu, aK as DropdownMenuCheckboxItem, aL as DropdownMenuContent, aM as DropdownMenuGroup, aN as DropdownMenuItem, aO as DropdownMenuLabel, aP as DropdownMenuRadioGroup, aQ as DropdownMenuRadioItem, aR as DropdownMenuSeparator, aS as DropdownMenuShortcut, aT as DropdownMenuSub, aU as DropdownMenuSubContent, aV as DropdownMenuSubTrigger, aW as DropdownMenuTrigger, aX as Form, aY as FormControl, aZ as FormField, a_ as FormItem, a$ as FormLabel, b0 as FormMessage, b1 as FormSubmit, b2 as HoverCard, b3 as HoverCardContent, b4 as HoverCardTrigger, b5 as Input, b6 as InputGroup, b7 as InputGroupAddon, b8 as InputGroupInput, b9 as InputGroupText, ba as InputOTP, bb as InputOTPGroup, bc as InputOTPHiddenInput, bd as InputOTPSeparator, be as InputOTPSlot, bf as Kbd, bg as KbdGroup, bh as Label, bi as MemoPillSegmentedTabs, bj as Menubar, bk as MenubarCheckboxItem, bl as MenubarContent, bm as MenubarItem, bn as MenubarLabel, bo as MenubarMenu, bp as MenubarRadioGroup, bq as MenubarRadioItem, br as MenubarSeparator, bs as MenubarShortcut, bt as MenubarSub, bu as MenubarSubContent, bv as MenubarSubTrigger, bw as MenubarTrigger, bx as NavigationMenu, by as NavigationMenuContent, bz as NavigationMenuIndicator, bA as NavigationMenuItem, bB as NavigationMenuLink, bC as NavigationMenuList, bD as NavigationMenuTrigger, bE as NavigationMenuViewport, bF as NumberField, bG as NumberFieldProps, bH as Pagination, bI as PaginationContent, bJ as PaginationEllipsis, bK as PaginationItem, bL as PaginationLink, bM as PaginationNext, bN as PaginationPrevious, bO as PillSegmentedTab, bP as PillSegmentedTabs, bQ as PillSegmentedTabsProps, bR as Popover, bS as PopoverAnchor, bT as PopoverContent, bU as PopoverTrigger, bV as Progress, bW as RadioGroup, bX as RadioGroupItem, bY as Rating, bZ as RatingProps, b_ as RatingTone, b$ as ScrollArea, c0 as ScrollBar, c1 as Select, c2 as SelectContent, c3 as SelectGroup, c4 as SelectItem, c5 as SelectLabel, c6 as SelectScrollDownButton, c7 as SelectScrollUpButton, c8 as SelectSeparator, c9 as SelectTrigger, ca as SelectValue, cb as Separator, cc as Sheet, cd as SheetClose, ce as SheetContent, cf as SheetDescription, cg as SheetFooter, ch as SheetHeader, ci as SheetTitle, cj as SheetTrigger, ck as Shimmer, cl as Skeleton, cm as Slider, cn as Snippet, co as SnippetProps, cp as SnippetSize, cq as SnippetVariant, cr as Spinner, cs as Stepper, ct as StepperProps, cu as StepperStep, cv as Switch, cw as Table, cx as TableBody, cy as TableCaption, cz as TableCell, cA as TableFooter, cB as TableHead, cC as TableHeader, cD as TableRow, cE as TagInput, cF as TagInputProps, cG as TagInputSize, cH as TextShimmerProps, cI as Textarea, cJ as Toast, cK as ToastAction, cL as ToastClose, cM as ToastDescription, cN as ToastProps, cO as ToastProvider, cP as ToastTitle, cQ as ToastViewport, cR as Toaster, cS as Toggle, cT as ToggleGroup, cU as ToggleGroupItem, cV as Toolbar, cW as ToolbarButton, cX as ToolbarLink, cY as ToolbarSeparator, cZ as ToolbarToggleGroup, c_ as ToolbarToggleItem, c$ as Tooltip, d0 as TooltipContent, d1 as TooltipProvider, d2 as TooltipTrigger, d3 as alertVariants, d4 as badgeVariants, d5 as controlClass, d6 as controlSurfaceClass, d7 as formatPickerDate, d8 as navigationMenuTriggerStyle, d9 as overlayAnimationClass, da as overlayItemClass, db as overlayListPanelClass, dc as overlaySurfaceClass, dd as toast, de as toggleVariants, df as useToast } from './circular-progress-B9nnwzCu.js';
|
|
13
|
+
export { DURATION, EASE, Magnetic, MagneticProps, Marquee, MarqueeProps, Parallax, ParallaxProps, Reveal, RevealProps, RevealVariant, SITE_AGENT_INSTRUCTIONS, SPRING, TextReveal, TextRevealProps } from './site.js';
|
|
13
14
|
import { ClassValue } from 'clsx';
|
|
14
15
|
import 'react/jsx-runtime';
|
|
15
|
-
import './timbal-v2-button-
|
|
16
|
+
import './timbal-v2-button-DCAZNyUx.js';
|
|
16
17
|
import 'class-variance-authority/types';
|
|
17
18
|
import 'class-variance-authority';
|
|
18
19
|
import 'radix-ui';
|
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-6SQMTBPL.esm.js";
|
|
80
80
|
import {
|
|
81
81
|
THREAD_DEFAULT_MAX_WIDTH,
|
|
82
82
|
assistantMessageContentClass,
|
|
@@ -84,6 +84,17 @@ import {
|
|
|
84
84
|
threadMessageColumnClass,
|
|
85
85
|
userMessageRootClass
|
|
86
86
|
} from "./chunk-KC5QLVUG.esm.js";
|
|
87
|
+
import {
|
|
88
|
+
DURATION,
|
|
89
|
+
EASE,
|
|
90
|
+
Magnetic,
|
|
91
|
+
Marquee,
|
|
92
|
+
Parallax,
|
|
93
|
+
Reveal,
|
|
94
|
+
SITE_AGENT_INSTRUCTIONS,
|
|
95
|
+
SPRING,
|
|
96
|
+
TextReveal
|
|
97
|
+
} from "./chunk-JJOO4PR5.esm.js";
|
|
87
98
|
import {
|
|
88
99
|
ModeToggle,
|
|
89
100
|
STUDIO_NAV_MODE,
|
|
@@ -97,11 +108,11 @@ import {
|
|
|
97
108
|
useOptionalSession,
|
|
98
109
|
useSession,
|
|
99
110
|
useWorkforces
|
|
100
|
-
} from "./chunk-
|
|
101
|
-
import "./chunk-
|
|
111
|
+
} from "./chunk-HSL36SJ4.esm.js";
|
|
112
|
+
import "./chunk-ELEY66OH.esm.js";
|
|
102
113
|
import {
|
|
103
114
|
WorkforceSelector
|
|
104
|
-
} from "./chunk-
|
|
115
|
+
} from "./chunk-TMP7RIA7.esm.js";
|
|
105
116
|
import {
|
|
106
117
|
ARTIFACT_FENCE_LANGUAGES,
|
|
107
118
|
ArtifactCard,
|
|
@@ -165,7 +176,7 @@ import {
|
|
|
165
176
|
useUiDispatch,
|
|
166
177
|
useUiEventEmitter,
|
|
167
178
|
useUiState
|
|
168
|
-
} from "./chunk-
|
|
179
|
+
} from "./chunk-WQIQW7EM.esm.js";
|
|
169
180
|
import {
|
|
170
181
|
Accordion,
|
|
171
182
|
AccordionContent,
|
|
@@ -306,16 +317,6 @@ import {
|
|
|
306
317
|
Rating,
|
|
307
318
|
ScrollArea,
|
|
308
319
|
ScrollBar,
|
|
309
|
-
Select,
|
|
310
|
-
SelectContent,
|
|
311
|
-
SelectGroup,
|
|
312
|
-
SelectItem,
|
|
313
|
-
SelectLabel,
|
|
314
|
-
SelectScrollDownButton,
|
|
315
|
-
SelectScrollUpButton,
|
|
316
|
-
SelectSeparator,
|
|
317
|
-
SelectTrigger,
|
|
318
|
-
SelectValue,
|
|
319
320
|
Separator,
|
|
320
321
|
Sheet,
|
|
321
322
|
SheetClose,
|
|
@@ -364,7 +365,7 @@ import {
|
|
|
364
365
|
toast,
|
|
365
366
|
toggleVariants,
|
|
366
367
|
useToast
|
|
367
|
-
} from "./chunk-
|
|
368
|
+
} from "./chunk-YYEI6XME.esm.js";
|
|
368
369
|
import {
|
|
369
370
|
Banner,
|
|
370
371
|
Checkbox,
|
|
@@ -374,11 +375,21 @@ import {
|
|
|
374
375
|
PopoverAnchor,
|
|
375
376
|
PopoverContent,
|
|
376
377
|
PopoverTrigger,
|
|
378
|
+
Select,
|
|
379
|
+
SelectContent,
|
|
380
|
+
SelectGroup,
|
|
381
|
+
SelectItem,
|
|
382
|
+
SelectLabel,
|
|
383
|
+
SelectScrollDownButton,
|
|
384
|
+
SelectScrollUpButton,
|
|
385
|
+
SelectSeparator,
|
|
386
|
+
SelectTrigger,
|
|
387
|
+
SelectValue,
|
|
377
388
|
Skeleton,
|
|
378
389
|
Timeline,
|
|
379
390
|
UntitledButton,
|
|
380
391
|
untitledButtonVariants
|
|
381
|
-
} from "./chunk-
|
|
392
|
+
} from "./chunk-NO5AWNWT.esm.js";
|
|
382
393
|
import {
|
|
383
394
|
DropdownMenu,
|
|
384
395
|
DropdownMenuCheckboxItem,
|
|
@@ -394,11 +405,11 @@ import {
|
|
|
394
405
|
DropdownMenuSubContent,
|
|
395
406
|
DropdownMenuSubTrigger,
|
|
396
407
|
DropdownMenuTrigger
|
|
397
|
-
} from "./chunk-
|
|
408
|
+
} from "./chunk-24B4I4XC.esm.js";
|
|
398
409
|
import {
|
|
399
410
|
MemoPillSegmentedTabs,
|
|
400
411
|
PillSegmentedTabs
|
|
401
|
-
} from "./chunk-
|
|
412
|
+
} from "./chunk-R4RQT2XQ.esm.js";
|
|
402
413
|
import {
|
|
403
414
|
AVATAR_PRIMARY_FALLBACK_CLASS,
|
|
404
415
|
Avatar,
|
|
@@ -428,7 +439,7 @@ import {
|
|
|
428
439
|
overlayItemClass,
|
|
429
440
|
overlayListPanelClass,
|
|
430
441
|
overlaySurfaceClass
|
|
431
|
-
} from "./chunk-
|
|
442
|
+
} from "./chunk-MBS7XHV2.esm.js";
|
|
432
443
|
import {
|
|
433
444
|
cn
|
|
434
445
|
} from "./chunk-EDEKQYSU.esm.js";
|
|
@@ -711,6 +722,7 @@ export {
|
|
|
711
722
|
ContextMenuTrigger,
|
|
712
723
|
CopyButton,
|
|
713
724
|
DEFAULT_UPLOAD_ACCEPT,
|
|
725
|
+
DURATION,
|
|
714
726
|
DangerZone,
|
|
715
727
|
DangerZoneAction,
|
|
716
728
|
DataTable,
|
|
@@ -744,6 +756,7 @@ export {
|
|
|
744
756
|
DropdownMenuSubContent,
|
|
745
757
|
DropdownMenuSubTrigger,
|
|
746
758
|
DropdownMenuTrigger,
|
|
759
|
+
EASE,
|
|
747
760
|
EmptyState,
|
|
748
761
|
ExpandableSection,
|
|
749
762
|
Field,
|
|
@@ -789,7 +802,9 @@ export {
|
|
|
789
802
|
KbdGroup,
|
|
790
803
|
Label,
|
|
791
804
|
LineAreaChart,
|
|
805
|
+
Magnetic,
|
|
792
806
|
MarkdownText,
|
|
807
|
+
Marquee,
|
|
793
808
|
MemoPillSegmentedTabs,
|
|
794
809
|
Menubar,
|
|
795
810
|
MenubarCheckboxItem,
|
|
@@ -828,6 +843,7 @@ export {
|
|
|
828
843
|
PaginationLink,
|
|
829
844
|
PaginationNext,
|
|
830
845
|
PaginationPrevious,
|
|
846
|
+
Parallax,
|
|
831
847
|
PieChart,
|
|
832
848
|
PillSegmentedTabs,
|
|
833
849
|
PlanBadge,
|
|
@@ -844,8 +860,11 @@ export {
|
|
|
844
860
|
RadioGroupItem,
|
|
845
861
|
Rating,
|
|
846
862
|
ResourceCard,
|
|
863
|
+
Reveal,
|
|
847
864
|
SEMANTIC_COLOR_TOKENS,
|
|
865
|
+
SITE_AGENT_INSTRUCTIONS,
|
|
848
866
|
SLOP_BUDGETS,
|
|
867
|
+
SPRING,
|
|
849
868
|
STUDIO_NAV_MODE,
|
|
850
869
|
ScrollArea,
|
|
851
870
|
ScrollBar,
|
|
@@ -905,6 +924,7 @@ export {
|
|
|
905
924
|
TableHeader,
|
|
906
925
|
TableRow,
|
|
907
926
|
TagInput,
|
|
927
|
+
TextReveal,
|
|
908
928
|
Textarea,
|
|
909
929
|
Thread,
|
|
910
930
|
ThreadPrimitive,
|
|
@@ -56,9 +56,9 @@ declare const AVATAR_PRIMARY_FALLBACK_CLASS: string;
|
|
|
56
56
|
*/
|
|
57
57
|
declare function avatarChartVariantClass(_seed?: string): string;
|
|
58
58
|
declare const AVATAR_SIZE_CLASS: {
|
|
59
|
-
readonly default: "size-
|
|
60
|
-
readonly sm: "size-
|
|
61
|
-
readonly lg: "size-
|
|
59
|
+
readonly default: "size-7";
|
|
60
|
+
readonly sm: "size-5";
|
|
61
|
+
readonly lg: "size-9";
|
|
62
62
|
};
|
|
63
63
|
declare function Avatar({ className, size, variant: rootVariant, children, ...props }: React.ComponentProps<typeof Avatar$1.Root> & {
|
|
64
64
|
size?: keyof typeof AVATAR_SIZE_CLASS;
|
|
@@ -209,4 +209,4 @@ interface KanbanProps<C extends KanbanCardData = KanbanCardData> {
|
|
|
209
209
|
*/
|
|
210
210
|
declare function Kanban<C extends KanbanCardData = KanbanCardData>({ columns: columnsProp, defaultColumns, onColumnsChange, onMove, renderCard, renderColumnHeader, getCardId, emptyColumnLabel, density, cardVariant, dragHandle, disabled, className, columnClassName, cardClassName, ...rest }: KanbanProps<C>): react_jsx_runtime.JSX.Element;
|
|
211
211
|
|
|
212
|
-
export {
|
|
212
|
+
export { AVATAR_PRIMARY_FALLBACK_CLASS as A, Banner as B, untitledButtonVariants as C, type AvatarVariant as D, Kanban as K, Timeline as T, UntitledButton as U, Avatar as a, AvatarFallback as b, AvatarImage as c, type BannerProps as d, type BannerSize as e, type BannerTone as f, type BannerVariant as g, Button as h, type ButtonColor as i, type KanbanCardData as j, type KanbanCardVariant as k, type KanbanColumnData as l, type KanbanDensity as m, type KanbanDragHandleProps as n, type KanbanLocation as o, type KanbanMoveEvent as p, type KanbanProps as q, type KanbanRenderCardContext as r, type KanbanTone as s, type TimelineItem as t, type TimelineProps as u, type TimelineSize as v, type UntitledButtonColor as w, type UntitledButtonProps as x, type UntitledButtonSize as y, avatarChartVariantClass as z };
|
|
@@ -56,9 +56,9 @@ declare const AVATAR_PRIMARY_FALLBACK_CLASS: string;
|
|
|
56
56
|
*/
|
|
57
57
|
declare function avatarChartVariantClass(_seed?: string): string;
|
|
58
58
|
declare const AVATAR_SIZE_CLASS: {
|
|
59
|
-
readonly default: "size-
|
|
60
|
-
readonly sm: "size-
|
|
61
|
-
readonly lg: "size-
|
|
59
|
+
readonly default: "size-7";
|
|
60
|
+
readonly sm: "size-5";
|
|
61
|
+
readonly lg: "size-9";
|
|
62
62
|
};
|
|
63
63
|
declare function Avatar({ className, size, variant: rootVariant, children, ...props }: React.ComponentProps<typeof Avatar$1.Root> & {
|
|
64
64
|
size?: keyof typeof AVATAR_SIZE_CLASS;
|
|
@@ -209,4 +209,4 @@ interface KanbanProps<C extends KanbanCardData = KanbanCardData> {
|
|
|
209
209
|
*/
|
|
210
210
|
declare function Kanban<C extends KanbanCardData = KanbanCardData>({ columns: columnsProp, defaultColumns, onColumnsChange, onMove, renderCard, renderColumnHeader, getCardId, emptyColumnLabel, density, cardVariant, dragHandle, disabled, className, columnClassName, cardClassName, ...rest }: KanbanProps<C>): react_jsx_runtime.JSX.Element;
|
|
211
211
|
|
|
212
|
-
export {
|
|
212
|
+
export { AVATAR_PRIMARY_FALLBACK_CLASS as A, Banner as B, untitledButtonVariants as C, type AvatarVariant as D, Kanban as K, Timeline as T, UntitledButton as U, Avatar as a, AvatarFallback as b, AvatarImage as c, type BannerProps as d, type BannerSize as e, type BannerTone as f, type BannerVariant as g, Button as h, type ButtonColor as i, type KanbanCardData as j, type KanbanCardVariant as k, type KanbanColumnData as l, type KanbanDensity as m, type KanbanDragHandleProps as n, type KanbanLocation as o, type KanbanMoveEvent as p, type KanbanProps as q, type KanbanRenderCardContext as r, type KanbanTone as s, type TimelineItem as t, type TimelineProps as u, type TimelineSize as v, type UntitledButtonColor as w, type UntitledButtonProps as x, type UntitledButtonSize as y, avatarChartVariantClass as z };
|
|
@@ -3,7 +3,7 @@ import { FC } from 'react';
|
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
4
|
import { ToolCallMessagePartComponent } from '@assistant-ui/react';
|
|
5
5
|
import { WorkforceItem } from '@timbal-ai/timbal-sdk';
|
|
6
|
-
import {
|
|
6
|
+
import { a as TimbalV2ButtonProps } from './timbal-v2-button-DCAZNyUx.js';
|
|
7
7
|
|
|
8
8
|
declare const MarkdownText: React.MemoExoticComponent<() => react_jsx_runtime.JSX.Element>;
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@ import { FC } from 'react';
|
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
4
|
import { ToolCallMessagePartComponent } from '@assistant-ui/react';
|
|
5
5
|
import { WorkforceItem } from '@timbal-ai/timbal-sdk';
|
|
6
|
-
import {
|
|
6
|
+
import { a as TimbalV2ButtonProps } from './timbal-v2-button-DCAZNyUx.cjs';
|
|
7
7
|
|
|
8
8
|
declare const MarkdownText: React.MemoExoticComponent<() => react_jsx_runtime.JSX.Element>;
|
|
9
9
|
|
package/dist/site.cjs
CHANGED
|
@@ -36,11 +36,81 @@ __export(site_exports, {
|
|
|
36
36
|
Marquee: () => Marquee,
|
|
37
37
|
Parallax: () => Parallax,
|
|
38
38
|
Reveal: () => Reveal,
|
|
39
|
+
SITE_AGENT_INSTRUCTIONS: () => SITE_AGENT_INSTRUCTIONS,
|
|
39
40
|
SPRING: () => SPRING,
|
|
40
41
|
TextReveal: () => TextReveal
|
|
41
42
|
});
|
|
42
43
|
module.exports = __toCommonJS(site_exports);
|
|
43
44
|
|
|
45
|
+
// src/site/agent-instructions.ts
|
|
46
|
+
var SITE_AGENT_INSTRUCTIONS = `
|
|
47
|
+
## Site kit (@timbal-ai/timbal-react/site)
|
|
48
|
+
|
|
49
|
+
Expressive **motion & interaction primitives** for marketing, brand, landing, and editorial pages \u2014 the counterpart to \`/app\` (which is for dashboards and operations UIs). Import from \`@timbal-ai/timbal-react/site\` (or the package root).
|
|
50
|
+
|
|
51
|
+
These are **mechanics, not art direction**: they animate whatever you put inside them. Compose them under a chosen aesthetic; they do not impose colors, type, or layout.
|
|
52
|
+
|
|
53
|
+
### When to use \`/site\` (and when not to)
|
|
54
|
+
|
|
55
|
+
- **Do** use \`/site\` for landing pages, hero sections, feature walkthroughs, logo walls, pricing pages, and editorial/brand storytelling.
|
|
56
|
+
- **Do not** use \`/site\` inside dashboards, settings, tables, or in-thread chat artifacts \u2014 those stay on \`/app\` and \`/artifacts\`. Animated dashboard chrome reads as slop.
|
|
57
|
+
- Every primitive is **reduced-motion-aware** (collapses to static, no-transform output under \`prefers-reduced-motion\`) and **SSR-safe** (no layout shift \u2014 elements occupy their space from first paint). You never need to guard them yourself.
|
|
58
|
+
- Built on the \`motion\` engine the package already bundles \u2014 **no extra dependencies**.
|
|
59
|
+
|
|
60
|
+
### Dosing (anti-overuse \u2014 read this)
|
|
61
|
+
|
|
62
|
+
The failure mode is animating *everything*. Restraint is the brand signal.
|
|
63
|
+
|
|
64
|
+
- Pick **one** signature motion per section (e.g. a \`TextReveal\` headline **or** a \`Parallax\` hero image, not both stacked).
|
|
65
|
+
- Stagger entrances down the page; do not fire ten reveals at once on first paint.
|
|
66
|
+
- Reserve \`Magnetic\` for **primary** CTAs / nav, not every button.
|
|
67
|
+
- Keep \`Parallax\` \`speed\` subtle (\`0.15\`\u2013\`0.35\`); large values look gimmicky.
|
|
68
|
+
- Default durations are intentionally slow and weighted (\`DURATION.base\` = 0.7s) \u2014 that confident pacing is the point. Don't speed everything up to app-kit's 150ms.
|
|
69
|
+
|
|
70
|
+
### Component menu
|
|
71
|
+
|
|
72
|
+
| Component | Use for | Key props |
|
|
73
|
+
|-----------|---------|-----------|
|
|
74
|
+
| \`Reveal\` | Fade/slide a block in as it scrolls into view (headings, cards, images, list items). | \`variant\` (\`fade\` \\| \`fade-up\` \\| \`fade-down\` \\| \`fade-left\` \\| \`fade-right\` \\| \`blur\` \\| \`scale\` \\| \`mask-up\`, default \`fade-up\`), \`delay\`, \`duration\`, \`distance\` (px, default 28), \`amount\` (visibility fraction 0\u20131 / \`"some"\` / \`"all"\`, default 0.3), \`repeat\` (replay on re-enter), \`as\` (render element, e.g. \`"section"\`/\`"li"\`). |
|
|
75
|
+
| \`TextReveal\` | Signature editorial headline entrance \u2014 text rides up token-by-token from a clip on a stagger. | \`children\` (**plain string only**), \`splitBy\` (\`words\` default \\| \`lines\`), \`stagger\` (default 0.06), \`delay\`, \`duration\`, \`amount\` (default 0.4), \`repeat\`, \`as\` (\`span\` default \\| \`h1\`\u2013\`h4\` \\| \`p\`). |
|
|
76
|
+
| \`Parallax\` | Depth \u2014 translate a layer relative to scroll (hero images, background art). | \`speed\` (-0.6\u20260.6, positive = lags behind scroll, default 0.2), \`axis\` (\`y\` default \\| \`x\`), \`smooth\` (spring-damped, default true). |
|
|
77
|
+
| \`Marquee\` | Seamless infinite scrolling row (logo walls, testimonials, ticker). Duplicates children internally \u2014 no visible seam. | \`speed\` (px/s, default 60), \`direction\` (\`left\` default \\| \`right\`), \`pauseOnHover\` (default true), \`gap\` (CSS length, default \`"3rem"\`). |
|
|
78
|
+
| \`Magnetic\` | Pointer-following "magnetic" affordance for a **single** interactive child (primary CTA, nav link). | \`strength\` (fraction of cursor offset, default 0.35), \`max\` (px clamp, default 24), \`spring\` (\`"snappy"\` default \\| \`"smooth"\`). Wrap one button/link. |
|
|
79
|
+
|
|
80
|
+
### Motion tokens
|
|
81
|
+
|
|
82
|
+
\`EASE\` (cubic-bezier tuples: \`out\` / \`inOut\` / \`soft\`), \`DURATION\` (\`fast\` 0.4s / \`base\` 0.7s / \`slow\` 1.1s), and \`SPRING\` (\`snappy\` / \`smooth\`) are exported for custom \`motion\` work that should match the kit's feel. Prefer the component defaults; reach for tokens only when hand-rolling a bespoke animation.
|
|
83
|
+
|
|
84
|
+
### Example imports
|
|
85
|
+
|
|
86
|
+
\`\`\`tsx
|
|
87
|
+
import { Reveal, TextReveal, Parallax, Marquee, Magnetic } from "@timbal-ai/timbal-react/site";
|
|
88
|
+
\`\`\`
|
|
89
|
+
|
|
90
|
+
\`\`\`tsx
|
|
91
|
+
<Reveal variant="fade-up" delay={0.1}>
|
|
92
|
+
<TextReveal as="h1" className="text-6xl font-semibold">
|
|
93
|
+
Built for the long run
|
|
94
|
+
</TextReveal>
|
|
95
|
+
</Reveal>
|
|
96
|
+
|
|
97
|
+
<Parallax speed={0.3}>
|
|
98
|
+
<img src={hero} alt="" className="h-full w-full object-cover" />
|
|
99
|
+
</Parallax>
|
|
100
|
+
|
|
101
|
+
<Magnetic strength={0.4}>
|
|
102
|
+
<Button>Get started</Button>
|
|
103
|
+
</Magnetic>
|
|
104
|
+
\`\`\`
|
|
105
|
+
|
|
106
|
+
### Rules
|
|
107
|
+
|
|
108
|
+
- \`/site\` is for the **marketing/brand surface**, not the product app shell (\`/app\`) or in-chat widgets (\`/artifacts\`).
|
|
109
|
+
- \`TextReveal\` takes a **string** child only \u2014 it splits internally; do not pass JSX.
|
|
110
|
+
- \`Magnetic\` wraps a **single** interactive child; don't wrap whole layouts.
|
|
111
|
+
- Trust the reduced-motion / SSR handling \u2014 never add your own \`prefers-reduced-motion\` guards around these.
|
|
112
|
+
`.trim();
|
|
113
|
+
|
|
44
114
|
// src/site/Reveal.tsx
|
|
45
115
|
var React = __toESM(require("react"), 1);
|
|
46
116
|
var import_react = require("motion/react");
|
|
@@ -353,6 +423,7 @@ var Magnetic = React5.forwardRef(function Magnetic2({ strength = 0.35, max = 24,
|
|
|
353
423
|
Marquee,
|
|
354
424
|
Parallax,
|
|
355
425
|
Reveal,
|
|
426
|
+
SITE_AGENT_INSTRUCTIONS,
|
|
356
427
|
SPRING,
|
|
357
428
|
TextReveal
|
|
358
429
|
});
|
package/dist/site.d.cts
CHANGED
|
@@ -181,4 +181,18 @@ interface MagneticProps extends React.ComponentPropsWithoutRef<"div"> {
|
|
|
181
181
|
*/
|
|
182
182
|
declare const Magnetic: React.ForwardRefExoticComponent<MagneticProps & React.RefAttributes<HTMLDivElement>>;
|
|
183
183
|
|
|
184
|
-
|
|
184
|
+
/**
|
|
185
|
+
* Copy-paste into a workforce agent system prompt (or codegen tool context) so
|
|
186
|
+
* the model knows which expressive `/site` motion primitives exist and how to
|
|
187
|
+
* dose them — without turning every page into a motion demo.
|
|
188
|
+
*
|
|
189
|
+
* @example
|
|
190
|
+
* ```ts
|
|
191
|
+
* import { SITE_AGENT_INSTRUCTIONS } from "@timbal-ai/timbal-react/site";
|
|
192
|
+
*
|
|
193
|
+
* const systemPrompt = `${basePrompt}\n\n${SITE_AGENT_INSTRUCTIONS}`;
|
|
194
|
+
* ```
|
|
195
|
+
*/
|
|
196
|
+
declare const SITE_AGENT_INSTRUCTIONS: string;
|
|
197
|
+
|
|
198
|
+
export { DURATION, EASE, Magnetic, type MagneticProps, Marquee, type MarqueeProps, Parallax, type ParallaxProps, Reveal, type RevealProps, type RevealVariant, SITE_AGENT_INSTRUCTIONS, SPRING, TextReveal, type TextRevealProps };
|
package/dist/site.d.ts
CHANGED
|
@@ -181,4 +181,18 @@ interface MagneticProps extends React.ComponentPropsWithoutRef<"div"> {
|
|
|
181
181
|
*/
|
|
182
182
|
declare const Magnetic: React.ForwardRefExoticComponent<MagneticProps & React.RefAttributes<HTMLDivElement>>;
|
|
183
183
|
|
|
184
|
-
|
|
184
|
+
/**
|
|
185
|
+
* Copy-paste into a workforce agent system prompt (or codegen tool context) so
|
|
186
|
+
* the model knows which expressive `/site` motion primitives exist and how to
|
|
187
|
+
* dose them — without turning every page into a motion demo.
|
|
188
|
+
*
|
|
189
|
+
* @example
|
|
190
|
+
* ```ts
|
|
191
|
+
* import { SITE_AGENT_INSTRUCTIONS } from "@timbal-ai/timbal-react/site";
|
|
192
|
+
*
|
|
193
|
+
* const systemPrompt = `${basePrompt}\n\n${SITE_AGENT_INSTRUCTIONS}`;
|
|
194
|
+
* ```
|
|
195
|
+
*/
|
|
196
|
+
declare const SITE_AGENT_INSTRUCTIONS: string;
|
|
197
|
+
|
|
198
|
+
export { DURATION, EASE, Magnetic, type MagneticProps, Marquee, type MarqueeProps, Parallax, type ParallaxProps, Reveal, type RevealProps, type RevealVariant, SITE_AGENT_INSTRUCTIONS, SPRING, TextReveal, type TextRevealProps };
|