@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.
- package/CHANGELOG.md +32 -1
- package/README.md +33 -0
- package/dist/app.cjs +884 -642
- 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-BYl5C-dk.d.ts} +90 -29
- package/dist/{chart-artifact-CS3qyGIY.d.cts → chart-artifact-Dpt4t5sf.d.cts} +90 -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-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-SZDYIRMB.esm.js → chunk-UVPXH4MB.esm.js} +647 -532
- 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/cli/timbal-ui-lint.mjs +503 -0
- package/dist/index.cjs +1358 -856
- 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 +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-
|
|
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
|
|
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 {
|
|
5
|
-
export {
|
|
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-
|
|
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
|
|
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 {
|
|
5
|
-
export {
|
|
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-
|
|
95
|
-
import "./chunk-
|
|
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-
|
|
108
|
+
} from "./chunk-WQIQW7EM.esm.js";
|
|
109
109
|
import {
|
|
110
110
|
Banner,
|
|
111
111
|
Kanban,
|
|
112
112
|
Timeline,
|
|
113
113
|
UntitledButton
|
|
114
|
-
} from "./chunk-
|
|
115
|
-
import "./chunk-
|
|
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-
|
|
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 {
|
|
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
|
-
|
|
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
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
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
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
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({
|
|
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 {
|
|
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 {
|
|
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
|
-
|
|
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
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
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
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
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({
|
|
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 {
|
|
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 $,
|
|
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 $,
|
|
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-
|
|
996
|
-
sm: "min-h-
|
|
997
|
-
md: "min-h-
|
|
998
|
-
lg: "min-h-
|
|
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-
|
|
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-
|
|
1004
|
-
lg: "min-h-
|
|
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-
|
|
1008
|
-
sm: "px-
|
|
1009
|
-
md: "px-5",
|
|
1010
|
-
lg: "px-
|
|
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-
|
|
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-
|
|
1231
|
-
sm: "size-
|
|
1232
|
-
lg: "size-
|
|
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-
|
|
3342
|
-
sm: "h-
|
|
3343
|
-
md: "h-
|
|
3344
|
-
lg: "h-
|
|
3345
|
-
xl: "h-
|
|
3346
|
-
default: "h-
|
|
3347
|
-
icon: "h-
|
|
3348
|
-
"icon-xs": "h-
|
|
3349
|
-
"icon-sm": "h-
|
|
3350
|
-
"icon-lg": "h-
|
|
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
|
),
|