@tailor-platform/app-shell 1.14.0 → 1.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +21 -0
- package/dist/app-shell-core.css +1 -1
- package/dist/app-shell.d.ts +1078 -285
- package/dist/app-shell.js +3912 -2660
- package/dist/{appshell-CtS8Y3LW.js → appshell-DLVBFo5J.js} +729 -541
- package/dist/style-entry.d.ts +111 -111
- package/dist/testing.d.ts +111 -111
- package/dist/testing.js +1 -1
- package/dist/themes/_template.css +1 -1
- package/dist/vite-plugin.d.ts +111 -111
- package/package.json +7 -7
- package/skills/app-shell-patterns/SKILL.md +11 -14
- package/skills/app-shell-patterns/references/fundamental/components.md +48 -20
- package/skills/app-shell-patterns/references/fundamental/design-system.md +24 -17
- package/skills/app-shell-patterns/references/pages/detail.md +1148 -0
- package/skills/app-shell-patterns/references/patterns/form-composer.md +2 -2
- package/skills/app-shell-patterns/references/patterns/interaction-multi-select.md +1 -1
- package/skills/app-shell-patterns/references/patterns/detail-hero-with-actions.md +0 -201
package/dist/app-shell.d.ts
CHANGED
|
@@ -10,9 +10,11 @@ import { CalendarDate } from '@internationalized/date';
|
|
|
10
10
|
import { CalendarDateTime } from '@internationalized/date';
|
|
11
11
|
import { Checkbox as Checkbox_2 } from '@base-ui/react/checkbox';
|
|
12
12
|
import { ClassProp } from 'class-variance-authority/types';
|
|
13
|
+
import { Collapsible } from '@base-ui/react/collapsible';
|
|
13
14
|
import { Combobox as Combobox_2 } from '@base-ui/react/combobox';
|
|
14
15
|
import { ComboboxFilter } from '@base-ui/react/combobox';
|
|
15
16
|
import { ComboboxFilterOptions } from '@base-ui/react/combobox';
|
|
17
|
+
import { ComponentProps } from 'react';
|
|
16
18
|
import { CSSProperties } from 'react';
|
|
17
19
|
import { DateValue } from '@internationalized/date';
|
|
18
20
|
import { Dialog as Dialog_2 } from '@base-ui/react/dialog';
|
|
@@ -27,6 +29,7 @@ import { Link } from 'react-router';
|
|
|
27
29
|
import { LinkProps } from 'react-router';
|
|
28
30
|
import { LoaderFunctionArgs } from 'react-router';
|
|
29
31
|
import { Location as Location_2 } from 'react-router';
|
|
32
|
+
import { LucideIcon } from 'lucide-react';
|
|
30
33
|
import { Menu as Menu_2 } from '@base-ui/react/menu';
|
|
31
34
|
import { Navigate } from 'react-router';
|
|
32
35
|
import { NavigateFunction } from 'react-router';
|
|
@@ -65,6 +68,9 @@ import { useSearchParams } from 'react-router';
|
|
|
65
68
|
import { VariantProps } from 'class-variance-authority';
|
|
66
69
|
import { ZonedDateTime } from '@internationalized/date';
|
|
67
70
|
|
|
71
|
+
/** A single icon-button action — copy, retry, feedback. */
|
|
72
|
+
declare function Action({ label, className, disabled, children, onClick }: ActionProps): JSX.Element;
|
|
73
|
+
|
|
68
74
|
/**
|
|
69
75
|
* A single action row in the ActionPanel (icon + label, triggered by onClick).
|
|
70
76
|
* For navigation, call useNavigate() inside onClick (e.g. navigate("/path")).
|
|
@@ -91,7 +97,7 @@ declare interface ActionItem {
|
|
|
91
97
|
*
|
|
92
98
|
* Each row has an icon and label and is triggered by onClick. For navigation, use
|
|
93
99
|
* useNavigate() inside the callback (e.g. onClick: () => navigate("/path")).
|
|
94
|
-
*
|
|
100
|
+
* The panel already fills the width of its parent container.
|
|
95
101
|
*
|
|
96
102
|
* When an action has `loading: true`, the row shows a spinner in the icon slot and is
|
|
97
103
|
* non-interactive (useful for backend-driven actions: parent sets loading from mutation/request state).
|
|
@@ -132,8 +138,18 @@ export declare interface ActionPanelProps {
|
|
|
132
138
|
className?: string;
|
|
133
139
|
}
|
|
134
140
|
|
|
141
|
+
declare type ActionProps = Pick<React_2.ComponentProps<typeof Button>, "className" | "disabled" | "children" | "onClick"> & {
|
|
142
|
+
/** Accessible name; also shown as the hover tooltip. */
|
|
143
|
+
label: string;
|
|
144
|
+
};
|
|
145
|
+
|
|
146
|
+
/** Row of icon-button actions under a finished assistant turn. */
|
|
147
|
+
declare function Actions({ className, ...props }: ActionsProps): JSX.Element;
|
|
148
|
+
|
|
149
|
+
declare type ActionsProps = React_2.ComponentProps<"div">;
|
|
150
|
+
|
|
135
151
|
export declare const ActivityCard: typeof ActivityCardStandalone & {
|
|
136
|
-
Root: typeof
|
|
152
|
+
Root: typeof Root_3;
|
|
137
153
|
Items: typeof Items;
|
|
138
154
|
Item: typeof Item;
|
|
139
155
|
};
|
|
@@ -223,6 +239,8 @@ export declare interface ActivityCardRootProps<T extends ActivityCardBaseItem> {
|
|
|
223
239
|
*/
|
|
224
240
|
declare function ActivityCardStandalone({ items, title, maxVisible, overflowLabel, groupBy, className, }: ActivityCardProps): JSX.Element;
|
|
225
241
|
|
|
242
|
+
export declare const AIChat: AIChatComponent;
|
|
243
|
+
|
|
226
244
|
export declare type AIChatCompletionEvent = {
|
|
227
245
|
type: "text-delta";
|
|
228
246
|
text: string;
|
|
@@ -231,12 +249,103 @@ export declare type AIChatCompletionEvent = {
|
|
|
231
249
|
finishReason?: string;
|
|
232
250
|
};
|
|
233
251
|
|
|
252
|
+
declare type AIChatComponent = typeof AIChatRoot & {
|
|
253
|
+
Header: typeof Header;
|
|
254
|
+
Conversation: typeof Conversation;
|
|
255
|
+
Composer: typeof Composer;
|
|
256
|
+
EmptyState: typeof ConversationEmptyState;
|
|
257
|
+
Message: typeof Message;
|
|
258
|
+
Response: typeof Response_2;
|
|
259
|
+
Suggestions: typeof Suggestions;
|
|
260
|
+
Suggestion: typeof Suggestion;
|
|
261
|
+
Actions: typeof Actions;
|
|
262
|
+
Action: typeof Action;
|
|
263
|
+
Reasoning: typeof Reasoning;
|
|
264
|
+
ReasoningTrigger: typeof ReasoningTrigger;
|
|
265
|
+
ReasoningContent: typeof ReasoningContent;
|
|
266
|
+
ChainOfThought: typeof ChainOfThought;
|
|
267
|
+
ChainOfThoughtHeader: typeof ChainOfThoughtHeader;
|
|
268
|
+
ChainOfThoughtContent: typeof ChainOfThoughtContent;
|
|
269
|
+
ChainOfThoughtStep: typeof ChainOfThoughtStep;
|
|
270
|
+
ChainOfThoughtSearchResults: typeof ChainOfThoughtSearchResults;
|
|
271
|
+
ChainOfThoughtSearchResult: typeof ChainOfThoughtSearchResult;
|
|
272
|
+
Tool: typeof Tool;
|
|
273
|
+
ToolHeader: typeof ToolHeader;
|
|
274
|
+
ToolContent: typeof ToolContent;
|
|
275
|
+
ToolInput: typeof ToolInput;
|
|
276
|
+
ToolOutput: typeof ToolOutput;
|
|
277
|
+
Sources: typeof Sources;
|
|
278
|
+
SourcesTrigger: typeof SourcesTrigger;
|
|
279
|
+
SourcesContent: typeof SourcesContent;
|
|
280
|
+
Source: typeof Source;
|
|
281
|
+
History: typeof ChatHistory;
|
|
282
|
+
};
|
|
283
|
+
|
|
284
|
+
export declare type AIChatComposerProps = {
|
|
285
|
+
/** Called with the trimmed prompt when the composer submits. */
|
|
286
|
+
onSubmit: (message: string) => void;
|
|
287
|
+
/** Called from the Stop button while the chat's `status` is `"submitted"` or `"streaming"`. Omit to show a plain busy state with no Stop affordance. */
|
|
288
|
+
onStop?: () => void;
|
|
289
|
+
/** Controlled draft. Cleared (via `onValueChange("")`) after a successful submit. */
|
|
290
|
+
value?: string;
|
|
291
|
+
/** Uncontrolled draft's initial value. */
|
|
292
|
+
defaultValue?: string;
|
|
293
|
+
onValueChange?: (value: string) => void;
|
|
294
|
+
placeholder?: string;
|
|
295
|
+
/** Disables the composer. The transcript above it is unaffected. */
|
|
296
|
+
disabled?: boolean;
|
|
297
|
+
/**
|
|
298
|
+
* Enter submits; Shift+Enter inserts a newline. IME-safe: Enter during
|
|
299
|
+
* kana→kanji conversion confirms the candidate rather than submitting.
|
|
300
|
+
* @default true
|
|
301
|
+
*/
|
|
302
|
+
submitOnEnter?: boolean;
|
|
303
|
+
/** Open slot on the action row — a visibility toggle, a model picker, a template select. */
|
|
304
|
+
actions?: ReactNode;
|
|
305
|
+
className?: string;
|
|
306
|
+
};
|
|
307
|
+
|
|
308
|
+
export declare type AIChatConversationProps = ComponentProps<"div"> & {
|
|
309
|
+
/**
|
|
310
|
+
* Follow content growth (streaming text, new turns) while the reader is
|
|
311
|
+
* pinned to the bottom. Set `false` for a plain scrollable region with no
|
|
312
|
+
* auto-follow; the scroll-to-latest button still works.
|
|
313
|
+
* @default true
|
|
314
|
+
*/
|
|
315
|
+
autoScroll?: boolean;
|
|
316
|
+
};
|
|
317
|
+
|
|
318
|
+
export declare type AIChatHeaderProps = {
|
|
319
|
+
/** Title text. */
|
|
320
|
+
title?: ReactNode;
|
|
321
|
+
/** Leading graphic. Defaults to a sparkle; pass `null` for none, or a control (e.g. a collapse button) for a docked panel. */
|
|
322
|
+
icon?: ReactNode;
|
|
323
|
+
/** Right-aligned slot — compose it from `AIChat.Action`. */
|
|
324
|
+
actions?: ReactNode;
|
|
325
|
+
className?: string;
|
|
326
|
+
};
|
|
327
|
+
|
|
234
328
|
export declare interface AIChatMessage {
|
|
235
329
|
id: string;
|
|
236
330
|
role: "user" | "assistant";
|
|
237
331
|
content: string;
|
|
238
332
|
}
|
|
239
333
|
|
|
334
|
+
export declare type AIChatProps = Omit<ComponentProps<"div">, "children"> & {
|
|
335
|
+
/**
|
|
336
|
+
* `AIChat.Header`, `AIChat.Conversation`, and `AIChat.Composer`, in any
|
|
337
|
+
* order — the root places them. They must be **direct** children: regions
|
|
338
|
+
* are matched by component identity, so one wrapped in your own component
|
|
339
|
+
* (`const AppComposer = () => <AIChat.Composer … />`) is not recognised and
|
|
340
|
+
* is dropped. To preset props, spread them onto the region instead.
|
|
341
|
+
*/
|
|
342
|
+
children: ReactNode;
|
|
343
|
+
/** The chat's state. Plugs directly into `useAIChat()`'s `status`; `AIChat.Composer` reads it for its busy/Stop state. */
|
|
344
|
+
status?: AIChatStatus;
|
|
345
|
+
};
|
|
346
|
+
|
|
347
|
+
declare function AIChatRoot({ className, children, status, ...props }: AIChatProps): JSX.Element;
|
|
348
|
+
|
|
240
349
|
export declare type AIChatStatus = "ready" | "submitted" | "streaming" | "error";
|
|
241
350
|
|
|
242
351
|
export declare type AIGatewayChatMessage = {
|
|
@@ -261,7 +370,7 @@ export declare interface AIGatewayClient {
|
|
|
261
370
|
}
|
|
262
371
|
|
|
263
372
|
export declare const Alert: {
|
|
264
|
-
Root: typeof
|
|
373
|
+
Root: typeof Root_2;
|
|
265
374
|
Title: typeof Title;
|
|
266
375
|
Description: typeof Description;
|
|
267
376
|
};
|
|
@@ -269,7 +378,7 @@ export declare const Alert: {
|
|
|
269
378
|
export declare type AlertProps = RootProps;
|
|
270
379
|
|
|
271
380
|
export declare const alertVariants: (props?: ({
|
|
272
|
-
variant?: "error" | "
|
|
381
|
+
variant?: "error" | "success" | "warning" | "neutral" | "info" | null | undefined;
|
|
273
382
|
} & ClassProp) | undefined) => string;
|
|
274
383
|
|
|
275
384
|
declare type Anchor = "start" | "center" | "end";
|
|
@@ -425,6 +534,27 @@ export declare type AppShellProps = SharedAppShellProps & {
|
|
|
425
534
|
export declare interface AppShellRegister {
|
|
426
535
|
}
|
|
427
536
|
|
|
537
|
+
export declare type AppShellSidebarState = {
|
|
538
|
+
/**
|
|
539
|
+
* Whether the sidebar is expanded on desktop — the same signal the DOM
|
|
540
|
+
* exposes as `[data-slot="sidebar"][data-state]`.
|
|
541
|
+
*
|
|
542
|
+
* On mobile the sidebar is an overlay sheet rather than an in-flow column,
|
|
543
|
+
* so this does not describe how much room the content has; branch on
|
|
544
|
+
* `isMobile` when that distinction matters.
|
|
545
|
+
*/
|
|
546
|
+
open: boolean;
|
|
547
|
+
/** Whether the viewport is below the mobile breakpoint (768px). */
|
|
548
|
+
isMobile: boolean;
|
|
549
|
+
/** Expand or collapse the sidebar. */
|
|
550
|
+
setOpen: (open: boolean) => void;
|
|
551
|
+
/**
|
|
552
|
+
* Toggle the sidebar — the same action as `<SidebarLayout.Trigger />` and the
|
|
553
|
+
* ⌘B / Ctrl+B shortcut, including the mobile and tablet overlay behaviour.
|
|
554
|
+
*/
|
|
555
|
+
toggle: () => void;
|
|
556
|
+
};
|
|
557
|
+
|
|
428
558
|
/**
|
|
429
559
|
* Fetcher specification for async item loading.
|
|
430
560
|
*
|
|
@@ -867,7 +997,7 @@ declare namespace AutocompleteValue {
|
|
|
867
997
|
}
|
|
868
998
|
|
|
869
999
|
export declare const Avatar: {
|
|
870
|
-
Root: typeof
|
|
1000
|
+
Root: typeof Root_4;
|
|
871
1001
|
Image: typeof Image_2;
|
|
872
1002
|
Fallback: typeof Fallback;
|
|
873
1003
|
};
|
|
@@ -914,7 +1044,7 @@ export declare interface BadgeProps extends React_2.HTMLAttributes<HTMLDivElemen
|
|
|
914
1044
|
export declare type BadgeVariant = NonNullable<BadgeProps["variant"]>;
|
|
915
1045
|
|
|
916
1046
|
export declare const badgeVariants: (props?: ({
|
|
917
|
-
variant?: "default" | "error" | "
|
|
1047
|
+
variant?: "default" | "error" | "success" | "warning" | "neutral" | "info" | "subtle-success" | "subtle-warning" | "subtle-error" | "subtle-info" | "outline-success" | "outline-warning" | "outline-error" | "outline-info" | "outline-neutral" | null | undefined;
|
|
918
1048
|
} & ClassProp) | undefined) => string;
|
|
919
1049
|
|
|
920
1050
|
export { Blocker }
|
|
@@ -1031,9 +1161,9 @@ declare namespace Caption {
|
|
|
1031
1161
|
}
|
|
1032
1162
|
|
|
1033
1163
|
export declare const Card: {
|
|
1034
|
-
Root: typeof
|
|
1035
|
-
Header: typeof
|
|
1036
|
-
Content: typeof
|
|
1164
|
+
Root: typeof Root_6;
|
|
1165
|
+
Header: typeof Header_4;
|
|
1166
|
+
Content: typeof Content_2;
|
|
1037
1167
|
};
|
|
1038
1168
|
|
|
1039
1169
|
/** A table data cell (`<td>`). */
|
|
@@ -1049,6 +1179,86 @@ declare type CellProps = React_2.ComponentProps<"td"> & {
|
|
|
1049
1179
|
align?: CellAlign;
|
|
1050
1180
|
};
|
|
1051
1181
|
|
|
1182
|
+
/**
|
|
1183
|
+
* Structured step timeline for agentic turns — the discrete plan being
|
|
1184
|
+
* executed, each step with a status and optional result chips. Use
|
|
1185
|
+
* `AIChat.Reasoning` for free-form thinking text and this for multi-step tool
|
|
1186
|
+
* plans.
|
|
1187
|
+
*
|
|
1188
|
+
* @example
|
|
1189
|
+
* ```tsx
|
|
1190
|
+
* <AIChat.ChainOfThought defaultOpen>
|
|
1191
|
+
* <AIChat.ChainOfThoughtHeader />
|
|
1192
|
+
* <AIChat.ChainOfThoughtContent>
|
|
1193
|
+
* <AIChat.ChainOfThoughtStep label="Searching" status="complete" />
|
|
1194
|
+
* <AIChat.ChainOfThoughtStep label="Drafting the answer" status="active" />
|
|
1195
|
+
* </AIChat.ChainOfThoughtContent>
|
|
1196
|
+
* </AIChat.ChainOfThought>
|
|
1197
|
+
* ```
|
|
1198
|
+
*/
|
|
1199
|
+
declare function ChainOfThought({ className, children, ...props }: ChainOfThoughtProps): JSX.Element;
|
|
1200
|
+
|
|
1201
|
+
declare function ChainOfThoughtContent({ className, ...props }: ChainOfThoughtContentProps): JSX.Element;
|
|
1202
|
+
|
|
1203
|
+
declare type ChainOfThoughtContentProps = ComponentProps<typeof DisclosurePanel>;
|
|
1204
|
+
|
|
1205
|
+
declare function ChainOfThoughtHeader({ label, className, ...props }: ChainOfThoughtHeaderProps): JSX.Element;
|
|
1206
|
+
|
|
1207
|
+
declare type ChainOfThoughtHeaderProps = Omit<ComponentProps<typeof DisclosureTrigger>, "children"> & {
|
|
1208
|
+
/** Overrides the default "Chain of thought" label. */
|
|
1209
|
+
label?: string;
|
|
1210
|
+
};
|
|
1211
|
+
|
|
1212
|
+
declare type ChainOfThoughtProps = Omit<ComponentProps<typeof DisclosureRoot>, "children"> & {
|
|
1213
|
+
children: ReactNode;
|
|
1214
|
+
};
|
|
1215
|
+
|
|
1216
|
+
declare function ChainOfThoughtSearchResult({ className, variant, children, }: ChainOfThoughtSearchResultProps): JSX.Element;
|
|
1217
|
+
|
|
1218
|
+
declare type ChainOfThoughtSearchResultProps = Pick<ComponentProps<typeof Badge>, "className" | "children" | "variant">;
|
|
1219
|
+
|
|
1220
|
+
declare function ChainOfThoughtSearchResults({ className, ...props }: ChainOfThoughtSearchResultsProps): JSX.Element;
|
|
1221
|
+
|
|
1222
|
+
declare type ChainOfThoughtSearchResultsProps = ComponentProps<"div">;
|
|
1223
|
+
|
|
1224
|
+
declare function ChainOfThoughtStep({ label, description, icon: Icon, status, className, children, ...props }: ChainOfThoughtStepProps): JSX.Element;
|
|
1225
|
+
|
|
1226
|
+
declare type ChainOfThoughtStepProps = ComponentProps<"div"> & {
|
|
1227
|
+
label: string;
|
|
1228
|
+
description?: string;
|
|
1229
|
+
/** Lucide icon for the marker; a plain dot when omitted. */
|
|
1230
|
+
icon?: LucideIcon;
|
|
1231
|
+
status?: ChainOfThoughtStepStatus;
|
|
1232
|
+
};
|
|
1233
|
+
|
|
1234
|
+
export declare type ChainOfThoughtStepStatus = "complete" | "active" | "pending";
|
|
1235
|
+
|
|
1236
|
+
/**
|
|
1237
|
+
* Grouped list of past conversations ("Today", "Previous 7 days", …) for
|
|
1238
|
+
* reopening an earlier chat. Layout-agnostic — render it in a popover, a
|
|
1239
|
+
* `Sheet`, or a sidebar section of a full chat page. Group titles and date
|
|
1240
|
+
* bucketing are the caller's own. Deleting is optional — pass `onDelete` to
|
|
1241
|
+
* reveal a delete button on hover.
|
|
1242
|
+
*/
|
|
1243
|
+
declare function ChatHistory({ groups, activeId, onSelect, onDelete, className, ...props }: ChatHistoryProps): JSX.Element;
|
|
1244
|
+
|
|
1245
|
+
export declare type ChatHistoryGroupData = {
|
|
1246
|
+
title: string;
|
|
1247
|
+
items: ChatHistoryItemData[];
|
|
1248
|
+
};
|
|
1249
|
+
|
|
1250
|
+
export declare type ChatHistoryItemData = {
|
|
1251
|
+
id: string;
|
|
1252
|
+
title: string;
|
|
1253
|
+
};
|
|
1254
|
+
|
|
1255
|
+
declare type ChatHistoryProps = Omit<ComponentProps<"nav">, "onSelect"> & {
|
|
1256
|
+
groups: ChatHistoryGroupData[];
|
|
1257
|
+
activeId?: string;
|
|
1258
|
+
onSelect?: (id: string) => void;
|
|
1259
|
+
onDelete?: (id: string) => void;
|
|
1260
|
+
};
|
|
1261
|
+
|
|
1052
1262
|
/**
|
|
1053
1263
|
* A styled checkbox for boolean form fields.
|
|
1054
1264
|
*
|
|
@@ -1360,6 +1570,13 @@ declare interface ColumnBase<TRow extends Record<string, unknown>> {
|
|
|
1360
1570
|
* `type` is set). Always wins over the built-in renderer when both are
|
|
1361
1571
|
* present.
|
|
1362
1572
|
*
|
|
1573
|
+
* `render` is a **presentation** hook. Built-in behaviors that need the raw
|
|
1574
|
+
* cell value — such as truncation tooltips, cell context-menu copy/filter
|
|
1575
|
+
* actions, and typed renderers — still resolve that value from `accessor`
|
|
1576
|
+
* first, then `row[col.id]`. When neither exists, those behaviors fall back
|
|
1577
|
+
* to the return value of `render(row)` only if it is a primitive
|
|
1578
|
+
* (`string`/`number`/`boolean`/`bigint`).
|
|
1579
|
+
*
|
|
1363
1580
|
* Kept on the base (not per-branch) so callback contextual typing works
|
|
1364
1581
|
* across spread-then-override patterns like `column({ ...inferred, render })`.
|
|
1365
1582
|
*/
|
|
@@ -1367,17 +1584,21 @@ declare interface ColumnBase<TRow extends Record<string, unknown>> {
|
|
|
1367
1584
|
/**
|
|
1368
1585
|
* Custom header renderer.
|
|
1369
1586
|
*
|
|
1370
|
-
* When omitted, the built-in header
|
|
1371
|
-
* columns, owns the sort button and
|
|
1372
|
-
* value replaces the built-in header
|
|
1373
|
-
* receive `sortDirection` and
|
|
1374
|
-
* click surface and sort
|
|
1587
|
+
* `header` is a **presentation** hook. When omitted, the built-in header
|
|
1588
|
+
* renders `label` and, for sortable columns, owns the sort button and
|
|
1589
|
+
* indicator. When provided, the return value replaces the built-in header
|
|
1590
|
+
* entirely. Sortable custom headers receive `sortDirection` and
|
|
1591
|
+
* `activateSort()` and must render their own click surface and sort
|
|
1592
|
+
* indicator for left-click sorting; built-in header context-menu actions are
|
|
1593
|
+
* still driven by `label`, `sort`, and other column metadata.
|
|
1375
1594
|
*/
|
|
1376
1595
|
header?: (ctx: HeaderRenderContext) => ReactNode;
|
|
1377
1596
|
/**
|
|
1378
|
-
* Stable identifier used for column visibility toggling
|
|
1379
|
-
*
|
|
1380
|
-
*
|
|
1597
|
+
* Stable identifier used for column visibility toggling, persisted layout
|
|
1598
|
+
* state, raw-value fallback (`row[col.id]`), and as the React key. Falls
|
|
1599
|
+
* back to `label` when omitted. Set this explicitly when `label` is absent,
|
|
1600
|
+
* not unique, or when a custom-rendered column should still participate in
|
|
1601
|
+
* built-in cell behaviors that need a raw value.
|
|
1381
1602
|
*/
|
|
1382
1603
|
id?: string;
|
|
1383
1604
|
/** Fixed column width in pixels. When omitted the column sizes naturally. */
|
|
@@ -1402,9 +1623,8 @@ declare interface ColumnBase<TRow extends Record<string, unknown>> {
|
|
|
1402
1623
|
align?: "left" | "right";
|
|
1403
1624
|
/**
|
|
1404
1625
|
* When `true`, the cell content is truncated with an ellipsis when it
|
|
1405
|
-
* overflows. A `<Tooltip>` is wired up automatically when
|
|
1406
|
-
*
|
|
1407
|
-
* value.
|
|
1626
|
+
* overflows. A `<Tooltip>` is wired up automatically when the resolved raw
|
|
1627
|
+
* value is a string or number (`accessor` first, then `row[col.id]`).
|
|
1408
1628
|
*
|
|
1409
1629
|
* Truncation requires the cell to be shrinkable — the body cell sets
|
|
1410
1630
|
* `max-w-0`, which collapses unless another column anchors the row width.
|
|
@@ -1413,19 +1633,24 @@ declare interface ColumnBase<TRow extends Record<string, unknown>> {
|
|
|
1413
1633
|
*/
|
|
1414
1634
|
truncate?: boolean;
|
|
1415
1635
|
/**
|
|
1416
|
-
* Sort configuration. When set, the column
|
|
1417
|
-
*
|
|
1636
|
+
* Sort configuration. When set, the column participates in built-in sort
|
|
1637
|
+
* behaviors such as the default clickable header and the header context-menu
|
|
1638
|
+
* sort submenu. Left-click sorting from a custom `header` still requires that
|
|
1639
|
+
* renderer to call `ctx.activateSort()`.
|
|
1640
|
+
*
|
|
1418
1641
|
* Use `fieldTypeToSortConfig` or `inferColumns` to derive this automatically.
|
|
1419
1642
|
*/
|
|
1420
1643
|
sort?: SortConfig;
|
|
1421
1644
|
/**
|
|
1422
1645
|
* Filter configuration. When set, this column appears as an option in
|
|
1423
|
-
* `DataTable.Filters
|
|
1646
|
+
* `DataTable.Filters` and, when collection `control` is available, can also
|
|
1647
|
+
* drive the built-in cell context-menu filter actions.
|
|
1424
1648
|
*
|
|
1425
1649
|
* `operators` optionally narrows the conditions exposed by the built-in
|
|
1426
1650
|
* filter UI for this column. Order controls both the menu order and the
|
|
1427
1651
|
* default operator. This affects the DataTable UI only — collection control
|
|
1428
1652
|
* APIs and persisted filter state still accept the full backend operator set.
|
|
1653
|
+
* The cell context-menu narrows this further to single-value operators only.
|
|
1429
1654
|
*
|
|
1430
1655
|
* Use `fieldTypeToFilterConfig` or `inferColumns` to derive this automatically.
|
|
1431
1656
|
*/
|
|
@@ -1523,11 +1748,13 @@ declare type Columns = 3 | 4;
|
|
|
1523
1748
|
* - `type: "text"` rejects `typeOptions` entirely.
|
|
1524
1749
|
*
|
|
1525
1750
|
* `accessor` lives on each branch (rather than `ColumnBase`) so the built-in
|
|
1526
|
-
* renderers can constrain what a column produces.
|
|
1527
|
-
*
|
|
1528
|
-
*
|
|
1529
|
-
*
|
|
1530
|
-
*
|
|
1751
|
+
* renderers can constrain what a column produces. It is also the primary
|
|
1752
|
+
* source of truth for built-in cell behaviors that need the raw value
|
|
1753
|
+
* (truncate tooltip, cell context-menu copy/filter actions). Returning an
|
|
1754
|
+
* array or a non-Date object is a compile error on a typed branch, instead of
|
|
1755
|
+
* silently rendering `[object Object]`. Untyped columns (`type?: undefined`)
|
|
1756
|
+
* still accept `unknown` — they're rendered by an explicit `render`. `null`
|
|
1757
|
+
* and `undefined` are always allowed: every built-in renderer maps them to the
|
|
1531
1758
|
* `—` placeholder.
|
|
1532
1759
|
*
|
|
1533
1760
|
* Prefer `Column<TRow>` in most cases; this is exported so consumers can
|
|
@@ -1939,51 +2166,76 @@ declare type CommonProps = {
|
|
|
1939
2166
|
guards?: Guard[];
|
|
1940
2167
|
};
|
|
1941
2168
|
|
|
1942
|
-
|
|
2169
|
+
/**
|
|
2170
|
+
* The chat's fixed footer: a `Textarea` body over one action row, following
|
|
2171
|
+
* the `form/composer` pattern — left side open for `actions`, right side fixed
|
|
2172
|
+
* to a single submit control. Enter submits and is IME-safe; Shift+Enter
|
|
2173
|
+
* inserts a newline. The submit button becomes Stop while the chat's `status`
|
|
2174
|
+
* is busy.
|
|
2175
|
+
*
|
|
2176
|
+
* Reads `status` from the surrounding `AIChat`.
|
|
2177
|
+
*/
|
|
2178
|
+
declare function Composer({ onSubmit, onStop, value, defaultValue, onValueChange, placeholder, disabled, submitOnEnter, actions, className, }: AIChatComposerProps): JSX.Element;
|
|
2179
|
+
|
|
2180
|
+
/** The tooltip popup that displays additional information. */
|
|
2181
|
+
declare function Content({ className, position, side: _side, align: _align, sideOffset: _sideOffset, noArrow, children, ...restProps }: React_2.ComponentProps<typeof Tooltip_2.Popup> & {
|
|
2182
|
+
position?: PositionProps;
|
|
2183
|
+
noArrow?: boolean;
|
|
2184
|
+
/** @deprecated Use `position={{ side }}` instead. */
|
|
2185
|
+
side?: PositionProps["side"];
|
|
2186
|
+
/** @deprecated Use `position={{ align }}` instead. */
|
|
2187
|
+
align?: PositionProps["align"];
|
|
2188
|
+
/** @deprecated Use `position={{ sideOffset }}` instead. */
|
|
2189
|
+
sideOffset?: PositionProps["sideOffset"];
|
|
2190
|
+
}): JSX.Element;
|
|
1943
2191
|
|
|
1944
2192
|
declare namespace Content {
|
|
1945
2193
|
var displayName: string;
|
|
1946
2194
|
}
|
|
1947
2195
|
|
|
1948
|
-
|
|
1949
|
-
declare function Content_2({ className, children, ...props }: React_2.ComponentProps<typeof Dialog_2.Popup>): JSX.Element;
|
|
2196
|
+
declare function Content_2({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
1950
2197
|
|
|
1951
2198
|
declare namespace Content_2 {
|
|
1952
2199
|
var displayName: string;
|
|
1953
2200
|
}
|
|
1954
2201
|
|
|
1955
|
-
/** The
|
|
1956
|
-
declare function Content_3({ className,
|
|
1957
|
-
position?: PositionProps;
|
|
1958
|
-
}): JSX.Element;
|
|
2202
|
+
/** The main dialog panel that contains the dialog content. Automatically includes a close button and overlay. */
|
|
2203
|
+
declare function Content_3({ className, children, ...props }: React_2.ComponentProps<typeof Dialog_2.Popup>): JSX.Element;
|
|
1959
2204
|
|
|
1960
2205
|
declare namespace Content_3 {
|
|
1961
2206
|
var displayName: string;
|
|
1962
2207
|
}
|
|
1963
2208
|
|
|
1964
|
-
/** The
|
|
1965
|
-
declare function Content_4({ className,
|
|
2209
|
+
/** The menu popup that displays menu items. */
|
|
2210
|
+
declare function Content_4({ className, position, children, ...restProps }: React_2.ComponentProps<typeof Menu_2.Popup> & {
|
|
2211
|
+
position?: PositionProps;
|
|
2212
|
+
}): JSX.Element;
|
|
1966
2213
|
|
|
1967
2214
|
declare namespace Content_4 {
|
|
1968
2215
|
var displayName: string;
|
|
1969
2216
|
}
|
|
1970
2217
|
|
|
1971
|
-
/** The
|
|
1972
|
-
declare function Content_5({ className,
|
|
1973
|
-
position?: PositionProps;
|
|
1974
|
-
noArrow?: boolean;
|
|
1975
|
-
/** @deprecated Use `position={{ side }}` instead. */
|
|
1976
|
-
side?: PositionProps["side"];
|
|
1977
|
-
/** @deprecated Use `position={{ align }}` instead. */
|
|
1978
|
-
align?: PositionProps["align"];
|
|
1979
|
-
/** @deprecated Use `position={{ sideOffset }}` instead. */
|
|
1980
|
-
sideOffset?: PositionProps["sideOffset"];
|
|
1981
|
-
}): JSX.Element;
|
|
2218
|
+
/** The main sheet panel. The `side` and modal behavior are inherited from `Sheet.Root` via context. */
|
|
2219
|
+
declare function Content_5({ className, children, size, ...props }: SheetContentProps): JSX.Element;
|
|
1982
2220
|
|
|
1983
2221
|
declare namespace Content_5 {
|
|
1984
2222
|
var displayName: string;
|
|
1985
2223
|
}
|
|
1986
2224
|
|
|
2225
|
+
export declare type ContentContainerProps = {
|
|
2226
|
+
/**
|
|
2227
|
+
* Pinned chrome rendered above the scroll region — it stays put while the
|
|
2228
|
+
* content below it scrolls. Pass `<SidebarLayout.DefaultHeader />` for the
|
|
2229
|
+
* built-in top bar, your own node to replace it, or omit it entirely for a
|
|
2230
|
+
* bare content column.
|
|
2231
|
+
*/
|
|
2232
|
+
header?: React.ReactNode;
|
|
2233
|
+
/** Extra classes for the content column itself (the `<main>` element). */
|
|
2234
|
+
className?: string;
|
|
2235
|
+
/** Scrolling page content. Usually `<SidebarLayout.Outlet />`. */
|
|
2236
|
+
children?: React.ReactNode;
|
|
2237
|
+
};
|
|
2238
|
+
|
|
1987
2239
|
/**
|
|
1988
2240
|
* Context data type inferred from AppShellRegister.
|
|
1989
2241
|
* Falls back to Record<string, unknown> if not augmented.
|
|
@@ -2005,6 +2257,32 @@ declare namespace Control {
|
|
|
2005
2257
|
var displayName: string;
|
|
2006
2258
|
}
|
|
2007
2259
|
|
|
2260
|
+
/**
|
|
2261
|
+
* The transcript region: a scroll container that follows streaming output,
|
|
2262
|
+
* with a scroll-to-latest button that appears once the reader scrolls away.
|
|
2263
|
+
* While the reader is pinned to the bottom, growing content keeps the view
|
|
2264
|
+
* scrolled down; as soon as they scroll up to reread earlier messages,
|
|
2265
|
+
* following stops — a plain scrollIntoView-on-change can't tell the
|
|
2266
|
+
* difference and yanks the view back mid-read.
|
|
2267
|
+
*
|
|
2268
|
+
* Compose the transcript inside it from `AIChat.Message`, `AIChat.Response`,
|
|
2269
|
+
* and the other parts, or `AIChat.EmptyState` while there are no turns.
|
|
2270
|
+
*/
|
|
2271
|
+
declare function Conversation({ className, autoScroll, children, ...props }: AIChatConversationProps): JSX.Element;
|
|
2272
|
+
|
|
2273
|
+
/**
|
|
2274
|
+
* Centered placeholder shown while the conversation has no turns yet. Stacks
|
|
2275
|
+
* `icon`, then the `title`/`description` block, then `children` — so starter
|
|
2276
|
+
* suggestions go in `children` alongside the text rather than replacing it.
|
|
2277
|
+
*/
|
|
2278
|
+
declare function ConversationEmptyState({ className, title, description, icon, children, ...props }: ConversationEmptyStateProps): JSX.Element;
|
|
2279
|
+
|
|
2280
|
+
declare type ConversationEmptyStateProps = ComponentProps<"div"> & {
|
|
2281
|
+
title?: string;
|
|
2282
|
+
description?: string;
|
|
2283
|
+
icon?: ReactNode;
|
|
2284
|
+
};
|
|
2285
|
+
|
|
2008
2286
|
/**
|
|
2009
2287
|
* Creatable opt-in props. When `onCreateItem` is provided, the combobox allows
|
|
2010
2288
|
* users to create new items on-the-fly.
|
|
@@ -2773,6 +3051,28 @@ export declare type DefaultSidebarProps = {
|
|
|
2773
3051
|
* Auto-generation is completely disabled when children is specified.
|
|
2774
3052
|
*/
|
|
2775
3053
|
children?: React.ReactNode;
|
|
3054
|
+
/**
|
|
3055
|
+
* Hide the sidebar's own header row (org title + collapse toggle). Use when a
|
|
3056
|
+
* global top bar already owns those — e.g. `SidebarLayout topBar`.
|
|
3057
|
+
*
|
|
3058
|
+
* @default false
|
|
3059
|
+
*/
|
|
3060
|
+
hideHeader?: boolean;
|
|
3061
|
+
/**
|
|
3062
|
+
* Hide the built-in Search entry. Use when the command palette is already
|
|
3063
|
+
* reachable elsewhere — e.g. a global search box in `SidebarLayout topBar`.
|
|
3064
|
+
*
|
|
3065
|
+
* @default false
|
|
3066
|
+
*/
|
|
3067
|
+
hideSearch?: boolean;
|
|
3068
|
+
/**
|
|
3069
|
+
* Collapse to a narrow icon rail (icons stay visible) instead of sliding
|
|
3070
|
+
* fully off-canvas. The rail then stays visible at every width — including
|
|
3071
|
+
* mobile, where it replaces the off-canvas drawer with the icon-width rail.
|
|
3072
|
+
*
|
|
3073
|
+
* @default false
|
|
3074
|
+
*/
|
|
3075
|
+
iconRail?: boolean;
|
|
2776
3076
|
};
|
|
2777
3077
|
|
|
2778
3078
|
/**
|
|
@@ -3070,20 +3370,37 @@ export declare interface DescriptionCardProps<TData extends object = Record<stri
|
|
|
3070
3370
|
}
|
|
3071
3371
|
|
|
3072
3372
|
export declare const Dialog: {
|
|
3073
|
-
Root: typeof
|
|
3373
|
+
Root: typeof Root_7;
|
|
3074
3374
|
Close: typeof Close;
|
|
3075
|
-
Content: typeof
|
|
3375
|
+
Content: typeof Content_3;
|
|
3076
3376
|
Description: typeof Description_2;
|
|
3077
3377
|
Footer: typeof Footer_2;
|
|
3078
|
-
Header: typeof
|
|
3378
|
+
Header: typeof Header_5;
|
|
3079
3379
|
Title: typeof Title_2;
|
|
3080
|
-
Trigger: typeof
|
|
3380
|
+
Trigger: typeof Trigger_2;
|
|
3081
3381
|
};
|
|
3082
3382
|
|
|
3083
3383
|
declare type DialogRootProps = Pick<React_2.ComponentProps<typeof Dialog_2.Root>, "open" | "defaultOpen" | "onOpenChange" | "modal"> & {
|
|
3084
3384
|
children: React_2.ReactNode;
|
|
3085
3385
|
};
|
|
3086
3386
|
|
|
3387
|
+
declare function DisclosurePanel({ className, ...props }: DisclosurePanelProps): JSX.Element;
|
|
3388
|
+
|
|
3389
|
+
declare type DisclosurePanelProps = React_2.ComponentProps<typeof Collapsible.Panel>;
|
|
3390
|
+
|
|
3391
|
+
declare function DisclosureRoot({ className, children, ...props }: DisclosureRootProps): JSX.Element;
|
|
3392
|
+
|
|
3393
|
+
declare type DisclosureRootProps = Pick<React_2.ComponentProps<typeof Collapsible.Root>, "open" | "defaultOpen" | "onOpenChange"> & {
|
|
3394
|
+
className?: string;
|
|
3395
|
+
children: React_2.ReactNode;
|
|
3396
|
+
};
|
|
3397
|
+
|
|
3398
|
+
declare function DisclosureTrigger({ className, children, ...props }: DisclosureTriggerProps): JSX.Element;
|
|
3399
|
+
|
|
3400
|
+
declare type DisclosureTriggerProps = Omit<React_2.ComponentProps<typeof Collapsible.Trigger>, "children"> & {
|
|
3401
|
+
children: React_2.ReactNode;
|
|
3402
|
+
};
|
|
3403
|
+
|
|
3087
3404
|
/**
|
|
3088
3405
|
* DocumentProgressCard — a generic, presentational card for a document's
|
|
3089
3406
|
* lifecycle/fulfilment state: an optional headline percentage, a stacked
|
|
@@ -3154,6 +3471,8 @@ declare interface DocumentProgressSegment {
|
|
|
3154
3471
|
color: DocumentProgressColor;
|
|
3155
3472
|
}
|
|
3156
3473
|
|
|
3474
|
+
export declare const DynamicBreadcrumb: () => JSX.Element;
|
|
3475
|
+
|
|
3157
3476
|
declare type DynamicLocales<Def extends Record<string, LabelValue>> = {
|
|
3158
3477
|
[locale: string]: Partial<LabelDefinition<Def>> | undefined;
|
|
3159
3478
|
};
|
|
@@ -3309,7 +3628,7 @@ declare namespace Fallback {
|
|
|
3309
3628
|
}
|
|
3310
3629
|
|
|
3311
3630
|
export declare const Field: {
|
|
3312
|
-
Root: typeof
|
|
3631
|
+
Root: typeof Root_8;
|
|
3313
3632
|
Label: typeof Label;
|
|
3314
3633
|
Control: typeof Control;
|
|
3315
3634
|
Description: typeof Description_3;
|
|
@@ -3425,7 +3744,7 @@ declare type FieldRootProps = Pick<React_2.ComponentProps<typeof Field_2.Root>,
|
|
|
3425
3744
|
};
|
|
3426
3745
|
|
|
3427
3746
|
export declare const Fieldset: {
|
|
3428
|
-
Root: typeof
|
|
3747
|
+
Root: typeof Root_9;
|
|
3429
3748
|
Legend: typeof Legend;
|
|
3430
3749
|
};
|
|
3431
3750
|
|
|
@@ -3699,6 +4018,138 @@ declare type FormSubmitEventDetails = NonNullable<React_2.ComponentProps<typeof
|
|
|
3699
4018
|
|
|
3700
4019
|
export { getLocalTimeZone }
|
|
3701
4020
|
|
|
4021
|
+
/**
|
|
4022
|
+
* GlobalHeader — the app-wide top bar for {@link GlobalHeaderLayout}.
|
|
4023
|
+
*
|
|
4024
|
+
* Codifies the header layout so consumers don't hand-assemble it: the app title
|
|
4025
|
+
* (from `AppShell`) and the route-driven breadcrumb sit on the left, and the
|
|
4026
|
+
* `actions` cluster (defaulting to the appearance switcher) on the right.
|
|
4027
|
+
*
|
|
4028
|
+
* Use it via the `GlobalHeaderLayout.DefaultHeader` namespace.
|
|
4029
|
+
*
|
|
4030
|
+
* @example
|
|
4031
|
+
* ```tsx
|
|
4032
|
+
* <GlobalHeaderLayout
|
|
4033
|
+
* header={
|
|
4034
|
+
* <GlobalHeaderLayout.DefaultHeader
|
|
4035
|
+
* actions={[<AccountMenu key="account" />, <AppearanceSwitcher key="appearance" />]}
|
|
4036
|
+
* />
|
|
4037
|
+
* }
|
|
4038
|
+
* />
|
|
4039
|
+
* ```
|
|
4040
|
+
*/
|
|
4041
|
+
export declare const GlobalHeader: {
|
|
4042
|
+
({ actions }: GlobalHeaderProps): JSX.Element;
|
|
4043
|
+
displayName: string;
|
|
4044
|
+
};
|
|
4045
|
+
|
|
4046
|
+
/**
|
|
4047
|
+
* GlobalHeaderLayout — the app-shell layout with an app-wide header above the
|
|
4048
|
+
* whole shell and a sidebar that collapses to a persistent icon rail.
|
|
4049
|
+
*
|
|
4050
|
+
* It is a thin, opinionated wrapper over {@link SidebarLayout}: it wires the
|
|
4051
|
+
* global top bar, drops the sidebar's own header, and turns on the icon rail so
|
|
4052
|
+
* consumers get the intended experience without reconstructing it from
|
|
4053
|
+
* individual props. Reach for `SidebarLayout` directly when you need the
|
|
4054
|
+
* flexible primitive instead.
|
|
4055
|
+
*
|
|
4056
|
+
* @example
|
|
4057
|
+
* ```tsx
|
|
4058
|
+
* <GlobalHeaderLayout
|
|
4059
|
+
* header={<GlobalHeaderLayout.DefaultHeader actions={[<AppearanceSwitcher key="a" />]} />}
|
|
4060
|
+
* sidebar={
|
|
4061
|
+
* <GlobalHeaderLayout.DefaultSidebar>
|
|
4062
|
+
* <SidebarItem to="/" />
|
|
4063
|
+
* <SidebarGroup title="Main" icon={<LayersIcon />}>
|
|
4064
|
+
* <SidebarItem to="/dashboard" />
|
|
4065
|
+
* <SidebarItem to="/orders" />
|
|
4066
|
+
* </SidebarGroup>
|
|
4067
|
+
* </GlobalHeaderLayout.DefaultSidebar>
|
|
4068
|
+
* }
|
|
4069
|
+
* >
|
|
4070
|
+
* {({ Outlet }) => <Outlet />}
|
|
4071
|
+
* </GlobalHeaderLayout>
|
|
4072
|
+
* ```
|
|
4073
|
+
*/
|
|
4074
|
+
export declare function GlobalHeaderLayout(props: GlobalHeaderLayoutProps): JSX.Element;
|
|
4075
|
+
|
|
4076
|
+
export declare namespace GlobalHeaderLayout {
|
|
4077
|
+
var DefaultHeader: {
|
|
4078
|
+
({ actions }: GlobalHeaderProps): JSX.Element;
|
|
4079
|
+
displayName: string;
|
|
4080
|
+
};
|
|
4081
|
+
var DefaultSidebar: {
|
|
4082
|
+
({ footer, ...rest }: DefaultSidebarProps): JSX.Element;
|
|
4083
|
+
displayName: string;
|
|
4084
|
+
};
|
|
4085
|
+
var ContentContainer: {
|
|
4086
|
+
({ header, className, children }: ContentContainerProps): JSX.Element;
|
|
4087
|
+
displayName: string;
|
|
4088
|
+
};
|
|
4089
|
+
var Outlet: () => JSX.Element;
|
|
4090
|
+
var Trigger: {
|
|
4091
|
+
({ className, onClick }: TriggerProps): JSX.Element;
|
|
4092
|
+
displayName: string;
|
|
4093
|
+
};
|
|
4094
|
+
var Breadcrumb: () => JSX.Element;
|
|
4095
|
+
}
|
|
4096
|
+
|
|
4097
|
+
/**
|
|
4098
|
+
* The eject: you own the whole region beside the sidebar (e.g. a table-of-
|
|
4099
|
+
* contents rail + content + an assistant panel), composed from the namespaced
|
|
4100
|
+
* building blocks. See {@link SidebarLayout}'s `body` slot.
|
|
4101
|
+
*/
|
|
4102
|
+
declare type GlobalHeaderLayoutBodyProps = GlobalHeaderLayoutCommonProps & {
|
|
4103
|
+
body: React.ReactNode;
|
|
4104
|
+
children?: never;
|
|
4105
|
+
};
|
|
4106
|
+
|
|
4107
|
+
declare type GlobalHeaderLayoutCommonProps = {
|
|
4108
|
+
/**
|
|
4109
|
+
* The app-wide top bar, spanning above the sidebar and content.
|
|
4110
|
+
*
|
|
4111
|
+
* @default <GlobalHeaderLayout.DefaultHeader />
|
|
4112
|
+
*/
|
|
4113
|
+
header?: React.ReactNode;
|
|
4114
|
+
/**
|
|
4115
|
+
* The primary sidebar.
|
|
4116
|
+
*
|
|
4117
|
+
* @default <GlobalHeaderLayout.DefaultSidebar />
|
|
4118
|
+
*/
|
|
4119
|
+
sidebar?: React.ReactNode;
|
|
4120
|
+
/** Whether the sidebar is expanded by default on desktop. @default true */
|
|
4121
|
+
defaultOpen?: boolean;
|
|
4122
|
+
/** Whether the sidebar can be collapsed. @default true */
|
|
4123
|
+
collapsible?: boolean;
|
|
4124
|
+
};
|
|
4125
|
+
|
|
4126
|
+
/** Default content layout — you render the page via the `Outlet` render prop. */
|
|
4127
|
+
declare type GlobalHeaderLayoutDefaultProps = GlobalHeaderLayoutCommonProps & {
|
|
4128
|
+
children?: (props: {
|
|
4129
|
+
Outlet: () => React.ReactNode;
|
|
4130
|
+
}) => React.ReactNode;
|
|
4131
|
+
/** Not available alongside `children` — see the `body` overload. */
|
|
4132
|
+
body?: never;
|
|
4133
|
+
};
|
|
4134
|
+
|
|
4135
|
+
export declare type GlobalHeaderLayoutProps = GlobalHeaderLayoutDefaultProps | GlobalHeaderLayoutBodyProps;
|
|
4136
|
+
|
|
4137
|
+
export declare type GlobalHeaderProps = {
|
|
4138
|
+
/**
|
|
4139
|
+
* The right-hand cluster of the header. Rendered in a horizontal,
|
|
4140
|
+
* vertically-centered row with consistent spacing — you don't wrap it
|
|
4141
|
+
* yourself. Accepts a single node or an array of nodes.
|
|
4142
|
+
*
|
|
4143
|
+
* **`actions` replaces the entire right-hand cluster, including the
|
|
4144
|
+
* appearance switcher.** When omitted, it defaults to just the
|
|
4145
|
+
* `<AppearanceSwitcher />`. Include `<AppearanceSwitcher />` in your array to
|
|
4146
|
+
* keep it. Passing `actions={[]}` renders an empty right side.
|
|
4147
|
+
*
|
|
4148
|
+
* @default [<AppearanceSwitcher />]
|
|
4149
|
+
*/
|
|
4150
|
+
actions?: React.ReactNode | React.ReactNode[];
|
|
4151
|
+
};
|
|
4152
|
+
|
|
3702
4153
|
/**
|
|
3703
4154
|
* Hand-rolled segmented-date-field state.
|
|
3704
4155
|
*
|
|
@@ -3827,6 +4278,13 @@ declare namespace Head {
|
|
|
3827
4278
|
var displayName: string;
|
|
3828
4279
|
}
|
|
3829
4280
|
|
|
4281
|
+
/**
|
|
4282
|
+
* Fixed strip above the transcript: a leading graphic and title on the left,
|
|
4283
|
+
* an open action slot on the right, closed by a rule that runs the full width
|
|
4284
|
+
* of the surface.
|
|
4285
|
+
*/
|
|
4286
|
+
declare function Header({ title, icon, actions, className }: AIChatHeaderProps): JSX.Element;
|
|
4287
|
+
|
|
3830
4288
|
/**
|
|
3831
4289
|
* Layout.Header — Page-level header with title, actions, and an optional
|
|
3832
4290
|
* full-width slot.
|
|
@@ -3866,36 +4324,36 @@ declare namespace Head {
|
|
|
3866
4324
|
* </Layout>
|
|
3867
4325
|
* ```
|
|
3868
4326
|
*/
|
|
3869
|
-
declare function
|
|
4327
|
+
declare function Header_2({ title, actions, children }: LayoutHeaderProps): JSX.Element;
|
|
3870
4328
|
|
|
3871
|
-
declare namespace
|
|
4329
|
+
declare namespace Header_2 {
|
|
3872
4330
|
var displayName: string;
|
|
3873
4331
|
}
|
|
3874
4332
|
|
|
3875
4333
|
/** The table header section (`<thead>`). */
|
|
3876
|
-
declare function
|
|
4334
|
+
declare function Header_3({ className, ...props }: React_2.ComponentProps<"thead">): JSX.Element;
|
|
3877
4335
|
|
|
3878
|
-
declare namespace
|
|
4336
|
+
declare namespace Header_3 {
|
|
3879
4337
|
var displayName: string;
|
|
3880
4338
|
}
|
|
3881
4339
|
|
|
3882
|
-
declare function
|
|
4340
|
+
declare function Header_4({ className, title, description, children, ...props }: HeaderProps): JSX.Element;
|
|
3883
4341
|
|
|
3884
|
-
declare namespace
|
|
4342
|
+
declare namespace Header_4 {
|
|
3885
4343
|
var displayName: string;
|
|
3886
4344
|
}
|
|
3887
4345
|
|
|
3888
4346
|
/** A layout wrapper for the dialog title and description. */
|
|
3889
|
-
declare function
|
|
4347
|
+
declare function Header_5({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
3890
4348
|
|
|
3891
|
-
declare namespace
|
|
4349
|
+
declare namespace Header_5 {
|
|
3892
4350
|
var displayName: string;
|
|
3893
4351
|
}
|
|
3894
4352
|
|
|
3895
4353
|
/** A layout wrapper for the sheet title, close button, and optional action buttons. */
|
|
3896
|
-
declare function
|
|
4354
|
+
declare function Header_6({ className, action, children, ...props }: SheetHeaderProps): JSX.Element;
|
|
3897
4355
|
|
|
3898
|
-
declare namespace
|
|
4356
|
+
declare namespace Header_6 {
|
|
3899
4357
|
var displayName: string;
|
|
3900
4358
|
}
|
|
3901
4359
|
|
|
@@ -4105,7 +4563,7 @@ export declare const Layout: LayoutComponent;
|
|
|
4105
4563
|
*/
|
|
4106
4564
|
declare type LayoutComponent = typeof LayoutRoot & {
|
|
4107
4565
|
Column: typeof Column_2;
|
|
4108
|
-
Header: typeof
|
|
4566
|
+
Header: typeof Header_2;
|
|
4109
4567
|
};
|
|
4110
4568
|
|
|
4111
4569
|
/**
|
|
@@ -4134,12 +4592,7 @@ export declare interface LayoutProps {
|
|
|
4134
4592
|
className?: string;
|
|
4135
4593
|
/** Inline styles */
|
|
4136
4594
|
style?: CSSProperties;
|
|
4137
|
-
/**
|
|
4138
|
-
* Gap between columns (default: 4 = 16px)
|
|
4139
|
-
*
|
|
4140
|
-
* @deprecated Remove the `gap` prop and use `className` with the `astw:` prefix
|
|
4141
|
-
* (e.g. `className="astw:gap-6"`) to override the default gap.
|
|
4142
|
-
*/
|
|
4595
|
+
/** Gap between columns (default: 4 = 16px; supported steps: 4, 6, and 8). */
|
|
4143
4596
|
gap?: number;
|
|
4144
4597
|
/** Header title - displayed at the top of the layout
|
|
4145
4598
|
*
|
|
@@ -4228,9 +4681,9 @@ export declare interface MappedItem {
|
|
|
4228
4681
|
}
|
|
4229
4682
|
|
|
4230
4683
|
export declare const Menu: {
|
|
4231
|
-
Root: typeof
|
|
4232
|
-
Trigger: typeof
|
|
4233
|
-
Content: typeof
|
|
4684
|
+
Root: typeof Root_10;
|
|
4685
|
+
Trigger: typeof Trigger_3;
|
|
4686
|
+
Content: typeof Content_4;
|
|
4234
4687
|
Item: typeof Item_2;
|
|
4235
4688
|
LinkItem: typeof LinkItem;
|
|
4236
4689
|
CheckboxItem: typeof CheckboxItem;
|
|
@@ -4256,6 +4709,21 @@ declare namespace MenuSeparator {
|
|
|
4256
4709
|
var displayName: string;
|
|
4257
4710
|
}
|
|
4258
4711
|
|
|
4712
|
+
/**
|
|
4713
|
+
* One turn in the conversation. User turns render as a right-aligned primary
|
|
4714
|
+
* bubble; assistant turns take the full width with no bubble, leaving room
|
|
4715
|
+
* for reasoning, tool calls, and citations to stack above the response text.
|
|
4716
|
+
* `data-from` is the styling hook for callers who need to target a turn from
|
|
4717
|
+
* outside.
|
|
4718
|
+
*/
|
|
4719
|
+
declare function Message({ className, from, children, ...props }: MessageProps): JSX.Element;
|
|
4720
|
+
|
|
4721
|
+
declare type MessageProps = Omit<React_2.ComponentProps<"div">, "children"> & {
|
|
4722
|
+
/** Who sent the turn — styles the alignment and bubble. */
|
|
4723
|
+
from: "user" | "assistant";
|
|
4724
|
+
children: React_2.ReactNode;
|
|
4725
|
+
};
|
|
4726
|
+
|
|
4259
4727
|
declare type MetadataFieldFilterOptions<TType extends FilterConfig["type"] = FilterConfig["type"]> = {
|
|
4260
4728
|
operators?: NonEmptyReadonlyArray<DataTableUiFilterOperatorByType[TType]>;
|
|
4261
4729
|
};
|
|
@@ -4644,6 +5112,44 @@ export declare interface RangeCalendarProps<T extends DateValue = DateValue> {
|
|
|
4644
5112
|
locale?: string;
|
|
4645
5113
|
}
|
|
4646
5114
|
|
|
5115
|
+
/**
|
|
5116
|
+
* Collapsible "thinking" block for models that stream reasoning before the
|
|
5117
|
+
* final answer. Follows the stream — open while tokens arrive, closed once
|
|
5118
|
+
* they stop — until the reader toggles it, after which their choice sticks.
|
|
5119
|
+
*
|
|
5120
|
+
* @example
|
|
5121
|
+
* ```tsx
|
|
5122
|
+
* <AIChat.Reasoning isStreaming={reasoning.streaming} duration={reasoning.duration}>
|
|
5123
|
+
* <AIChat.ReasoningTrigger />
|
|
5124
|
+
* <AIChat.ReasoningContent>{reasoning.text}</AIChat.ReasoningContent>
|
|
5125
|
+
* </AIChat.Reasoning>
|
|
5126
|
+
* ```
|
|
5127
|
+
*/
|
|
5128
|
+
declare function Reasoning({ className, isStreaming, duration, defaultOpen, children, ...props }: ReasoningProps): JSX.Element;
|
|
5129
|
+
|
|
5130
|
+
declare function ReasoningContent({ children, className, ...props }: ReasoningContentProps): JSX.Element;
|
|
5131
|
+
|
|
5132
|
+
declare type ReasoningContentProps = Omit<ComponentProps<typeof DisclosurePanel>, "children"> & {
|
|
5133
|
+
children: string;
|
|
5134
|
+
};
|
|
5135
|
+
|
|
5136
|
+
declare type ReasoningProps = ComponentProps<"div"> & {
|
|
5137
|
+
/** True while reasoning tokens are still arriving. */
|
|
5138
|
+
isStreaming?: boolean;
|
|
5139
|
+
/** Seconds spent thinking; shown in the trigger once streaming ends. */
|
|
5140
|
+
duration?: number;
|
|
5141
|
+
/** Keep the block open even when no tokens are streaming. */
|
|
5142
|
+
defaultOpen?: boolean;
|
|
5143
|
+
children: ReactNode;
|
|
5144
|
+
};
|
|
5145
|
+
|
|
5146
|
+
declare function ReasoningTrigger({ label, className, ...props }: ReasoningTriggerProps): JSX.Element;
|
|
5147
|
+
|
|
5148
|
+
declare type ReasoningTriggerProps = Omit<ComponentProps<typeof DisclosureTrigger>, "children"> & {
|
|
5149
|
+
/** Overrides the default "Thinking… / Thought for Ns" label. */
|
|
5150
|
+
label?: string;
|
|
5151
|
+
};
|
|
5152
|
+
|
|
4647
5153
|
/**
|
|
4648
5154
|
* Redirect to another path.
|
|
4649
5155
|
*
|
|
@@ -4702,6 +5208,20 @@ declare type ResourceMeta = {
|
|
|
4702
5208
|
breadcrumbTitle?: string | ((segment: string) => string);
|
|
4703
5209
|
};
|
|
4704
5210
|
|
|
5211
|
+
/**
|
|
5212
|
+
* Renders the markdown subset a streamed LLM response actually emits — bold,
|
|
5213
|
+
* inline code, links, headings, and bullet/numbered lists — without a
|
|
5214
|
+
* markdown dependency. For full CommonMark (tables, nested lists, math), swap
|
|
5215
|
+
* this for `react-markdown` or the AI SDK's `streamdown`; call sites keep the
|
|
5216
|
+
* same `<AIChat.Response>{text}</AIChat.Response>` shape either way.
|
|
5217
|
+
*/
|
|
5218
|
+
declare function Response_2({ children, className }: ResponseProps): JSX.Element;
|
|
5219
|
+
|
|
5220
|
+
declare type ResponseProps = {
|
|
5221
|
+
children: string;
|
|
5222
|
+
className?: string;
|
|
5223
|
+
};
|
|
5224
|
+
|
|
4705
5225
|
/**
|
|
4706
5226
|
* A value that can either be a single value applied at all breakpoints, or an
|
|
4707
5227
|
* object keyed by breakpoint for responsive behavior.
|
|
@@ -4714,12 +5234,47 @@ declare type ResourceMeta = {
|
|
|
4714
5234
|
*/
|
|
4715
5235
|
declare type Responsive<T> = T | Partial<Record<Breakpoint, T>>;
|
|
4716
5236
|
|
|
4717
|
-
|
|
5237
|
+
/**
|
|
5238
|
+
* The root component that manages tooltip open/close state.
|
|
5239
|
+
*
|
|
5240
|
+
* @example
|
|
5241
|
+
* ```tsx
|
|
5242
|
+
* <Tooltip.Root>
|
|
5243
|
+
* <Tooltip.Trigger render={<Button variant="outline" />}>
|
|
5244
|
+
* Hover me
|
|
5245
|
+
* </Tooltip.Trigger>
|
|
5246
|
+
* <Tooltip.Content>Helpful information</Tooltip.Content>
|
|
5247
|
+
* </Tooltip.Root>
|
|
5248
|
+
* ```
|
|
5249
|
+
*/
|
|
5250
|
+
declare function Root({ children, ...props }: TooltipRootProps): JSX.Element;
|
|
4718
5251
|
|
|
4719
5252
|
declare namespace Root {
|
|
4720
5253
|
var displayName: string;
|
|
4721
5254
|
}
|
|
4722
5255
|
|
|
5256
|
+
/**
|
|
5257
|
+
* The root component that manages menu open/close state.
|
|
5258
|
+
*
|
|
5259
|
+
* @example
|
|
5260
|
+
* ```tsx
|
|
5261
|
+
* <Menu.Root>
|
|
5262
|
+
* <Menu.Trigger>Open menu</Menu.Trigger>
|
|
5263
|
+
* <Menu.Content>
|
|
5264
|
+
* <Menu.Item>Edit</Menu.Item>
|
|
5265
|
+
* <Menu.Item>Duplicate</Menu.Item>
|
|
5266
|
+
* <Menu.Separator />
|
|
5267
|
+
* <Menu.Item>Delete</Menu.Item>
|
|
5268
|
+
* </Menu.Content>
|
|
5269
|
+
* </Menu.Root>
|
|
5270
|
+
* ```
|
|
5271
|
+
*/
|
|
5272
|
+
declare function Root_10({ children, ...props }: MenuRootProps): JSX.Element;
|
|
5273
|
+
|
|
5274
|
+
declare namespace Root_10 {
|
|
5275
|
+
var displayName: string;
|
|
5276
|
+
}
|
|
5277
|
+
|
|
4723
5278
|
/**
|
|
4724
5279
|
* The root component that manages sheet open/close state.
|
|
4725
5280
|
* The `side` prop controls which edge of the screen the sheet slides in from.
|
|
@@ -4740,9 +5295,9 @@ declare namespace Root {
|
|
|
4740
5295
|
* </Sheet.Root>
|
|
4741
5296
|
* ```
|
|
4742
5297
|
*/
|
|
4743
|
-
declare function
|
|
5298
|
+
declare function Root_11({ side, modal, ...props }: SheetRootProps): JSX.Element;
|
|
4744
5299
|
|
|
4745
|
-
declare namespace
|
|
5300
|
+
declare namespace Root_11 {
|
|
4746
5301
|
var displayName: string;
|
|
4747
5302
|
}
|
|
4748
5303
|
|
|
@@ -4763,26 +5318,7 @@ declare namespace Root_10 {
|
|
|
4763
5318
|
* </Tabs.Root>
|
|
4764
5319
|
* ```
|
|
4765
5320
|
*/
|
|
4766
|
-
declare function
|
|
4767
|
-
|
|
4768
|
-
declare namespace Root_11 {
|
|
4769
|
-
var displayName: string;
|
|
4770
|
-
}
|
|
4771
|
-
|
|
4772
|
-
/**
|
|
4773
|
-
* The root component that manages tooltip open/close state.
|
|
4774
|
-
*
|
|
4775
|
-
* @example
|
|
4776
|
-
* ```tsx
|
|
4777
|
-
* <Tooltip.Root>
|
|
4778
|
-
* <Tooltip.Trigger render={<Button variant="outline" />}>
|
|
4779
|
-
* Hover me
|
|
4780
|
-
* </Tooltip.Trigger>
|
|
4781
|
-
* <Tooltip.Content>Helpful information</Tooltip.Content>
|
|
4782
|
-
* </Tooltip.Root>
|
|
4783
|
-
* ```
|
|
4784
|
-
*/
|
|
4785
|
-
declare function Root_12({ children, ...props }: TooltipRootProps): JSX.Element;
|
|
5321
|
+
declare function Root_12({ className, children, variant, size, ...props }: RootProps_3): JSX.Element;
|
|
4786
5322
|
|
|
4787
5323
|
declare namespace Root_12 {
|
|
4788
5324
|
var displayName: string;
|
|
@@ -4808,12 +5344,18 @@ declare namespace Root_13 {
|
|
|
4808
5344
|
var displayName: string;
|
|
4809
5345
|
}
|
|
4810
5346
|
|
|
4811
|
-
declare function Root_2
|
|
5347
|
+
declare function Root_2({ className, variant, action, dismissible, onDismiss, children, ...props }: RootProps): JSX.Element | null;
|
|
4812
5348
|
|
|
4813
5349
|
declare namespace Root_2 {
|
|
4814
5350
|
var displayName: string;
|
|
4815
5351
|
}
|
|
4816
5352
|
|
|
5353
|
+
declare function Root_3<T extends ActivityCardBaseItem>({ items, title, maxVisible, overflowLabel, groupBy, className, children, }: ActivityCardRootProps<T>): JSX.Element;
|
|
5354
|
+
|
|
5355
|
+
declare namespace Root_3 {
|
|
5356
|
+
var displayName: string;
|
|
5357
|
+
}
|
|
5358
|
+
|
|
4817
5359
|
/**
|
|
4818
5360
|
* Root container for an avatar (image with optional fallback).
|
|
4819
5361
|
*
|
|
@@ -4827,9 +5369,9 @@ declare namespace Root_2 {
|
|
|
4827
5369
|
* </Avatar.Root>
|
|
4828
5370
|
* ```
|
|
4829
5371
|
*/
|
|
4830
|
-
declare function
|
|
5372
|
+
declare function Root_4({ className, size, ...props }: AvatarProps): JSX.Element;
|
|
4831
5373
|
|
|
4832
|
-
declare namespace
|
|
5374
|
+
declare namespace Root_4 {
|
|
4833
5375
|
var displayName: string;
|
|
4834
5376
|
}
|
|
4835
5377
|
|
|
@@ -4856,15 +5398,15 @@ declare namespace Root_3 {
|
|
|
4856
5398
|
* </Table.Root>
|
|
4857
5399
|
* ```
|
|
4858
5400
|
*/
|
|
4859
|
-
declare function
|
|
5401
|
+
declare function Root_5({ className, containerClassName, containerRef, ...props }: RootProps_2): JSX.Element;
|
|
4860
5402
|
|
|
4861
|
-
declare namespace
|
|
5403
|
+
declare namespace Root_5 {
|
|
4862
5404
|
var displayName: string;
|
|
4863
5405
|
}
|
|
4864
5406
|
|
|
4865
|
-
declare function
|
|
5407
|
+
declare function Root_6({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
4866
5408
|
|
|
4867
|
-
declare namespace
|
|
5409
|
+
declare namespace Root_6 {
|
|
4868
5410
|
var displayName: string;
|
|
4869
5411
|
}
|
|
4870
5412
|
|
|
@@ -4888,9 +5430,9 @@ declare namespace Root_5 {
|
|
|
4888
5430
|
* </Dialog.Root>
|
|
4889
5431
|
* ```
|
|
4890
5432
|
*/
|
|
4891
|
-
declare function
|
|
5433
|
+
declare function Root_7({ ...props }: DialogRootProps): JSX.Element;
|
|
4892
5434
|
|
|
4893
|
-
declare namespace
|
|
5435
|
+
declare namespace Root_7 {
|
|
4894
5436
|
var displayName: string;
|
|
4895
5437
|
}
|
|
4896
5438
|
|
|
@@ -4941,37 +5483,15 @@ declare namespace Root_6 {
|
|
|
4941
5483
|
* > error routing, add `name={field.name}` to `Field.Root` so errors can be
|
|
4942
5484
|
* > matched by field name.
|
|
4943
5485
|
*/
|
|
4944
|
-
declare function
|
|
5486
|
+
declare function Root_8({ className, children, isTouched, isDirty, invalid, error, isValidating: _isValidating, ...props }: FieldRootProps & {
|
|
4945
5487
|
isValidating?: unknown;
|
|
4946
5488
|
}): JSX.Element;
|
|
4947
5489
|
|
|
4948
|
-
declare namespace Root_7 {
|
|
4949
|
-
var displayName: string;
|
|
4950
|
-
}
|
|
4951
|
-
|
|
4952
|
-
declare function Root_8({ className, ...props }: FieldsetRootProps): JSX.Element;
|
|
4953
|
-
|
|
4954
5490
|
declare namespace Root_8 {
|
|
4955
5491
|
var displayName: string;
|
|
4956
5492
|
}
|
|
4957
5493
|
|
|
4958
|
-
|
|
4959
|
-
* The root component that manages menu open/close state.
|
|
4960
|
-
*
|
|
4961
|
-
* @example
|
|
4962
|
-
* ```tsx
|
|
4963
|
-
* <Menu.Root>
|
|
4964
|
-
* <Menu.Trigger>Open menu</Menu.Trigger>
|
|
4965
|
-
* <Menu.Content>
|
|
4966
|
-
* <Menu.Item>Edit</Menu.Item>
|
|
4967
|
-
* <Menu.Item>Duplicate</Menu.Item>
|
|
4968
|
-
* <Menu.Separator />
|
|
4969
|
-
* <Menu.Item>Delete</Menu.Item>
|
|
4970
|
-
* </Menu.Content>
|
|
4971
|
-
* </Menu.Root>
|
|
4972
|
-
* ```
|
|
4973
|
-
*/
|
|
4974
|
-
declare function Root_9({ children, ...props }: MenuRootProps): JSX.Element;
|
|
5494
|
+
declare function Root_9({ className, ...props }: FieldsetRootProps): JSX.Element;
|
|
4975
5495
|
|
|
4976
5496
|
declare namespace Root_9 {
|
|
4977
5497
|
var displayName: string;
|
|
@@ -5572,11 +6092,11 @@ declare type SharedAppShellProps = React.PropsWithChildren<{
|
|
|
5572
6092
|
}>;
|
|
5573
6093
|
|
|
5574
6094
|
export declare const Sheet: {
|
|
5575
|
-
Root: typeof
|
|
5576
|
-
Trigger: typeof
|
|
6095
|
+
Root: typeof Root_11;
|
|
6096
|
+
Trigger: typeof Trigger_4;
|
|
5577
6097
|
Close: typeof Close_2;
|
|
5578
|
-
Content: typeof
|
|
5579
|
-
Header: typeof
|
|
6098
|
+
Content: typeof Content_5;
|
|
6099
|
+
Header: typeof Header_6;
|
|
5580
6100
|
Footer: typeof Footer_3;
|
|
5581
6101
|
Title: typeof Title_3;
|
|
5582
6102
|
Description: typeof Description_4;
|
|
@@ -5740,28 +6260,70 @@ export declare namespace SidebarLayout {
|
|
|
5740
6260
|
({ actions }: DefaultHeaderProps): JSX.Element;
|
|
5741
6261
|
displayName: string;
|
|
5742
6262
|
};
|
|
6263
|
+
var ContentContainer: {
|
|
6264
|
+
({ header, className, children }: ContentContainerProps): JSX.Element;
|
|
6265
|
+
displayName: string;
|
|
6266
|
+
};
|
|
6267
|
+
var Outlet: () => JSX.Element;
|
|
6268
|
+
var Trigger: {
|
|
6269
|
+
({ className, onClick }: TriggerProps): JSX.Element;
|
|
6270
|
+
displayName: string;
|
|
6271
|
+
};
|
|
5743
6272
|
}
|
|
5744
6273
|
|
|
5745
|
-
|
|
6274
|
+
/**
|
|
6275
|
+
* The eject: you own the whole region beside the sidebar, including where the
|
|
6276
|
+
* header goes. `header` and `children` are unavailable here by construction —
|
|
6277
|
+
* they describe a content column you are now supplying yourself.
|
|
6278
|
+
*/
|
|
6279
|
+
declare type SidebarLayoutBodyProps = SidebarLayoutCommonProps & {
|
|
5746
6280
|
/**
|
|
5747
|
-
*
|
|
6281
|
+
* Replaces everything to the right of the sidebar — the escape hatch for
|
|
6282
|
+
* page layouts the default content column can't express, such as a
|
|
6283
|
+
* table-of-contents rail or an assistant panel docked flush against the
|
|
6284
|
+
* viewport edge.
|
|
6285
|
+
*
|
|
6286
|
+
* Whatever you pass becomes a flex row alongside the sidebar, so it widens
|
|
6287
|
+
* and narrows with the sidebar automatically. Compose it from the namespaced
|
|
6288
|
+
* building blocks rather than rebuilding them:
|
|
6289
|
+
*
|
|
6290
|
+
* - `<SidebarLayout.ContentContainer>` — the stock content column (inset
|
|
6291
|
+
* padding, pinned header slot, scroll region, `useAppShellScrollContainer()`)
|
|
6292
|
+
* - `<SidebarLayout.Outlet />` — the current page
|
|
6293
|
+
* - `<SidebarLayout.DefaultHeader />` — the built-in top bar
|
|
6294
|
+
* - `<SidebarLayout.Trigger />` — the sidebar collapse toggle
|
|
6295
|
+
* - `useAppShellSidebar()` — subscribe to the sidebar's collapsed state
|
|
6296
|
+
*
|
|
6297
|
+
* The header lives inside `body` too — pass it to `ContentContainer` so it
|
|
6298
|
+
* stays pinned above that column's scroll region.
|
|
5748
6299
|
*
|
|
5749
6300
|
* @example
|
|
5750
6301
|
* ```tsx
|
|
5751
|
-
* <SidebarLayout
|
|
5752
|
-
* {
|
|
6302
|
+
* <SidebarLayout
|
|
6303
|
+
* body={
|
|
5753
6304
|
* <>
|
|
5754
|
-
* <
|
|
5755
|
-
*
|
|
5756
|
-
*
|
|
6305
|
+
* <aside className="w-64 shrink-0 border-r overflow-y-auto">
|
|
6306
|
+
* <TableOfContents />
|
|
6307
|
+
* </aside>
|
|
6308
|
+
* <SidebarLayout.ContentContainer header={<SidebarLayout.DefaultHeader />}>
|
|
6309
|
+
* <SidebarLayout.Outlet />
|
|
6310
|
+
* </SidebarLayout.ContentContainer>
|
|
6311
|
+
* <aside className="w-96 shrink-0 border-l overflow-y-auto">
|
|
6312
|
+
* <AssistantPanel />
|
|
6313
|
+
* </aside>
|
|
5757
6314
|
* </>
|
|
5758
|
-
*
|
|
5759
|
-
*
|
|
6315
|
+
* }
|
|
6316
|
+
* />
|
|
5760
6317
|
* ```
|
|
5761
6318
|
*/
|
|
5762
|
-
|
|
5763
|
-
|
|
5764
|
-
|
|
6319
|
+
body: React.ReactNode;
|
|
6320
|
+
/** Place your header inside `body`, via `<SidebarLayout.ContentContainer header={…}>`. */
|
|
6321
|
+
header?: never;
|
|
6322
|
+
/** Place your content inside `body`, via `<SidebarLayout.Outlet />`. */
|
|
6323
|
+
children?: never;
|
|
6324
|
+
};
|
|
6325
|
+
|
|
6326
|
+
declare type SidebarLayoutCommonProps = {
|
|
5765
6327
|
/**
|
|
5766
6328
|
* Custom sidebar content. Replaces the whole sidebar region.
|
|
5767
6329
|
*
|
|
@@ -5772,6 +6334,42 @@ export declare type SidebarLayoutProps = {
|
|
|
5772
6334
|
* ```
|
|
5773
6335
|
*/
|
|
5774
6336
|
sidebar?: React.ReactNode;
|
|
6337
|
+
/**
|
|
6338
|
+
* Whether the sidebar is open by default on desktop.
|
|
6339
|
+
*
|
|
6340
|
+
* @default true
|
|
6341
|
+
*/
|
|
6342
|
+
defaultOpen?: boolean;
|
|
6343
|
+
/**
|
|
6344
|
+
* Whether the sidebar can be collapsed.
|
|
6345
|
+
* When set to `false`, the sidebar is always visible and cannot be toggled.
|
|
6346
|
+
* `defaultOpen` is ignored when this is `false`.
|
|
6347
|
+
*
|
|
6348
|
+
* @default true
|
|
6349
|
+
*/
|
|
6350
|
+
collapsible?: boolean;
|
|
6351
|
+
/**
|
|
6352
|
+
* A global top bar rendered above **everything** — spanning the full width
|
|
6353
|
+
* across the top of the primary sidebar and the content region alike. The
|
|
6354
|
+
* sidebar and content then sit in a row beneath it.
|
|
6355
|
+
*
|
|
6356
|
+
* This is distinct from the content `header` (which sits above the content
|
|
6357
|
+
* column only): use `topBar` when you want a single app-wide bar over the
|
|
6358
|
+
* whole layout. Pair it with `<SidebarLayout.DefaultSidebar hideHeader />`
|
|
6359
|
+
* (and often `iconRail`) so the sidebar defers its own header to the bar.
|
|
6360
|
+
*
|
|
6361
|
+
* The bar should be `3.5rem` (h-14) tall: the fixed sidebar is offset to start
|
|
6362
|
+
* just beneath it (via the internal `--appshell-topbar-h`, fixed at `3.5rem`
|
|
6363
|
+
* while a `topBar` is present).
|
|
6364
|
+
*/
|
|
6365
|
+
topBar?: React.ReactNode;
|
|
6366
|
+
};
|
|
6367
|
+
|
|
6368
|
+
/**
|
|
6369
|
+
* The default layout: AppShell owns the content column, you customise its
|
|
6370
|
+
* header and content.
|
|
6371
|
+
*/
|
|
6372
|
+
declare type SidebarLayoutDefaultProps = SidebarLayoutCommonProps & {
|
|
5775
6373
|
/**
|
|
5776
6374
|
* Custom header content. Replaces the whole top-bar region.
|
|
5777
6375
|
*
|
|
@@ -5797,21 +6395,48 @@ export declare type SidebarLayoutProps = {
|
|
|
5797
6395
|
*/
|
|
5798
6396
|
header?: React.ReactNode;
|
|
5799
6397
|
/**
|
|
5800
|
-
*
|
|
5801
|
-
*
|
|
5802
|
-
* @default true
|
|
5803
|
-
*/
|
|
5804
|
-
defaultOpen?: boolean;
|
|
5805
|
-
/**
|
|
5806
|
-
* Whether the sidebar can be collapsed.
|
|
5807
|
-
* When set to `false`, the sidebar is always visible and cannot be toggled.
|
|
5808
|
-
* `defaultOpen` is ignored when this is `false`.
|
|
6398
|
+
* Custom content renderer.
|
|
5809
6399
|
*
|
|
5810
|
-
* @
|
|
6400
|
+
* @example
|
|
6401
|
+
* ```tsx
|
|
6402
|
+
* <SidebarLayout>
|
|
6403
|
+
* {({ Outlet }) => (
|
|
6404
|
+
* <>
|
|
6405
|
+
* <CustomHeader />
|
|
6406
|
+
* <Outlet />
|
|
6407
|
+
* <CustomFooter />
|
|
6408
|
+
* </>
|
|
6409
|
+
* )}
|
|
6410
|
+
* </SidebarLayout>
|
|
6411
|
+
* ```
|
|
5811
6412
|
*/
|
|
5812
|
-
|
|
6413
|
+
children?: (props: {
|
|
6414
|
+
Outlet: () => React.ReactNode;
|
|
6415
|
+
}) => React.ReactNode;
|
|
6416
|
+
/** Not available alongside `header`/`children` — see the `body` overload. */
|
|
6417
|
+
body?: never;
|
|
5813
6418
|
};
|
|
5814
6419
|
|
|
6420
|
+
/**
|
|
6421
|
+
* Either the default layout (`header` + `children`) or the ejected one (`body`)
|
|
6422
|
+
* — never both. Passing `body` alongside `header`/`children` is a type error,
|
|
6423
|
+
* because `body` replaces the very region those two describe.
|
|
6424
|
+
*/
|
|
6425
|
+
export declare type SidebarLayoutProps = SidebarLayoutDefaultProps | SidebarLayoutBodyProps;
|
|
6426
|
+
|
|
6427
|
+
export declare function SidebarMenuButton({ render, isActive, variant, size, tooltip, className, children, onClick, ...props }: React_2.ComponentProps<"button"> & {
|
|
6428
|
+
render?: React_2.ReactElement;
|
|
6429
|
+
isActive?: boolean;
|
|
6430
|
+
tooltip?: string | React_2.ComponentProps<typeof Tooltip.Content>;
|
|
6431
|
+
} & VariantProps<typeof sidebarMenuButtonVariants>): JSX.Element;
|
|
6432
|
+
|
|
6433
|
+
declare const sidebarMenuButtonVariants: (props?: ({
|
|
6434
|
+
variant?: "default" | "outline" | null | undefined;
|
|
6435
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
6436
|
+
} & ClassProp) | undefined) => string;
|
|
6437
|
+
|
|
6438
|
+
export declare function SidebarMenuItem({ className, ...props }: React_2.ComponentProps<"li">): JSX.Element;
|
|
6439
|
+
|
|
5815
6440
|
/**
|
|
5816
6441
|
* A visual divider for sidebar navigation.
|
|
5817
6442
|
*
|
|
@@ -5865,6 +6490,59 @@ export declare interface SortState {
|
|
|
5865
6490
|
direction: "Asc" | "Desc";
|
|
5866
6491
|
}
|
|
5867
6492
|
|
|
6493
|
+
declare function Source({ title, className, ...props }: SourceProps): JSX.Element;
|
|
6494
|
+
|
|
6495
|
+
declare type SourceProps = Omit<ComponentProps<"button">, "title"> & {
|
|
6496
|
+
/** Display name of the cited document. */
|
|
6497
|
+
title: string;
|
|
6498
|
+
};
|
|
6499
|
+
|
|
6500
|
+
/**
|
|
6501
|
+
* Collapsible citation list for a grounded answer. Renders a compact
|
|
6502
|
+
* "Used N sources" trigger under the answer; expanding lists each source the
|
|
6503
|
+
* model actually consulted.
|
|
6504
|
+
*
|
|
6505
|
+
* @example
|
|
6506
|
+
* ```tsx
|
|
6507
|
+
* <AIChat.Sources>
|
|
6508
|
+
* <AIChat.SourcesTrigger count={sources.length} />
|
|
6509
|
+
* <AIChat.SourcesContent>
|
|
6510
|
+
* {sources.map((s) => (
|
|
6511
|
+
* <AIChat.Source key={s.id} title={s.title} onClick={() => open(s.id)} />
|
|
6512
|
+
* ))}
|
|
6513
|
+
* </AIChat.SourcesContent>
|
|
6514
|
+
* </AIChat.Sources>
|
|
6515
|
+
* ```
|
|
6516
|
+
*/
|
|
6517
|
+
declare function Sources({ className, children, ...props }: SourcesProps): JSX.Element;
|
|
6518
|
+
|
|
6519
|
+
declare function SourcesContent({ className, ...props }: SourcesContentProps): JSX.Element;
|
|
6520
|
+
|
|
6521
|
+
declare type SourcesContentProps = ComponentProps<typeof DisclosurePanel>;
|
|
6522
|
+
|
|
6523
|
+
declare type SourcesProps = Omit<ComponentProps<typeof DisclosureRoot>, "children"> & {
|
|
6524
|
+
children: ReactNode;
|
|
6525
|
+
};
|
|
6526
|
+
|
|
6527
|
+
declare function SourcesTrigger({ count, className, ...props }: SourcesTriggerProps): JSX.Element;
|
|
6528
|
+
|
|
6529
|
+
declare type SourcesTriggerProps = Omit<ComponentProps<typeof DisclosureTrigger>, "children"> & {
|
|
6530
|
+
count: number;
|
|
6531
|
+
};
|
|
6532
|
+
|
|
6533
|
+
export declare function Spinner({ className, size, width, height, ...props }: SpinnerProps): JSX.Element;
|
|
6534
|
+
|
|
6535
|
+
declare const SPINNER_SIZES: {
|
|
6536
|
+
readonly xs: 12;
|
|
6537
|
+
readonly sm: 14;
|
|
6538
|
+
readonly default: 16;
|
|
6539
|
+
readonly lg: 20;
|
|
6540
|
+
};
|
|
6541
|
+
|
|
6542
|
+
export declare type SpinnerProps = React_2.ComponentProps<"svg"> & {
|
|
6543
|
+
size?: keyof typeof SPINNER_SIZES;
|
|
6544
|
+
};
|
|
6545
|
+
|
|
5868
6546
|
/** Groups all parts of a submenu. */
|
|
5869
6547
|
declare function SubmenuRoot({ children, ...props }: SubmenuRootProps): JSX.Element;
|
|
5870
6548
|
|
|
@@ -5883,16 +6561,33 @@ declare namespace SubmenuTrigger {
|
|
|
5883
6561
|
var displayName: string;
|
|
5884
6562
|
}
|
|
5885
6563
|
|
|
5886
|
-
/**
|
|
5887
|
-
|
|
5888
|
-
|
|
6564
|
+
/**
|
|
6565
|
+
* A starter-prompt chip. Submits `suggestion` as if the user had typed and
|
|
6566
|
+
* sent it — the fastest way to teach people what the assistant is good at.
|
|
6567
|
+
*/
|
|
6568
|
+
declare function Suggestion({ suggestion, onSelect, className, disabled, children }: SuggestionProps): JSX.Element;
|
|
6569
|
+
|
|
6570
|
+
declare type SuggestionProps = Pick<React_2.ComponentProps<typeof Button>, "className" | "disabled" | "children"> & {
|
|
6571
|
+
/** Prompt text; submitted through `onSelect`, and shown unless `children` overrides it. */
|
|
6572
|
+
suggestion: string;
|
|
6573
|
+
onSelect?: (suggestion: string) => void;
|
|
6574
|
+
};
|
|
6575
|
+
|
|
6576
|
+
/** Wraps a row of starter-prompt chips for the empty conversation state. */
|
|
6577
|
+
declare function Suggestions({ className, children, ...props }: SuggestionsProps): JSX.Element;
|
|
6578
|
+
|
|
6579
|
+
declare type SuggestionsProps = React_2.ComponentProps<"div">;
|
|
6580
|
+
|
|
6581
|
+
/** An individual interactive tab button that toggles the corresponding panel. */
|
|
6582
|
+
declare function Tab({ className, children, ...props }: React_2.ComponentProps<typeof Tabs_2.Tab>): JSX.Element;
|
|
6583
|
+
|
|
5889
6584
|
declare namespace Tab {
|
|
5890
6585
|
var displayName: string;
|
|
5891
6586
|
}
|
|
5892
6587
|
|
|
5893
6588
|
export declare const Table: {
|
|
5894
|
-
Root: typeof
|
|
5895
|
-
Header: typeof
|
|
6589
|
+
Root: typeof Root_5;
|
|
6590
|
+
Header: typeof Header_3;
|
|
5896
6591
|
Body: typeof Body_2;
|
|
5897
6592
|
Footer: typeof Footer;
|
|
5898
6593
|
Row: typeof Row;
|
|
@@ -5954,7 +6649,7 @@ export declare type TableOrderableFieldName<TTable extends TableMetadata> = Extr
|
|
|
5954
6649
|
} ? N extends string ? N : never : never;
|
|
5955
6650
|
|
|
5956
6651
|
export declare const Tabs: {
|
|
5957
|
-
Root: typeof
|
|
6652
|
+
Root: typeof Root_12;
|
|
5958
6653
|
List: typeof List;
|
|
5959
6654
|
Tab: typeof Tab;
|
|
5960
6655
|
Panel: typeof Panel;
|
|
@@ -6410,10 +7105,68 @@ declare namespace Title_3 {
|
|
|
6410
7105
|
|
|
6411
7106
|
export { To }
|
|
6412
7107
|
|
|
7108
|
+
/**
|
|
7109
|
+
* Collapsible tool-call card. Shows which tool the model invoked and its live
|
|
7110
|
+
* status in the header; expanding reveals the input parameters and the result
|
|
7111
|
+
* (or error) as JSON.
|
|
7112
|
+
*
|
|
7113
|
+
* @example
|
|
7114
|
+
* ```tsx
|
|
7115
|
+
* <AIChat.Tool>
|
|
7116
|
+
* <AIChat.ToolHeader toolName="search_kb" state={call.state} />
|
|
7117
|
+
* <AIChat.ToolContent>
|
|
7118
|
+
* <AIChat.ToolInput input={call.input} />
|
|
7119
|
+
* <AIChat.ToolOutput output={call.output} errorText={call.errorText} />
|
|
7120
|
+
* </AIChat.ToolContent>
|
|
7121
|
+
* </AIChat.Tool>
|
|
7122
|
+
* ```
|
|
7123
|
+
*/
|
|
7124
|
+
declare function Tool({ className, children, ...props }: ToolProps): JSX.Element;
|
|
7125
|
+
|
|
7126
|
+
declare function ToolContent({ className, ...props }: ToolContentProps): JSX.Element;
|
|
7127
|
+
|
|
7128
|
+
declare type ToolContentProps = ComponentProps<typeof DisclosurePanel>;
|
|
7129
|
+
|
|
7130
|
+
declare function ToolHeader({ toolName, state, title, className, ...props }: ToolHeaderProps): JSX.Element;
|
|
7131
|
+
|
|
7132
|
+
declare type ToolHeaderProps = Omit<ComponentProps<typeof DisclosureTrigger>, "children" | "title"> & {
|
|
7133
|
+
toolName: string;
|
|
7134
|
+
state: ToolState;
|
|
7135
|
+
/** Human-readable label shown instead of the raw tool name. */
|
|
7136
|
+
title?: string;
|
|
7137
|
+
};
|
|
7138
|
+
|
|
7139
|
+
declare function ToolInput({ input, className, ...props }: ToolInputProps): JSX.Element;
|
|
7140
|
+
|
|
7141
|
+
declare type ToolInputProps = ComponentProps<"div"> & {
|
|
7142
|
+
input: unknown;
|
|
7143
|
+
};
|
|
7144
|
+
|
|
7145
|
+
declare function ToolOutput({ output, errorText, className, ...props }: ToolOutputProps): JSX.Element | null;
|
|
7146
|
+
|
|
7147
|
+
declare type ToolOutputProps = ComponentProps<"div"> & {
|
|
7148
|
+
output?: unknown;
|
|
7149
|
+
errorText?: string;
|
|
7150
|
+
};
|
|
7151
|
+
|
|
7152
|
+
declare type ToolProps = Omit<ComponentProps<typeof DisclosureRoot>, "children"> & {
|
|
7153
|
+
children: ReactNode;
|
|
7154
|
+
};
|
|
7155
|
+
|
|
7156
|
+
/**
|
|
7157
|
+
* Maps 1:1 to the AI SDK's tool-part lifecycle, so a streaming loop can
|
|
7158
|
+
* update a call in place as parts arrive:
|
|
7159
|
+
* - `input-streaming` — the model is still writing the arguments
|
|
7160
|
+
* - `input-available` — arguments complete, tool executing
|
|
7161
|
+
* - `output-available` — finished with a result
|
|
7162
|
+
* - `output-error` — finished with an error
|
|
7163
|
+
*/
|
|
7164
|
+
export declare type ToolState = "input-streaming" | "input-available" | "output-available" | "output-error";
|
|
7165
|
+
|
|
6413
7166
|
export declare const Tooltip: {
|
|
6414
|
-
Root: typeof
|
|
6415
|
-
Trigger: typeof
|
|
6416
|
-
Content: typeof
|
|
7167
|
+
Root: typeof Root;
|
|
7168
|
+
Trigger: typeof Trigger;
|
|
7169
|
+
Content: typeof Content;
|
|
6417
7170
|
Provider: typeof Provider;
|
|
6418
7171
|
};
|
|
6419
7172
|
|
|
@@ -6421,34 +7174,44 @@ declare type TooltipRootProps = Pick<React_2.ComponentProps<typeof Tooltip_2.Roo
|
|
|
6421
7174
|
children: React_2.ReactNode;
|
|
6422
7175
|
};
|
|
6423
7176
|
|
|
6424
|
-
/** The element that
|
|
6425
|
-
declare function Trigger({ ...props }: React_2.ComponentProps<typeof
|
|
7177
|
+
/** The element that triggers the tooltip on hover or focus. */
|
|
7178
|
+
declare function Trigger({ ...props }: React_2.ComponentProps<typeof Tooltip_2.Trigger>): JSX.Element;
|
|
6426
7179
|
|
|
6427
7180
|
declare namespace Trigger {
|
|
6428
7181
|
var displayName: string;
|
|
6429
7182
|
}
|
|
6430
7183
|
|
|
6431
|
-
/** The element that opens the
|
|
6432
|
-
declare function Trigger_2({ ...props }: React_2.ComponentProps<typeof
|
|
7184
|
+
/** The element that opens the dialog when clicked. */
|
|
7185
|
+
declare function Trigger_2({ ...props }: React_2.ComponentProps<typeof Dialog_2.Trigger>): JSX.Element;
|
|
6433
7186
|
|
|
6434
7187
|
declare namespace Trigger_2 {
|
|
6435
7188
|
var displayName: string;
|
|
6436
7189
|
}
|
|
6437
7190
|
|
|
6438
|
-
/** The element that opens the
|
|
6439
|
-
declare function Trigger_3({ ...props }: React_2.ComponentProps<typeof
|
|
7191
|
+
/** The element that opens the menu when clicked. */
|
|
7192
|
+
declare function Trigger_3({ ...props }: React_2.ComponentProps<typeof Menu_2.Trigger>): JSX.Element;
|
|
6440
7193
|
|
|
6441
7194
|
declare namespace Trigger_3 {
|
|
6442
7195
|
var displayName: string;
|
|
6443
7196
|
}
|
|
6444
7197
|
|
|
6445
|
-
/** The element that
|
|
6446
|
-
declare function Trigger_4({ ...props }: React_2.ComponentProps<typeof
|
|
7198
|
+
/** The element that opens the sheet when clicked. */
|
|
7199
|
+
declare function Trigger_4({ ...props }: React_2.ComponentProps<typeof Drawer.Trigger>): JSX.Element;
|
|
6447
7200
|
|
|
6448
7201
|
declare namespace Trigger_4 {
|
|
6449
7202
|
var displayName: string;
|
|
6450
7203
|
}
|
|
6451
7204
|
|
|
7205
|
+
declare type TriggerProps = {
|
|
7206
|
+
/** Extra classes for the trigger button. */
|
|
7207
|
+
className?: string;
|
|
7208
|
+
/**
|
|
7209
|
+
* Runs before the sidebar toggles. The toggle itself is not cancellable —
|
|
7210
|
+
* use `useAppShellSidebar()` if you need to drive the state directly.
|
|
7211
|
+
*/
|
|
7212
|
+
onClick?: React.MouseEventHandler<HTMLButtonElement>;
|
|
7213
|
+
};
|
|
7214
|
+
|
|
6452
7215
|
/**
|
|
6453
7216
|
* Metadata-aware collection variables that remain assignable to the broad
|
|
6454
7217
|
* `CollectionVariables` shape expected by GraphQL clients.
|
|
@@ -6565,6 +7328,23 @@ export declare const useAppShellData: () => AppShellDataContextType;
|
|
|
6565
7328
|
*/
|
|
6566
7329
|
export declare function useAppShellScrollContainer(): RefObject<HTMLElement | null>;
|
|
6567
7330
|
|
|
7331
|
+
/**
|
|
7332
|
+
* Read and control the AppShell sidebar's collapsed state.
|
|
7333
|
+
*
|
|
7334
|
+
* Use this instead of observing `[data-slot="sidebar"][data-state]` or clicking
|
|
7335
|
+
* the trigger through the DOM — those reach into internals that can change
|
|
7336
|
+
* between releases.
|
|
7337
|
+
*
|
|
7338
|
+
* ```tsx
|
|
7339
|
+
* const { open, toggle } = useAppShellSidebar();
|
|
7340
|
+
* return <button onClick={toggle}>{open ? "Hide nav" : "Show nav"}</button>;
|
|
7341
|
+
* ```
|
|
7342
|
+
*
|
|
7343
|
+
* Outside a `SidebarLayout` there is no sidebar to describe, so this reports
|
|
7344
|
+
* `open: true` with no-op setters rather than throwing.
|
|
7345
|
+
*/
|
|
7346
|
+
export declare function useAppShellSidebar(): AppShellSidebarState;
|
|
7347
|
+
|
|
6568
7348
|
/**
|
|
6569
7349
|
* Hook that encapsulates the async select pattern — fetching on open,
|
|
6570
7350
|
* request cancellation via `AbortController`, and loading/error state.
|
|
@@ -7397,6 +8177,19 @@ export declare const usePageMeta: (path: string) => PageMeta | null;
|
|
|
7397
8177
|
|
|
7398
8178
|
export { useParams }
|
|
7399
8179
|
|
|
8180
|
+
/**
|
|
8181
|
+
* Hook to retrieve the current path segments and their corresponding titles.
|
|
8182
|
+
*/
|
|
8183
|
+
export declare const usePathSegments: () => {
|
|
8184
|
+
basePath: string | null;
|
|
8185
|
+
segments: {
|
|
8186
|
+
segment: string;
|
|
8187
|
+
path: string;
|
|
8188
|
+
title: string;
|
|
8189
|
+
clickable: boolean;
|
|
8190
|
+
}[];
|
|
8191
|
+
};
|
|
8192
|
+
|
|
7400
8193
|
/**
|
|
7401
8194
|
* Declaratively register contextual actions to the CommandPalette.
|
|
7402
8195
|
*
|
|
@@ -7664,82 +8457,82 @@ export { ZonedDateTime }
|
|
|
7664
8457
|
export { }
|
|
7665
8458
|
|
|
7666
8459
|
|
|
7667
|
-
declare namespace
|
|
8460
|
+
declare namespace Root {
|
|
7668
8461
|
var displayName: string;
|
|
7669
8462
|
}
|
|
7670
8463
|
|
|
7671
8464
|
|
|
7672
|
-
declare namespace
|
|
8465
|
+
declare namespace Viewport {
|
|
7673
8466
|
var displayName: string;
|
|
7674
8467
|
}
|
|
7675
8468
|
|
|
7676
8469
|
|
|
7677
|
-
declare namespace
|
|
8470
|
+
declare namespace Row {
|
|
7678
8471
|
var displayName: string;
|
|
7679
8472
|
}
|
|
7680
8473
|
|
|
7681
8474
|
|
|
7682
|
-
declare namespace
|
|
8475
|
+
declare namespace Interval {
|
|
7683
8476
|
var displayName: string;
|
|
7684
8477
|
}
|
|
7685
8478
|
|
|
7686
8479
|
|
|
7687
|
-
declare namespace
|
|
8480
|
+
declare namespace TimelineLink {
|
|
7688
8481
|
var displayName: string;
|
|
7689
8482
|
}
|
|
7690
8483
|
|
|
7691
8484
|
|
|
7692
|
-
declare namespace
|
|
8485
|
+
declare namespace Root {
|
|
7693
8486
|
var displayName: string;
|
|
7694
8487
|
}
|
|
7695
8488
|
|
|
7696
8489
|
|
|
7697
|
-
declare namespace
|
|
8490
|
+
declare namespace Title {
|
|
7698
8491
|
var displayName: string;
|
|
7699
8492
|
}
|
|
7700
8493
|
|
|
7701
8494
|
|
|
7702
|
-
declare namespace
|
|
8495
|
+
declare namespace Description {
|
|
7703
8496
|
var displayName: string;
|
|
7704
8497
|
}
|
|
7705
8498
|
|
|
7706
8499
|
|
|
7707
|
-
declare namespace
|
|
8500
|
+
declare namespace Root {
|
|
7708
8501
|
var displayName: string;
|
|
7709
8502
|
}
|
|
7710
8503
|
|
|
7711
8504
|
|
|
7712
|
-
declare namespace
|
|
8505
|
+
declare namespace Image {
|
|
7713
8506
|
var displayName: string;
|
|
7714
8507
|
}
|
|
7715
8508
|
|
|
7716
8509
|
|
|
7717
|
-
declare namespace
|
|
8510
|
+
declare namespace Fallback {
|
|
7718
8511
|
var displayName: string;
|
|
7719
8512
|
}
|
|
7720
8513
|
|
|
7721
8514
|
|
|
7722
|
-
declare namespace
|
|
8515
|
+
declare namespace Root {
|
|
7723
8516
|
var displayName: string;
|
|
7724
8517
|
}
|
|
7725
8518
|
|
|
7726
8519
|
|
|
7727
|
-
declare namespace
|
|
8520
|
+
declare namespace Header {
|
|
7728
8521
|
var displayName: string;
|
|
7729
8522
|
}
|
|
7730
8523
|
|
|
7731
8524
|
|
|
7732
|
-
declare namespace
|
|
8525
|
+
declare namespace Content {
|
|
7733
8526
|
var displayName: string;
|
|
7734
8527
|
}
|
|
7735
8528
|
|
|
7736
8529
|
|
|
7737
|
-
declare namespace
|
|
8530
|
+
declare namespace Root {
|
|
7738
8531
|
var displayName: string;
|
|
7739
8532
|
}
|
|
7740
8533
|
|
|
7741
8534
|
|
|
7742
|
-
declare namespace
|
|
8535
|
+
declare namespace Legend {
|
|
7743
8536
|
var displayName: string;
|
|
7744
8537
|
}
|
|
7745
8538
|
|
|
@@ -7749,387 +8542,387 @@ declare namespace Root {
|
|
|
7749
8542
|
}
|
|
7750
8543
|
|
|
7751
8544
|
|
|
7752
|
-
declare namespace
|
|
8545
|
+
declare namespace Trigger {
|
|
7753
8546
|
var displayName: string;
|
|
7754
8547
|
}
|
|
7755
8548
|
|
|
7756
8549
|
|
|
7757
|
-
declare namespace
|
|
8550
|
+
declare namespace Close {
|
|
7758
8551
|
var displayName: string;
|
|
7759
8552
|
}
|
|
7760
8553
|
|
|
7761
8554
|
|
|
7762
|
-
declare namespace
|
|
8555
|
+
declare namespace Content {
|
|
7763
8556
|
var displayName: string;
|
|
7764
8557
|
}
|
|
7765
8558
|
|
|
7766
8559
|
|
|
7767
|
-
declare namespace
|
|
8560
|
+
declare namespace Header {
|
|
7768
8561
|
var displayName: string;
|
|
7769
8562
|
}
|
|
7770
8563
|
|
|
7771
8564
|
|
|
7772
|
-
declare namespace
|
|
8565
|
+
declare namespace Footer {
|
|
7773
8566
|
var displayName: string;
|
|
7774
8567
|
}
|
|
7775
8568
|
|
|
7776
8569
|
|
|
7777
|
-
declare namespace
|
|
8570
|
+
declare namespace Title {
|
|
7778
8571
|
var displayName: string;
|
|
7779
8572
|
}
|
|
7780
8573
|
|
|
7781
8574
|
|
|
7782
|
-
declare namespace
|
|
8575
|
+
declare namespace Description {
|
|
7783
8576
|
var displayName: string;
|
|
7784
8577
|
}
|
|
7785
8578
|
|
|
7786
8579
|
|
|
7787
|
-
declare namespace
|
|
8580
|
+
declare namespace Root {
|
|
7788
8581
|
var displayName: string;
|
|
7789
8582
|
}
|
|
7790
8583
|
|
|
7791
8584
|
|
|
7792
|
-
declare namespace
|
|
8585
|
+
declare namespace Header {
|
|
7793
8586
|
var displayName: string;
|
|
7794
8587
|
}
|
|
7795
8588
|
|
|
7796
8589
|
|
|
7797
|
-
declare namespace
|
|
8590
|
+
declare namespace Body {
|
|
7798
8591
|
var displayName: string;
|
|
7799
8592
|
}
|
|
7800
8593
|
|
|
7801
8594
|
|
|
7802
|
-
declare namespace
|
|
8595
|
+
declare namespace Footer {
|
|
7803
8596
|
var displayName: string;
|
|
7804
8597
|
}
|
|
7805
8598
|
|
|
7806
8599
|
|
|
7807
|
-
declare namespace
|
|
8600
|
+
declare namespace Row {
|
|
7808
8601
|
var displayName: string;
|
|
7809
8602
|
}
|
|
7810
8603
|
|
|
7811
8604
|
|
|
7812
|
-
declare namespace
|
|
8605
|
+
declare namespace Head {
|
|
7813
8606
|
var displayName: string;
|
|
7814
8607
|
}
|
|
7815
8608
|
|
|
7816
8609
|
|
|
7817
|
-
declare namespace
|
|
8610
|
+
declare namespace Cell {
|
|
7818
8611
|
var displayName: string;
|
|
7819
8612
|
}
|
|
7820
8613
|
|
|
7821
8614
|
|
|
7822
|
-
declare namespace
|
|
8615
|
+
declare namespace Caption {
|
|
7823
8616
|
var displayName: string;
|
|
7824
8617
|
}
|
|
7825
8618
|
|
|
7826
8619
|
|
|
7827
|
-
declare namespace
|
|
8620
|
+
declare namespace Root {
|
|
7828
8621
|
var displayName: string;
|
|
7829
8622
|
}
|
|
7830
8623
|
|
|
7831
8624
|
|
|
7832
|
-
declare namespace
|
|
8625
|
+
declare namespace Label {
|
|
7833
8626
|
var displayName: string;
|
|
7834
8627
|
}
|
|
7835
8628
|
|
|
7836
8629
|
|
|
7837
|
-
declare namespace
|
|
8630
|
+
declare namespace Control {
|
|
7838
8631
|
var displayName: string;
|
|
7839
8632
|
}
|
|
7840
8633
|
|
|
7841
8634
|
|
|
7842
|
-
declare namespace
|
|
8635
|
+
declare namespace Description {
|
|
7843
8636
|
var displayName: string;
|
|
7844
8637
|
}
|
|
7845
8638
|
|
|
7846
8639
|
|
|
7847
|
-
declare namespace
|
|
8640
|
+
declare namespace Error {
|
|
7848
8641
|
var displayName: string;
|
|
7849
8642
|
}
|
|
7850
8643
|
|
|
7851
8644
|
|
|
7852
|
-
declare namespace
|
|
8645
|
+
declare namespace Validity {
|
|
7853
8646
|
var displayName: string;
|
|
7854
8647
|
}
|
|
7855
8648
|
|
|
7856
8649
|
|
|
7857
|
-
declare namespace
|
|
8650
|
+
declare namespace Provider {
|
|
7858
8651
|
var displayName: string;
|
|
7859
8652
|
}
|
|
7860
8653
|
|
|
7861
8654
|
|
|
7862
|
-
declare namespace
|
|
8655
|
+
declare namespace Root {
|
|
7863
8656
|
var displayName: string;
|
|
7864
8657
|
}
|
|
7865
8658
|
|
|
7866
8659
|
|
|
7867
|
-
declare namespace
|
|
8660
|
+
declare namespace Trigger {
|
|
7868
8661
|
var displayName: string;
|
|
7869
8662
|
}
|
|
7870
8663
|
|
|
7871
8664
|
|
|
7872
|
-
declare namespace
|
|
8665
|
+
declare namespace Content {
|
|
7873
8666
|
var displayName: string;
|
|
7874
8667
|
}
|
|
7875
8668
|
|
|
7876
8669
|
|
|
7877
|
-
declare namespace
|
|
8670
|
+
declare namespace SelectRoot {
|
|
7878
8671
|
var displayName: string;
|
|
7879
8672
|
}
|
|
7880
8673
|
|
|
7881
8674
|
|
|
7882
|
-
declare namespace
|
|
8675
|
+
declare namespace SelectTrigger {
|
|
7883
8676
|
var displayName: string;
|
|
7884
8677
|
}
|
|
7885
8678
|
|
|
7886
8679
|
|
|
7887
|
-
declare namespace
|
|
8680
|
+
declare namespace SelectValue {
|
|
7888
8681
|
var displayName: string;
|
|
7889
8682
|
}
|
|
7890
8683
|
|
|
7891
8684
|
|
|
7892
|
-
declare namespace
|
|
8685
|
+
declare namespace SelectContent {
|
|
7893
8686
|
var displayName: string;
|
|
7894
8687
|
}
|
|
7895
8688
|
|
|
7896
8689
|
|
|
7897
|
-
declare namespace
|
|
8690
|
+
declare namespace SelectItem {
|
|
7898
8691
|
var displayName: string;
|
|
7899
8692
|
}
|
|
7900
8693
|
|
|
7901
8694
|
|
|
7902
|
-
declare namespace
|
|
8695
|
+
declare namespace SelectGroup {
|
|
7903
8696
|
var displayName: string;
|
|
7904
8697
|
}
|
|
7905
8698
|
|
|
7906
8699
|
|
|
7907
|
-
declare namespace
|
|
8700
|
+
declare namespace SelectGroupLabel {
|
|
7908
8701
|
var displayName: string;
|
|
7909
8702
|
}
|
|
7910
8703
|
|
|
7911
8704
|
|
|
7912
|
-
declare namespace
|
|
8705
|
+
declare namespace SelectSeparator {
|
|
7913
8706
|
var displayName: string;
|
|
7914
8707
|
}
|
|
7915
8708
|
|
|
7916
8709
|
|
|
7917
|
-
declare namespace
|
|
8710
|
+
declare namespace ComboboxRoot {
|
|
7918
8711
|
var displayName: string;
|
|
7919
8712
|
}
|
|
7920
8713
|
|
|
7921
8714
|
|
|
7922
|
-
declare namespace
|
|
8715
|
+
declare namespace ComboboxInput {
|
|
7923
8716
|
var displayName: string;
|
|
7924
8717
|
}
|
|
7925
8718
|
|
|
7926
8719
|
|
|
7927
|
-
declare namespace
|
|
8720
|
+
declare namespace ComboboxTrigger {
|
|
7928
8721
|
var displayName: string;
|
|
7929
8722
|
}
|
|
7930
8723
|
|
|
7931
8724
|
|
|
7932
|
-
declare namespace
|
|
8725
|
+
declare namespace ComboboxInputGroup {
|
|
7933
8726
|
var displayName: string;
|
|
7934
8727
|
}
|
|
7935
8728
|
|
|
7936
8729
|
|
|
7937
|
-
declare namespace
|
|
8730
|
+
declare namespace ComboboxContent {
|
|
7938
8731
|
var displayName: string;
|
|
7939
8732
|
}
|
|
7940
8733
|
|
|
7941
8734
|
|
|
7942
|
-
declare namespace
|
|
8735
|
+
declare namespace ComboboxList {
|
|
7943
8736
|
var displayName: string;
|
|
7944
8737
|
}
|
|
7945
8738
|
|
|
7946
8739
|
|
|
7947
|
-
declare namespace
|
|
8740
|
+
declare namespace ComboboxItem {
|
|
7948
8741
|
var displayName: string;
|
|
7949
8742
|
}
|
|
7950
8743
|
|
|
7951
8744
|
|
|
7952
|
-
declare namespace
|
|
8745
|
+
declare namespace ComboboxEmpty {
|
|
7953
8746
|
var displayName: string;
|
|
7954
8747
|
}
|
|
7955
8748
|
|
|
7956
8749
|
|
|
7957
|
-
declare namespace
|
|
8750
|
+
declare namespace ComboboxGroup {
|
|
7958
8751
|
var displayName: string;
|
|
7959
8752
|
}
|
|
7960
8753
|
|
|
7961
8754
|
|
|
7962
|
-
declare namespace
|
|
8755
|
+
declare namespace ComboboxGroupLabel {
|
|
7963
8756
|
var displayName: string;
|
|
7964
8757
|
}
|
|
7965
8758
|
|
|
7966
8759
|
|
|
7967
|
-
declare namespace
|
|
8760
|
+
declare namespace ComboboxClear {
|
|
7968
8761
|
var displayName: string;
|
|
7969
8762
|
}
|
|
7970
8763
|
|
|
7971
8764
|
|
|
7972
|
-
declare namespace
|
|
8765
|
+
declare namespace ComboboxChips {
|
|
7973
8766
|
var displayName: string;
|
|
7974
8767
|
}
|
|
7975
8768
|
|
|
7976
8769
|
|
|
7977
|
-
declare namespace
|
|
8770
|
+
declare namespace ComboboxChip {
|
|
7978
8771
|
var displayName: string;
|
|
7979
8772
|
}
|
|
7980
8773
|
|
|
7981
8774
|
|
|
7982
|
-
declare namespace
|
|
8775
|
+
declare namespace ComboboxChipRemove {
|
|
7983
8776
|
var displayName: string;
|
|
7984
8777
|
}
|
|
7985
8778
|
|
|
7986
8779
|
|
|
7987
|
-
declare namespace
|
|
8780
|
+
declare namespace ComboboxValue {
|
|
7988
8781
|
var displayName: string;
|
|
7989
8782
|
}
|
|
7990
8783
|
|
|
7991
8784
|
|
|
7992
|
-
declare namespace
|
|
8785
|
+
declare namespace ComboboxStatus {
|
|
7993
8786
|
var displayName: string;
|
|
7994
8787
|
}
|
|
7995
8788
|
|
|
7996
8789
|
|
|
7997
|
-
declare namespace
|
|
8790
|
+
declare namespace ComboboxCollection {
|
|
7998
8791
|
var displayName: string;
|
|
7999
8792
|
}
|
|
8000
8793
|
|
|
8001
8794
|
|
|
8002
|
-
declare namespace
|
|
8795
|
+
declare namespace Root {
|
|
8003
8796
|
var displayName: string;
|
|
8004
8797
|
}
|
|
8005
8798
|
|
|
8006
8799
|
|
|
8007
|
-
declare namespace
|
|
8800
|
+
declare namespace Trigger {
|
|
8008
8801
|
var displayName: string;
|
|
8009
8802
|
}
|
|
8010
8803
|
|
|
8011
8804
|
|
|
8012
|
-
declare namespace
|
|
8805
|
+
declare namespace Close {
|
|
8013
8806
|
var displayName: string;
|
|
8014
8807
|
}
|
|
8015
8808
|
|
|
8016
8809
|
|
|
8017
|
-
declare namespace
|
|
8810
|
+
declare namespace Content {
|
|
8018
8811
|
var displayName: string;
|
|
8019
8812
|
}
|
|
8020
8813
|
|
|
8021
8814
|
|
|
8022
|
-
declare namespace
|
|
8815
|
+
declare namespace Header {
|
|
8023
8816
|
var displayName: string;
|
|
8024
8817
|
}
|
|
8025
8818
|
|
|
8026
8819
|
|
|
8027
|
-
declare namespace
|
|
8820
|
+
declare namespace Footer {
|
|
8028
8821
|
var displayName: string;
|
|
8029
8822
|
}
|
|
8030
8823
|
|
|
8031
8824
|
|
|
8032
|
-
declare namespace
|
|
8825
|
+
declare namespace Title {
|
|
8033
8826
|
var displayName: string;
|
|
8034
8827
|
}
|
|
8035
8828
|
|
|
8036
8829
|
|
|
8037
|
-
declare namespace
|
|
8830
|
+
declare namespace Description {
|
|
8038
8831
|
var displayName: string;
|
|
8039
8832
|
}
|
|
8040
8833
|
|
|
8041
8834
|
|
|
8042
|
-
declare namespace
|
|
8835
|
+
declare namespace DataTableRoot {
|
|
8043
8836
|
var displayName: string;
|
|
8044
8837
|
}
|
|
8045
8838
|
|
|
8046
8839
|
|
|
8047
|
-
declare namespace
|
|
8840
|
+
declare namespace DataTableTable {
|
|
8048
8841
|
var displayName: string;
|
|
8049
8842
|
}
|
|
8050
8843
|
|
|
8051
8844
|
|
|
8052
|
-
declare namespace
|
|
8845
|
+
declare namespace DataTableFooter {
|
|
8053
8846
|
var displayName: string;
|
|
8054
8847
|
}
|
|
8055
8848
|
|
|
8056
8849
|
|
|
8057
|
-
declare namespace
|
|
8850
|
+
declare namespace AutocompleteStandalone {
|
|
8058
8851
|
var displayName: string;
|
|
8059
8852
|
}
|
|
8060
8853
|
|
|
8061
8854
|
|
|
8062
|
-
declare namespace
|
|
8855
|
+
declare namespace AutocompleteAsyncStandalone {
|
|
8063
8856
|
var displayName: string;
|
|
8064
8857
|
}
|
|
8065
8858
|
|
|
8066
8859
|
|
|
8067
|
-
declare namespace
|
|
8860
|
+
declare namespace AutocompleteRoot {
|
|
8068
8861
|
var displayName: string;
|
|
8069
8862
|
}
|
|
8070
8863
|
|
|
8071
8864
|
|
|
8072
|
-
declare namespace
|
|
8865
|
+
declare namespace AutocompleteValue {
|
|
8073
8866
|
var displayName: string;
|
|
8074
8867
|
}
|
|
8075
8868
|
|
|
8076
8869
|
|
|
8077
|
-
declare namespace
|
|
8870
|
+
declare namespace AutocompleteInput {
|
|
8078
8871
|
var displayName: string;
|
|
8079
8872
|
}
|
|
8080
8873
|
|
|
8081
8874
|
|
|
8082
|
-
declare namespace
|
|
8875
|
+
declare namespace AutocompleteTrigger {
|
|
8083
8876
|
var displayName: string;
|
|
8084
8877
|
}
|
|
8085
8878
|
|
|
8086
8879
|
|
|
8087
|
-
declare namespace
|
|
8880
|
+
declare namespace AutocompleteInputGroup {
|
|
8088
8881
|
var displayName: string;
|
|
8089
8882
|
}
|
|
8090
8883
|
|
|
8091
8884
|
|
|
8092
|
-
declare namespace
|
|
8885
|
+
declare namespace AutocompleteContent {
|
|
8093
8886
|
var displayName: string;
|
|
8094
8887
|
}
|
|
8095
8888
|
|
|
8096
8889
|
|
|
8097
|
-
declare namespace
|
|
8890
|
+
declare namespace AutocompleteList {
|
|
8098
8891
|
var displayName: string;
|
|
8099
8892
|
}
|
|
8100
8893
|
|
|
8101
8894
|
|
|
8102
|
-
declare namespace
|
|
8895
|
+
declare namespace AutocompleteItem {
|
|
8103
8896
|
var displayName: string;
|
|
8104
8897
|
}
|
|
8105
8898
|
|
|
8106
8899
|
|
|
8107
|
-
declare namespace
|
|
8900
|
+
declare namespace AutocompleteEmpty {
|
|
8108
8901
|
var displayName: string;
|
|
8109
8902
|
}
|
|
8110
8903
|
|
|
8111
8904
|
|
|
8112
|
-
declare namespace
|
|
8905
|
+
declare namespace AutocompleteClear {
|
|
8113
8906
|
var displayName: string;
|
|
8114
8907
|
}
|
|
8115
8908
|
|
|
8116
8909
|
|
|
8117
|
-
declare namespace
|
|
8910
|
+
declare namespace AutocompleteGroup {
|
|
8118
8911
|
var displayName: string;
|
|
8119
8912
|
}
|
|
8120
8913
|
|
|
8121
8914
|
|
|
8122
|
-
declare namespace
|
|
8915
|
+
declare namespace AutocompleteGroupLabel {
|
|
8123
8916
|
var displayName: string;
|
|
8124
8917
|
}
|
|
8125
8918
|
|
|
8126
8919
|
|
|
8127
|
-
declare namespace
|
|
8920
|
+
declare namespace AutocompleteCollection {
|
|
8128
8921
|
var displayName: string;
|
|
8129
8922
|
}
|
|
8130
8923
|
|
|
8131
8924
|
|
|
8132
|
-
declare namespace
|
|
8925
|
+
declare namespace AutocompleteStatus {
|
|
8133
8926
|
var displayName: string;
|
|
8134
8927
|
}
|
|
8135
8928
|
|
|
@@ -8139,92 +8932,92 @@ declare namespace Root {
|
|
|
8139
8932
|
}
|
|
8140
8933
|
|
|
8141
8934
|
|
|
8142
|
-
declare namespace
|
|
8935
|
+
declare namespace List {
|
|
8143
8936
|
var displayName: string;
|
|
8144
8937
|
}
|
|
8145
8938
|
|
|
8146
8939
|
|
|
8147
|
-
declare namespace
|
|
8940
|
+
declare namespace Tab {
|
|
8148
8941
|
var displayName: string;
|
|
8149
8942
|
}
|
|
8150
8943
|
|
|
8151
8944
|
|
|
8152
|
-
declare namespace
|
|
8945
|
+
declare namespace Panel {
|
|
8153
8946
|
var displayName: string;
|
|
8154
8947
|
}
|
|
8155
8948
|
|
|
8156
8949
|
|
|
8157
|
-
declare namespace
|
|
8950
|
+
declare namespace Root {
|
|
8158
8951
|
var displayName: string;
|
|
8159
8952
|
}
|
|
8160
8953
|
|
|
8161
8954
|
|
|
8162
|
-
declare namespace
|
|
8955
|
+
declare namespace Trigger {
|
|
8163
8956
|
var displayName: string;
|
|
8164
8957
|
}
|
|
8165
8958
|
|
|
8166
8959
|
|
|
8167
|
-
declare namespace
|
|
8960
|
+
declare namespace Content {
|
|
8168
8961
|
var displayName: string;
|
|
8169
8962
|
}
|
|
8170
8963
|
|
|
8171
8964
|
|
|
8172
|
-
declare namespace
|
|
8965
|
+
declare namespace Item {
|
|
8173
8966
|
var displayName: string;
|
|
8174
8967
|
}
|
|
8175
8968
|
|
|
8176
8969
|
|
|
8177
|
-
declare namespace
|
|
8970
|
+
declare namespace LinkItem {
|
|
8178
8971
|
var displayName: string;
|
|
8179
8972
|
}
|
|
8180
8973
|
|
|
8181
8974
|
|
|
8182
|
-
declare namespace
|
|
8975
|
+
declare namespace CheckboxItem {
|
|
8183
8976
|
var displayName: string;
|
|
8184
8977
|
}
|
|
8185
8978
|
|
|
8186
8979
|
|
|
8187
|
-
declare namespace
|
|
8980
|
+
declare namespace CheckboxItemIndicator {
|
|
8188
8981
|
var displayName: string;
|
|
8189
8982
|
}
|
|
8190
8983
|
|
|
8191
8984
|
|
|
8192
|
-
declare namespace
|
|
8985
|
+
declare namespace RadioItem {
|
|
8193
8986
|
var displayName: string;
|
|
8194
8987
|
}
|
|
8195
8988
|
|
|
8196
8989
|
|
|
8197
|
-
declare namespace
|
|
8990
|
+
declare namespace RadioItemIndicator {
|
|
8198
8991
|
var displayName: string;
|
|
8199
8992
|
}
|
|
8200
8993
|
|
|
8201
8994
|
|
|
8202
|
-
declare namespace
|
|
8995
|
+
declare namespace RadioGroup {
|
|
8203
8996
|
var displayName: string;
|
|
8204
8997
|
}
|
|
8205
8998
|
|
|
8206
8999
|
|
|
8207
|
-
declare namespace
|
|
9000
|
+
declare namespace Group {
|
|
8208
9001
|
var displayName: string;
|
|
8209
9002
|
}
|
|
8210
9003
|
|
|
8211
9004
|
|
|
8212
|
-
declare namespace
|
|
9005
|
+
declare namespace GroupLabel {
|
|
8213
9006
|
var displayName: string;
|
|
8214
9007
|
}
|
|
8215
9008
|
|
|
8216
9009
|
|
|
8217
|
-
declare namespace
|
|
9010
|
+
declare namespace MenuSeparator {
|
|
8218
9011
|
var displayName: string;
|
|
8219
9012
|
}
|
|
8220
9013
|
|
|
8221
9014
|
|
|
8222
|
-
declare namespace
|
|
9015
|
+
declare namespace SubmenuRoot {
|
|
8223
9016
|
var displayName: string;
|
|
8224
9017
|
}
|
|
8225
9018
|
|
|
8226
9019
|
|
|
8227
|
-
declare namespace
|
|
9020
|
+
declare namespace SubmenuTrigger {
|
|
8228
9021
|
var displayName: string;
|
|
8229
9022
|
}
|
|
8230
9023
|
|