@tangle-network/ui 11.10.0 → 11.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/dist/active-sessions-store-Gt1R0rFG.js +262 -0
- package/dist/{active-sessions-store-CeOmXgv5.d.ts → active-sessions-store-nl70ZnMC.d.ts} +40 -41
- package/dist/artifact-pane-BL_DFWNl.d.ts +32 -0
- package/dist/artifact-pane-DMXT9a8U.js +70 -0
- package/dist/auth-DixfCMCk.js +154 -0
- package/dist/auth.d.ts +2 -74
- package/dist/auth.js +2 -16
- package/dist/branding-26d5ARIr.d.ts +14 -0
- package/dist/button-uhNnwdsD.js +78 -0
- package/dist/button-yoIv77e2.d.ts +16 -0
- package/dist/chat-CPLL0Fd9.js +667 -0
- package/dist/chat.d.ts +2 -201
- package/dist/chat.js +2 -31
- package/dist/code-block-B9miUPht.d.ts +23 -0
- package/dist/code-block-CngSn37j.js +165 -0
- package/dist/diff-preview-cySuqowW.js +533 -0
- package/dist/document-editor-pane-BcoABlhn.d.ts +131 -0
- package/dist/document-editor-pane-Cz6oEF1o.js +1287 -0
- package/dist/dropdown-menu-BpcLa5vF.js +101 -0
- package/dist/editor.d.ts +76 -78
- package/dist/editor.js +2 -34
- package/dist/file-format-BgXbr-Ib.js +160 -0
- package/dist/files-CYlOo0mE.js +743 -0
- package/dist/files.d.ts +2 -243
- package/dist/files.js +3 -41
- package/dist/focus-Cw02pNSr.js +56 -0
- package/dist/format-DfcLWqMa.js +54 -0
- package/dist/hooks.d.ts +30 -37
- package/dist/hooks.js +111 -46
- package/dist/index-2UntyjBb.d.ts +52 -0
- package/dist/index-COgqsFAQ.d.ts +42 -0
- package/dist/index-CPDET_s1.d.ts +549 -0
- package/dist/index-CUhfHT_V.d.ts +204 -0
- package/dist/index-Cg6gYAqh.d.ts +73 -0
- package/dist/index-Cq-EJzqW.d.ts +16 -0
- package/dist/index-DhYmSaLF.d.ts +245 -0
- package/dist/index-DjKxO357.d.ts +128 -0
- package/dist/index-b56ew9aF.d.ts +107 -0
- package/dist/index.d.ts +26 -43
- package/dist/index.js +35 -472
- package/dist/markdown-BprL96Gl.js +45 -0
- package/dist/markdown.d.ts +3 -18
- package/dist/markdown.js +3 -15
- package/dist/message-vhUI0c5G.d.ts +16 -0
- package/dist/nav.d.ts +6 -8
- package/dist/nav.js +29 -11
- package/dist/openui-artifact-renderer-D3E5bIAI.d.ts +114 -0
- package/dist/openui-artifact-renderer-DT4xbvWt.js +266 -0
- package/dist/openui.d.ts +2 -115
- package/dist/openui.js +2 -13
- package/dist/parts-5mhy9yJ3.d.ts +37 -0
- package/dist/primitives-DE-blUz-.js +1239 -0
- package/dist/primitives.d.ts +5 -525
- package/dist/primitives.js +9 -212
- package/dist/redaction-CGGB2ENG.js +74 -0
- package/dist/redaction.d.ts +2 -42
- package/dist/redaction.js +2 -7
- package/dist/run-OyWmIDqu.d.ts +41 -0
- package/dist/run-ZsIKPA6J.js +17 -0
- package/dist/run-group-D1InSdQu.js +410 -0
- package/dist/run.d.ts +3 -126
- package/dist/run.js +5 -40
- package/dist/sdk-hooks.d.ts +2 -285
- package/dist/sdk-hooks.js +3 -36
- package/dist/stores.d.ts +13 -14
- package/dist/stores.js +34 -76
- package/dist/table-DHyqDPbU.js +146 -0
- package/dist/tabs-ujuqAdtb.js +40 -0
- package/dist/text-shimmer-BUUo6I-g.js +64 -0
- package/dist/tool-call-feed-BeB1_4pX.d.ts +47 -0
- package/dist/tool-call-feed-C1W1N54c.js +109 -0
- package/dist/tool-call-step-Bi3_YJRV.js +434 -0
- package/dist/tool-display-BAuAVa43.js +158 -0
- package/dist/{tool-display-z4JcDmMQ.d.ts → tool-display-DgmL5rIU.d.ts} +16 -16
- package/dist/tool-previews.d.ts +2 -48
- package/dist/tool-previews.js +2 -23
- package/dist/types.d.ts +6 -19
- package/dist/types.js +0 -1
- package/dist/use-auto-scroll-C5Pjeqon.js +153 -0
- package/dist/use-sse-stream-BjVBDbxK.js +884 -0
- package/dist/use-sse-stream-Dm6R5YWz.d.ts +282 -0
- package/dist/utils-Bl_CZ0Qp.js +37 -0
- package/dist/{chunk-RQHJBTEU.js → utils-C_uf36nf.js} +4 -6
- package/dist/utils.d.ts +2 -104
- package/dist/utils.js +6 -44
- package/package.json +39 -41
- package/dist/artifact-pane-DpuWcAiF.d.ts +0 -33
- package/dist/button-CMQuQEW_.d.ts +0 -17
- package/dist/chunk-34A66VBG.js +0 -214
- package/dist/chunk-3OI2QKFD.js +0 -0
- package/dist/chunk-3XXBZL53.js +0 -174
- package/dist/chunk-42PAH5D2.js +0 -112
- package/dist/chunk-4CLN43XT.js +0 -45
- package/dist/chunk-55WHV7SS.js +0 -1604
- package/dist/chunk-565EATZZ.js +0 -156
- package/dist/chunk-5Z5ZYMOJ.js +0 -0
- package/dist/chunk-6BGQA4BQ.js +0 -0
- package/dist/chunk-BEBXZPHW.js +0 -299
- package/dist/chunk-C5WF4WMV.js +0 -734
- package/dist/chunk-HFL6R6IF.js +0 -37
- package/dist/chunk-HGML45QH.js +0 -104
- package/dist/chunk-HMAPIH7L.js +0 -595
- package/dist/chunk-K5XFRUS4.js +0 -1401
- package/dist/chunk-KFQGHD73.js +0 -198
- package/dist/chunk-L57WRIND.js +0 -59
- package/dist/chunk-LTEKI7YJ.js +0 -59
- package/dist/chunk-M3QZK62R.js +0 -233
- package/dist/chunk-ND3ZFXQK.js +0 -179
- package/dist/chunk-OEX7NZE3.js +0 -321
- package/dist/chunk-OL5GYLHV.js +0 -60
- package/dist/chunk-QGFYBNSO.js +0 -133
- package/dist/chunk-R7B3UWPF.js +0 -550
- package/dist/chunk-R7SUY4E3.js +0 -65
- package/dist/chunk-REJESC5U.js +0 -117
- package/dist/chunk-RQGKSCEZ.js +0 -0
- package/dist/chunk-SNLR2AEA.js +0 -40
- package/dist/chunk-WKWBTL2V.js +0 -15
- package/dist/chunk-X7CU776B.js +0 -1048
- package/dist/chunk-XU3HB5QL.js +0 -127
- package/dist/chunk-YTO5V6QS.js +0 -19
- package/dist/chunk-YU4E5J2N.js +0 -437
- package/dist/chunk-YZ6AK25N.js +0 -886
- package/dist/code-block-0kSpWMnf.d.ts +0 -25
- package/dist/document-editor-pane-IAEQn_Dl.d.ts +0 -128
- package/dist/document-editor-pane-QHDOBA43.js +0 -13
- package/dist/message-BHWbxBtT.d.ts +0 -15
- package/dist/parts-dj7AcUg0.d.ts +0 -36
- package/dist/run-PfLmDAox.d.ts +0 -41
- package/dist/tool-call-feed-D9iofJgW.d.ts +0 -46
package/dist/primitives.d.ts
CHANGED
|
@@ -1,525 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
7
|
-
import { VariantProps } from 'class-variance-authority';
|
|
8
|
-
import * as AvatarPrimitive from '@radix-ui/react-avatar';
|
|
9
|
-
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
10
|
-
import * as SelectPrimitive from '@radix-ui/react-select';
|
|
11
|
-
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
12
|
-
import * as ProgressPrimitive from '@radix-ui/react-progress';
|
|
13
|
-
import * as SwitchPrimitives from '@radix-ui/react-switch';
|
|
14
|
-
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
15
|
-
export { Logo, LogoProps, TangleKnot } from '@tangle-network/brand';
|
|
16
|
-
export { A as ArtifactPane, a as ArtifactPaneProps } from './artifact-pane-DpuWcAiF.js';
|
|
17
|
-
export { C as CodeBlock, a as CodeBlockProps, b as CopyButton } from './code-block-0kSpWMnf.js';
|
|
18
|
-
|
|
19
|
-
declare const Card: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & {
|
|
20
|
-
variant?: "default" | "glass" | "sandbox" | "elevated";
|
|
21
|
-
hover?: boolean;
|
|
22
|
-
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
23
|
-
declare const CardHeader: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
24
|
-
declare const CardTitle: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLHeadingElement> & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
25
|
-
declare const CardDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
26
|
-
declare const CardContent: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
27
|
-
declare const CardFooter: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
28
|
-
|
|
29
|
-
declare const Dialog: React$1.FC<DialogPrimitive.DialogProps>;
|
|
30
|
-
declare const DialogTrigger: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
31
|
-
declare const DialogPortal: React$1.FC<DialogPrimitive.DialogPortalProps>;
|
|
32
|
-
declare const DialogClose: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
33
|
-
declare const DialogOverlay: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
34
|
-
declare const DialogContent: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
35
|
-
variant?: "default" | "sandbox";
|
|
36
|
-
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
37
|
-
declare const DialogHeader: {
|
|
38
|
-
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
39
|
-
displayName: string;
|
|
40
|
-
};
|
|
41
|
-
declare const DialogFooter: {
|
|
42
|
-
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
43
|
-
displayName: string;
|
|
44
|
-
};
|
|
45
|
-
declare const DialogTitle: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
46
|
-
declare const DialogDescription: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
47
|
-
|
|
48
|
-
declare const inputVariants: (props?: ({
|
|
49
|
-
variant?: "default" | "sandbox" | "error" | null | undefined;
|
|
50
|
-
size?: "default" | "sm" | "lg" | null | undefined;
|
|
51
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
52
|
-
interface InputProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "size">, VariantProps<typeof inputVariants> {
|
|
53
|
-
label?: string;
|
|
54
|
-
error?: string;
|
|
55
|
-
hint?: string;
|
|
56
|
-
}
|
|
57
|
-
declare const Input: React$1.ForwardRefExoticComponent<InputProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
58
|
-
interface TextareaProps extends React$1.TextareaHTMLAttributes<HTMLTextAreaElement> {
|
|
59
|
-
/** Both values render the same field. */
|
|
60
|
-
variant?: "default" | "sandbox";
|
|
61
|
-
label?: string;
|
|
62
|
-
error?: string;
|
|
63
|
-
hint?: string;
|
|
64
|
-
}
|
|
65
|
-
declare const Textarea: React$1.ForwardRefExoticComponent<TextareaProps & React$1.RefAttributes<HTMLTextAreaElement>>;
|
|
66
|
-
|
|
67
|
-
declare const badgeVariants: (props?: ({
|
|
68
|
-
variant?: "default" | "destructive" | "outline" | "secondary" | "sandbox" | "error" | "success" | "warning" | "info" | "running" | "creating" | "stopped" | "warm" | "cold" | "deleted" | null | undefined;
|
|
69
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
70
|
-
type BadgeVariant = "default" | "secondary" | "destructive" | "outline" | "success" | "warning" | "error" | "info" | "sandbox" | "running" | "creating" | "stopped" | "warm" | "cold" | "deleted" | null;
|
|
71
|
-
interface BadgeProps extends VariantProps<typeof badgeVariants> {
|
|
72
|
-
variant?: BadgeVariant;
|
|
73
|
-
className?: string;
|
|
74
|
-
children?: React$1.ReactNode;
|
|
75
|
-
dot?: boolean;
|
|
76
|
-
onClick?: React$1.MouseEventHandler<HTMLDivElement>;
|
|
77
|
-
style?: React$1.CSSProperties;
|
|
78
|
-
id?: string;
|
|
79
|
-
role?: React$1.AriaRole;
|
|
80
|
-
title?: string;
|
|
81
|
-
[key: string]: unknown;
|
|
82
|
-
}
|
|
83
|
-
declare function Badge({ className, variant, dot, children, ...props }: BadgeProps): react_jsx_runtime.JSX.Element;
|
|
84
|
-
|
|
85
|
-
declare const Avatar: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarProps & React$1.RefAttributes<HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
|
|
86
|
-
declare const AvatarImage: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarImageProps & React$1.RefAttributes<HTMLImageElement>, "ref"> & React$1.RefAttributes<HTMLImageElement>>;
|
|
87
|
-
declare const AvatarFallback: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarFallbackProps & React$1.RefAttributes<HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
|
|
88
|
-
|
|
89
|
-
declare const DropdownMenu: React$1.FC<DropdownMenuPrimitive.DropdownMenuProps>;
|
|
90
|
-
declare const DropdownMenuTrigger: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
91
|
-
declare const DropdownMenuGroup: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
92
|
-
declare const DropdownMenuPortal: React$1.FC<DropdownMenuPrimitive.DropdownMenuPortalProps>;
|
|
93
|
-
declare const DropdownMenuSub: React$1.FC<DropdownMenuPrimitive.DropdownMenuSubProps>;
|
|
94
|
-
declare const DropdownMenuRadioGroup: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuRadioGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
95
|
-
declare const DropdownMenuSubTrigger: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubTriggerProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
96
|
-
inset?: boolean;
|
|
97
|
-
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
98
|
-
declare const DropdownMenuSubContent: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
99
|
-
declare const DropdownMenuContent: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
100
|
-
declare const DropdownMenuItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
101
|
-
inset?: boolean;
|
|
102
|
-
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
103
|
-
declare const DropdownMenuCheckboxItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuCheckboxItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
104
|
-
declare const DropdownMenuRadioItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuRadioItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
105
|
-
declare const DropdownMenuLabel: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuLabelProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
106
|
-
inset?: boolean;
|
|
107
|
-
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
108
|
-
declare const DropdownMenuSeparator: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
109
|
-
declare const DropdownMenuShortcut: {
|
|
110
|
-
({ className, ...props }: React$1.HTMLAttributes<HTMLSpanElement>): react_jsx_runtime.JSX.Element;
|
|
111
|
-
displayName: string;
|
|
112
|
-
};
|
|
113
|
-
|
|
114
|
-
declare const Select: React$1.FC<SelectPrimitive.SelectProps>;
|
|
115
|
-
declare const SelectGroup: React$1.ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
116
|
-
declare const SelectValue: React$1.ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
117
|
-
declare const SelectTrigger: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
118
|
-
declare const SelectScrollUpButton: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollUpButtonProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
119
|
-
declare const SelectScrollDownButton: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollDownButtonProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
120
|
-
declare const SelectContent: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
121
|
-
declare const SelectLabel: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectLabelProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
122
|
-
declare const SelectItem: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
123
|
-
declare const SelectSeparator: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
124
|
-
|
|
125
|
-
declare const Table: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableElement> & React$1.RefAttributes<HTMLTableElement>>;
|
|
126
|
-
declare const TableHeader: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableSectionElement> & React$1.RefAttributes<HTMLTableSectionElement>>;
|
|
127
|
-
declare const TableBody: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableSectionElement> & React$1.RefAttributes<HTMLTableSectionElement>>;
|
|
128
|
-
declare const TableFooter: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableSectionElement> & React$1.RefAttributes<HTMLTableSectionElement>>;
|
|
129
|
-
declare const TableRow: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableRowElement> & React$1.RefAttributes<HTMLTableRowElement>>;
|
|
130
|
-
declare const TableHead: React$1.ForwardRefExoticComponent<React$1.ThHTMLAttributes<HTMLTableCellElement> & React$1.RefAttributes<HTMLTableCellElement>>;
|
|
131
|
-
declare const TableCell: React$1.ForwardRefExoticComponent<React$1.TdHTMLAttributes<HTMLTableCellElement> & React$1.RefAttributes<HTMLTableCellElement>>;
|
|
132
|
-
declare const TableCaption: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableCaptionElement> & React$1.RefAttributes<HTMLTableCaptionElement>>;
|
|
133
|
-
|
|
134
|
-
declare const Tabs: React$1.ForwardRefExoticComponent<TabsPrimitive.TabsProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
135
|
-
declare const TabsList: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsListProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
136
|
-
variant?: "default" | "pills" | "underline";
|
|
137
|
-
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
138
|
-
declare const TabsTrigger: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & {
|
|
139
|
-
variant?: "default" | "pills" | "underline";
|
|
140
|
-
} & React$1.RefAttributes<HTMLButtonElement>>;
|
|
141
|
-
declare const TabsContent: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
142
|
-
|
|
143
|
-
/**
|
|
144
|
-
* Visually lightweight segmented control for single-value selection.
|
|
145
|
-
*
|
|
146
|
-
* Uses role="radiogroup" / role="radio" because this is a value-selector
|
|
147
|
-
* with no associated panels — not a tab interface. Arrow keys navigate
|
|
148
|
-
* between options (with wrapping), Home/End jump to first/last.
|
|
149
|
-
*
|
|
150
|
-
* **Accessibility:** Provide either `aria-label` or `aria-labelledby` — the
|
|
151
|
-
* ARIA spec requires every radiogroup to have an accessible name. A dev-mode
|
|
152
|
-
* console warning fires when both are omitted.
|
|
153
|
-
*
|
|
154
|
-
* Design rules baked into the default variant:
|
|
155
|
-
* - Only the SELECTED segment shows a surface colour + accent text.
|
|
156
|
-
* - Unselected segments have NO background — they're plain-text labels
|
|
157
|
-
* that darken on hover. This keeps the selected segment as the
|
|
158
|
-
* single visual anchor instead of the whole group competing with
|
|
159
|
-
* itself.
|
|
160
|
-
*/
|
|
161
|
-
interface SegmentedControlOption<T extends string = string> {
|
|
162
|
-
value: T;
|
|
163
|
-
label: React$1.ReactNode;
|
|
164
|
-
/** Rendered right of the label, typically a count or status pill. */
|
|
165
|
-
adornment?: React$1.ReactNode;
|
|
166
|
-
}
|
|
167
|
-
interface SegmentedControlProps<T extends string = string> extends Pick<React$1.HTMLAttributes<HTMLDivElement>, "id" | "className" | "aria-label" | "aria-labelledby"> {
|
|
168
|
-
value: T;
|
|
169
|
-
onValueChange: (value: T) => void;
|
|
170
|
-
options: SegmentedControlOption<T>[];
|
|
171
|
-
/**
|
|
172
|
-
* Layout:
|
|
173
|
-
* - "row" — horizontal pill bar (default, fits in a header region)
|
|
174
|
-
* - "tabs" — horizontal with a bottom border so the selected pill
|
|
175
|
-
* reads as a classic tab (used on the Team page)
|
|
176
|
-
*/
|
|
177
|
-
variant?: "row" | "tabs";
|
|
178
|
-
}
|
|
179
|
-
declare function SegmentedControl<T extends string = string>({ value, onValueChange, options, variant, className, ...rest }: SegmentedControlProps<T>): react_jsx_runtime.JSX.Element;
|
|
180
|
-
|
|
181
|
-
declare const Progress: React$1.ForwardRefExoticComponent<Omit<ProgressPrimitive.ProgressProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
182
|
-
variant?: "default" | "sandbox";
|
|
183
|
-
showValue?: boolean;
|
|
184
|
-
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
185
|
-
|
|
186
|
-
declare const Switch: React$1.ForwardRefExoticComponent<Omit<SwitchPrimitives.SwitchProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
187
|
-
|
|
188
|
-
declare function Skeleton({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
189
|
-
declare function SkeletonCard({ className }: {
|
|
190
|
-
className?: string;
|
|
191
|
-
}): react_jsx_runtime.JSX.Element;
|
|
192
|
-
declare function SkeletonTable({ rows }: {
|
|
193
|
-
rows?: number;
|
|
194
|
-
}): react_jsx_runtime.JSX.Element;
|
|
195
|
-
|
|
196
|
-
interface TextShimmerProps {
|
|
197
|
-
children: ReactNode;
|
|
198
|
-
className?: string;
|
|
199
|
-
/** One sweep across the text, in milliseconds. */
|
|
200
|
-
durationMs?: number;
|
|
201
|
-
}
|
|
202
|
-
/**
|
|
203
|
-
* Inline text with a gradient-mask sweep — the in-flight signal for a run row
|
|
204
|
-
* label ("Thinking…", a tool verb while its call is running). Carries the
|
|
205
|
-
* styles it needs, so a consumer that only scans this package for Tailwind
|
|
206
|
-
* classes still gets the animation.
|
|
207
|
-
*/
|
|
208
|
-
declare function TextShimmer({ children, className, durationMs, }: TextShimmerProps): react_jsx_runtime.JSX.Element;
|
|
209
|
-
|
|
210
|
-
interface Toast {
|
|
211
|
-
id: string;
|
|
212
|
-
title: string;
|
|
213
|
-
description?: string;
|
|
214
|
-
variant?: "default" | "success" | "error" | "warning" | "info";
|
|
215
|
-
duration?: number;
|
|
216
|
-
}
|
|
217
|
-
interface ToastContainerProps {
|
|
218
|
-
toasts: Toast[];
|
|
219
|
-
onDismiss: (id: string) => void;
|
|
220
|
-
}
|
|
221
|
-
declare function ToastContainer({ toasts, onDismiss }: ToastContainerProps): react_jsx_runtime.JSX.Element;
|
|
222
|
-
type ToastInput = Omit<Toast, "id">;
|
|
223
|
-
interface ToastContextValue {
|
|
224
|
-
toasts: Toast[];
|
|
225
|
-
toast: (input: ToastInput) => void;
|
|
226
|
-
success: (title: string, description?: string) => void;
|
|
227
|
-
error: (title: string, description?: string) => void;
|
|
228
|
-
warning: (title: string, description?: string) => void;
|
|
229
|
-
info: (title: string, description?: string) => void;
|
|
230
|
-
dismiss: (id: string) => void;
|
|
231
|
-
}
|
|
232
|
-
declare function ToastProvider({ children }: {
|
|
233
|
-
children: React$1.ReactNode;
|
|
234
|
-
}): react_jsx_runtime.JSX.Element;
|
|
235
|
-
declare function useToast(): ToastContextValue;
|
|
236
|
-
|
|
237
|
-
declare const Label: React$1.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React$1.RefAttributes<HTMLLabelElement>, "ref"> & React$1.RefAttributes<HTMLLabelElement>>;
|
|
238
|
-
|
|
239
|
-
interface EmptyStateProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
240
|
-
icon?: React$1.ReactNode;
|
|
241
|
-
title: string;
|
|
242
|
-
description?: string;
|
|
243
|
-
action?: React$1.ReactNode;
|
|
244
|
-
}
|
|
245
|
-
declare const EmptyState: React$1.ForwardRefExoticComponent<EmptyStateProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
246
|
-
|
|
247
|
-
interface StatCardProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
248
|
-
variant?: "default" | "sandbox";
|
|
249
|
-
title: string;
|
|
250
|
-
value: string | number;
|
|
251
|
-
subtitle?: string;
|
|
252
|
-
icon?: React$1.ReactNode;
|
|
253
|
-
trend?: {
|
|
254
|
-
value: number;
|
|
255
|
-
label?: string;
|
|
256
|
-
};
|
|
257
|
-
}
|
|
258
|
-
declare const StatCard: React$1.ForwardRefExoticComponent<StatCardProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
259
|
-
|
|
260
|
-
interface TerminalDisplayProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
261
|
-
variant?: "default" | "sandbox";
|
|
262
|
-
title?: string;
|
|
263
|
-
showHeader?: boolean;
|
|
264
|
-
autoScroll?: boolean;
|
|
265
|
-
maxHeight?: string;
|
|
266
|
-
}
|
|
267
|
-
declare const TerminalDisplay: React$1.ForwardRefExoticComponent<TerminalDisplayProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
268
|
-
interface TerminalLineProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
269
|
-
type?: "input" | "output" | "error" | "success" | "info" | "thinking" | "command" | "warning";
|
|
270
|
-
prompt?: string;
|
|
271
|
-
timestamp?: string;
|
|
272
|
-
}
|
|
273
|
-
declare const TerminalLine: React$1.ForwardRefExoticComponent<TerminalLineProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
274
|
-
declare const TerminalCursor: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLSpanElement> & React$1.RefAttributes<HTMLSpanElement>>;
|
|
275
|
-
interface TerminalInputProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "onSubmit"> {
|
|
276
|
-
onSubmit?: (value: string) => void;
|
|
277
|
-
/** Both values render the same field. */
|
|
278
|
-
variant?: "default" | "sandbox";
|
|
279
|
-
}
|
|
280
|
-
declare const TerminalInput: React$1.ForwardRefExoticComponent<TerminalInputProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
281
|
-
|
|
282
|
-
interface DropZoneProps {
|
|
283
|
-
/** Called with dropped files */
|
|
284
|
-
onDrop: (files: File[]) => void;
|
|
285
|
-
/** Accepted file types (e.g. ".pdf,.csv,.xlsx") */
|
|
286
|
-
accept?: string;
|
|
287
|
-
/** Whether drop zone is active */
|
|
288
|
-
disabled?: boolean;
|
|
289
|
-
/** Custom overlay content (replaces default) */
|
|
290
|
-
overlay?: ReactNode;
|
|
291
|
-
/** Overlay title */
|
|
292
|
-
title?: string;
|
|
293
|
-
/** Overlay description */
|
|
294
|
-
description?: string;
|
|
295
|
-
/** Overlay icon (Material Symbols name or ReactNode) */
|
|
296
|
-
icon?: string | ReactNode;
|
|
297
|
-
/** Children wrapped by the drop zone */
|
|
298
|
-
children: ReactNode;
|
|
299
|
-
className?: string;
|
|
300
|
-
}
|
|
301
|
-
declare function DropZone({ onDrop, accept, disabled, overlay, title, description, icon, children, className, }: DropZoneProps): react_jsx_runtime.JSX.Element;
|
|
302
|
-
|
|
303
|
-
/**
|
|
304
|
-
* UploadProgress — file upload status indicators.
|
|
305
|
-
*
|
|
306
|
-
* Shows a list of files being uploaded with progress bars,
|
|
307
|
-
* completion checkmarks, and error states.
|
|
308
|
-
*/
|
|
309
|
-
interface UploadFile {
|
|
310
|
-
id: string;
|
|
311
|
-
name: string;
|
|
312
|
-
size: number;
|
|
313
|
-
status: "pending" | "uploading" | "complete" | "error";
|
|
314
|
-
progress?: number;
|
|
315
|
-
error?: string;
|
|
316
|
-
}
|
|
317
|
-
interface UploadProgressProps {
|
|
318
|
-
files: UploadFile[];
|
|
319
|
-
onRemove?: (id: string) => void;
|
|
320
|
-
onRetry?: (id: string) => void;
|
|
321
|
-
className?: string;
|
|
322
|
-
}
|
|
323
|
-
declare function UploadProgress({ files, onRemove, onRetry, className }: UploadProgressProps): react_jsx_runtime.JSX.Element | null;
|
|
324
|
-
|
|
325
|
-
interface SidebarDropZoneProps {
|
|
326
|
-
/** Called with dropped files */
|
|
327
|
-
onDrop: (files: File[]) => void;
|
|
328
|
-
/** Accepted file types (e.g. ".pdf,.csv") */
|
|
329
|
-
accept?: string;
|
|
330
|
-
/** Whether drop zone is active */
|
|
331
|
-
disabled?: boolean;
|
|
332
|
-
/** Title shown in the drop zone */
|
|
333
|
-
title?: string;
|
|
334
|
-
/** Description shown below the title */
|
|
335
|
-
description?: string;
|
|
336
|
-
/** Custom icon (replaces default upload icon) */
|
|
337
|
-
icon?: ReactNode;
|
|
338
|
-
/** Always visible (not just on drag). Useful as a persistent upload area. */
|
|
339
|
-
persistent?: boolean;
|
|
340
|
-
className?: string;
|
|
341
|
-
}
|
|
342
|
-
declare function SidebarDropZone({ onDrop, accept, disabled, title, description, icon, persistent, className, }: SidebarDropZoneProps): react_jsx_runtime.JSX.Element;
|
|
343
|
-
|
|
344
|
-
interface InlineCodeProps extends React.HTMLAttributes<HTMLElement> {
|
|
345
|
-
}
|
|
346
|
-
declare function InlineCode({ className, children, ...props }: InlineCodeProps): react_jsx_runtime.JSX.Element;
|
|
347
|
-
|
|
348
|
-
type Theme = "light" | "dark" | "system";
|
|
349
|
-
declare function useTheme(): {
|
|
350
|
-
theme: Theme;
|
|
351
|
-
setTheme: (next: Theme) => void;
|
|
352
|
-
};
|
|
353
|
-
declare function ThemeToggle(): react_jsx_runtime.JSX.Element;
|
|
354
|
-
|
|
355
|
-
/**
|
|
356
|
-
* The one masthead every console page opens with.
|
|
357
|
-
*
|
|
358
|
-
* A page identifies itself in three separate registers, and each gets its own
|
|
359
|
-
* slot here so they cannot compete for the same one:
|
|
360
|
-
*
|
|
361
|
-
* - `title` — what the page IS. The `<h1>`, and the only `<h1>`.
|
|
362
|
-
* - `description` — one line on what it is for. Prose belongs here, never in
|
|
363
|
-
* the title slot: a paragraph rendered where a heading goes reads as body
|
|
364
|
-
* copy to a sighted reader and as nothing at all to a screen reader, which
|
|
365
|
-
* is how a page ends up with no accessible name.
|
|
366
|
-
* - `actions` — what the reader can DO from here, right-aligned and wrapping
|
|
367
|
-
* under the title on a narrow viewport rather than squeezing it.
|
|
368
|
-
*
|
|
369
|
-
* `meta` is the fourth register and the one most often missing: the small facts
|
|
370
|
-
* that qualify everything below (a count, a scope, a window). They sit on their
|
|
371
|
-
* own line under the title so a reader can tell the difference between "this
|
|
372
|
-
* page has nothing in it" and "this filter matches nothing".
|
|
373
|
-
*
|
|
374
|
-
* `titleId` is exposed so a page can point `aria-labelledby` at the heading
|
|
375
|
-
* from a region further down without minting a second copy of the string.
|
|
376
|
-
*/
|
|
377
|
-
interface PageHeaderProps extends Omit<React$1.HTMLAttributes<HTMLElement>, "title"> {
|
|
378
|
-
title: React$1.ReactNode;
|
|
379
|
-
description?: React$1.ReactNode;
|
|
380
|
-
actions?: React$1.ReactNode;
|
|
381
|
-
meta?: React$1.ReactNode;
|
|
382
|
-
titleId?: string;
|
|
383
|
-
/** Renders the title one step down for a nested/tab surface. */
|
|
384
|
-
level?: 1 | 2;
|
|
385
|
-
}
|
|
386
|
-
declare const PageHeader: React$1.ForwardRefExoticComponent<PageHeaderProps & React$1.RefAttributes<HTMLElement>>;
|
|
387
|
-
|
|
388
|
-
/**
|
|
389
|
-
* A run/resource state, told three ways at once.
|
|
390
|
-
*
|
|
391
|
-
* Status is the one place a console cannot afford to speak in colour alone: a
|
|
392
|
-
* red dot and a green dot are the same dot to roughly one man in twelve, and
|
|
393
|
-
* identical in a greyscale print or a screenshot pasted into a ticket. So every
|
|
394
|
-
* pill carries all three channels — a GLYPH whose silhouette differs per tone,
|
|
395
|
-
* the tone's COLOUR, and the state's own LABEL as text.
|
|
396
|
-
*
|
|
397
|
-
* The glyphs are chosen to survive at 8px and to differ in outline rather than
|
|
398
|
-
* in fill: a ring reads as "still open", a solid disc as "settled", a slashed
|
|
399
|
-
* disc as "stopped". Two states never share one silhouette.
|
|
400
|
-
*
|
|
401
|
-
* Each tone draws its fill, border and text from ONE matched token triple.
|
|
402
|
-
* That pairing is the whole point: a status colour is solved against its own
|
|
403
|
-
* background, and nothing guarantees it against an arbitrary one. A component
|
|
404
|
-
* that always brings its own background cannot be placed onto a plane that
|
|
405
|
-
* breaks it.
|
|
406
|
-
*/
|
|
407
|
-
type StatusTone = "success" | "warning" | "danger" | "info" | "neutral" | "running";
|
|
408
|
-
interface StatusPillProps extends Omit<React$1.HTMLAttributes<HTMLSpanElement>, "children"> {
|
|
409
|
-
tone: StatusTone;
|
|
410
|
-
children: React$1.ReactNode;
|
|
411
|
-
/**
|
|
412
|
-
* Drops the fill and border, leaving a toned GLYPH beside a label in the
|
|
413
|
-
* inherited body colour.
|
|
414
|
-
*
|
|
415
|
-
* The label deliberately does not keep the tone. Every status text token
|
|
416
|
-
* clears the 4.5:1 body floor on the page canvas — a gate holds them there —
|
|
417
|
-
* but in light the margin is thin (4.51:1 for warning, 4.54:1 for success),
|
|
418
|
-
* and the canvas is only one of the planes a caller can put a pill on. The
|
|
419
|
-
* glyph keeps the tone instead because a glyph is non-text content against a
|
|
420
|
-
* 3:1 floor, so the tone still reads with room to spare on any plane.
|
|
421
|
-
*
|
|
422
|
-
* For a control that supplies its own surface (a chip, a selected row).
|
|
423
|
-
*/
|
|
424
|
-
bare?: boolean;
|
|
425
|
-
size?: "sm" | "md";
|
|
426
|
-
}
|
|
427
|
-
declare const StatusPill: React$1.ForwardRefExoticComponent<StatusPillProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
428
|
-
|
|
429
|
-
/**
|
|
430
|
-
* The headline figures for a console page, as ONE statement rather than four.
|
|
431
|
-
*
|
|
432
|
-
* A row of separate stat cards is the default and it is usually wrong here.
|
|
433
|
-
* Each card is a box that must be tall enough for its longest member, so a row
|
|
434
|
-
* mixing "$248.55 / Personal wallet" against a bare "0" leaves the short ones
|
|
435
|
-
* mostly empty; and four bordered boxes read as four unrelated facts when they
|
|
436
|
-
* are four readings of one account. `MetricStrip` puts them on one plane
|
|
437
|
-
* divided by hairlines: same information, one object, no holes.
|
|
438
|
-
*
|
|
439
|
-
* The divider is a border on the item rather than a `divide-*` utility on the
|
|
440
|
-
* parent, because these wrap. `divide-x` draws from DOM order and leaves a
|
|
441
|
-
* stray rule at the start of every wrapped line; a per-item leading border
|
|
442
|
-
* suppressed at each row start does not.
|
|
443
|
-
*/
|
|
444
|
-
interface MetricStripProps extends React$1.HTMLAttributes<HTMLDListElement> {
|
|
445
|
-
children: React$1.ReactNode;
|
|
446
|
-
}
|
|
447
|
-
declare const MetricStrip: React$1.ForwardRefExoticComponent<MetricStripProps & React$1.RefAttributes<HTMLDListElement>>;
|
|
448
|
-
interface MetricProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
449
|
-
label: React$1.ReactNode;
|
|
450
|
-
value: React$1.ReactNode;
|
|
451
|
-
/** The qualifying line: which wallet, which window, what the limit is. */
|
|
452
|
-
hint?: React$1.ReactNode;
|
|
453
|
-
/** Raises the value's tone and shows a pill beside the label. A metric is
|
|
454
|
-
* `attention` only when a person has to DO something — not merely when a
|
|
455
|
-
* number is zero. */
|
|
456
|
-
attention?: {
|
|
457
|
-
tone: StatusTone;
|
|
458
|
-
label: string;
|
|
459
|
-
};
|
|
460
|
-
}
|
|
461
|
-
/**
|
|
462
|
-
* One reading inside a `MetricStrip`.
|
|
463
|
-
*
|
|
464
|
-
* `<dt>` carries the label and `<dd>` the value, so the pair is announced as a
|
|
465
|
-
* described term rather than as two loose strings — the semantic that makes a
|
|
466
|
-
* figure legible without the visual grouping.
|
|
467
|
-
*
|
|
468
|
-
* The value is `tabular-nums`: these sit in a row and change on a timer, and
|
|
469
|
-
* proportional digits make the column jitter every time a 1 becomes an 8.
|
|
470
|
-
*/
|
|
471
|
-
declare const Metric: React$1.ForwardRefExoticComponent<MetricProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
472
|
-
|
|
473
|
-
/**
|
|
474
|
-
* The control row above a table or list: search, filters, then the view switch.
|
|
475
|
-
*
|
|
476
|
-
* It exists because the alternative keeps producing the same two failures. A
|
|
477
|
-
* bare flex row gives every control its natural width, so a search field sits
|
|
478
|
-
* at 1120px on one line and three selects stack full-width beneath it — three
|
|
479
|
-
* enormous empty bars where a compact bar belongs. And each control brought its
|
|
480
|
-
* own visual language, so one row carried a native `<select>`, a custom input
|
|
481
|
-
* and a segmented control side by side.
|
|
482
|
-
*
|
|
483
|
-
* So search and filters SHARE the free space and `actions` stays at its content
|
|
484
|
-
* width, and the row is the one place those controls are composed, which is what
|
|
485
|
-
* keeps them looking like one set.
|
|
486
|
-
*
|
|
487
|
-
* Sharing is deliberate, and the alternative is worse. Giving the filter row its
|
|
488
|
-
* content width starves search: measured with a 537px filter row in an 832px
|
|
489
|
-
* toolbar, the search field collapses to 89px. Letting both flex bounds the
|
|
490
|
-
* filter row instead, so it scrolls within its half — 313px each in that same
|
|
491
|
-
* case — and search stays usable however many filters a page adds. `max-w-sm`
|
|
492
|
-
* then stops search claiming more than it can use when there are few filters.
|
|
493
|
-
*
|
|
494
|
-
* On a narrow viewport the row becomes a column and the filters scroll
|
|
495
|
-
* horizontally as a group rather than wrapping into a tall stack that pushes
|
|
496
|
-
* the table itself below the fold.
|
|
497
|
-
*/
|
|
498
|
-
/**
|
|
499
|
-
* Slots only — `children` is omitted deliberately. A free child would render as
|
|
500
|
-
* a bare flex item with none of the `min-w-0` / `shrink-0` guards the named
|
|
501
|
-
* slots carry, so it would size itself off its content and push the row into
|
|
502
|
-
* the overflow this layout exists to prevent.
|
|
503
|
-
*/
|
|
504
|
-
interface ToolbarProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "children"> {
|
|
505
|
-
/** The one control that expands to fill the row. */
|
|
506
|
-
search?: React$1.ReactNode;
|
|
507
|
-
/** Filters, in reading order. Kept on one scrollable line when space runs out. */
|
|
508
|
-
filters?: React$1.ReactNode;
|
|
509
|
-
/** View switches and exports, pinned to the end. */
|
|
510
|
-
actions?: React$1.ReactNode;
|
|
511
|
-
}
|
|
512
|
-
declare const Toolbar: React$1.ForwardRefExoticComponent<ToolbarProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
513
|
-
/**
|
|
514
|
-
* A labelled filter control. The label is visible, not a placeholder: a select
|
|
515
|
-
* whose current value IS its label ("All products") tells the reader what is
|
|
516
|
-
* selected but never what the control governs, so a row of three reads as three
|
|
517
|
-
* unrelated words.
|
|
518
|
-
*/
|
|
519
|
-
interface FilterFieldProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
520
|
-
label: string;
|
|
521
|
-
htmlFor?: string;
|
|
522
|
-
}
|
|
523
|
-
declare const FilterField: React$1.ForwardRefExoticComponent<FilterFieldProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
524
|
-
|
|
525
|
-
export { Avatar, AvatarFallback, AvatarImage, Badge, type BadgeProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropZone, type DropZoneProps, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmptyState, type EmptyStateProps, FilterField, type FilterFieldProps, InlineCode, type InlineCodeProps, Input, type InputProps, Label, Metric, type MetricProps, MetricStrip, type MetricStripProps, PageHeader, type PageHeaderProps, Progress, SegmentedControl, type SegmentedControlOption, type SegmentedControlProps, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, SidebarDropZone, type SidebarDropZoneProps, Skeleton, SkeletonCard, SkeletonTable, StatCard, type StatCardProps, StatusPill, type StatusPillProps, type StatusTone, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, TerminalCursor, TerminalDisplay, TerminalInput, TerminalLine, TextShimmer, type TextShimmerProps, Textarea, type TextareaProps, ThemeToggle, type Toast, ToastContainer, ToastProvider, Toolbar, type ToolbarProps, type UploadFile, UploadProgress, type UploadProgressProps, badgeVariants, useTheme, useToast };
|
|
1
|
+
import { n as ButtonProps, r as buttonVariants, t as Button } from "./button-yoIv77e2.js";
|
|
2
|
+
import { n as ArtifactPaneProps, t as ArtifactPane } from "./artifact-pane-BL_DFWNl.js";
|
|
3
|
+
import { $ as TabsList, $t as DialogTrigger, A as TerminalInput, At as DropdownMenuSub, B as useToast, Bt as Input, C as UploadFile, Ct as DropdownMenuItem, D as DropZoneProps, Dt as DropdownMenuRadioItem, E as DropZone, Et as DropdownMenuRadioGroup, F as EmptyStateProps, Ft as AvatarFallback, G as SkeletonTable, Gt as DialogClose, H as TextShimmerProps, Ht as Textarea, I as Label, It as AvatarImage, J as SegmentedControl, Jt as DialogFooter, K as Switch, Kt as DialogContent, L as Toast, Lt as Badge, M as StatCard, Mt as DropdownMenuSubTrigger, N as StatCardProps, Nt as DropdownMenuTrigger, O as TerminalCursor, Ot as DropdownMenuSeparator, P as EmptyState, Pt as Avatar, Q as TabsContent, Qt as DialogTitle, R as ToastContainer, Rt as BadgeProps, S as SidebarDropZoneProps, St as DropdownMenuGroup, T as UploadProgressProps, Tt as DropdownMenuPortal, U as Skeleton, Ut as TextareaProps, V as TextShimmer, Vt as InputProps, W as SkeletonCard, Wt as Dialog, X as SegmentedControlProps, Xt as DialogOverlay, Y as SegmentedControlOption, Yt as DialogHeader, Z as Tabs, Zt as DialogPortal, _ as ThemeToggle, _t as SelectTrigger, a as FilterFieldProps, an as CardTitle, at as TableFooter, b as InlineCodeProps, bt as DropdownMenuCheckboxItem, c as Metric, ct as TableRow, d as MetricStripProps, dt as SelectGroup, en as Card, et as TabsTrigger, f as StatusPill, ft as SelectItem, g as PageHeaderProps, gt as SelectSeparator, h as PageHeader, ht as SelectScrollUpButton, i as FilterField, in as CardHeader, it as TableCell, j as TerminalLine, jt as DropdownMenuSubContent, k as TerminalDisplay, kt as DropdownMenuShortcut, l as MetricProps, lt as Select, m as StatusTone, mt as SelectScrollDownButton, n as LogoProps, nn as CardDescription, nt as TableBody, o as Toolbar, ot as TableHead, p as StatusPillProps, pt as SelectLabel, q as Progress, qt as DialogDescription, r as TangleKnot, rn as CardFooter, rt as TableCaption, s as ToolbarProps, st as TableHeader, t as Logo, tn as CardContent, tt as Table, u as MetricStrip, ut as SelectContent, v as useTheme, vt as SelectValue, w as UploadProgress, wt as DropdownMenuLabel, x as SidebarDropZone, xt as DropdownMenuContent, y as InlineCode, yt as DropdownMenu, z as ToastProvider, zt as badgeVariants } from "./index-CPDET_s1.js";
|
|
4
|
+
import { n as CodeBlockProps, r as CopyButton, t as CodeBlock } from "./code-block-B9miUPht.js";
|
|
5
|
+
export { ArtifactPane, type ArtifactPaneProps, Avatar, AvatarFallback, AvatarImage, Badge, type BadgeProps, Button, type ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CodeBlock, type CodeBlockProps, CopyButton, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropZone, type DropZoneProps, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmptyState, type EmptyStateProps, FilterField, type FilterFieldProps, InlineCode, type InlineCodeProps, Input, type InputProps, Label, Logo, type LogoProps, Metric, type MetricProps, MetricStrip, type MetricStripProps, PageHeader, type PageHeaderProps, Progress, SegmentedControl, type SegmentedControlOption, type SegmentedControlProps, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, SidebarDropZone, type SidebarDropZoneProps, Skeleton, SkeletonCard, SkeletonTable, StatCard, type StatCardProps, StatusPill, type StatusPillProps, type StatusTone, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, TangleKnot, TerminalCursor, TerminalDisplay, TerminalInput, TerminalLine, TextShimmer, type TextShimmerProps, Textarea, type TextareaProps, ThemeToggle, type Toast, ToastContainer, ToastProvider, Toolbar, type ToolbarProps, type UploadFile, UploadProgress, type UploadProgressProps, badgeVariants, buttonVariants, useTheme, useToast };
|