@timbal-ai/timbal-react 1.5.0 → 1.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/CHANGELOG.md +32 -1
  2. package/README.md +33 -0
  3. package/dist/app.cjs +884 -642
  4. package/dist/app.d.cts +4 -4
  5. package/dist/app.d.ts +4 -4
  6. package/dist/app.esm.js +6 -6
  7. package/dist/{chart-artifact-2OTDTRwM.d.ts → chart-artifact-BYl5C-dk.d.ts} +90 -29
  8. package/dist/{chart-artifact-CS3qyGIY.d.cts → chart-artifact-Dpt4t5sf.d.cts} +90 -29
  9. package/dist/{chat-ClmzWzCX.d.cts → chat-DDsp-Vzz.d.cts} +1 -1
  10. package/dist/{chat-ClmzWzCX.d.ts → chat-DDsp-Vzz.d.ts} +1 -1
  11. package/dist/chat.cjs +26 -26
  12. package/dist/chat.d.cts +3 -3
  13. package/dist/chat.d.ts +3 -3
  14. package/dist/chat.esm.js +3 -3
  15. package/dist/{chunk-TZI3ID3C.esm.js → chunk-24B4I4XC.esm.js} +3 -3
  16. package/dist/{chunk-QIABF4KB.esm.js → chunk-ELEY66OH.esm.js} +2 -2
  17. package/dist/{chunk-WMKPT5BV.esm.js → chunk-HSL36SJ4.esm.js} +6 -6
  18. package/dist/chunk-JJOO4PR5.esm.js +391 -0
  19. package/dist/{chunk-AZL2WANO.esm.js → chunk-MBS7XHV2.esm.js} +28 -28
  20. package/dist/{chunk-5ECRZ5O7.esm.js → chunk-NO5AWNWT.esm.js} +224 -57
  21. package/dist/{chunk-ZNYAETFD.esm.js → chunk-R4RQT2XQ.esm.js} +2 -2
  22. package/dist/{chunk-JYDJRGDE.esm.js → chunk-TMP7RIA7.esm.js} +2 -2
  23. package/dist/{chunk-SZDYIRMB.esm.js → chunk-UVPXH4MB.esm.js} +647 -532
  24. package/dist/{chunk-IGHBLJV3.esm.js → chunk-WQIQW7EM.esm.js} +3 -2
  25. package/dist/{chunk-B4XAC4G7.esm.js → chunk-YYEI6XME.esm.js} +361 -527
  26. package/dist/{circular-progress-CDsJwIPF.d.cts → circular-progress-B9nnwzCu.d.cts} +1 -1
  27. package/dist/{circular-progress-CDsJwIPF.d.ts → circular-progress-B9nnwzCu.d.ts} +1 -1
  28. package/dist/cli/timbal-ui-lint.mjs +503 -0
  29. package/dist/index.cjs +1358 -856
  30. package/dist/index.d.cts +9 -8
  31. package/dist/index.d.ts +9 -8
  32. package/dist/index.esm.js +40 -20
  33. package/dist/{kanban-U5xNe9py.d.cts → kanban-FFBeaZPS.d.cts} +4 -4
  34. package/dist/{kanban-U5xNe9py.d.ts → kanban-FFBeaZPS.d.ts} +4 -4
  35. package/dist/{layout-B8r6Jbat.d.ts → layout-CuKeSY74.d.ts} +1 -1
  36. package/dist/{layout-Cu7Ijn04.d.cts → layout-PzVwkJyL.d.cts} +1 -1
  37. package/dist/site.cjs +71 -0
  38. package/dist/site.d.cts +15 -1
  39. package/dist/site.d.ts +15 -1
  40. package/dist/site.esm.js +12 -311
  41. package/dist/studio.cjs +31 -31
  42. package/dist/studio.d.cts +2 -2
  43. package/dist/studio.d.ts +2 -2
  44. package/dist/studio.esm.js +7 -7
  45. package/dist/{timbal-v2-button-B7vPs7gg.d.ts → timbal-v2-button-DCAZNyUx.d.cts} +1 -1
  46. package/dist/{timbal-v2-button-B7vPs7gg.d.cts → timbal-v2-button-DCAZNyUx.d.ts} +1 -1
  47. package/dist/ui.cjs +77 -77
  48. package/dist/ui.d.cts +3 -3
  49. package/dist/ui.d.ts +3 -3
  50. package/dist/ui.esm.js +15 -15
  51. package/dist/{welcome-NXZlcihe.d.cts → welcome-B00oH5Io.d.cts} +1 -1
  52. package/dist/{welcome-DduQAC4K.d.ts → welcome-DU-4NTjZ.d.ts} +1 -1
  53. package/package.json +13 -3
package/dist/app.d.cts CHANGED
@@ -1,8 +1,8 @@
1
- import { A as AppDensity, a as AppDensityClassKey, S as StatusBadgeTone } from './chart-artifact-CS3qyGIY.cjs';
2
- export { b as APP_DENSITY_CHART_HEIGHT, c as APP_DENSITY_CLASSES, d as APP_KIT_AGENT_INSTRUCTIONS, 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, u as BreadcrumbItem, v as Breadcrumbs, w as BreadcrumbsProps, C as CHART_PALETTE, x as COLOR_UTILITY_PREFIXES, y as ChartArtifactView, z as ChartLayout, D as ChartMargin, 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 ContactItem, O as DangerZone, P as DangerZoneAction, Q as DangerZoneActionProps, R as DangerZoneProps, T as DataTable, U as DataTableColumn, V as DataTableProps, W as DataTableSort, X as DataTableSortDirection, Y as DescriptionItem, Z as DescriptionList, _ as DescriptionListProps, $ as EmptyState, a0 as EmptyStateProps, a1 as ExpandableSection, a2 as ExpandableSectionProps, a3 as Field, a4 as FieldInput, a5 as FieldInputProps, a6 as FieldProps, a7 as FieldRow, a8 as FieldRowProps, a9 as FieldSelect, aa as FieldSelectProps, ab as FieldSwitch, ac as FieldSwitchProps, ad as FieldTextarea, ae as FieldTextareaProps, af as FilterBar, ag as FilterBarProps, ah as FilterDropdown, ai as FilterDropdownProps, aj as FilterField, ak as FilterFieldProps, al as FilterState, am as FloatingUnsavedChangesBar, an as FloatingUnsavedChangesBarProps, ao as FormSection, ap as FormSectionProps, aq as HOUSE_RULES, ar as HouseRule, as as INTEGRATION_CATALOG_CARD_HEIGHT_CLASS, at as InfoCard, au as InfoCardProps, av as InfoCardTone, aw as IntegrationCard, ax as IntegrationCardProps, ay as IntegrationCardStatus, az as IntegrationsEmptyState, aA as IntegrationsEmptyStateProps, aB as LineAreaChart, aC as LineAreaChartProps, aD as LintFinding, aE as LintOptions, aF as LintResult, aG as LintSeverity, aH as MetricChartCard, aI as MetricChartCardProps, aJ as MetricChartMetric, aK as MetricRow, aL as MetricRowItem, aM as MetricRowProps, aN as MetricTile, aO as MetricTileProps, aP as Page, aQ as PageHeader, aR as PageHeaderProps, aS as PageProps, aT as PieChart, aU as PieChartProps, aV as PlanBadge, aW as PlanBadgeProps, aX as PlanBadgeTone, aY as RESERVED_GRADIENT_TOKENS, aZ as RadarChart, a_ as RadarChartProps, a$ as RadialChart, b0 as RadialChartProps, b1 as ResourceCard, b2 as ResourceCardProps, b3 as ReviewResult, b4 as SEMANTIC_COLOR_TOKENS, b5 as SLOP_BUDGETS, b6 as SearchInput, b7 as SearchInputProps, b8 as Section, b9 as SectionProps, ba as SemanticColorToken, bb as SettingsSection, bc as SettingsSectionHeader, bd as SettingsSectionHeaderProps, be as SettingsSectionProps, bf as Sparkline, bg as SparklineProps, bh as Stack, bi as StackAlign, bj as StackGap, bk as StackJustify, bl as StackProps, bm as StatTile, bn as StatTileProps, bo as StatTileTone, bp as StatusBadge, bq as StatusBadgeProps, br as StatusDot, bs as StatusDotProps, bt as StatusDotTone, bu as SubNav, bv as SubNavItem, bw as SubNavProps, bx as SurfaceCard, by as SurfaceCardProps, bz as SurfaceCardTone, bA as SurfaceCardVariant, bB as TAILWIND_PALETTE_COLORS, bC as THEME_AGENT_INSTRUCTIONS, bD as TIMBAL_THEME_PRESETS, bE as ThemeShadow, bF as ThemeToCssOptions, bG as ThemeTokenMap, bH as TimbalThemeIntent, bI as TimbalThemePreset, bJ as TimbalThemePresetId, bK as TimbalThemeStyle, bL as TimbalThemeStyleProps, bM as TimbalThemeTokens, bN as TimbalThemeTypography, bO as UI_REVIEW_AGENT_INSTRUCTIONS, bP as UseLiveQueryOptions, bQ as UseLiveQueryResult, bR as appDensityClass, bS as appFilterBarClass, bT as appPageColumnClass, bU as appSearchInputClass, bV as appShellInsetTopClass, bW as appShellTopbarInsetClass, bX as appStatTileClass, bY as appSurfaceCardClass, bZ as applyThemePreset, b_ as applyTimbalTheme, b$ as clearTimbalTheme, c0 as connectionRowListClass, c1 as createTimbalTheme, c2 as ensureThemeFontLink, c3 as flushBarCategoryGap, c4 as flushLineAreaEdgeToEdge, c5 as formatLintReport, c6 as getStoredThemePreset, c7 as getThemePreset, c8 as lintGeneratedUi, c9 as resolveChartMargin, ca as resolveTooltipCategory, cb as reviewGeneratedUi, cc as themeToCss, cd as useAppCopilotContext, ce as useAppShellChat, cf as useAppShellNav, cg as useInterval, ch as useLiveQuery } from './chart-artifact-CS3qyGIY.cjs';
1
+ import { A as AppDensity, a as AppDensityClassKey, S as StatusBadgeTone } from './chart-artifact-Dpt4t5sf.cjs';
2
+ export { b as APP_DENSITY_CHART_HEIGHT, c as APP_DENSITY_CLASSES, d as APP_KIT_AGENT_INSTRUCTIONS, 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, u as BreadcrumbItem, v as Breadcrumbs, w as BreadcrumbsProps, C as CHART_PALETTE, x as COLOR_UTILITY_PREFIXES, y as ChartArtifactView, z as ChartLayout, D as ChartMargin, 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, 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, bZ as appDensityClass, b_ as appFilterBarClass, b$ as appPageColumnClass, c0 as appSearchInputClass, c1 as appShellInsetTopClass, c2 as appShellTopbarInsetClass, c3 as appStatTileClass, c4 as appSurfaceCardClass, 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-Dpt4t5sf.cjs';
3
3
  import { FC, ReactNode } from 'react';
4
- export { A as Avatar, a as AvatarFallback, b as AvatarImage, c as AvatarVariant, B as Banner, d as BannerProps, e as Button, f as ButtonColor, K as Kanban, g as KanbanCardData, h as KanbanCardVariant, i as KanbanColumnData, j as KanbanDensity, k as KanbanDragHandleProps, l as KanbanLocation, m as KanbanMoveEvent, n as KanbanProps, o as KanbanRenderCardContext, p as KanbanTone, T as Timeline, q as TimelineItem, r as TimelineProps, U as UntitledButton, s as UntitledButtonColor, t as UntitledButtonProps, u as UntitledButtonSize } from './kanban-U5xNe9py.cjs';
5
- export { C as ChartArtifact, a as ChartSeriesConfig, T as ThreadVariant, b as TimbalChat, c as TimbalChatProps } from './chat-ClmzWzCX.cjs';
4
+ export { a as Avatar, b as AvatarFallback, c as AvatarImage, D as AvatarVariant, B as Banner, d as BannerProps, 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, U as UntitledButton, w as UntitledButtonColor, x as UntitledButtonProps, y as UntitledButtonSize } from './kanban-FFBeaZPS.cjs';
5
+ export { B as ChartArtifact, D as ChartSeriesConfig, p as ThreadVariant, s as TimbalChat, t as TimbalChatProps } from './chat-DDsp-Vzz.cjs';
6
6
  import 'react/jsx-runtime';
7
7
  import 'class-variance-authority/types';
8
8
  import 'class-variance-authority';
package/dist/app.d.ts CHANGED
@@ -1,8 +1,8 @@
1
- import { A as AppDensity, a as AppDensityClassKey, S as StatusBadgeTone } from './chart-artifact-2OTDTRwM.js';
2
- export { b as APP_DENSITY_CHART_HEIGHT, c as APP_DENSITY_CLASSES, d as APP_KIT_AGENT_INSTRUCTIONS, 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, u as BreadcrumbItem, v as Breadcrumbs, w as BreadcrumbsProps, C as CHART_PALETTE, x as COLOR_UTILITY_PREFIXES, y as ChartArtifactView, z as ChartLayout, D as ChartMargin, 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 ContactItem, O as DangerZone, P as DangerZoneAction, Q as DangerZoneActionProps, R as DangerZoneProps, T as DataTable, U as DataTableColumn, V as DataTableProps, W as DataTableSort, X as DataTableSortDirection, Y as DescriptionItem, Z as DescriptionList, _ as DescriptionListProps, $ as EmptyState, a0 as EmptyStateProps, a1 as ExpandableSection, a2 as ExpandableSectionProps, a3 as Field, a4 as FieldInput, a5 as FieldInputProps, a6 as FieldProps, a7 as FieldRow, a8 as FieldRowProps, a9 as FieldSelect, aa as FieldSelectProps, ab as FieldSwitch, ac as FieldSwitchProps, ad as FieldTextarea, ae as FieldTextareaProps, af as FilterBar, ag as FilterBarProps, ah as FilterDropdown, ai as FilterDropdownProps, aj as FilterField, ak as FilterFieldProps, al as FilterState, am as FloatingUnsavedChangesBar, an as FloatingUnsavedChangesBarProps, ao as FormSection, ap as FormSectionProps, aq as HOUSE_RULES, ar as HouseRule, as as INTEGRATION_CATALOG_CARD_HEIGHT_CLASS, at as InfoCard, au as InfoCardProps, av as InfoCardTone, aw as IntegrationCard, ax as IntegrationCardProps, ay as IntegrationCardStatus, az as IntegrationsEmptyState, aA as IntegrationsEmptyStateProps, aB as LineAreaChart, aC as LineAreaChartProps, aD as LintFinding, aE as LintOptions, aF as LintResult, aG as LintSeverity, aH as MetricChartCard, aI as MetricChartCardProps, aJ as MetricChartMetric, aK as MetricRow, aL as MetricRowItem, aM as MetricRowProps, aN as MetricTile, aO as MetricTileProps, aP as Page, aQ as PageHeader, aR as PageHeaderProps, aS as PageProps, aT as PieChart, aU as PieChartProps, aV as PlanBadge, aW as PlanBadgeProps, aX as PlanBadgeTone, aY as RESERVED_GRADIENT_TOKENS, aZ as RadarChart, a_ as RadarChartProps, a$ as RadialChart, b0 as RadialChartProps, b1 as ResourceCard, b2 as ResourceCardProps, b3 as ReviewResult, b4 as SEMANTIC_COLOR_TOKENS, b5 as SLOP_BUDGETS, b6 as SearchInput, b7 as SearchInputProps, b8 as Section, b9 as SectionProps, ba as SemanticColorToken, bb as SettingsSection, bc as SettingsSectionHeader, bd as SettingsSectionHeaderProps, be as SettingsSectionProps, bf as Sparkline, bg as SparklineProps, bh as Stack, bi as StackAlign, bj as StackGap, bk as StackJustify, bl as StackProps, bm as StatTile, bn as StatTileProps, bo as StatTileTone, bp as StatusBadge, bq as StatusBadgeProps, br as StatusDot, bs as StatusDotProps, bt as StatusDotTone, bu as SubNav, bv as SubNavItem, bw as SubNavProps, bx as SurfaceCard, by as SurfaceCardProps, bz as SurfaceCardTone, bA as SurfaceCardVariant, bB as TAILWIND_PALETTE_COLORS, bC as THEME_AGENT_INSTRUCTIONS, bD as TIMBAL_THEME_PRESETS, bE as ThemeShadow, bF as ThemeToCssOptions, bG as ThemeTokenMap, bH as TimbalThemeIntent, bI as TimbalThemePreset, bJ as TimbalThemePresetId, bK as TimbalThemeStyle, bL as TimbalThemeStyleProps, bM as TimbalThemeTokens, bN as TimbalThemeTypography, bO as UI_REVIEW_AGENT_INSTRUCTIONS, bP as UseLiveQueryOptions, bQ as UseLiveQueryResult, bR as appDensityClass, bS as appFilterBarClass, bT as appPageColumnClass, bU as appSearchInputClass, bV as appShellInsetTopClass, bW as appShellTopbarInsetClass, bX as appStatTileClass, bY as appSurfaceCardClass, bZ as applyThemePreset, b_ as applyTimbalTheme, b$ as clearTimbalTheme, c0 as connectionRowListClass, c1 as createTimbalTheme, c2 as ensureThemeFontLink, c3 as flushBarCategoryGap, c4 as flushLineAreaEdgeToEdge, c5 as formatLintReport, c6 as getStoredThemePreset, c7 as getThemePreset, c8 as lintGeneratedUi, c9 as resolveChartMargin, ca as resolveTooltipCategory, cb as reviewGeneratedUi, cc as themeToCss, cd as useAppCopilotContext, ce as useAppShellChat, cf as useAppShellNav, cg as useInterval, ch as useLiveQuery } from './chart-artifact-2OTDTRwM.js';
1
+ import { A as AppDensity, a as AppDensityClassKey, S as StatusBadgeTone } from './chart-artifact-BYl5C-dk.js';
2
+ export { b as APP_DENSITY_CHART_HEIGHT, c as APP_DENSITY_CLASSES, d as APP_KIT_AGENT_INSTRUCTIONS, 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, u as BreadcrumbItem, v as Breadcrumbs, w as BreadcrumbsProps, C as CHART_PALETTE, x as COLOR_UTILITY_PREFIXES, y as ChartArtifactView, z as ChartLayout, D as ChartMargin, 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, 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, bZ as appDensityClass, b_ as appFilterBarClass, b$ as appPageColumnClass, c0 as appSearchInputClass, c1 as appShellInsetTopClass, c2 as appShellTopbarInsetClass, c3 as appStatTileClass, c4 as appSurfaceCardClass, 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-BYl5C-dk.js';
3
3
  import { FC, ReactNode } from 'react';
4
- export { A as Avatar, a as AvatarFallback, b as AvatarImage, c as AvatarVariant, B as Banner, d as BannerProps, e as Button, f as ButtonColor, K as Kanban, g as KanbanCardData, h as KanbanCardVariant, i as KanbanColumnData, j as KanbanDensity, k as KanbanDragHandleProps, l as KanbanLocation, m as KanbanMoveEvent, n as KanbanProps, o as KanbanRenderCardContext, p as KanbanTone, T as Timeline, q as TimelineItem, r as TimelineProps, U as UntitledButton, s as UntitledButtonColor, t as UntitledButtonProps, u as UntitledButtonSize } from './kanban-U5xNe9py.js';
5
- export { C as ChartArtifact, a as ChartSeriesConfig, T as ThreadVariant, b as TimbalChat, c as TimbalChatProps } from './chat-ClmzWzCX.js';
4
+ export { a as Avatar, b as AvatarFallback, c as AvatarImage, D as AvatarVariant, B as Banner, d as BannerProps, 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, U as UntitledButton, w as UntitledButtonColor, x as UntitledButtonProps, y as UntitledButtonSize } from './kanban-FFBeaZPS.js';
5
+ export { B as ChartArtifact, D as ChartSeriesConfig, p as ThreadVariant, s as TimbalChat, t as TimbalChatProps } from './chat-DDsp-Vzz.js';
6
6
  import 'react/jsx-runtime';
7
7
  import 'class-variance-authority/types';
8
8
  import 'class-variance-authority';
package/dist/app.esm.js CHANGED
@@ -91,8 +91,8 @@ import {
91
91
  useAppShellNav,
92
92
  useInterval,
93
93
  useLiveQuery
94
- } from "./chunk-SZDYIRMB.esm.js";
95
- import "./chunk-QIABF4KB.esm.js";
94
+ } from "./chunk-UVPXH4MB.esm.js";
95
+ import "./chunk-ELEY66OH.esm.js";
96
96
  import {
97
97
  CHART_PALETTE,
98
98
  ChartArtifactView,
@@ -105,20 +105,20 @@ import {
105
105
  flushLineAreaEdgeToEdge,
106
106
  resolveChartMargin,
107
107
  resolveTooltipCategory
108
- } from "./chunk-IGHBLJV3.esm.js";
108
+ } from "./chunk-WQIQW7EM.esm.js";
109
109
  import {
110
110
  Banner,
111
111
  Kanban,
112
112
  Timeline,
113
113
  UntitledButton
114
- } from "./chunk-5ECRZ5O7.esm.js";
115
- import "./chunk-ZNYAETFD.esm.js";
114
+ } from "./chunk-NO5AWNWT.esm.js";
115
+ import "./chunk-R4RQT2XQ.esm.js";
116
116
  import {
117
117
  Avatar,
118
118
  AvatarFallback,
119
119
  AvatarImage,
120
120
  Button
121
- } from "./chunk-AZL2WANO.esm.js";
121
+ } from "./chunk-MBS7XHV2.esm.js";
122
122
  import "./chunk-EDEKQYSU.esm.js";
123
123
  export {
124
124
  APP_DENSITY_CHART_HEIGHT,
@@ -1,5 +1,5 @@
1
1
  import { FC, ReactNode, InputHTMLAttributes, TextareaHTMLAttributes, SelectHTMLAttributes } from 'react';
2
- import { x as TimbalRuntimeProviderProps, r as ThreadProps, C as ChartArtifact } from './chat-ClmzWzCX.js';
2
+ import { v as TimbalRuntimeProviderProps, m as ThreadProps, B as ChartArtifact } from './chat-DDsp-Vzz.js';
3
3
  import * as react_jsx_runtime from 'react/jsx-runtime';
4
4
 
5
5
  /**
@@ -81,6 +81,15 @@ interface HouseRule {
81
81
  slop?: string;
82
82
  /** The tasteful equivalent. */
83
83
  good?: string;
84
+ /**
85
+ * How the rule is enforced. `"lint"` (the default) means `ui-lint.ts` has a
86
+ * deterministic check for it; `"prompt-only"` means the pattern can't be
87
+ * detected with high enough precision to gate on, so it's taught in the
88
+ * prompt but deliberately not linted (a low-precision check would false-flag
89
+ * legitimate UIs under the strict gate). Keeping this explicit lets a test
90
+ * assert every rule made a coverage decision — see `ui-lint.test.ts`.
91
+ */
92
+ enforcement?: "lint" | "prompt-only";
84
93
  }
85
94
  declare const HOUSE_RULES: readonly HouseRule[];
86
95
 
@@ -1121,38 +1130,84 @@ interface FilterFieldProps {
1121
1130
  /** Single filter control with an optional label — use inside `FilterBar`. */
1122
1131
  declare const FilterField: FC<FilterFieldProps>;
1123
1132
 
1124
- interface ContactItem {
1133
+ type FilterFieldType = "multiselect" | "text" | "daterange" | "numeric";
1134
+ type NumericOperator = "gt" | "lt" | "eq";
1135
+ interface FilterSelectOption {
1136
+ /** Stable value stored in the filter state. */
1137
+ value: string;
1138
+ /** Visible label. */
1139
+ label: string;
1140
+ /** Optional leading node (avatar, swatch, status dot). */
1141
+ icon?: ReactNode;
1142
+ /** Optional secondary text (e.g. an email under a name). */
1143
+ hint?: string;
1144
+ }
1145
+ interface FilterDatePreset {
1125
1146
  id: string;
1126
- name: string;
1127
- email: string;
1128
- initials: string;
1129
- avatarUrl?: string;
1130
- }
1131
- interface FilterState {
1132
- contacts: string[];
1133
- walletAddress: string;
1134
- lastInvoiceDate: string | null;
1135
- customDateRange?: {
1136
- from: string;
1137
- to: string;
1138
- };
1139
- lifetimeValue: {
1140
- operator: "greater_than" | "less_than" | "equals";
1141
- value: string;
1142
- } | null;
1143
- outstanding: {
1144
- operator: "greater_than" | "less_than" | "equals";
1145
- value: string;
1146
- } | null;
1147
+ label: string;
1148
+ /** Optional right-aligned hint (e.g. a resolved date range). */
1149
+ hint?: string;
1147
1150
  }
1151
+ interface FilterNumericOperatorOption {
1152
+ id: NumericOperator;
1153
+ label: string;
1154
+ }
1155
+ /** One filterable facet — describe your table's columns with these. */
1156
+ interface FilterFieldDef {
1157
+ /** Stable key; the field's value is stored under this id in `FilterValues`. */
1158
+ id: string;
1159
+ /** Menu label (use the column's name). */
1160
+ label: string;
1161
+ type: FilterFieldType;
1162
+ /** Leading icon in the menu row. */
1163
+ icon?: ReactNode;
1164
+ /** `multiselect` options. */
1165
+ options?: FilterSelectOption[];
1166
+ /** `multiselect` search box — defaults on when there are more than 8 options. */
1167
+ searchable?: boolean;
1168
+ /** Placeholder for the `multiselect` search box. */
1169
+ searchPlaceholder?: string;
1170
+ /** Placeholder for `text` / `numeric` inputs. */
1171
+ placeholder?: string;
1172
+ /** `daterange` presets — defaults to a sensible relative set. */
1173
+ presets?: FilterDatePreset[];
1174
+ /** `numeric` operators — defaults to greater/less/equals. */
1175
+ operators?: FilterNumericOperatorOption[];
1176
+ }
1177
+ interface FilterDateRangeValue {
1178
+ preset: string | null;
1179
+ from?: string;
1180
+ to?: string;
1181
+ }
1182
+ interface FilterNumericValue {
1183
+ operator: NumericOperator;
1184
+ value: string;
1185
+ }
1186
+ /** A single field's value — shape depends on the field `type`. */
1187
+ type FilterValue = string[] | string | FilterDateRangeValue | FilterNumericValue | null | undefined;
1188
+ /** All active filters, keyed by field id. */
1189
+ type FilterValues = Record<string, FilterValue>;
1148
1190
  interface FilterDropdownProps {
1149
- filters?: FilterState;
1150
- onFiltersChange?: (filters: FilterState) => void;
1151
- initialFilters?: Partial<FilterState>;
1152
- contacts?: ContactItem[];
1191
+ /** The filterable facets — one per column you want to filter on. */
1192
+ fields: FilterFieldDef[];
1193
+ /** Controlled value. */
1194
+ value?: FilterValues;
1195
+ /** Uncontrolled initial value. */
1196
+ defaultValue?: FilterValues;
1197
+ /** Fires with the full updated `FilterValues` whenever a facet changes. */
1198
+ onChange?: (values: FilterValues) => void;
1199
+ /** Trigger button text. Default `"Filter"`. */
1200
+ label?: string;
1201
+ /** Popover alignment. Default `"start"`. */
1202
+ align?: "start" | "center" | "end";
1203
+ /**
1204
+ * Render removable pills for the active filters next to the trigger (with a
1205
+ * "Clear all"). Default `true`. Set `false` if you render your own chips.
1206
+ */
1207
+ showActiveChips?: boolean;
1153
1208
  className?: string;
1154
1209
  }
1155
- declare function FilterDropdown({ filters, onFiltersChange, initialFilters, contacts, className, }: FilterDropdownProps): react_jsx_runtime.JSX.Element;
1210
+ declare function FilterDropdown({ fields, value, defaultValue, onChange, label, align, showActiveChips, className, }: FilterDropdownProps): react_jsx_runtime.JSX.Element;
1156
1211
 
1157
1212
  type DataTableSortDirection = "asc" | "desc";
1158
1213
  interface DataTableSort {
@@ -1252,6 +1307,12 @@ interface SparklineProps {
1252
1307
  strokeWidth?: number;
1253
1308
  className?: string;
1254
1309
  ariaLabel?: string;
1310
+ /** Enable hover crosshair + value tooltip. Default false. */
1311
+ interactive?: boolean;
1312
+ /** Per-point category labels (aligned to `data`) shown in the tooltip. */
1313
+ labels?: ReactNode[];
1314
+ /** Format the value shown in the tooltip. Defaults to a compact number. */
1315
+ formatValue?: (value: number, index: number) => ReactNode;
1255
1316
  }
1256
1317
  /** Tiny inline trend line — no axes, no chrome. For table cells and stat tiles. */
1257
1318
  declare const Sparkline: FC<SparklineProps>;
@@ -1632,4 +1693,4 @@ interface ChartArtifactViewProps {
1632
1693
  */
1633
1694
  declare const ChartArtifactView: FC<ChartArtifactViewProps>;
1634
1695
 
1635
- export { EmptyState as $, type AppDensity as A, type BreadcrumbEntry as B, CHART_PALETTE as C, type ChartMargin as D, ChartPanel as E, type ChartPanelProps as F, type ChartSeries as G, type ChartTooltipIndicator as H, type ChartVariant as I, ConnectionRow as J, ConnectionRowList as K, type ConnectionRowListProps as L, type ConnectionRowProps as M, type ContactItem as N, DangerZone as O, DangerZoneAction as P, type DangerZoneActionProps as Q, type DangerZoneProps as R, type StatusBadgeTone as S, DataTable as T, type DataTableColumn as U, type DataTableProps as V, type DataTableSort as W, type DataTableSortDirection as X, type DescriptionItem as Y, DescriptionList as Z, type DescriptionListProps as _, type AppDensityClassKey as a, RadialChart as a$, type EmptyStateProps as a0, ExpandableSection as a1, type ExpandableSectionProps as a2, Field as a3, FieldInput as a4, type FieldInputProps as a5, type FieldProps as a6, FieldRow as a7, type FieldRowProps as a8, FieldSelect as a9, type IntegrationsEmptyStateProps as aA, LineAreaChart as aB, type LineAreaChartProps as aC, type LintFinding as aD, type LintOptions as aE, type LintResult as aF, type LintSeverity as aG, MetricChartCard as aH, type MetricChartCardProps as aI, type MetricChartMetric as aJ, MetricRow as aK, type MetricRowItem as aL, type MetricRowProps as aM, MetricTile as aN, type MetricTileProps as aO, Page as aP, PageHeader as aQ, type PageHeaderProps as aR, type PageProps as aS, PieChart as aT, type PieChartProps as aU, PlanBadge as aV, type PlanBadgeProps as aW, type PlanBadgeTone as aX, RESERVED_GRADIENT_TOKENS as aY, RadarChart as aZ, type RadarChartProps as a_, type FieldSelectProps as aa, FieldSwitch as ab, type FieldSwitchProps as ac, FieldTextarea as ad, type FieldTextareaProps as ae, FilterBar as af, type FilterBarProps as ag, FilterDropdown as ah, type FilterDropdownProps as ai, FilterField as aj, type FilterFieldProps as ak, type FilterState as al, FloatingUnsavedChangesBar as am, type FloatingUnsavedChangesBarProps as an, FormSection as ao, type FormSectionProps as ap, HOUSE_RULES as aq, type HouseRule as ar, INTEGRATION_CATALOG_CARD_HEIGHT_CLASS as as, InfoCard as at, type InfoCardProps as au, type InfoCardTone as av, IntegrationCard as aw, type IntegrationCardProps as ax, type IntegrationCardStatus as ay, IntegrationsEmptyState as az, APP_DENSITY_CHART_HEIGHT as b, clearTimbalTheme as b$, type RadialChartProps as b0, ResourceCard as b1, type ResourceCardProps as b2, type ReviewResult as b3, SEMANTIC_COLOR_TOKENS as b4, SLOP_BUDGETS as b5, SearchInput as b6, type SearchInputProps as b7, Section as b8, type SectionProps as b9, type SurfaceCardVariant as bA, TAILWIND_PALETTE_COLORS as bB, THEME_AGENT_INSTRUCTIONS as bC, TIMBAL_THEME_PRESETS as bD, type ThemeShadow as bE, type ThemeToCssOptions as bF, type ThemeTokenMap as bG, type TimbalThemeIntent as bH, type TimbalThemePreset as bI, type TimbalThemePresetId as bJ, TimbalThemeStyle as bK, type TimbalThemeStyleProps as bL, type TimbalThemeTokens as bM, type TimbalThemeTypography as bN, UI_REVIEW_AGENT_INSTRUCTIONS as bO, type UseLiveQueryOptions as bP, type UseLiveQueryResult as bQ, appDensityClass as bR, appFilterBarClass as bS, appPageColumnClass as bT, appSearchInputClass as bU, appShellInsetTopClass as bV, appShellTopbarInsetClass as bW, appStatTileClass as bX, appSurfaceCardClass as bY, applyThemePreset as bZ, applyTimbalTheme as b_, type SemanticColorToken as ba, SettingsSection as bb, SettingsSectionHeader as bc, type SettingsSectionHeaderProps as bd, type SettingsSectionProps as be, Sparkline as bf, type SparklineProps as bg, Stack as bh, type StackAlign as bi, type StackGap as bj, type StackJustify as bk, type StackProps as bl, StatTile as bm, type StatTileProps as bn, type StatTileTone as bo, StatusBadge as bp, type StatusBadgeProps as bq, StatusDot as br, type StatusDotProps as bs, type StatusDotTone as bt, SubNav as bu, type SubNavItem as bv, type SubNavProps as bw, SurfaceCard as bx, type SurfaceCardProps as by, type SurfaceCardTone as bz, APP_DENSITY_CLASSES as c, connectionRowListClass as c0, createTimbalTheme as c1, ensureThemeFontLink as c2, flushBarCategoryGap as c3, flushLineAreaEdgeToEdge as c4, formatLintReport as c5, getStoredThemePreset as c6, getThemePreset as c7, lintGeneratedUi as c8, resolveChartMargin as c9, resolveTooltipCategory as ca, reviewGeneratedUi as cb, themeToCss as cc, useAppCopilotContext as cd, useAppShellChat as ce, useAppShellNav as cf, useInterval as cg, useLiveQuery as ch, APP_KIT_AGENT_INSTRUCTIONS as d, AppChatPanel as e, type AppChatPanelProps as f, AppConfirmDialog as g, type AppConfirmDialogProps as h, type AppCopilotContextValue as i, AppCopilotProvider as j, type AppCopilotProviderProps as k, type AppPageWidth as l, AppShell as m, type AppShellChatControls as n, AppShellChatTrigger as o, type AppShellChatTriggerProps as p, type AppShellNavControls as q, type AppShellProps as r, AppShellSidebarTrigger as s, type AppShellSidebarTriggerProps as t, type BreadcrumbItem as u, Breadcrumbs as v, type BreadcrumbsProps as w, COLOR_UTILITY_PREFIXES as x, ChartArtifactView as y, type ChartLayout as z };
1696
+ export { type EmptyStateProps as $, type AppDensity as A, type BreadcrumbEntry as B, CHART_PALETTE as C, type ChartMargin as D, ChartPanel as E, type ChartPanelProps as F, type ChartSeries as G, type ChartTooltipIndicator as H, type ChartVariant as I, ConnectionRow as J, ConnectionRowList as K, type ConnectionRowListProps as L, type ConnectionRowProps as M, DangerZone as N, DangerZoneAction as O, type DangerZoneActionProps as P, type DangerZoneProps as Q, DataTable as R, type StatusBadgeTone as S, type DataTableColumn as T, type DataTableProps as U, type DataTableSort as V, type DataTableSortDirection as W, type DescriptionItem as X, DescriptionList as Y, type DescriptionListProps as Z, EmptyState as _, type AppDensityClassKey as a, PieChart as a$, ExpandableSection as a0, type ExpandableSectionProps as a1, Field as a2, FieldInput as a3, type FieldInputProps as a4, type FieldProps as a5, FieldRow as a6, type FieldRowProps as a7, FieldSelect as a8, type FieldSelectProps as a9, InfoCard as aA, type InfoCardProps as aB, type InfoCardTone as aC, IntegrationCard as aD, type IntegrationCardProps as aE, type IntegrationCardStatus as aF, IntegrationsEmptyState as aG, type IntegrationsEmptyStateProps as aH, LineAreaChart as aI, type LineAreaChartProps as aJ, type LintFinding as aK, type LintOptions as aL, type LintResult as aM, type LintSeverity as aN, MetricChartCard as aO, type MetricChartCardProps as aP, type MetricChartMetric as aQ, MetricRow as aR, type MetricRowItem as aS, type MetricRowProps as aT, MetricTile as aU, type MetricTileProps as aV, type NumericOperator as aW, Page as aX, PageHeader as aY, type PageHeaderProps as aZ, type PageProps as a_, FieldSwitch as aa, type FieldSwitchProps as ab, FieldTextarea as ac, type FieldTextareaProps as ad, FilterBar as ae, type FilterBarProps as af, type FilterDatePreset as ag, type FilterDateRangeValue as ah, FilterDropdown as ai, type FilterDropdownProps as aj, FilterField as ak, type FilterFieldDef as al, type FilterFieldProps as am, type FilterFieldType as an, type FilterNumericOperatorOption as ao, type FilterNumericValue as ap, type FilterSelectOption as aq, type FilterValue as ar, type FilterValues as as, FloatingUnsavedChangesBar as at, type FloatingUnsavedChangesBarProps as au, FormSection as av, type FormSectionProps as aw, HOUSE_RULES as ax, type HouseRule as ay, INTEGRATION_CATALOG_CARD_HEIGHT_CLASS as az, APP_DENSITY_CHART_HEIGHT as b, appPageColumnClass as b$, type PieChartProps as b0, PlanBadge as b1, type PlanBadgeProps as b2, type PlanBadgeTone as b3, RESERVED_GRADIENT_TOKENS as b4, RadarChart as b5, type RadarChartProps as b6, RadialChart as b7, type RadialChartProps as b8, ResourceCard as b9, type StatusDotProps as bA, type StatusDotTone as bB, SubNav as bC, type SubNavItem as bD, type SubNavProps as bE, SurfaceCard as bF, type SurfaceCardProps as bG, type SurfaceCardTone as bH, type SurfaceCardVariant as bI, TAILWIND_PALETTE_COLORS as bJ, THEME_AGENT_INSTRUCTIONS as bK, TIMBAL_THEME_PRESETS as bL, type ThemeShadow as bM, type ThemeToCssOptions as bN, type ThemeTokenMap as bO, type TimbalThemeIntent as bP, type TimbalThemePreset as bQ, type TimbalThemePresetId as bR, TimbalThemeStyle as bS, type TimbalThemeStyleProps as bT, type TimbalThemeTokens as bU, type TimbalThemeTypography as bV, UI_REVIEW_AGENT_INSTRUCTIONS as bW, type UseLiveQueryOptions as bX, type UseLiveQueryResult as bY, appDensityClass as bZ, appFilterBarClass as b_, type ResourceCardProps as ba, type ReviewResult as bb, SEMANTIC_COLOR_TOKENS as bc, SLOP_BUDGETS as bd, SearchInput as be, type SearchInputProps as bf, Section as bg, type SectionProps as bh, type SemanticColorToken as bi, SettingsSection as bj, SettingsSectionHeader as bk, type SettingsSectionHeaderProps as bl, type SettingsSectionProps as bm, Sparkline as bn, type SparklineProps as bo, Stack as bp, type StackAlign as bq, type StackGap as br, type StackJustify as bs, type StackProps as bt, StatTile as bu, type StatTileProps as bv, type StatTileTone as bw, StatusBadge as bx, type StatusBadgeProps as by, StatusDot as bz, APP_DENSITY_CLASSES as c, appSearchInputClass as c0, appShellInsetTopClass as c1, appShellTopbarInsetClass as c2, appStatTileClass as c3, appSurfaceCardClass as c4, applyThemePreset as c5, applyTimbalTheme as c6, clearTimbalTheme as c7, connectionRowListClass as c8, createTimbalTheme as c9, ensureThemeFontLink as ca, flushBarCategoryGap as cb, flushLineAreaEdgeToEdge as cc, formatLintReport as cd, getStoredThemePreset as ce, getThemePreset as cf, lintGeneratedUi as cg, resolveChartMargin as ch, resolveTooltipCategory as ci, reviewGeneratedUi as cj, themeToCss as ck, useAppCopilotContext as cl, useAppShellChat as cm, useAppShellNav as cn, useInterval as co, useLiveQuery as cp, APP_KIT_AGENT_INSTRUCTIONS as d, AppChatPanel as e, type AppChatPanelProps as f, AppConfirmDialog as g, type AppConfirmDialogProps as h, type AppCopilotContextValue as i, AppCopilotProvider as j, type AppCopilotProviderProps as k, type AppPageWidth as l, AppShell as m, type AppShellChatControls as n, AppShellChatTrigger as o, type AppShellChatTriggerProps as p, type AppShellNavControls as q, type AppShellProps as r, AppShellSidebarTrigger as s, type AppShellSidebarTriggerProps as t, type BreadcrumbItem as u, Breadcrumbs as v, type BreadcrumbsProps as w, COLOR_UTILITY_PREFIXES as x, ChartArtifactView as y, type ChartLayout as z };
@@ -1,5 +1,5 @@
1
1
  import { FC, ReactNode, InputHTMLAttributes, TextareaHTMLAttributes, SelectHTMLAttributes } from 'react';
2
- import { x as TimbalRuntimeProviderProps, r as ThreadProps, C as ChartArtifact } from './chat-ClmzWzCX.cjs';
2
+ import { v as TimbalRuntimeProviderProps, m as ThreadProps, B as ChartArtifact } from './chat-DDsp-Vzz.cjs';
3
3
  import * as react_jsx_runtime from 'react/jsx-runtime';
4
4
 
5
5
  /**
@@ -81,6 +81,15 @@ interface HouseRule {
81
81
  slop?: string;
82
82
  /** The tasteful equivalent. */
83
83
  good?: string;
84
+ /**
85
+ * How the rule is enforced. `"lint"` (the default) means `ui-lint.ts` has a
86
+ * deterministic check for it; `"prompt-only"` means the pattern can't be
87
+ * detected with high enough precision to gate on, so it's taught in the
88
+ * prompt but deliberately not linted (a low-precision check would false-flag
89
+ * legitimate UIs under the strict gate). Keeping this explicit lets a test
90
+ * assert every rule made a coverage decision — see `ui-lint.test.ts`.
91
+ */
92
+ enforcement?: "lint" | "prompt-only";
84
93
  }
85
94
  declare const HOUSE_RULES: readonly HouseRule[];
86
95
 
@@ -1121,38 +1130,84 @@ interface FilterFieldProps {
1121
1130
  /** Single filter control with an optional label — use inside `FilterBar`. */
1122
1131
  declare const FilterField: FC<FilterFieldProps>;
1123
1132
 
1124
- interface ContactItem {
1133
+ type FilterFieldType = "multiselect" | "text" | "daterange" | "numeric";
1134
+ type NumericOperator = "gt" | "lt" | "eq";
1135
+ interface FilterSelectOption {
1136
+ /** Stable value stored in the filter state. */
1137
+ value: string;
1138
+ /** Visible label. */
1139
+ label: string;
1140
+ /** Optional leading node (avatar, swatch, status dot). */
1141
+ icon?: ReactNode;
1142
+ /** Optional secondary text (e.g. an email under a name). */
1143
+ hint?: string;
1144
+ }
1145
+ interface FilterDatePreset {
1125
1146
  id: string;
1126
- name: string;
1127
- email: string;
1128
- initials: string;
1129
- avatarUrl?: string;
1130
- }
1131
- interface FilterState {
1132
- contacts: string[];
1133
- walletAddress: string;
1134
- lastInvoiceDate: string | null;
1135
- customDateRange?: {
1136
- from: string;
1137
- to: string;
1138
- };
1139
- lifetimeValue: {
1140
- operator: "greater_than" | "less_than" | "equals";
1141
- value: string;
1142
- } | null;
1143
- outstanding: {
1144
- operator: "greater_than" | "less_than" | "equals";
1145
- value: string;
1146
- } | null;
1147
+ label: string;
1148
+ /** Optional right-aligned hint (e.g. a resolved date range). */
1149
+ hint?: string;
1147
1150
  }
1151
+ interface FilterNumericOperatorOption {
1152
+ id: NumericOperator;
1153
+ label: string;
1154
+ }
1155
+ /** One filterable facet — describe your table's columns with these. */
1156
+ interface FilterFieldDef {
1157
+ /** Stable key; the field's value is stored under this id in `FilterValues`. */
1158
+ id: string;
1159
+ /** Menu label (use the column's name). */
1160
+ label: string;
1161
+ type: FilterFieldType;
1162
+ /** Leading icon in the menu row. */
1163
+ icon?: ReactNode;
1164
+ /** `multiselect` options. */
1165
+ options?: FilterSelectOption[];
1166
+ /** `multiselect` search box — defaults on when there are more than 8 options. */
1167
+ searchable?: boolean;
1168
+ /** Placeholder for the `multiselect` search box. */
1169
+ searchPlaceholder?: string;
1170
+ /** Placeholder for `text` / `numeric` inputs. */
1171
+ placeholder?: string;
1172
+ /** `daterange` presets — defaults to a sensible relative set. */
1173
+ presets?: FilterDatePreset[];
1174
+ /** `numeric` operators — defaults to greater/less/equals. */
1175
+ operators?: FilterNumericOperatorOption[];
1176
+ }
1177
+ interface FilterDateRangeValue {
1178
+ preset: string | null;
1179
+ from?: string;
1180
+ to?: string;
1181
+ }
1182
+ interface FilterNumericValue {
1183
+ operator: NumericOperator;
1184
+ value: string;
1185
+ }
1186
+ /** A single field's value — shape depends on the field `type`. */
1187
+ type FilterValue = string[] | string | FilterDateRangeValue | FilterNumericValue | null | undefined;
1188
+ /** All active filters, keyed by field id. */
1189
+ type FilterValues = Record<string, FilterValue>;
1148
1190
  interface FilterDropdownProps {
1149
- filters?: FilterState;
1150
- onFiltersChange?: (filters: FilterState) => void;
1151
- initialFilters?: Partial<FilterState>;
1152
- contacts?: ContactItem[];
1191
+ /** The filterable facets — one per column you want to filter on. */
1192
+ fields: FilterFieldDef[];
1193
+ /** Controlled value. */
1194
+ value?: FilterValues;
1195
+ /** Uncontrolled initial value. */
1196
+ defaultValue?: FilterValues;
1197
+ /** Fires with the full updated `FilterValues` whenever a facet changes. */
1198
+ onChange?: (values: FilterValues) => void;
1199
+ /** Trigger button text. Default `"Filter"`. */
1200
+ label?: string;
1201
+ /** Popover alignment. Default `"start"`. */
1202
+ align?: "start" | "center" | "end";
1203
+ /**
1204
+ * Render removable pills for the active filters next to the trigger (with a
1205
+ * "Clear all"). Default `true`. Set `false` if you render your own chips.
1206
+ */
1207
+ showActiveChips?: boolean;
1153
1208
  className?: string;
1154
1209
  }
1155
- declare function FilterDropdown({ filters, onFiltersChange, initialFilters, contacts, className, }: FilterDropdownProps): react_jsx_runtime.JSX.Element;
1210
+ declare function FilterDropdown({ fields, value, defaultValue, onChange, label, align, showActiveChips, className, }: FilterDropdownProps): react_jsx_runtime.JSX.Element;
1156
1211
 
1157
1212
  type DataTableSortDirection = "asc" | "desc";
1158
1213
  interface DataTableSort {
@@ -1252,6 +1307,12 @@ interface SparklineProps {
1252
1307
  strokeWidth?: number;
1253
1308
  className?: string;
1254
1309
  ariaLabel?: string;
1310
+ /** Enable hover crosshair + value tooltip. Default false. */
1311
+ interactive?: boolean;
1312
+ /** Per-point category labels (aligned to `data`) shown in the tooltip. */
1313
+ labels?: ReactNode[];
1314
+ /** Format the value shown in the tooltip. Defaults to a compact number. */
1315
+ formatValue?: (value: number, index: number) => ReactNode;
1255
1316
  }
1256
1317
  /** Tiny inline trend line — no axes, no chrome. For table cells and stat tiles. */
1257
1318
  declare const Sparkline: FC<SparklineProps>;
@@ -1632,4 +1693,4 @@ interface ChartArtifactViewProps {
1632
1693
  */
1633
1694
  declare const ChartArtifactView: FC<ChartArtifactViewProps>;
1634
1695
 
1635
- export { EmptyState as $, type AppDensity as A, type BreadcrumbEntry as B, CHART_PALETTE as C, type ChartMargin as D, ChartPanel as E, type ChartPanelProps as F, type ChartSeries as G, type ChartTooltipIndicator as H, type ChartVariant as I, ConnectionRow as J, ConnectionRowList as K, type ConnectionRowListProps as L, type ConnectionRowProps as M, type ContactItem as N, DangerZone as O, DangerZoneAction as P, type DangerZoneActionProps as Q, type DangerZoneProps as R, type StatusBadgeTone as S, DataTable as T, type DataTableColumn as U, type DataTableProps as V, type DataTableSort as W, type DataTableSortDirection as X, type DescriptionItem as Y, DescriptionList as Z, type DescriptionListProps as _, type AppDensityClassKey as a, RadialChart as a$, type EmptyStateProps as a0, ExpandableSection as a1, type ExpandableSectionProps as a2, Field as a3, FieldInput as a4, type FieldInputProps as a5, type FieldProps as a6, FieldRow as a7, type FieldRowProps as a8, FieldSelect as a9, type IntegrationsEmptyStateProps as aA, LineAreaChart as aB, type LineAreaChartProps as aC, type LintFinding as aD, type LintOptions as aE, type LintResult as aF, type LintSeverity as aG, MetricChartCard as aH, type MetricChartCardProps as aI, type MetricChartMetric as aJ, MetricRow as aK, type MetricRowItem as aL, type MetricRowProps as aM, MetricTile as aN, type MetricTileProps as aO, Page as aP, PageHeader as aQ, type PageHeaderProps as aR, type PageProps as aS, PieChart as aT, type PieChartProps as aU, PlanBadge as aV, type PlanBadgeProps as aW, type PlanBadgeTone as aX, RESERVED_GRADIENT_TOKENS as aY, RadarChart as aZ, type RadarChartProps as a_, type FieldSelectProps as aa, FieldSwitch as ab, type FieldSwitchProps as ac, FieldTextarea as ad, type FieldTextareaProps as ae, FilterBar as af, type FilterBarProps as ag, FilterDropdown as ah, type FilterDropdownProps as ai, FilterField as aj, type FilterFieldProps as ak, type FilterState as al, FloatingUnsavedChangesBar as am, type FloatingUnsavedChangesBarProps as an, FormSection as ao, type FormSectionProps as ap, HOUSE_RULES as aq, type HouseRule as ar, INTEGRATION_CATALOG_CARD_HEIGHT_CLASS as as, InfoCard as at, type InfoCardProps as au, type InfoCardTone as av, IntegrationCard as aw, type IntegrationCardProps as ax, type IntegrationCardStatus as ay, IntegrationsEmptyState as az, APP_DENSITY_CHART_HEIGHT as b, clearTimbalTheme as b$, type RadialChartProps as b0, ResourceCard as b1, type ResourceCardProps as b2, type ReviewResult as b3, SEMANTIC_COLOR_TOKENS as b4, SLOP_BUDGETS as b5, SearchInput as b6, type SearchInputProps as b7, Section as b8, type SectionProps as b9, type SurfaceCardVariant as bA, TAILWIND_PALETTE_COLORS as bB, THEME_AGENT_INSTRUCTIONS as bC, TIMBAL_THEME_PRESETS as bD, type ThemeShadow as bE, type ThemeToCssOptions as bF, type ThemeTokenMap as bG, type TimbalThemeIntent as bH, type TimbalThemePreset as bI, type TimbalThemePresetId as bJ, TimbalThemeStyle as bK, type TimbalThemeStyleProps as bL, type TimbalThemeTokens as bM, type TimbalThemeTypography as bN, UI_REVIEW_AGENT_INSTRUCTIONS as bO, type UseLiveQueryOptions as bP, type UseLiveQueryResult as bQ, appDensityClass as bR, appFilterBarClass as bS, appPageColumnClass as bT, appSearchInputClass as bU, appShellInsetTopClass as bV, appShellTopbarInsetClass as bW, appStatTileClass as bX, appSurfaceCardClass as bY, applyThemePreset as bZ, applyTimbalTheme as b_, type SemanticColorToken as ba, SettingsSection as bb, SettingsSectionHeader as bc, type SettingsSectionHeaderProps as bd, type SettingsSectionProps as be, Sparkline as bf, type SparklineProps as bg, Stack as bh, type StackAlign as bi, type StackGap as bj, type StackJustify as bk, type StackProps as bl, StatTile as bm, type StatTileProps as bn, type StatTileTone as bo, StatusBadge as bp, type StatusBadgeProps as bq, StatusDot as br, type StatusDotProps as bs, type StatusDotTone as bt, SubNav as bu, type SubNavItem as bv, type SubNavProps as bw, SurfaceCard as bx, type SurfaceCardProps as by, type SurfaceCardTone as bz, APP_DENSITY_CLASSES as c, connectionRowListClass as c0, createTimbalTheme as c1, ensureThemeFontLink as c2, flushBarCategoryGap as c3, flushLineAreaEdgeToEdge as c4, formatLintReport as c5, getStoredThemePreset as c6, getThemePreset as c7, lintGeneratedUi as c8, resolveChartMargin as c9, resolveTooltipCategory as ca, reviewGeneratedUi as cb, themeToCss as cc, useAppCopilotContext as cd, useAppShellChat as ce, useAppShellNav as cf, useInterval as cg, useLiveQuery as ch, APP_KIT_AGENT_INSTRUCTIONS as d, AppChatPanel as e, type AppChatPanelProps as f, AppConfirmDialog as g, type AppConfirmDialogProps as h, type AppCopilotContextValue as i, AppCopilotProvider as j, type AppCopilotProviderProps as k, type AppPageWidth as l, AppShell as m, type AppShellChatControls as n, AppShellChatTrigger as o, type AppShellChatTriggerProps as p, type AppShellNavControls as q, type AppShellProps as r, AppShellSidebarTrigger as s, type AppShellSidebarTriggerProps as t, type BreadcrumbItem as u, Breadcrumbs as v, type BreadcrumbsProps as w, COLOR_UTILITY_PREFIXES as x, ChartArtifactView as y, type ChartLayout as z };
1696
+ export { type EmptyStateProps as $, type AppDensity as A, type BreadcrumbEntry as B, CHART_PALETTE as C, type ChartMargin as D, ChartPanel as E, type ChartPanelProps as F, type ChartSeries as G, type ChartTooltipIndicator as H, type ChartVariant as I, ConnectionRow as J, ConnectionRowList as K, type ConnectionRowListProps as L, type ConnectionRowProps as M, DangerZone as N, DangerZoneAction as O, type DangerZoneActionProps as P, type DangerZoneProps as Q, DataTable as R, type StatusBadgeTone as S, type DataTableColumn as T, type DataTableProps as U, type DataTableSort as V, type DataTableSortDirection as W, type DescriptionItem as X, DescriptionList as Y, type DescriptionListProps as Z, EmptyState as _, type AppDensityClassKey as a, PieChart as a$, ExpandableSection as a0, type ExpandableSectionProps as a1, Field as a2, FieldInput as a3, type FieldInputProps as a4, type FieldProps as a5, FieldRow as a6, type FieldRowProps as a7, FieldSelect as a8, type FieldSelectProps as a9, InfoCard as aA, type InfoCardProps as aB, type InfoCardTone as aC, IntegrationCard as aD, type IntegrationCardProps as aE, type IntegrationCardStatus as aF, IntegrationsEmptyState as aG, type IntegrationsEmptyStateProps as aH, LineAreaChart as aI, type LineAreaChartProps as aJ, type LintFinding as aK, type LintOptions as aL, type LintResult as aM, type LintSeverity as aN, MetricChartCard as aO, type MetricChartCardProps as aP, type MetricChartMetric as aQ, MetricRow as aR, type MetricRowItem as aS, type MetricRowProps as aT, MetricTile as aU, type MetricTileProps as aV, type NumericOperator as aW, Page as aX, PageHeader as aY, type PageHeaderProps as aZ, type PageProps as a_, FieldSwitch as aa, type FieldSwitchProps as ab, FieldTextarea as ac, type FieldTextareaProps as ad, FilterBar as ae, type FilterBarProps as af, type FilterDatePreset as ag, type FilterDateRangeValue as ah, FilterDropdown as ai, type FilterDropdownProps as aj, FilterField as ak, type FilterFieldDef as al, type FilterFieldProps as am, type FilterFieldType as an, type FilterNumericOperatorOption as ao, type FilterNumericValue as ap, type FilterSelectOption as aq, type FilterValue as ar, type FilterValues as as, FloatingUnsavedChangesBar as at, type FloatingUnsavedChangesBarProps as au, FormSection as av, type FormSectionProps as aw, HOUSE_RULES as ax, type HouseRule as ay, INTEGRATION_CATALOG_CARD_HEIGHT_CLASS as az, APP_DENSITY_CHART_HEIGHT as b, appPageColumnClass as b$, type PieChartProps as b0, PlanBadge as b1, type PlanBadgeProps as b2, type PlanBadgeTone as b3, RESERVED_GRADIENT_TOKENS as b4, RadarChart as b5, type RadarChartProps as b6, RadialChart as b7, type RadialChartProps as b8, ResourceCard as b9, type StatusDotProps as bA, type StatusDotTone as bB, SubNav as bC, type SubNavItem as bD, type SubNavProps as bE, SurfaceCard as bF, type SurfaceCardProps as bG, type SurfaceCardTone as bH, type SurfaceCardVariant as bI, TAILWIND_PALETTE_COLORS as bJ, THEME_AGENT_INSTRUCTIONS as bK, TIMBAL_THEME_PRESETS as bL, type ThemeShadow as bM, type ThemeToCssOptions as bN, type ThemeTokenMap as bO, type TimbalThemeIntent as bP, type TimbalThemePreset as bQ, type TimbalThemePresetId as bR, TimbalThemeStyle as bS, type TimbalThemeStyleProps as bT, type TimbalThemeTokens as bU, type TimbalThemeTypography as bV, UI_REVIEW_AGENT_INSTRUCTIONS as bW, type UseLiveQueryOptions as bX, type UseLiveQueryResult as bY, appDensityClass as bZ, appFilterBarClass as b_, type ResourceCardProps as ba, type ReviewResult as bb, SEMANTIC_COLOR_TOKENS as bc, SLOP_BUDGETS as bd, SearchInput as be, type SearchInputProps as bf, Section as bg, type SectionProps as bh, type SemanticColorToken as bi, SettingsSection as bj, SettingsSectionHeader as bk, type SettingsSectionHeaderProps as bl, type SettingsSectionProps as bm, Sparkline as bn, type SparklineProps as bo, Stack as bp, type StackAlign as bq, type StackGap as br, type StackJustify as bs, type StackProps as bt, StatTile as bu, type StatTileProps as bv, type StatTileTone as bw, StatusBadge as bx, type StatusBadgeProps as by, StatusDot as bz, APP_DENSITY_CLASSES as c, appSearchInputClass as c0, appShellInsetTopClass as c1, appShellTopbarInsetClass as c2, appStatTileClass as c3, appSurfaceCardClass as c4, applyThemePreset as c5, applyTimbalTheme as c6, clearTimbalTheme as c7, connectionRowListClass as c8, createTimbalTheme as c9, ensureThemeFontLink as ca, flushBarCategoryGap as cb, flushLineAreaEdgeToEdge as cc, formatLintReport as cd, getStoredThemePreset as ce, getThemePreset as cf, lintGeneratedUi as cg, resolveChartMargin as ch, resolveTooltipCategory as ci, reviewGeneratedUi as cj, themeToCss as ck, useAppCopilotContext as cl, useAppShellChat as cm, useAppShellNav as cn, useInterval as co, useLiveQuery as cp, APP_KIT_AGENT_INSTRUCTIONS as d, AppChatPanel as e, type AppChatPanelProps as f, AppConfirmDialog as g, type AppConfirmDialogProps as h, type AppCopilotContextValue as i, AppCopilotProvider as j, type AppCopilotProviderProps as k, type AppPageWidth as l, AppShell as m, type AppShellChatControls as n, AppShellChatTrigger as o, type AppShellChatTriggerProps as p, type AppShellNavControls as q, type AppShellProps as r, AppShellSidebarTrigger as s, type AppShellSidebarTriggerProps as t, type BreadcrumbItem as u, Breadcrumbs as v, type BreadcrumbsProps as w, COLOR_UTILITY_PREFIXES as x, ChartArtifactView as y, type ChartLayout as z };
@@ -686,4 +686,4 @@ interface TimbalChatProps extends Omit<TimbalRuntimeProviderProps, "children">,
686
686
  }
687
687
  declare function TimbalChat({ workforceId, baseUrl, fetch, attachments, attachmentsUploadUrl, attachmentsAccept, debug, ...threadProps }: TimbalChatProps): react_jsx_runtime.JSX.Element;
688
688
 
689
- export { type UiAction as $, useResolvedSuggestions as A, useTimbalRuntime as B, type ChartArtifact as C, useTimbalStream as D, type UiArtifact as E, type UiNode as F, type AnyArtifact as G, type HtmlArtifact as H, type TableArtifact as I, type JsonArtifact as J, type ArtifactRegistry as K, ArtifactRegistryProvider as L, type ArtifactRenderer as M, type ArtifactRendererProps as N, ArtifactView as O, type CreateDefaultAttachmentAdapterOptions as P, type QuestionArtifact as Q, type CreateUploadAttachmentAdapterOptions as R, type SendOptions as S, type ThreadVariant as T, type UseTimbalStreamOptions as U, DEFAULT_UPLOAD_ACCEPT as V, type QuestionOption as W, type ResolveAttachmentAdapterOptions as X, type TimbalArtifact as Y, type TimbalAttachmentsConfig as Z, type TimbalAttachmentsProp as _, type ChartSeriesConfig as a, UiCustomNodeRegistryProvider as a0, type UiEventEnvelope as a1, UiEventProvider as a2, type UploadFetchFn as a3, createDefaultAttachmentAdapter as a4, createUploadAttachmentAdapter as a5, defaultArtifactRenderers as a6, getPath as a7, isArtifact as a8, isUiBinding as a9, resolveAttachmentAdapter as aa, resolveBindable as ab, setPath as ac, useArtifactRegistry as ad, useUiCustomNodeRegistry as ae, useUiDispatch as af, useUiEventEmitter as ag, useUiState as ah, TimbalChat as b, type TimbalChatProps as c, type ChatAttachment as d, type ChatMessage as e, Composer as f, type ComposerProps as g, type ContentPart as h, Suggestions as i, type SuggestionsComponent as j, type SuggestionsSlotProps as k, type SuggestionsSource as l, type TextContentPart as m, type ThinkingContentPart as n, Thread as o, type ThreadArtifactsConfig as p, type ThreadComponents as q, type ThreadProps as r, type ThreadSuggestion as s, type ThreadSuggestionsProps as t, type ThreadWelcomeConfig as u, type ThreadWelcomeProps as v, TimbalRuntimeProvider as w, type TimbalRuntimeProviderProps as x, type TimbalStreamApi as y, type ToolCallContentPart as z };
689
+ export { type UiAction as $, useTimbalStream as A, type ChartArtifact as B, type ChatAttachment as C, type ChartSeriesConfig as D, type UiArtifact as E, type UiNode as F, type AnyArtifact as G, type HtmlArtifact as H, type TableArtifact as I, type JsonArtifact as J, type ArtifactRegistry as K, ArtifactRegistryProvider as L, type ArtifactRenderer as M, type ArtifactRendererProps as N, ArtifactView as O, type CreateDefaultAttachmentAdapterOptions as P, type QuestionArtifact as Q, type CreateUploadAttachmentAdapterOptions as R, type SendOptions as S, type TextContentPart as T, type UseTimbalStreamOptions as U, DEFAULT_UPLOAD_ACCEPT as V, type QuestionOption as W, type ResolveAttachmentAdapterOptions as X, type TimbalArtifact as Y, type TimbalAttachmentsConfig as Z, type TimbalAttachmentsProp as _, type ChatMessage as a, UiCustomNodeRegistryProvider as a0, type UiEventEnvelope as a1, UiEventProvider as a2, type UploadFetchFn as a3, createDefaultAttachmentAdapter as a4, createUploadAttachmentAdapter as a5, defaultArtifactRenderers as a6, getPath as a7, isArtifact as a8, isUiBinding as a9, resolveAttachmentAdapter as aa, resolveBindable as ab, setPath as ac, useArtifactRegistry as ad, useUiCustomNodeRegistry as ae, useUiDispatch as af, useUiEventEmitter as ag, useUiState as ah, Composer as b, type ComposerProps as c, type ContentPart as d, Suggestions as e, type SuggestionsComponent as f, type SuggestionsSlotProps as g, type SuggestionsSource as h, type ThinkingContentPart as i, Thread as j, type ThreadArtifactsConfig as k, type ThreadComponents as l, type ThreadProps as m, type ThreadSuggestion as n, type ThreadSuggestionsProps as o, type ThreadVariant as p, type ThreadWelcomeConfig as q, type ThreadWelcomeProps as r, TimbalChat as s, type TimbalChatProps as t, TimbalRuntimeProvider as u, type TimbalRuntimeProviderProps as v, type TimbalStreamApi as w, type ToolCallContentPart as x, useResolvedSuggestions as y, useTimbalRuntime as z };
@@ -686,4 +686,4 @@ interface TimbalChatProps extends Omit<TimbalRuntimeProviderProps, "children">,
686
686
  }
687
687
  declare function TimbalChat({ workforceId, baseUrl, fetch, attachments, attachmentsUploadUrl, attachmentsAccept, debug, ...threadProps }: TimbalChatProps): react_jsx_runtime.JSX.Element;
688
688
 
689
- export { type UiAction as $, useResolvedSuggestions as A, useTimbalRuntime as B, type ChartArtifact as C, useTimbalStream as D, type UiArtifact as E, type UiNode as F, type AnyArtifact as G, type HtmlArtifact as H, type TableArtifact as I, type JsonArtifact as J, type ArtifactRegistry as K, ArtifactRegistryProvider as L, type ArtifactRenderer as M, type ArtifactRendererProps as N, ArtifactView as O, type CreateDefaultAttachmentAdapterOptions as P, type QuestionArtifact as Q, type CreateUploadAttachmentAdapterOptions as R, type SendOptions as S, type ThreadVariant as T, type UseTimbalStreamOptions as U, DEFAULT_UPLOAD_ACCEPT as V, type QuestionOption as W, type ResolveAttachmentAdapterOptions as X, type TimbalArtifact as Y, type TimbalAttachmentsConfig as Z, type TimbalAttachmentsProp as _, type ChartSeriesConfig as a, UiCustomNodeRegistryProvider as a0, type UiEventEnvelope as a1, UiEventProvider as a2, type UploadFetchFn as a3, createDefaultAttachmentAdapter as a4, createUploadAttachmentAdapter as a5, defaultArtifactRenderers as a6, getPath as a7, isArtifact as a8, isUiBinding as a9, resolveAttachmentAdapter as aa, resolveBindable as ab, setPath as ac, useArtifactRegistry as ad, useUiCustomNodeRegistry as ae, useUiDispatch as af, useUiEventEmitter as ag, useUiState as ah, TimbalChat as b, type TimbalChatProps as c, type ChatAttachment as d, type ChatMessage as e, Composer as f, type ComposerProps as g, type ContentPart as h, Suggestions as i, type SuggestionsComponent as j, type SuggestionsSlotProps as k, type SuggestionsSource as l, type TextContentPart as m, type ThinkingContentPart as n, Thread as o, type ThreadArtifactsConfig as p, type ThreadComponents as q, type ThreadProps as r, type ThreadSuggestion as s, type ThreadSuggestionsProps as t, type ThreadWelcomeConfig as u, type ThreadWelcomeProps as v, TimbalRuntimeProvider as w, type TimbalRuntimeProviderProps as x, type TimbalStreamApi as y, type ToolCallContentPart as z };
689
+ export { type UiAction as $, useTimbalStream as A, type ChartArtifact as B, type ChatAttachment as C, type ChartSeriesConfig as D, type UiArtifact as E, type UiNode as F, type AnyArtifact as G, type HtmlArtifact as H, type TableArtifact as I, type JsonArtifact as J, type ArtifactRegistry as K, ArtifactRegistryProvider as L, type ArtifactRenderer as M, type ArtifactRendererProps as N, ArtifactView as O, type CreateDefaultAttachmentAdapterOptions as P, type QuestionArtifact as Q, type CreateUploadAttachmentAdapterOptions as R, type SendOptions as S, type TextContentPart as T, type UseTimbalStreamOptions as U, DEFAULT_UPLOAD_ACCEPT as V, type QuestionOption as W, type ResolveAttachmentAdapterOptions as X, type TimbalArtifact as Y, type TimbalAttachmentsConfig as Z, type TimbalAttachmentsProp as _, type ChatMessage as a, UiCustomNodeRegistryProvider as a0, type UiEventEnvelope as a1, UiEventProvider as a2, type UploadFetchFn as a3, createDefaultAttachmentAdapter as a4, createUploadAttachmentAdapter as a5, defaultArtifactRenderers as a6, getPath as a7, isArtifact as a8, isUiBinding as a9, resolveAttachmentAdapter as aa, resolveBindable as ab, setPath as ac, useArtifactRegistry as ad, useUiCustomNodeRegistry as ae, useUiDispatch as af, useUiEventEmitter as ag, useUiState as ah, Composer as b, type ComposerProps as c, type ContentPart as d, Suggestions as e, type SuggestionsComponent as f, type SuggestionsSlotProps as g, type SuggestionsSource as h, type ThinkingContentPart as i, Thread as j, type ThreadArtifactsConfig as k, type ThreadComponents as l, type ThreadProps as m, type ThreadSuggestion as n, type ThreadSuggestionsProps as o, type ThreadVariant as p, type ThreadWelcomeConfig as q, type ThreadWelcomeProps as r, TimbalChat as s, type TimbalChatProps as t, TimbalRuntimeProvider as u, type TimbalRuntimeProviderProps as v, type TimbalStreamApi as w, type ToolCallContentPart as x, useResolvedSuggestions as y, useTimbalRuntime as z };
package/dist/chat.cjs CHANGED
@@ -992,22 +992,22 @@ var TIMBAL_V2_MODAL_SURFACE = cn(
992
992
  );
993
993
  var TIMBAL_V2_PRIMARY_GRADIENT = "bg-gradient-to-b from-primary-fill-from to-primary-fill-to";
994
994
  var TIMBAL_V2_SIZE_HEIGHT = {
995
- xs: "min-h-8 h-8",
996
- sm: "min-h-9 h-9",
997
- md: "min-h-10 h-10",
998
- lg: "min-h-11 h-11"
995
+ xs: "min-h-7 h-7",
996
+ sm: "min-h-8 h-8",
997
+ md: "min-h-9 h-9",
998
+ lg: "min-h-10 h-10"
999
999
  };
1000
1000
  var TIMBAL_V2_SIZE_ICON = {
1001
- xs: "min-h-8 min-w-8 size-8",
1001
+ xs: "min-h-7 min-w-7 size-7",
1002
1002
  sm: "min-h-8 min-w-8 size-8",
1003
- md: "min-h-10 min-w-10 size-10",
1004
- lg: "min-h-11 min-w-11 size-11"
1003
+ md: "min-h-9 min-w-9 size-9",
1004
+ lg: "min-h-10 min-w-10 size-10"
1005
1005
  };
1006
1006
  var TIMBAL_V2_SIZE_LABEL_PX = {
1007
- xs: "px-3",
1008
- sm: "px-4",
1009
- md: "px-5",
1010
- lg: "px-6"
1007
+ xs: "px-2.5",
1008
+ sm: "px-3",
1009
+ md: "px-3.5",
1010
+ lg: "px-4.5"
1011
1011
  };
1012
1012
  var TIMBAL_V2_FILL = {
1013
1013
  primary: [
@@ -1169,7 +1169,7 @@ function DialogContent({
1169
1169
  "data-slot": "dialog-content",
1170
1170
  className: cn(
1171
1171
  TIMBAL_V2_MODAL_SURFACE,
1172
- "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-[70] grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-xl p-6 duration-200 outline-none sm:max-w-lg",
1172
+ "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-[70] grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-xl p-5 duration-200 outline-none sm:max-w-lg",
1173
1173
  className
1174
1174
  ),
1175
1175
  ...props,
@@ -1227,9 +1227,9 @@ function isBrandedVariant(variant) {
1227
1227
  return variant === "secondary" || variant === "primary" || variant === "chart";
1228
1228
  }
1229
1229
  var AVATAR_SIZE_CLASS = {
1230
- default: "size-8",
1231
- sm: "size-6",
1232
- lg: "size-10"
1230
+ default: "size-7",
1231
+ sm: "size-5",
1232
+ lg: "size-9"
1233
1233
  };
1234
1234
  function Avatar({
1235
1235
  className,
@@ -3338,16 +3338,16 @@ var buttonVariants = (0, import_class_variance_authority.cva)(
3338
3338
  )
3339
3339
  },
3340
3340
  size: {
3341
- xs: "h-8 gap-1 rounded-md px-2.5 text-xs",
3342
- sm: "h-9 gap-1.5 rounded-lg px-3 text-sm",
3343
- md: "h-10 gap-1.5 rounded-lg px-3.5 text-sm",
3344
- lg: "h-11 gap-2 rounded-lg px-4 text-base",
3345
- xl: "h-12 gap-2 rounded-lg px-5 text-base",
3346
- default: "h-10 gap-1.5 rounded-lg px-3.5 text-sm",
3347
- icon: "h-10 w-10 rounded-lg",
3348
- "icon-xs": "h-8 w-8 rounded-md",
3349
- "icon-sm": "h-9 w-9 rounded-lg",
3350
- "icon-lg": "h-11 w-11 rounded-lg"
3341
+ xs: "h-7 gap-1 rounded-md px-2 text-xs",
3342
+ sm: "h-8 gap-1 rounded-md px-2.5 text-xs",
3343
+ md: "h-9 gap-1.5 rounded-lg px-3 text-sm",
3344
+ lg: "h-10 gap-1.5 rounded-lg px-3.5 text-sm",
3345
+ xl: "h-11 gap-2 rounded-lg px-4 text-base",
3346
+ default: "h-9 gap-1.5 rounded-lg px-3 text-sm",
3347
+ icon: "h-9 w-9 rounded-lg",
3348
+ "icon-xs": "h-7 w-7 rounded-md",
3349
+ "icon-sm": "h-8 w-8 rounded-md",
3350
+ "icon-lg": "h-10 w-10 rounded-lg"
3351
3351
  },
3352
3352
  shape: {
3353
3353
  pill: "rounded-full!",
@@ -3604,7 +3604,7 @@ var BadgeNode = ({ node }) => {
3604
3604
  "span",
3605
3605
  {
3606
3606
  className: cn(
3607
- "aui-ui-badge inline-flex items-center rounded-full px-2 py-0.5 text-xs font-medium",
3607
+ "aui-ui-badge inline-flex w-fit shrink-0 items-center rounded-full px-2 py-0.5 text-xs font-medium",
3608
3608
  BADGE_TONE[node.tone ?? "default"],
3609
3609
  node.className
3610
3610
  ),