@l3mpire/ui 3.3.0 → 3.5.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/USAGE.md +469 -10
- package/dist/index.d.mts +498 -28
- package/dist/index.d.ts +498 -28
- package/dist/index.js +5695 -3604
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6269 -4156
- package/dist/index.mjs.map +1 -1
- package/package.json +5 -5
- package/src/styles/globals.css +226 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { ClassValue } from 'clsx';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import * as _l3mpire_icons from '@l3mpire/icons';
|
|
4
|
-
import { IconDefinition } from '@l3mpire/icons';
|
|
5
3
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
6
4
|
import { VariantProps } from 'class-variance-authority';
|
|
5
|
+
import * as _l3mpire_icons from '@l3mpire/icons';
|
|
6
|
+
import { IconDefinition } from '@l3mpire/icons';
|
|
7
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
8
|
+
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
7
9
|
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
8
10
|
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
9
11
|
import * as ToastPrimitive from '@radix-ui/react-toast';
|
|
@@ -14,13 +16,450 @@ import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
|
|
|
14
16
|
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
15
17
|
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
16
18
|
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
17
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
18
19
|
import { ColumnDef, SortingState, OnChangeFn, ColumnFiltersState, PaginationState, RowSelectionState, VisibilityState, ColumnOrderState, ColumnPinningState, Table as Table$1 } from '@tanstack/react-table';
|
|
19
20
|
export { ColumnDef, ColumnFiltersState, RowSelectionState, SortingState, flexRender } from '@tanstack/react-table';
|
|
20
|
-
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
21
21
|
|
|
22
22
|
declare function cn(...inputs: ClassValue[]): string;
|
|
23
23
|
|
|
24
|
+
declare const TAG_PALETTE: readonly ["indigo", "rose", "lime", "violet", "cyan", "orange", "emerald", "fuchsia", "amber", "slate"];
|
|
25
|
+
type TagColorName = (typeof TAG_PALETTE)[number];
|
|
26
|
+
interface TagColor {
|
|
27
|
+
name: TagColorName;
|
|
28
|
+
bg: string;
|
|
29
|
+
text: string;
|
|
30
|
+
border: string;
|
|
31
|
+
}
|
|
32
|
+
declare function tagColorAt(index: number): TagColor;
|
|
33
|
+
declare function tagColorFor(value: string, list: readonly string[]): TagColor;
|
|
34
|
+
|
|
35
|
+
type AICellState = {
|
|
36
|
+
status: "pending";
|
|
37
|
+
} | {
|
|
38
|
+
status: "running";
|
|
39
|
+
} | {
|
|
40
|
+
status: "done";
|
|
41
|
+
value: string;
|
|
42
|
+
citations?: string[];
|
|
43
|
+
} | {
|
|
44
|
+
status: "error";
|
|
45
|
+
message: string;
|
|
46
|
+
};
|
|
47
|
+
declare const AI_RUNNING_VERBS: readonly ["Thinking", "Researching", "Generating", "Extracting", "Analyzing"];
|
|
48
|
+
type AIRunningVerb = (typeof AI_RUNNING_VERBS)[number];
|
|
49
|
+
declare function pickRunningVerb(seed?: string): AIRunningVerb;
|
|
50
|
+
interface AICellProps extends React.HTMLAttributes<HTMLSpanElement> {
|
|
51
|
+
state: AICellState | undefined;
|
|
52
|
+
/** Stable per-cell seed so the running verb is consistent across re-renders. */
|
|
53
|
+
seed?: string;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* AICell renders the four states (pending → running → done | error) inside a
|
|
57
|
+
* single stable <span> shell. Children swap in place — no unmount between
|
|
58
|
+
* states — which is why there is no perceptible blank frame between running
|
|
59
|
+
* and done. Error has its own shell because it is not wrapped in a tooltip.
|
|
60
|
+
*/
|
|
61
|
+
declare const AICell: React.ForwardRefExoticComponent<AICellProps & React.RefAttributes<HTMLSpanElement>>;
|
|
62
|
+
|
|
63
|
+
declare const badgeVariants: (props?: ({
|
|
64
|
+
variant?: "solid" | "light" | "outlined" | null | undefined;
|
|
65
|
+
type?: "primary" | "success" | "critical" | "warning" | "neutral" | null | undefined;
|
|
66
|
+
tone?: "indigo" | "rose" | "lime" | "violet" | "cyan" | "orange" | "emerald" | "fuchsia" | "amber" | "slate" | "teal" | "sky" | "purple" | "pink" | null | undefined;
|
|
67
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
68
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
69
|
+
interface BadgeProps extends Omit<React.HTMLAttributes<HTMLSpanElement>, "type">, VariantProps<typeof badgeVariants> {
|
|
70
|
+
icon?: IconDefinition;
|
|
71
|
+
}
|
|
72
|
+
declare const Badge: React.ForwardRefExoticComponent<BadgeProps & React.RefAttributes<HTMLSpanElement>>;
|
|
73
|
+
|
|
74
|
+
interface AIBadgeProps extends Omit<React.HTMLAttributes<HTMLSpanElement>, "type"> {
|
|
75
|
+
/** Hide the leading stars icon. */
|
|
76
|
+
iconHidden?: boolean;
|
|
77
|
+
/** Override the default `lg` size to match a denser cell row. */
|
|
78
|
+
size?: BadgeProps["size"];
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Marker that flags a value or column as AI-driven. Renders as a regular
|
|
82
|
+
* `<Badge variant="light" type="primary" size="lg" />` (same grammar as
|
|
83
|
+
* `StatusCell`) with the stars glyph as a leading icon.
|
|
84
|
+
*/
|
|
85
|
+
declare const AIBadge: React.ForwardRefExoticComponent<AIBadgeProps & React.RefAttributes<HTMLSpanElement>>;
|
|
86
|
+
|
|
87
|
+
interface AIColumnHeaderBarProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
88
|
+
label: string;
|
|
89
|
+
/** Fires when the user clicks the "run on all rows" button. */
|
|
90
|
+
onRun?: () => void;
|
|
91
|
+
/** Localized tooltip for the run button. */
|
|
92
|
+
runLabel?: string;
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* Header bar tailored for AI columns. The Play button only appears when the
|
|
96
|
+
* header is hovered (use the `group/aih` named group, scoped to this bar).
|
|
97
|
+
*/
|
|
98
|
+
declare const AIColumnHeaderBar: React.ForwardRefExoticComponent<AIColumnHeaderBarProps & React.RefAttributes<HTMLDivElement>>;
|
|
99
|
+
|
|
100
|
+
interface AISuggestionDotProps extends Omit<React.HTMLAttributes<HTMLButtonElement>, "onClick"> {
|
|
101
|
+
/** Short explanation surfaced inside the popover. */
|
|
102
|
+
reason?: string;
|
|
103
|
+
/** Current value the AI wants to replace (left side of the arrow). */
|
|
104
|
+
from?: React.ReactNode;
|
|
105
|
+
/** Suggested value (right side of the arrow). */
|
|
106
|
+
to: React.ReactNode;
|
|
107
|
+
onApply: () => void;
|
|
108
|
+
onDismiss: () => void;
|
|
109
|
+
/** Popover anchoring side. Defaults to bottom. */
|
|
110
|
+
side?: "top" | "right" | "bottom" | "left";
|
|
111
|
+
/** Localized labels. */
|
|
112
|
+
title?: string;
|
|
113
|
+
applyLabel?: string;
|
|
114
|
+
dismissLabel?: string;
|
|
115
|
+
}
|
|
116
|
+
/**
|
|
117
|
+
* A pulsing violet dot anchored next to a cell value. Clicking it opens a
|
|
118
|
+
* popover with the AI's suggestion plus Apply / Dismiss actions.
|
|
119
|
+
*/
|
|
120
|
+
declare const AISuggestionDot: React.ForwardRefExoticComponent<AISuggestionDotProps & React.RefAttributes<HTMLButtonElement>>;
|
|
121
|
+
|
|
122
|
+
type AIColumnOutputFormat = "text" | "number" | "boolean" | "select" | "date";
|
|
123
|
+
interface AIColumnConfig {
|
|
124
|
+
name: string;
|
|
125
|
+
prompt: string;
|
|
126
|
+
outputFormat: AIColumnOutputFormat;
|
|
127
|
+
/** Optional consumer-defined slots (model, sources, timeframe…). */
|
|
128
|
+
extras?: Record<string, unknown>;
|
|
129
|
+
}
|
|
130
|
+
interface AIColumnSidePanelProps {
|
|
131
|
+
/** Controlled open state. If omitted, behaves uncontrolled via trigger. */
|
|
132
|
+
open?: boolean;
|
|
133
|
+
onOpenChange?: (open: boolean) => void;
|
|
134
|
+
/** Initial config when creating or editing an existing column. */
|
|
135
|
+
initialConfig?: Partial<AIColumnConfig>;
|
|
136
|
+
/** Fired with the assembled config when the user saves. */
|
|
137
|
+
onSave: (config: AIColumnConfig) => void;
|
|
138
|
+
/** Optional trigger that opens the side panel (uncontrolled mode). */
|
|
139
|
+
trigger?: React.ReactNode;
|
|
140
|
+
/** Render slot for model picker, sources, timeframe etc. */
|
|
141
|
+
extrasSlot?: (extras: AIColumnConfig["extras"], setExtras: (next: AIColumnConfig["extras"]) => void) => React.ReactNode;
|
|
142
|
+
/** Submit label. Defaults to "Save". */
|
|
143
|
+
saveLabel?: string;
|
|
144
|
+
/** Title of the panel. Defaults to "AI column". */
|
|
145
|
+
title?: string;
|
|
146
|
+
}
|
|
147
|
+
/**
|
|
148
|
+
* Side panel scaffold for creating or editing an AI column. The shell
|
|
149
|
+
* (header, body sections, footer) is opinionated; product-specific
|
|
150
|
+
* controls (model picker, sources picker, timeframe) plug in through
|
|
151
|
+
* `extrasSlot`.
|
|
152
|
+
*/
|
|
153
|
+
declare function AIColumnSidePanel({ open, onOpenChange, initialConfig, onSave, trigger, extrasSlot, saveLabel, title, }: AIColumnSidePanelProps): react_jsx_runtime.JSX.Element;
|
|
154
|
+
declare namespace AIColumnSidePanel {
|
|
155
|
+
var displayName: string;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
interface HoverCardProps {
|
|
159
|
+
/** Delay in ms before the card opens after the trigger is hovered. */
|
|
160
|
+
openDelay?: number;
|
|
161
|
+
/** Delay in ms before the card closes after the pointer leaves. */
|
|
162
|
+
closeDelay?: number;
|
|
163
|
+
/** Controlled open state. If provided, the component is controlled. */
|
|
164
|
+
open?: boolean;
|
|
165
|
+
onOpenChange?: (open: boolean) => void;
|
|
166
|
+
children: React.ReactNode;
|
|
167
|
+
}
|
|
168
|
+
declare function HoverCard({ openDelay, closeDelay, open: controlledOpen, onOpenChange, children, }: HoverCardProps): react_jsx_runtime.JSX.Element;
|
|
169
|
+
interface HoverCardTriggerProps extends React.HTMLAttributes<HTMLElement> {
|
|
170
|
+
asChild?: boolean;
|
|
171
|
+
children: React.ReactNode;
|
|
172
|
+
}
|
|
173
|
+
declare const HoverCardTrigger: React.ForwardRefExoticComponent<HoverCardTriggerProps & React.RefAttributes<HTMLElement>>;
|
|
174
|
+
interface HoverCardContentProps extends React.ComponentPropsWithoutRef<typeof PopoverPrimitive.Content> {
|
|
175
|
+
}
|
|
176
|
+
declare const HoverCardContent: React.ForwardRefExoticComponent<HoverCardContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
177
|
+
|
|
178
|
+
interface RowQuickAction {
|
|
179
|
+
icon: IconDefinition;
|
|
180
|
+
label: string;
|
|
181
|
+
onClick: (e: React.MouseEvent<HTMLButtonElement>) => void;
|
|
182
|
+
/** Optional href if the action navigates. */
|
|
183
|
+
href?: string;
|
|
184
|
+
}
|
|
185
|
+
interface RowQuickActionsProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
186
|
+
actions: RowQuickAction[];
|
|
187
|
+
/**
|
|
188
|
+
* Named hover group to listen to. Defaults to the unnamed group, so the
|
|
189
|
+
* actions appear when ANY ancestor `group` is hovered. Use a named group
|
|
190
|
+
* like `"co"` when the row contains nested groups that should not trigger
|
|
191
|
+
* each other.
|
|
192
|
+
*/
|
|
193
|
+
group?: string;
|
|
194
|
+
size?: "sm" | "md";
|
|
195
|
+
}
|
|
196
|
+
/**
|
|
197
|
+
* A row of icon-only buttons that fade in when the parent row is hovered.
|
|
198
|
+
* Stops propagation on each button so clicking an action does not trigger
|
|
199
|
+
* the row's own click handler.
|
|
200
|
+
*/
|
|
201
|
+
declare const RowQuickActions: React.ForwardRefExoticComponent<RowQuickActionsProps & React.RefAttributes<HTMLDivElement>>;
|
|
202
|
+
|
|
203
|
+
interface EntityCellProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
204
|
+
/**
|
|
205
|
+
* Leading visual. Pass an <Avatar /> or any custom logo / icon.
|
|
206
|
+
*/
|
|
207
|
+
avatar: React.ReactNode;
|
|
208
|
+
name: string;
|
|
209
|
+
/** Optional second line under the name. */
|
|
210
|
+
subtitle?: string;
|
|
211
|
+
/**
|
|
212
|
+
* Status icon, sync indicator, or any small marker rendered after the
|
|
213
|
+
* name on the same line.
|
|
214
|
+
*/
|
|
215
|
+
badge?: React.ReactNode;
|
|
216
|
+
/**
|
|
217
|
+
* When provided, the name becomes hoverable and opens this content in a
|
|
218
|
+
* <HoverCard /> with the default delays (350 ms / 120 ms).
|
|
219
|
+
*/
|
|
220
|
+
hoverCard?: React.ReactNode;
|
|
221
|
+
/**
|
|
222
|
+
* Quick actions rendered on the right edge of the cell, only visible when
|
|
223
|
+
* the row is hovered. The cell sets up a named `co` group so consumers
|
|
224
|
+
* can nest other hover groups without collisions.
|
|
225
|
+
*/
|
|
226
|
+
quickActions?: RowQuickAction[];
|
|
227
|
+
/**
|
|
228
|
+
* Click handler attached to the name span. Stops propagation so the
|
|
229
|
+
* caller can also wire a row-level click without conflict.
|
|
230
|
+
*/
|
|
231
|
+
onNameClick?: (e: React.MouseEvent<HTMLSpanElement>) => void;
|
|
232
|
+
}
|
|
233
|
+
/**
|
|
234
|
+
* Rich entity cell — avatar + name + optional badge / hover card / quick
|
|
235
|
+
* actions. Distinct from <AvatarCell /> which stays minimal; use EntityCell
|
|
236
|
+
* when you need any of the optional slots.
|
|
237
|
+
*/
|
|
238
|
+
declare const EntityCell: React.ForwardRefExoticComponent<EntityCellProps & React.RefAttributes<HTMLDivElement>>;
|
|
239
|
+
|
|
240
|
+
interface StatusOption {
|
|
241
|
+
id: string;
|
|
242
|
+
label: string;
|
|
243
|
+
/** Badge variant + type/tone to render the pill. */
|
|
244
|
+
variant?: BadgeProps["variant"];
|
|
245
|
+
type?: BadgeProps["type"];
|
|
246
|
+
tone?: BadgeProps["tone"];
|
|
247
|
+
}
|
|
248
|
+
interface StatusPickerCellProps {
|
|
249
|
+
/** Currently selected option. */
|
|
250
|
+
current: StatusOption | null;
|
|
251
|
+
options: StatusOption[];
|
|
252
|
+
onChange: (id: string) => void;
|
|
253
|
+
/** When provided, an "Add status" row is rendered at the bottom. */
|
|
254
|
+
onAddOption?: (label: string) => void;
|
|
255
|
+
/** When provided, each option row exposes a rename button on hover. */
|
|
256
|
+
onRenameOption?: (id: string, label: string) => void;
|
|
257
|
+
/** When provided, a "Sync with CRM" row is rendered at the very bottom. */
|
|
258
|
+
onSync?: () => void;
|
|
259
|
+
/** Trigger style. `cell` matches a table cell; `compact` matches inline use. */
|
|
260
|
+
triggerStyle?: "cell" | "compact";
|
|
261
|
+
/** Placeholder when no option is selected. */
|
|
262
|
+
placeholder?: string;
|
|
263
|
+
}
|
|
264
|
+
declare function StatusPickerCell({ current, options, onChange, onAddOption, onRenameOption, onSync, triggerStyle, placeholder, }: StatusPickerCellProps): react_jsx_runtime.JSX.Element;
|
|
265
|
+
declare namespace StatusPickerCell {
|
|
266
|
+
var displayName: string;
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
/**
|
|
270
|
+
* Structural subset of TanStack Table's Column instance. Listing the methods
|
|
271
|
+
* we need by hand keeps the DS independent from a specific tanstack-table
|
|
272
|
+
* version while staying assignable from `column: Column<TData>`.
|
|
273
|
+
*/
|
|
274
|
+
interface HeaderColumnApi {
|
|
275
|
+
getCanSort: () => boolean;
|
|
276
|
+
getIsSorted: () => "asc" | "desc" | false;
|
|
277
|
+
toggleSorting: (desc?: boolean) => void;
|
|
278
|
+
getCanPin: () => boolean;
|
|
279
|
+
getIsPinned: () => "left" | "right" | false;
|
|
280
|
+
pin: (side: "left" | "right" | false) => void;
|
|
281
|
+
getCanHide: () => boolean;
|
|
282
|
+
toggleVisibility: (visible?: boolean) => void;
|
|
283
|
+
}
|
|
284
|
+
interface ColumnHeaderMenuProps {
|
|
285
|
+
column: HeaderColumnApi;
|
|
286
|
+
title: string;
|
|
287
|
+
/**
|
|
288
|
+
* Built-in (system) columns cannot be renamed, duplicated, edited or
|
|
289
|
+
* deleted. Items remain visible but greyed and surface a tooltip
|
|
290
|
+
* explaining why.
|
|
291
|
+
*/
|
|
292
|
+
editable: boolean;
|
|
293
|
+
/** Fires when the user commits a rename via blur or Enter. */
|
|
294
|
+
onRename?: (name: string) => void;
|
|
295
|
+
onEdit?: () => void;
|
|
296
|
+
onDuplicate?: () => void;
|
|
297
|
+
onDelete?: () => void;
|
|
298
|
+
/** Tooltip text shown on greyed mutation items. */
|
|
299
|
+
builtinReason?: string;
|
|
300
|
+
/** Header content rendered inside the trigger (icon, label…). */
|
|
301
|
+
children: React.ReactNode;
|
|
302
|
+
}
|
|
303
|
+
declare function ColumnHeaderMenu({ column, title, editable, onRename, onEdit, onDuplicate, onDelete, builtinReason, children, }: ColumnHeaderMenuProps): react_jsx_runtime.JSX.Element;
|
|
304
|
+
declare namespace ColumnHeaderMenu {
|
|
305
|
+
var displayName: string;
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
type ColumnKind = "db" | "field" | "score" | "ai";
|
|
309
|
+
interface ColumnTypeBadgeProps extends Omit<React.HTMLAttributes<HTMLSpanElement>, "type"> {
|
|
310
|
+
kind: ColumnKind;
|
|
311
|
+
size?: BadgeProps["size"];
|
|
312
|
+
}
|
|
313
|
+
/**
|
|
314
|
+
* Small tag identifying the kind of a column inside the column manager.
|
|
315
|
+
* Maps to existing Badge tones — no new tokens required.
|
|
316
|
+
*/
|
|
317
|
+
declare const ColumnTypeBadge: React.ForwardRefExoticComponent<ColumnTypeBadgeProps & React.RefAttributes<HTMLSpanElement>>;
|
|
318
|
+
|
|
319
|
+
interface ScoreBadgeProps {
|
|
320
|
+
score: number;
|
|
321
|
+
matched: number;
|
|
322
|
+
total: number;
|
|
323
|
+
size?: BadgeProps["size"];
|
|
324
|
+
className?: string;
|
|
325
|
+
}
|
|
326
|
+
/**
|
|
327
|
+
* Displays the result of a score rule evaluation: a colored Badge for the
|
|
328
|
+
* sign (positive=success, negative=critical, zero=neutral) plus a small
|
|
329
|
+
* "matched/total" counter on its right.
|
|
330
|
+
*/
|
|
331
|
+
declare const ScoreBadge: React.FC<ScoreBadgeProps>;
|
|
332
|
+
|
|
333
|
+
interface ColumnManagerItem {
|
|
334
|
+
id: string;
|
|
335
|
+
name: string;
|
|
336
|
+
kind: ColumnKind;
|
|
337
|
+
/** Whether the column is visible in the current view. */
|
|
338
|
+
visible: boolean;
|
|
339
|
+
/** Optional icon rendered before the name (overrides the kind default). */
|
|
340
|
+
icon?: IconDefinition;
|
|
341
|
+
}
|
|
342
|
+
type AddColumnKind = Exclude<ColumnKind, "db">;
|
|
343
|
+
interface ColumnManagerPopoverProps {
|
|
344
|
+
items: ColumnManagerItem[];
|
|
345
|
+
onToggleVisible: (id: string, visible: boolean) => void;
|
|
346
|
+
/** Deletion is only offered for `kind !== "db"`. */
|
|
347
|
+
onDelete?: (id: string) => void;
|
|
348
|
+
/** When provided, the "Add column" section renders the three cards. */
|
|
349
|
+
onAdd?: (kind: AddColumnKind) => void;
|
|
350
|
+
/** Trigger element. Receives `onClick` via Radix Anchor. */
|
|
351
|
+
trigger?: React.ReactNode;
|
|
352
|
+
/** Controlled open state. */
|
|
353
|
+
open?: boolean;
|
|
354
|
+
onOpenChange?: (open: boolean) => void;
|
|
355
|
+
}
|
|
356
|
+
declare function ColumnManagerPopover({ items, onToggleVisible, onDelete, onAdd, trigger, open, onOpenChange, }: ColumnManagerPopoverProps): react_jsx_runtime.JSX.Element;
|
|
357
|
+
declare namespace ColumnManagerPopover {
|
|
358
|
+
var displayName: string;
|
|
359
|
+
}
|
|
360
|
+
declare function ColumnManagerTrigger(): react_jsx_runtime.JSX.Element;
|
|
361
|
+
|
|
362
|
+
type FieldType = "text" | "number" | "date" | "select";
|
|
363
|
+
interface FieldColumn {
|
|
364
|
+
id: string;
|
|
365
|
+
kind: "field";
|
|
366
|
+
name: string;
|
|
367
|
+
fieldType: FieldType;
|
|
368
|
+
/** Required when fieldType === "select". */
|
|
369
|
+
options?: string[];
|
|
370
|
+
createdAt: number;
|
|
371
|
+
}
|
|
372
|
+
type ScoreOperator = "is" | "is_not" | "contains" | "gte" | "lte" | "gt" | "lt" | "eq";
|
|
373
|
+
interface ScoreRule {
|
|
374
|
+
id: string;
|
|
375
|
+
/** ID of the field being tested. */
|
|
376
|
+
fieldId: string;
|
|
377
|
+
operator: ScoreOperator;
|
|
378
|
+
value: string | number;
|
|
379
|
+
/** Points (positive or negative). */
|
|
380
|
+
weight: number;
|
|
381
|
+
}
|
|
382
|
+
interface ScoreColumn {
|
|
383
|
+
id: string;
|
|
384
|
+
kind: "score";
|
|
385
|
+
name: string;
|
|
386
|
+
rules: ScoreRule[];
|
|
387
|
+
createdAt: number;
|
|
388
|
+
}
|
|
389
|
+
interface DbColumn {
|
|
390
|
+
id: string;
|
|
391
|
+
kind: "db";
|
|
392
|
+
name: string;
|
|
393
|
+
}
|
|
394
|
+
interface AIColumnRef {
|
|
395
|
+
id: string;
|
|
396
|
+
kind: "ai";
|
|
397
|
+
name: string;
|
|
398
|
+
}
|
|
399
|
+
/** Union of every column kind that can appear in the column manager. */
|
|
400
|
+
type BrowsableColumn = DbColumn | FieldColumn | ScoreColumn | AIColumnRef;
|
|
401
|
+
declare const SCORE_OPERATORS_BY_TYPE: Record<FieldType, ScoreOperator[]>;
|
|
402
|
+
declare const SCORE_OPERATOR_LABELS: Record<ScoreOperator, string>;
|
|
403
|
+
interface ScoreResult {
|
|
404
|
+
score: number;
|
|
405
|
+
matched: number;
|
|
406
|
+
total: number;
|
|
407
|
+
}
|
|
408
|
+
/**
|
|
409
|
+
* Compute the score for a row against the rules of a ScoreColumn.
|
|
410
|
+
* Returns the sum of weights for every matching rule plus a matched/total
|
|
411
|
+
* counter for display.
|
|
412
|
+
*/
|
|
413
|
+
declare function computeScore(row: Record<string, unknown>, scoreColumn: ScoreColumn): ScoreResult;
|
|
414
|
+
|
|
415
|
+
interface CreateFieldColumnPanelProps {
|
|
416
|
+
open?: boolean;
|
|
417
|
+
onOpenChange?: (open: boolean) => void;
|
|
418
|
+
initial?: Partial<Pick<FieldColumn, "name" | "fieldType" | "options">>;
|
|
419
|
+
onSave: (column: Omit<FieldColumn, "id" | "createdAt" | "kind">) => void;
|
|
420
|
+
trigger?: React.ReactNode;
|
|
421
|
+
title?: string;
|
|
422
|
+
saveLabel?: string;
|
|
423
|
+
}
|
|
424
|
+
/**
|
|
425
|
+
* Side panel to create or edit a user-defined Field column (text, number,
|
|
426
|
+
* date, or single select).
|
|
427
|
+
*/
|
|
428
|
+
declare function CreateFieldColumnPanel({ open, onOpenChange, initial, onSave, trigger, title, saveLabel, }: CreateFieldColumnPanelProps): react_jsx_runtime.JSX.Element;
|
|
429
|
+
|
|
430
|
+
/** Field descriptor used to populate the field picker in each rule. */
|
|
431
|
+
interface ScorableField {
|
|
432
|
+
id: string;
|
|
433
|
+
name: string;
|
|
434
|
+
fieldType: FieldType;
|
|
435
|
+
/** For "select" type, the list of allowed values shown in the value picker. */
|
|
436
|
+
options?: string[];
|
|
437
|
+
}
|
|
438
|
+
interface ScorePreviewRow {
|
|
439
|
+
id: string;
|
|
440
|
+
/** Optional leading visual (avatar, icon…). */
|
|
441
|
+
visual?: React.ReactNode;
|
|
442
|
+
name: string;
|
|
443
|
+
/** Map of field id → value, used to evaluate the rules. */
|
|
444
|
+
values: Record<string, unknown>;
|
|
445
|
+
}
|
|
446
|
+
interface CreateScoreColumnPanelProps {
|
|
447
|
+
open?: boolean;
|
|
448
|
+
onOpenChange?: (open: boolean) => void;
|
|
449
|
+
initial?: Partial<Pick<ScoreColumn, "name" | "rules">>;
|
|
450
|
+
fields: ScorableField[];
|
|
451
|
+
/** Optional preview rows (typically the first 5 rows of the table). */
|
|
452
|
+
preview?: ScorePreviewRow[];
|
|
453
|
+
onSave: (column: Pick<ScoreColumn, "name" | "rules">) => void;
|
|
454
|
+
trigger?: React.ReactNode;
|
|
455
|
+
title?: string;
|
|
456
|
+
saveLabel?: string;
|
|
457
|
+
}
|
|
458
|
+
declare function CreateScoreColumnPanel({ open, onOpenChange, initial, fields, preview, onSave, trigger, title, saveLabel, }: CreateScoreColumnPanelProps): react_jsx_runtime.JSX.Element;
|
|
459
|
+
declare namespace CreateScoreColumnPanel {
|
|
460
|
+
var displayName: string;
|
|
461
|
+
}
|
|
462
|
+
|
|
24
463
|
interface BrowserTabItemProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
25
464
|
icon?: IconDefinition;
|
|
26
465
|
label: string;
|
|
@@ -82,15 +521,27 @@ interface BulkActionProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "ch
|
|
|
82
521
|
onClear?: () => void;
|
|
83
522
|
/** Label shown next to the count. Defaults to "selected". */
|
|
84
523
|
countLabel?: string;
|
|
85
|
-
/**
|
|
524
|
+
/**
|
|
525
|
+
* Label for the right-side close button. Shown as a hover tooltip and used
|
|
526
|
+
* as its `aria-label`. Defaults to "Clear".
|
|
527
|
+
*/
|
|
86
528
|
clearLabel?: string;
|
|
87
529
|
/** Action items rendered on the right side. Overflow collapses into a "more" menu. */
|
|
88
530
|
actions: BulkActionItem[];
|
|
89
531
|
/**
|
|
90
|
-
*
|
|
91
|
-
*
|
|
532
|
+
* @deprecated Prefer `position`. `true` maps to `"sticky"`, `false` to `"static"`.
|
|
533
|
+
* Kept for backward compatibility; ignored if `position` is set explicitly.
|
|
92
534
|
*/
|
|
93
535
|
sticky?: boolean;
|
|
536
|
+
/**
|
|
537
|
+
* Where to anchor the bar.
|
|
538
|
+
* - `"sticky"` (default) — sticks to the bottom of its scroll container.
|
|
539
|
+
* - `"static"` — flows inline; position it manually.
|
|
540
|
+
* - `"floating-top"` — pill centred above the parent (the parent must be
|
|
541
|
+
* `position: relative`), slides in from the bottom. Use it to float the
|
|
542
|
+
* bar just above a pagination footer.
|
|
543
|
+
*/
|
|
544
|
+
position?: "sticky" | "static" | "floating-top";
|
|
94
545
|
}
|
|
95
546
|
declare const BulkAction: React.ForwardRefExoticComponent<BulkActionProps & React.RefAttributes<HTMLDivElement>>;
|
|
96
547
|
|
|
@@ -182,7 +633,7 @@ interface EmojiPickerPopoverProps extends CommonEmojiPickerProps {
|
|
|
182
633
|
declare const EmojiPickerPopover: React.ForwardRefExoticComponent<EmojiPickerPopoverProps & React.RefAttributes<HTMLButtonElement>>;
|
|
183
634
|
|
|
184
635
|
declare const linkVariants: (props?: ({
|
|
185
|
-
intent?: "
|
|
636
|
+
intent?: "alert" | "success" | "warning" | "neutral" | "brand" | null | undefined;
|
|
186
637
|
size?: "sm" | "md" | null | undefined;
|
|
187
638
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
188
639
|
interface LinkProps extends React.AnchorHTMLAttributes<HTMLAnchorElement>, VariantProps<typeof linkVariants> {
|
|
@@ -201,7 +652,7 @@ interface InputLabelProps extends React.ComponentPropsWithoutRef<typeof LabelPri
|
|
|
201
652
|
declare const InputLabel: React.ForwardRefExoticComponent<InputLabelProps & React.RefAttributes<HTMLLabelElement>>;
|
|
202
653
|
|
|
203
654
|
declare const infoMessageVariants: (props?: ({
|
|
204
|
-
type?: "success" | "warning" | "
|
|
655
|
+
type?: "alert" | "success" | "warning" | "info" | "ai" | "empty" | null | undefined;
|
|
205
656
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
206
657
|
interface InfoMessageProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "title">, VariantProps<typeof infoMessageVariants> {
|
|
207
658
|
title: React.ReactNode;
|
|
@@ -216,7 +667,7 @@ interface InfoMessageProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "t
|
|
|
216
667
|
declare const InfoMessage: React.ForwardRefExoticComponent<InfoMessageProps & React.RefAttributes<HTMLDivElement>>;
|
|
217
668
|
|
|
218
669
|
declare const toastVariants: (props?: ({
|
|
219
|
-
type?: "
|
|
670
|
+
type?: "alert" | "success" | "warning" | "info" | null | undefined;
|
|
220
671
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
221
672
|
interface ToastProps extends Omit<React.ComponentPropsWithoutRef<typeof ToastPrimitive.Root>, "title" | "type">, VariantProps<typeof toastVariants> {
|
|
222
673
|
title: React.ReactNode;
|
|
@@ -264,17 +715,6 @@ interface AvatarProps extends React.ComponentPropsWithoutRef<typeof AvatarPrimit
|
|
|
264
715
|
}
|
|
265
716
|
declare const Avatar: React.ForwardRefExoticComponent<AvatarProps & React.RefAttributes<HTMLSpanElement>>;
|
|
266
717
|
|
|
267
|
-
declare const badgeVariants: (props?: ({
|
|
268
|
-
variant?: "solid" | "light" | "outlined" | null | undefined;
|
|
269
|
-
type?: "primary" | "success" | "critical" | "warning" | "neutral" | null | undefined;
|
|
270
|
-
tone?: "indigo" | "rose" | "lime" | "violet" | "cyan" | "orange" | "emerald" | "fuchsia" | "amber" | "slate" | null | undefined;
|
|
271
|
-
size?: "sm" | "md" | "lg" | null | undefined;
|
|
272
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
273
|
-
interface BadgeProps extends Omit<React.HTMLAttributes<HTMLSpanElement>, "type">, VariantProps<typeof badgeVariants> {
|
|
274
|
-
icon?: IconDefinition;
|
|
275
|
-
}
|
|
276
|
-
declare const Badge: React.ForwardRefExoticComponent<BadgeProps & React.RefAttributes<HTMLSpanElement>>;
|
|
277
|
-
|
|
278
718
|
interface CheckboxProps extends React.ComponentPropsWithoutRef<typeof CheckboxPrimitive.Root> {
|
|
279
719
|
label?: string;
|
|
280
720
|
}
|
|
@@ -364,7 +804,7 @@ interface SidebarHeadingItemProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
364
804
|
declare const SidebarHeadingItem: React.ForwardRefExoticComponent<SidebarHeadingItemProps & React.RefAttributes<HTMLDivElement>>;
|
|
365
805
|
|
|
366
806
|
declare const sidebarItemVariants: (props?: ({
|
|
367
|
-
state?: "default" | "
|
|
807
|
+
state?: "default" | "active" | "hover" | null | undefined;
|
|
368
808
|
type?: "default" | "collapsed" | null | undefined;
|
|
369
809
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
370
810
|
interface SidebarItemProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "type">, VariantProps<typeof sidebarItemVariants> {
|
|
@@ -419,7 +859,7 @@ declare const TabContent: React.ForwardRefExoticComponent<TabContentProps & Reac
|
|
|
419
859
|
|
|
420
860
|
declare const tagVariants: (props?: ({
|
|
421
861
|
variant?: "neutral" | "brand" | null | undefined;
|
|
422
|
-
tone?: "indigo" | "rose" | "lime" | "violet" | "cyan" | "orange" | "emerald" | "fuchsia" | "amber" | "slate" | null | undefined;
|
|
862
|
+
tone?: "indigo" | "rose" | "lime" | "violet" | "cyan" | "orange" | "emerald" | "fuchsia" | "amber" | "slate" | "teal" | "sky" | "purple" | "pink" | null | undefined;
|
|
423
863
|
size?: "sm" | "md" | null | undefined;
|
|
424
864
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
425
865
|
interface TagProps extends Omit<React.HTMLAttributes<HTMLSpanElement>, "type">, VariantProps<typeof tagVariants> {
|
|
@@ -495,7 +935,7 @@ declare const NumberInput: React.ForwardRefExoticComponent<NumberInputProps & Re
|
|
|
495
935
|
|
|
496
936
|
declare const typographyVariants: (props?: ({
|
|
497
937
|
variant?: "xs" | "sm" | "md" | "lg" | "h2" | "h3" | "h1" | null | undefined;
|
|
498
|
-
weight?: "
|
|
938
|
+
weight?: "solid" | "medium" | "regular" | "semibold" | null | undefined;
|
|
499
939
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
500
940
|
interface TypographyProps extends React.HTMLAttributes<HTMLElement>, VariantProps<typeof typographyVariants> {
|
|
501
941
|
as?: React.ElementType;
|
|
@@ -610,6 +1050,11 @@ interface AvatarCellProps {
|
|
|
610
1050
|
name: string;
|
|
611
1051
|
subtitle?: string;
|
|
612
1052
|
src?: string;
|
|
1053
|
+
/**
|
|
1054
|
+
* Avatar shape. `"rounded"` (circle) for people, `"squared"` for companies.
|
|
1055
|
+
* @default "rounded"
|
|
1056
|
+
*/
|
|
1057
|
+
shape?: "rounded" | "squared";
|
|
613
1058
|
className?: string;
|
|
614
1059
|
}
|
|
615
1060
|
declare const AvatarCell: React.FC<AvatarCellProps>;
|
|
@@ -769,6 +1214,18 @@ interface DataTableProps<TData, TValue> {
|
|
|
769
1214
|
emptyMessage?: React.ReactNode;
|
|
770
1215
|
/** Add border-top to the header (useful in full-width / no container layouts) */
|
|
771
1216
|
bordered?: boolean;
|
|
1217
|
+
/**
|
|
1218
|
+
* Who owns the horizontal scroll container.
|
|
1219
|
+
* - `self` (default) — Table wraps in `<div class="overflow-auto">`.
|
|
1220
|
+
* - `parent` — no wrapping scroll container; parent must scroll. Required
|
|
1221
|
+
* when sticky column pinning has to compose with a page-level scroll.
|
|
1222
|
+
*/
|
|
1223
|
+
scrollContainer?: "self" | "parent";
|
|
1224
|
+
/**
|
|
1225
|
+
* Render slot mounted as a `<th>` at the right end of the header row.
|
|
1226
|
+
* Useful for hosting a custom column manager next to the headers.
|
|
1227
|
+
*/
|
|
1228
|
+
columnManagerSlot?: React.ReactNode;
|
|
772
1229
|
}
|
|
773
1230
|
declare module "@tanstack/react-table" {
|
|
774
1231
|
interface ColumnMeta<TData extends unknown, TValue> {
|
|
@@ -779,7 +1236,7 @@ declare module "@tanstack/react-table" {
|
|
|
779
1236
|
}
|
|
780
1237
|
}
|
|
781
1238
|
type FilterOperator = "contains" | "does_not_contain" | "is" | "is_not" | "starts_with" | "ends_with" | "is_empty" | "is_not_empty" | "equals" | "not_equals" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "between" | "is_before" | "is_after" | "is_between" | "is_any_of" | "is_none_of";
|
|
782
|
-
declare function DataTableInner<TData, TValue>({ columns, data, enableSorting, enableFiltering, enablePagination, enableRowSelection, enableColumnVisibility, enableColumnPinning, enableColumnResizing, enableColumnDrag, enableTableSettings, lockedColumnIds, tableSettingsTitle, sorting: sortingProp, onSortingChange, columnFilters: columnFiltersProp, onColumnFiltersChange, pagination: paginationProp, onPaginationChange, rowSelection: rowSelectionProp, onRowSelectionChange, columnVisibility: columnVisibilityProp, onColumnVisibilityChange, columnOrder: columnOrderProp, onColumnOrderChange, columnPinning: columnPinningProp, onColumnPinningChange, children, className, emptyState, emptyMessage, bordered, }: DataTableProps<TData, TValue>): react_jsx_runtime.JSX.Element;
|
|
1239
|
+
declare function DataTableInner<TData, TValue>({ columns, data, enableSorting, enableFiltering, enablePagination, enableRowSelection, enableColumnVisibility, enableColumnPinning, enableColumnResizing, enableColumnDrag, enableTableSettings, lockedColumnIds, tableSettingsTitle, sorting: sortingProp, onSortingChange, columnFilters: columnFiltersProp, onColumnFiltersChange, pagination: paginationProp, onPaginationChange, rowSelection: rowSelectionProp, onRowSelectionChange, columnVisibility: columnVisibilityProp, onColumnVisibilityChange, columnOrder: columnOrderProp, onColumnOrderChange, columnPinning: columnPinningProp, onColumnPinningChange, children, className, emptyState, emptyMessage, bordered, scrollContainer, columnManagerSlot, }: DataTableProps<TData, TValue>): react_jsx_runtime.JSX.Element;
|
|
783
1240
|
interface DataTablePaginationProps<TData> {
|
|
784
1241
|
table: Table$1<TData>;
|
|
785
1242
|
pageSizeOptions?: number[];
|
|
@@ -790,7 +1247,20 @@ declare const DataTable: typeof DataTableInner & {
|
|
|
790
1247
|
displayName: string;
|
|
791
1248
|
};
|
|
792
1249
|
|
|
793
|
-
|
|
1250
|
+
type TableScrollContainer = "self" | "parent";
|
|
1251
|
+
interface TableProps extends React.HTMLAttributes<HTMLTableElement> {
|
|
1252
|
+
/**
|
|
1253
|
+
* Who owns the horizontal scroll container.
|
|
1254
|
+
* - `self` (default) — Table wraps in `<div class="overflow-auto">`. Good
|
|
1255
|
+
* for sectioned layouts but breaks sticky column pinning against a page
|
|
1256
|
+
* scroll.
|
|
1257
|
+
* - `parent` — no wrapping scroll container. The parent layout must
|
|
1258
|
+
* provide scrolling. Required for sticky column pinning to work against
|
|
1259
|
+
* the page or a sticky body scroll.
|
|
1260
|
+
*/
|
|
1261
|
+
scrollContainer?: TableScrollContainer;
|
|
1262
|
+
}
|
|
1263
|
+
declare const Table: React.ForwardRefExoticComponent<TableProps & React.RefAttributes<HTMLTableElement>>;
|
|
794
1264
|
declare const TableHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & React.RefAttributes<HTMLTableSectionElement>>;
|
|
795
1265
|
declare const TableBody: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & React.RefAttributes<HTMLTableSectionElement>>;
|
|
796
1266
|
declare const TableFooter: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & React.RefAttributes<HTMLTableSectionElement>>;
|
|
@@ -809,7 +1279,7 @@ interface SidePanelContentProps extends React.ComponentPropsWithoutRef<typeof Di
|
|
|
809
1279
|
declare const SidePanelContent: React.ForwardRefExoticComponent<SidePanelContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
810
1280
|
|
|
811
1281
|
declare const filterChipSegmentVariants: (props?: ({
|
|
812
|
-
type?: "
|
|
1282
|
+
type?: "button" | "property" | "operator" | "value" | "placeholder" | null | undefined;
|
|
813
1283
|
hasBorder?: boolean | null | undefined;
|
|
814
1284
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
815
1285
|
interface FilterChipSegmentProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "type">, VariantProps<typeof filterChipSegmentVariants> {
|
|
@@ -1252,4 +1722,4 @@ declare const DatePickerTrigger: React.ForwardRefExoticComponent<PopoverPrimitiv
|
|
|
1252
1722
|
declare const DatePickerPopover: React.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1253
1723
|
declare function getDefaultSuggestions(referenceDate?: Date): DatePickerSuggestion[];
|
|
1254
1724
|
|
|
1255
|
-
export { AdvancedChip, type AdvancedChipProps, AdvancedPopover, type AdvancedPopoverProps, AdvancedRow, type AdvancedRowProps, Avatar, AvatarCell, type AvatarCellProps, type AvatarProps, Badge, type BadgeProps, type BooleanOperator, BrowserTab, BrowserTabItem, type BrowserTabItemProps, type BrowserTabProps, BulkAction, type BulkActionItem, type BulkActionProps, Button, ButtonCell, type ButtonCellProps, type ButtonProps, Checkbox, type CheckboxProps, ChipInput, type ChipInputProps, DEFAULT_OPERATOR_BY_TYPE, DataTable, DataTablePagination, type DataTablePaginationProps, type DataTableProps, DataTableSettingsModal, type DataTableSettingsModalProps, type DataType, DateCell, type DateCellProps, type DateOperator, DatePicker, DatePickerCalendar, type DatePickerCalendarProps, DatePickerFooter, type DatePickerFooterProps, type DatePickerMode, DatePickerPanel, type DatePickerPanelProps, DatePickerPopover, type DatePickerProps, DatePickerRoot, DatePickerSelects, type DatePickerSelectsProps, type DatePickerSuggestion, DatePickerSuggestions, type DatePickerSuggestionsProps, DatePickerTrigger, type DateRange, Dialog, type DialogProps, DropdownMenu, DropdownMenuClear, type DropdownMenuClearProps, DropdownMenuContent, DropdownMenuHeading, type DropdownMenuHeadingProps, DropdownMenuItem, type DropdownMenuItemProps, DropdownMenuList, type DropdownMenuListProps, type DropdownMenuProps, DropdownMenuRadixItem, type DropdownMenuRadixItemProps, DropdownMenuRoot, DropdownMenuTrigger, EditableCell, type EditableCellProps, EmailCell, type EmailCellProps, EmojiPicker, type EmojiPickerLocale, EmojiPickerPopover, type EmojiPickerPopoverProps, type EmojiPickerProps, type EmojiSelection, EmptyState, type EmptyStateProps, type EnumOperator, FilterBar, FilterBarButton, type FilterBarButtonProps, FilterBarLeft, type FilterBarLeftProps, type FilterBarMode, type FilterBarProps, FilterBarRight, type FilterBarRightProps, FilterChip, type FilterChipProps, FilterChipSegment, type FilterChipSegmentProps, type FilterCondition, FilterEditor, type FilterEditorProps, type FilterOperator, type FilterState, FilterSystem, type FilterSystemProps, type FilterValue, InfoMessage, type InfoMessageProps, InputLabel, type InputLabelProps, InteractiveFilterChip, type InteractiveFilterChipProps, KebabMenu, type KebabMenuProps, Link, LinkCell, type LinkCellProps, type LinkProps, Modal, ModalBody, ModalClose, ModalContent, type ModalContentProps, ModalDescription, ModalFooter, type ModalFooterProps, ModalHeader, type ModalHeaderProps, ModalOverlay, ModalTitle, ModalTrigger, NumberCell, type NumberCellProps, NumberInput, type NumberInputProps, type NumberOperator, OPERATORS_BY_TYPE, OperatorList, type OperatorListProps, OperatorSelector, type OperatorSelectorProps, type OperatorType, type Product, ProductLogo, type ProductLogoProps, type PropertyDefinition, PropertySelector, type PropertySelectorProps, RadioCard, RadioCardGroup, type RadioCardGroupProps, type RadioCardProps, RadioGroup, RadioGroupItem, type RadioGroupItemProps, type RadioGroupProps, type RelationOperator, RowActions, type RowActionsProps, SaveViewButton, type SaveViewButtonProps, SearchBar, type SearchBarProps, Select, type SelectProps, SidePanel, SidePanelClose, SidePanelContent, type SidePanelContentProps, SidePanelTrigger, Sidebar, SidebarFooter, type SidebarFooterProps, SidebarHeader, SidebarHeadingItem, type SidebarHeadingItemProps, SidebarItem, type SidebarItemProps, type SidebarProps, SidebarSection, type SidebarSectionProps, SortButton, type SortButtonProps, type SortField, StatusCell, type StatusCellProps, SummaryChip, type SummaryChipProps, Switch, SwitchCard, type SwitchCardProps, type SwitchProps, TabContent, type TabContentProps, TabList, type TabListProps, TabTrigger, type TabTriggerProps, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, type TabsProps, Tag, type TagProps, type TagsOperator, TextArea, type TextAreaProps, TextCell, type TextCellProps, TextInput, type TextInputProps, type TextOperator, Toast, type ToastProps, ToastProvider, ToastViewport, Tooltip, TooltipContent, type TooltipContentProps, TooltipProvider, TooltipTrigger, TruncatedText, type TruncatedTextProps, Typography, type TypographyProps, UserMenu, UserMenuInfoRow, type UserMenuInfoRowProps, type UserMenuProps, UserMenuSection, type UserMenuSectionProps, ValueInput, type ValueInputProps, avatarVariants, badgeVariants, buttonVariants, chipInputVariants, cn, createFilterWithDefaults, emptyStateVariants, filterChipSegmentVariants, getDefaultOperator, getDefaultSuggestions, getValueInputType, infoMessageVariants, isNoValueOperator, linkVariants, modalVariants, productLogoVariants, searchBarVariants, selectVariants, sidebarItemVariants, tagVariants, textInputVariants, toastVariants, tooltipContentVariants, typographyVariants, useFilterBarMode, useSidebarContext };
|
|
1725
|
+
export { AIBadge, type AIBadgeProps, AICell, type AICellProps, type AICellState, type AIColumnConfig, AIColumnHeaderBar, type AIColumnHeaderBarProps, type AIColumnOutputFormat, type AIColumnRef, AIColumnSidePanel, type AIColumnSidePanelProps, type AIRunningVerb, AISuggestionDot, type AISuggestionDotProps, AI_RUNNING_VERBS, type AddColumnKind, AdvancedChip, type AdvancedChipProps, AdvancedPopover, type AdvancedPopoverProps, AdvancedRow, type AdvancedRowProps, Avatar, AvatarCell, type AvatarCellProps, type AvatarProps, Badge, type BadgeProps, type BooleanOperator, type BrowsableColumn, BrowserTab, BrowserTabItem, type BrowserTabItemProps, type BrowserTabProps, BulkAction, type BulkActionItem, type BulkActionProps, Button, ButtonCell, type ButtonCellProps, type ButtonProps, Checkbox, type CheckboxProps, ChipInput, type ChipInputProps, ColumnHeaderMenu, type ColumnHeaderMenuProps, type ColumnKind, type ColumnManagerItem, ColumnManagerPopover, type ColumnManagerPopoverProps, ColumnManagerTrigger, ColumnTypeBadge, type ColumnTypeBadgeProps, CreateFieldColumnPanel, type CreateFieldColumnPanelProps, CreateScoreColumnPanel, type CreateScoreColumnPanelProps, DEFAULT_OPERATOR_BY_TYPE, DataTable, DataTablePagination, type DataTablePaginationProps, type DataTableProps, DataTableSettingsModal, type DataTableSettingsModalProps, type DataType, DateCell, type DateCellProps, type DateOperator, DatePicker, DatePickerCalendar, type DatePickerCalendarProps, DatePickerFooter, type DatePickerFooterProps, type DatePickerMode, DatePickerPanel, type DatePickerPanelProps, DatePickerPopover, type DatePickerProps, DatePickerRoot, DatePickerSelects, type DatePickerSelectsProps, type DatePickerSuggestion, DatePickerSuggestions, type DatePickerSuggestionsProps, DatePickerTrigger, type DateRange, type DbColumn, Dialog, type DialogProps, DropdownMenu, DropdownMenuClear, type DropdownMenuClearProps, DropdownMenuContent, DropdownMenuHeading, type DropdownMenuHeadingProps, DropdownMenuItem, type DropdownMenuItemProps, DropdownMenuList, type DropdownMenuListProps, type DropdownMenuProps, DropdownMenuRadixItem, type DropdownMenuRadixItemProps, DropdownMenuRoot, DropdownMenuTrigger, EditableCell, type EditableCellProps, EmailCell, type EmailCellProps, EmojiPicker, type EmojiPickerLocale, EmojiPickerPopover, type EmojiPickerPopoverProps, type EmojiPickerProps, type EmojiSelection, EmptyState, type EmptyStateProps, EntityCell, type EntityCellProps, type EnumOperator, type FieldColumn, type FieldType, FilterBar, FilterBarButton, type FilterBarButtonProps, FilterBarLeft, type FilterBarLeftProps, type FilterBarMode, type FilterBarProps, FilterBarRight, type FilterBarRightProps, FilterChip, type FilterChipProps, FilterChipSegment, type FilterChipSegmentProps, type FilterCondition, FilterEditor, type FilterEditorProps, type FilterOperator, type FilterState, FilterSystem, type FilterSystemProps, type FilterValue, type HeaderColumnApi, HoverCard, HoverCardContent, type HoverCardContentProps, type HoverCardProps, HoverCardTrigger, type HoverCardTriggerProps, InfoMessage, type InfoMessageProps, InputLabel, type InputLabelProps, InteractiveFilterChip, type InteractiveFilterChipProps, KebabMenu, type KebabMenuProps, Link, LinkCell, type LinkCellProps, type LinkProps, Modal, ModalBody, ModalClose, ModalContent, type ModalContentProps, ModalDescription, ModalFooter, type ModalFooterProps, ModalHeader, type ModalHeaderProps, ModalOverlay, ModalTitle, ModalTrigger, NumberCell, type NumberCellProps, NumberInput, type NumberInputProps, type NumberOperator, OPERATORS_BY_TYPE, OperatorList, type OperatorListProps, OperatorSelector, type OperatorSelectorProps, type OperatorType, type Product, ProductLogo, type ProductLogoProps, type PropertyDefinition, PropertySelector, type PropertySelectorProps, RadioCard, RadioCardGroup, type RadioCardGroupProps, type RadioCardProps, RadioGroup, RadioGroupItem, type RadioGroupItemProps, type RadioGroupProps, type RelationOperator, RowActions, type RowActionsProps, type RowQuickAction, RowQuickActions, type RowQuickActionsProps, SCORE_OPERATORS_BY_TYPE, SCORE_OPERATOR_LABELS, SaveViewButton, type SaveViewButtonProps, type ScorableField, ScoreBadge, type ScoreBadgeProps, type ScoreColumn, type ScoreOperator, type ScorePreviewRow, type ScoreResult, type ScoreRule, SearchBar, type SearchBarProps, Select, type SelectProps, SidePanel, SidePanelClose, SidePanelContent, type SidePanelContentProps, SidePanelTrigger, Sidebar, SidebarFooter, type SidebarFooterProps, SidebarHeader, SidebarHeadingItem, type SidebarHeadingItemProps, SidebarItem, type SidebarItemProps, type SidebarProps, SidebarSection, type SidebarSectionProps, SortButton, type SortButtonProps, type SortField, StatusCell, type StatusCellProps, type StatusOption, StatusPickerCell, type StatusPickerCellProps, SummaryChip, type SummaryChipProps, Switch, SwitchCard, type SwitchCardProps, type SwitchProps, TAG_PALETTE, TabContent, type TabContentProps, TabList, type TabListProps, TabTrigger, type TabTriggerProps, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, type TableProps, TableRow, type TableScrollContainer, Tabs, type TabsProps, Tag, type TagColor, type TagColorName, type TagProps, type TagsOperator, TextArea, type TextAreaProps, TextCell, type TextCellProps, TextInput, type TextInputProps, type TextOperator, Toast, type ToastProps, ToastProvider, ToastViewport, Tooltip, TooltipContent, type TooltipContentProps, TooltipProvider, TooltipTrigger, TruncatedText, type TruncatedTextProps, Typography, type TypographyProps, UserMenu, UserMenuInfoRow, type UserMenuInfoRowProps, type UserMenuProps, UserMenuSection, type UserMenuSectionProps, ValueInput, type ValueInputProps, avatarVariants, badgeVariants, buttonVariants, chipInputVariants, cn, computeScore, createFilterWithDefaults, emptyStateVariants, filterChipSegmentVariants, getDefaultOperator, getDefaultSuggestions, getValueInputType, infoMessageVariants, isNoValueOperator, linkVariants, modalVariants, pickRunningVerb, productLogoVariants, searchBarVariants, selectVariants, sidebarItemVariants, tagColorAt, tagColorFor, tagVariants, textInputVariants, toastVariants, tooltipContentVariants, typographyVariants, useFilterBarMode, useSidebarContext };
|