@hachej/boring-ui-kit 0.1.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 ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 boringdata
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,65 @@
1
+ # @boring/ui
2
+
3
+ Shared UI primitives for boring-ui packages and plugins.
4
+
5
+ ```bash
6
+ pnpm add @boring/ui
7
+ ```
8
+
9
+ ---
10
+
11
+ ## What it provides
12
+
13
+ shadcn-style React components with no global CSS — styles come from the host package CSS (`@boring/workspace/globals.css`).
14
+
15
+ **Layout & surfaces** — `Pane`, `PaneHeader`, `PaneBody`, `PaneToolbar`, `FloatingPanel`
16
+
17
+ **Actions** — `Button`, `IconButton`, `ButtonGroup`, `Toolbar`, `ToolbarButton`
18
+
19
+ **Forms** — `Input`, `Textarea`, `Select`, `Field`, `FieldLabel`, `InputGroup`
20
+
21
+ **Feedback** — `Notice`, `EmptyState`, `ErrorState`, `Spinner`, `Skeleton`, `StatusBadge`, `toast`
22
+
23
+ **Display** — `Badge`, `Chip`, `InlineCode`, `Kbd`, `Avatar`, `List`, `DetailList`
24
+
25
+ **Overlays** — `Dialog`, `DropdownMenu`, `Tooltip`, `HoverCard`, `Tabs`, `Command`
26
+
27
+ **Settings** — `SettingsPanel`, `SettingsNav`, `SettingsActionRow`
28
+
29
+ ---
30
+
31
+ ## Usage
32
+
33
+ ```tsx
34
+ import { Button, EmptyState, Pane, PaneHeader, PaneBody } from "@boring/ui"
35
+
36
+ export function MyPanel() {
37
+ return (
38
+ <Pane>
39
+ <PaneHeader>My Panel</PaneHeader>
40
+ <PaneBody>
41
+ <EmptyState title="Nothing here" />
42
+ <Button>Action</Button>
43
+ </PaneBody>
44
+ </Pane>
45
+ )
46
+ }
47
+ ```
48
+
49
+ Styles are provided by the host — no separate CSS import needed in plugins:
50
+
51
+ ```ts
52
+ // In your app shell (once)
53
+ import "@boring/workspace/globals.css"
54
+ ```
55
+
56
+ ---
57
+
58
+ ## Part of [boring-ui](https://github.com/hachej/boring-ui)
59
+
60
+ | Package | Role |
61
+ |---|---|
62
+ | `@boring/core` | DB, auth, app factory |
63
+ | `@boring/workspace` | Plugin system, layouts |
64
+ | `@boring/agent` | Agent runtime + tools |
65
+ | `@boring/ui` | Shared UI primitives |
@@ -0,0 +1,438 @@
1
+ import { ClassValue } from 'clsx';
2
+ export { ClassValue } from 'clsx';
3
+ import * as class_variance_authority_types from 'class-variance-authority/types';
4
+ import * as React from 'react';
5
+ import { VariantProps } from 'class-variance-authority';
6
+ import * as react_jsx_runtime from 'react/jsx-runtime';
7
+ import * as SeparatorPrimitive from '@radix-ui/react-separator';
8
+ import * as TooltipPrimitive from '@radix-ui/react-tooltip';
9
+ import * as DialogPrimitive from '@radix-ui/react-dialog';
10
+ import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
11
+ import * as SelectPrimitive from '@radix-ui/react-select';
12
+ import { Command as Command$1 } from 'cmdk';
13
+ import * as TabsPrimitive from '@radix-ui/react-tabs';
14
+ import * as CollapsiblePrimitive from '@radix-ui/react-collapsible';
15
+ import * as LabelPrimitive from '@radix-ui/react-label';
16
+ import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
17
+ import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
18
+ import * as PopoverPrimitive from '@radix-ui/react-popover';
19
+ import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
20
+ import * as HoverCardPrimitive from '@radix-ui/react-hover-card';
21
+
22
+ declare function cn(...inputs: ClassValue[]): string;
23
+
24
+ declare const buttonVariants: (props?: ({
25
+ variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link" | null | undefined;
26
+ size?: "default" | "xs" | "sm" | "lg" | "icon" | "icon-xs" | "icon-sm" | "icon-lg" | null | undefined;
27
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
28
+ interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
29
+ asChild?: boolean;
30
+ }
31
+ declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
32
+
33
+ declare const badgeVariants: (props?: ({
34
+ variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link" | null | undefined;
35
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
36
+ type BadgeProps = React.ComponentProps<'span'> & VariantProps<typeof badgeVariants> & {
37
+ asChild?: boolean;
38
+ };
39
+ declare function Badge({ className, variant, asChild, ...props }: BadgeProps): react_jsx_runtime.JSX.Element;
40
+
41
+ type InputProps = React.ComponentProps<'input'>;
42
+ declare const Input: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
43
+
44
+ type TextareaProps = React.ComponentProps<'textarea'>;
45
+ declare const Textarea: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, "ref"> & React.RefAttributes<HTMLTextAreaElement>>;
46
+
47
+ type SeparatorProps = React.ComponentPropsWithoutRef<typeof SeparatorPrimitive.Root>;
48
+ declare const Separator: React.ForwardRefExoticComponent<Omit<SeparatorPrimitive.SeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
49
+
50
+ declare function TooltipProvider({ delayDuration, ...props }: React.ComponentProps<typeof TooltipPrimitive.Provider>): react_jsx_runtime.JSX.Element;
51
+ declare function Tooltip({ ...props }: React.ComponentProps<typeof TooltipPrimitive.Root>): react_jsx_runtime.JSX.Element;
52
+ declare function TooltipTrigger({ ...props }: React.ComponentProps<typeof TooltipPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
53
+ declare function TooltipContent({ className, sideOffset, children, ...props }: React.ComponentProps<typeof TooltipPrimitive.Content>): react_jsx_runtime.JSX.Element;
54
+
55
+ declare function Dialog({ ...props }: React.ComponentProps<typeof DialogPrimitive.Root>): react_jsx_runtime.JSX.Element;
56
+ declare function DialogTrigger({ ...props }: React.ComponentProps<typeof DialogPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
57
+ declare function DialogPortal({ ...props }: React.ComponentProps<typeof DialogPrimitive.Portal>): react_jsx_runtime.JSX.Element;
58
+ declare function DialogClose({ ...props }: React.ComponentProps<typeof DialogPrimitive.Close>): react_jsx_runtime.JSX.Element;
59
+ declare function DialogOverlay({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Overlay>): react_jsx_runtime.JSX.Element;
60
+ declare function DialogContent({ className, children, showCloseButton, ...props }: React.ComponentProps<typeof DialogPrimitive.Content> & {
61
+ showCloseButton?: boolean;
62
+ }): react_jsx_runtime.JSX.Element;
63
+ declare function DialogHeader({ className, ...props }: React.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
64
+ declare function DialogFooter({ className, showCloseButton, children, ...props }: React.ComponentProps<'div'> & {
65
+ showCloseButton?: boolean;
66
+ }): react_jsx_runtime.JSX.Element;
67
+ declare function DialogTitle({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Title>): react_jsx_runtime.JSX.Element;
68
+ declare function DialogDescription({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Description>): react_jsx_runtime.JSX.Element;
69
+
70
+ declare function DropdownMenu({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Root>): react_jsx_runtime.JSX.Element;
71
+ declare function DropdownMenuPortal({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Portal>): react_jsx_runtime.JSX.Element;
72
+ declare function DropdownMenuTrigger({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
73
+ declare function DropdownMenuContent({ className, sideOffset, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Content>): react_jsx_runtime.JSX.Element;
74
+ declare function DropdownMenuGroup({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Group>): react_jsx_runtime.JSX.Element;
75
+ declare function DropdownMenuItem({ className, inset, variant, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Item> & {
76
+ inset?: boolean;
77
+ variant?: 'default' | 'destructive';
78
+ }): react_jsx_runtime.JSX.Element;
79
+ declare function DropdownMenuCheckboxItem({ className, children, checked, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.CheckboxItem>): react_jsx_runtime.JSX.Element;
80
+ declare function DropdownMenuRadioGroup({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.RadioGroup>): react_jsx_runtime.JSX.Element;
81
+ declare function DropdownMenuRadioItem({ className, children, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.RadioItem>): react_jsx_runtime.JSX.Element;
82
+ declare function DropdownMenuLabel({ className, inset, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Label> & {
83
+ inset?: boolean;
84
+ }): react_jsx_runtime.JSX.Element;
85
+ declare function DropdownMenuSeparator({ className, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Separator>): react_jsx_runtime.JSX.Element;
86
+ declare function DropdownMenuShortcut({ className, ...props }: React.ComponentProps<'span'>): react_jsx_runtime.JSX.Element;
87
+ declare function DropdownMenuSub({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Sub>): react_jsx_runtime.JSX.Element;
88
+ declare function DropdownMenuSubTrigger({ className, inset, children, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.SubTrigger> & {
89
+ inset?: boolean;
90
+ }): react_jsx_runtime.JSX.Element;
91
+ declare function DropdownMenuSubContent({ className, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.SubContent>): react_jsx_runtime.JSX.Element;
92
+
93
+ declare function Select({ ...props }: React.ComponentProps<typeof SelectPrimitive.Root>): react_jsx_runtime.JSX.Element;
94
+ declare function SelectGroup({ ...props }: React.ComponentProps<typeof SelectPrimitive.Group>): react_jsx_runtime.JSX.Element;
95
+ declare function SelectValue({ ...props }: React.ComponentProps<typeof SelectPrimitive.Value>): react_jsx_runtime.JSX.Element;
96
+ declare function SelectTrigger({ className, size, children, ...props }: React.ComponentProps<typeof SelectPrimitive.Trigger> & {
97
+ size?: "sm" | "default";
98
+ }): react_jsx_runtime.JSX.Element;
99
+ declare function SelectContent({ className, children, position, align, ...props }: React.ComponentProps<typeof SelectPrimitive.Content>): react_jsx_runtime.JSX.Element;
100
+ declare function SelectLabel({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.Label>): react_jsx_runtime.JSX.Element;
101
+ declare function SelectItem({ className, children, ...props }: React.ComponentProps<typeof SelectPrimitive.Item>): react_jsx_runtime.JSX.Element;
102
+ declare function SelectSeparator({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.Separator>): react_jsx_runtime.JSX.Element;
103
+ declare function SelectScrollUpButton({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.ScrollUpButton>): react_jsx_runtime.JSX.Element;
104
+ declare function SelectScrollDownButton({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.ScrollDownButton>): react_jsx_runtime.JSX.Element;
105
+
106
+ declare function Command({ className, ...props }: React.ComponentProps<typeof Command$1>): react_jsx_runtime.JSX.Element;
107
+ declare function CommandDialog({ title, description, children, className, showCloseButton, ...props }: React.ComponentProps<typeof Dialog> & {
108
+ title?: string;
109
+ description?: string;
110
+ className?: string;
111
+ showCloseButton?: boolean;
112
+ }): react_jsx_runtime.JSX.Element;
113
+ declare function CommandInput({ className, ...props }: React.ComponentProps<typeof Command$1.Input>): react_jsx_runtime.JSX.Element;
114
+ declare function CommandList({ className, ...props }: React.ComponentProps<typeof Command$1.List>): react_jsx_runtime.JSX.Element;
115
+ declare function CommandEmpty({ ...props }: React.ComponentProps<typeof Command$1.Empty>): react_jsx_runtime.JSX.Element;
116
+ declare function CommandGroup({ className, ...props }: React.ComponentProps<typeof Command$1.Group>): react_jsx_runtime.JSX.Element;
117
+ declare function CommandSeparator({ className, ...props }: React.ComponentProps<typeof Command$1.Separator>): react_jsx_runtime.JSX.Element;
118
+ declare function CommandItem({ className, ...props }: React.ComponentProps<typeof Command$1.Item>): react_jsx_runtime.JSX.Element;
119
+ declare function CommandShortcut({ className, ...props }: React.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
120
+
121
+ declare function Tabs({ className, orientation, ...props }: React.ComponentProps<typeof TabsPrimitive.Root>): react_jsx_runtime.JSX.Element;
122
+ declare const tabsListVariants: (props?: ({
123
+ variant?: "default" | "line" | null | undefined;
124
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
125
+ declare function TabsList({ className, variant, ...props }: React.ComponentProps<typeof TabsPrimitive.List> & VariantProps<typeof tabsListVariants>): react_jsx_runtime.JSX.Element;
126
+ declare function TabsTrigger({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
127
+ declare function TabsContent({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.Content>): react_jsx_runtime.JSX.Element;
128
+
129
+ type IconButtonProps = Omit<ButtonProps, 'size'> & {
130
+ size?: Extract<ButtonProps['size'], 'icon' | 'icon-xs' | 'icon-sm' | 'icon-lg'>;
131
+ };
132
+ declare const IconButton: React.ForwardRefExoticComponent<Omit<ButtonProps, "size"> & {
133
+ size?: Extract<ButtonProps["size"], "icon" | "icon-xs" | "icon-sm" | "icon-lg">;
134
+ } & React.RefAttributes<HTMLButtonElement>>;
135
+
136
+ type KbdProps = React.ComponentProps<'kbd'>;
137
+ declare function Kbd({ className, ...props }: KbdProps): react_jsx_runtime.JSX.Element;
138
+
139
+ type SpinnerProps = React.ComponentProps<'span'>;
140
+ declare function Spinner({ className, ...props }: SpinnerProps): react_jsx_runtime.JSX.Element;
141
+
142
+ type EmptyStateProps = React.ComponentProps<'div'> & {
143
+ title?: React.ReactNode;
144
+ description?: React.ReactNode;
145
+ icon?: React.ReactNode;
146
+ actions?: React.ReactNode;
147
+ };
148
+ declare function EmptyState({ className, title, description, icon, actions, children, ...props }: EmptyStateProps): react_jsx_runtime.JSX.Element;
149
+
150
+ type ErrorStateProps = React.ComponentProps<'div'> & {
151
+ title?: React.ReactNode;
152
+ description?: React.ReactNode;
153
+ details?: React.ReactNode;
154
+ actions?: React.ReactNode;
155
+ };
156
+ declare function ErrorState({ className, title, description, details, actions, children, ...props }: ErrorStateProps): react_jsx_runtime.JSX.Element;
157
+
158
+ declare function Pane({ className, ...props }: React.ComponentProps<'section'>): react_jsx_runtime.JSX.Element;
159
+ declare function PaneHeader({ className, ...props }: React.ComponentProps<'header'>): react_jsx_runtime.JSX.Element;
160
+ declare function PaneTitle({ className, ...props }: React.ComponentProps<'h2'>): react_jsx_runtime.JSX.Element;
161
+ declare function PaneDescription({ className, ...props }: React.ComponentProps<'p'>): react_jsx_runtime.JSX.Element;
162
+ declare function PaneBody({ className, ...props }: React.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
163
+ declare function PaneFooter({ className, ...props }: React.ComponentProps<'footer'>): react_jsx_runtime.JSX.Element;
164
+ declare function PaneToolbar({ className, ...props }: React.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
165
+
166
+ declare function Field({ className, ...props }: React.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
167
+ declare function FieldLabel({ className, ...props }: React.ComponentProps<'label'>): react_jsx_runtime.JSX.Element;
168
+ declare function FieldDescription({ className, ...props }: React.ComponentProps<'p'>): react_jsx_runtime.JSX.Element;
169
+ declare function FieldError({ className, ...props }: React.ComponentProps<'p'>): react_jsx_runtime.JSX.Element;
170
+
171
+ type StatusBadgeTone = 'neutral' | 'success' | 'warning' | 'danger' | 'info';
172
+ type StatusBadgeProps = BadgeProps & {
173
+ tone?: StatusBadgeTone;
174
+ };
175
+ declare function StatusBadge({ className, tone, variant, ...props }: StatusBadgeProps): react_jsx_runtime.JSX.Element;
176
+
177
+ type NoticeTone = 'info' | 'success' | 'warning' | 'error' | 'accent' | 'destructive';
178
+ type NoticeProps = React.ComponentProps<'div'> & {
179
+ tone?: NoticeTone;
180
+ title?: React.ReactNode;
181
+ description?: React.ReactNode;
182
+ icon?: React.ReactNode;
183
+ actions?: React.ReactNode;
184
+ };
185
+ declare function Notice({ className, tone, title, description, icon, actions, children, ...props }: NoticeProps): react_jsx_runtime.JSX.Element;
186
+
187
+ type SkeletonProps = React.ComponentProps<'div'>;
188
+ declare function Skeleton({ className, ...props }: SkeletonProps): react_jsx_runtime.JSX.Element;
189
+
190
+ type InlineCodeProps = React.ComponentProps<'code'>;
191
+ declare function InlineCode({ className, ...props }: InlineCodeProps): react_jsx_runtime.JSX.Element;
192
+
193
+ type ToolbarProps = React.ComponentProps<'div'>;
194
+ declare function Toolbar({ className, ...props }: ToolbarProps): react_jsx_runtime.JSX.Element;
195
+ type ToolbarGroupProps = React.ComponentProps<'div'>;
196
+ declare function ToolbarGroup({ className, ...props }: ToolbarGroupProps): react_jsx_runtime.JSX.Element;
197
+ type ToolbarButtonProps = ButtonProps;
198
+ declare function ToolbarButton({ className, variant, size, ...props }: ToolbarButtonProps): react_jsx_runtime.JSX.Element;
199
+ type ToolbarSeparatorProps = React.ComponentProps<'div'>;
200
+ declare function ToolbarSeparator({ className, ...props }: ToolbarSeparatorProps): react_jsx_runtime.JSX.Element;
201
+
202
+ type ChipProps = React.ComponentProps<'span'> & {
203
+ selected?: boolean;
204
+ };
205
+ declare function Chip({ className, selected, ...props }: ChipProps): react_jsx_runtime.JSX.Element;
206
+ type ChipButtonProps = ButtonProps & {
207
+ selected?: boolean;
208
+ };
209
+ declare function ChipButton({ className, selected, variant, size, ...props }: ChipButtonProps): react_jsx_runtime.JSX.Element;
210
+ type ChipRemoveProps = ButtonProps;
211
+ declare function ChipRemove({ className, children, variant, size, ...props }: ChipRemoveProps): react_jsx_runtime.JSX.Element;
212
+
213
+ type SegmentedControlProps = React.ComponentProps<'div'>;
214
+ declare function SegmentedControl({ className, ...props }: SegmentedControlProps): react_jsx_runtime.JSX.Element;
215
+ type SegmentedControlItemProps = ButtonProps & {
216
+ selected?: boolean;
217
+ };
218
+ declare function SegmentedControlItem({ className, selected, variant, size, ...props }: SegmentedControlItemProps): react_jsx_runtime.JSX.Element;
219
+
220
+ type SettingsPanelProps = React.ComponentProps<'section'> & {
221
+ icon?: React.ReactNode;
222
+ testId?: string;
223
+ title: React.ReactNode;
224
+ description?: React.ReactNode;
225
+ footer?: React.ReactNode;
226
+ danger?: boolean;
227
+ };
228
+ declare function SettingsPanel({ className, icon, title, description, footer, danger, testId, children, ...props }: SettingsPanelProps): react_jsx_runtime.JSX.Element;
229
+ type SettingsNavItem = {
230
+ href: string;
231
+ label: React.ReactNode;
232
+ description?: React.ReactNode;
233
+ };
234
+ type SettingsNavProps = React.ComponentProps<'nav'> & {
235
+ label: string;
236
+ items: SettingsNavItem[];
237
+ };
238
+ declare function SettingsNav({ className, label, items, ...props }: SettingsNavProps): react_jsx_runtime.JSX.Element;
239
+ type SettingsPageHeaderProps = React.ComponentProps<'header'> & {
240
+ eyebrow?: React.ReactNode;
241
+ title: React.ReactNode;
242
+ description?: React.ReactNode;
243
+ context?: React.ReactNode;
244
+ };
245
+ declare function SettingsPageHeader({ className, eyebrow, title, description, context, children, ...props }: SettingsPageHeaderProps): react_jsx_runtime.JSX.Element;
246
+ type SettingsActionRowProps = React.ComponentProps<'div'> & {
247
+ title: React.ReactNode;
248
+ description?: React.ReactNode;
249
+ action: React.ReactNode;
250
+ };
251
+ declare function SettingsActionRow({ className, title, description, action, ...props }: SettingsActionRowProps): react_jsx_runtime.JSX.Element;
252
+ type DetailLineProps = React.ComponentProps<'div'> & {
253
+ icon?: React.ReactNode;
254
+ label: React.ReactNode;
255
+ };
256
+ declare function DetailLine({ className, icon, label, children, ...props }: DetailLineProps): react_jsx_runtime.JSX.Element;
257
+
258
+ declare const Disclosure: React.ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleProps & React.RefAttributes<HTMLDivElement>>;
259
+ declare const DisclosureContent: React.ForwardRefExoticComponent<Omit<CollapsiblePrimitive.CollapsibleContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
260
+ type DisclosureTriggerProps = ButtonProps & {
261
+ chevron?: React.ReactNode;
262
+ };
263
+ declare const DisclosureTrigger: React.ForwardRefExoticComponent<ButtonProps & {
264
+ chevron?: React.ReactNode;
265
+ } & React.RefAttributes<HTMLButtonElement>>;
266
+ declare function DisclosureChevron({ className, ...props }: React.ComponentProps<'span'>): react_jsx_runtime.JSX.Element;
267
+
268
+ type ResizeHandleOrientation = 'vertical' | 'horizontal';
269
+ type ResizeHandleProps = Omit<React.ComponentProps<'div'>, 'onPointerDown'> & {
270
+ orientation?: ResizeHandleOrientation;
271
+ onResizeStart?: (event: React.PointerEvent<HTMLDivElement>) => void;
272
+ };
273
+ declare function ResizeHandle({ className, orientation, onResizeStart, role, tabIndex, ...props }: ResizeHandleProps): react_jsx_runtime.JSX.Element;
274
+
275
+ type AvatarProps = React.ComponentProps<'div'>;
276
+ declare function Avatar({ className, ...props }: AvatarProps): react_jsx_runtime.JSX.Element;
277
+ type AvatarFallbackProps = React.ComponentProps<'span'>;
278
+ declare function AvatarFallback({ className, ...props }: AvatarFallbackProps): react_jsx_runtime.JSX.Element;
279
+ type InitialsAvatarProps = AvatarProps & {
280
+ initials: React.ReactNode;
281
+ };
282
+ declare function InitialsAvatar({ initials, className, ...props }: InitialsAvatarProps): react_jsx_runtime.JSX.Element;
283
+
284
+ type ToastVariant$1 = 'info' | 'success' | 'error';
285
+ interface ToastInput$1 {
286
+ title?: string;
287
+ description?: string;
288
+ variant?: ToastVariant$1;
289
+ durationMs?: number;
290
+ }
291
+ interface ToastRecord extends ToastInput$1 {
292
+ id: string;
293
+ createdAt: number;
294
+ }
295
+ type Listener = (toasts: ToastRecord[]) => void;
296
+ declare function dismissToast(id: string): void;
297
+ declare function subscribeToasts(listener: Listener): () => void;
298
+ declare function getActiveToasts(): ToastRecord[];
299
+ declare function clearToasts(): void;
300
+ interface ToastApi$1 {
301
+ (input: string | ToastInput$1): string;
302
+ success: (input: string | ToastInput$1) => string;
303
+ error: (input: string | ToastInput$1) => string;
304
+ info: (input: string | ToastInput$1) => string;
305
+ dismiss: (id: string) => void;
306
+ }
307
+ declare const toast: ToastApi$1;
308
+ interface ToasterProps {
309
+ position?: 'bottom-right' | 'bottom-left' | 'top-right' | 'top-left';
310
+ className?: string;
311
+ }
312
+ declare function Toaster({ position, className }: ToasterProps): React.ReactPortal | null;
313
+
314
+ type LoadingStateProps = React.ComponentProps<'div'> & {
315
+ label?: React.ReactNode;
316
+ centered?: boolean;
317
+ };
318
+ declare function LoadingState({ className, label, centered, children, ...props }: LoadingStateProps): react_jsx_runtime.JSX.Element;
319
+
320
+ type ListProps = React.ComponentProps<'div'>;
321
+ declare function List({ className, ...props }: ListProps): react_jsx_runtime.JSX.Element;
322
+ type ListRowProps = React.ComponentProps<'div'> & {
323
+ interactive?: boolean;
324
+ };
325
+ declare function ListRow({ className, interactive, ...props }: ListRowProps): react_jsx_runtime.JSX.Element;
326
+ type ListRowMainProps = React.ComponentProps<'div'>;
327
+ declare function ListRowMain({ className, ...props }: ListRowMainProps): react_jsx_runtime.JSX.Element;
328
+ type ListRowTitleProps = React.ComponentProps<'p'>;
329
+ declare function ListRowTitle({ className, ...props }: ListRowTitleProps): react_jsx_runtime.JSX.Element;
330
+ type ListRowDescriptionProps = React.ComponentProps<'p'>;
331
+ declare function ListRowDescription({ className, ...props }: ListRowDescriptionProps): react_jsx_runtime.JSX.Element;
332
+ type ListRowMetaProps = React.ComponentProps<'div'>;
333
+ declare function ListRowMeta({ className, ...props }: ListRowMetaProps): react_jsx_runtime.JSX.Element;
334
+ type ListRowActionsProps = React.ComponentProps<'div'>;
335
+ declare function ListRowActions({ className, ...props }: ListRowActionsProps): react_jsx_runtime.JSX.Element;
336
+
337
+ type DetailListProps = React.ComponentProps<'dl'>;
338
+ declare function DetailList({ className, ...props }: DetailListProps): react_jsx_runtime.JSX.Element;
339
+
340
+ type FloatingPanelProps = React.ComponentProps<'div'>;
341
+ declare function FloatingPanel({ className, ...props }: FloatingPanelProps): react_jsx_runtime.JSX.Element;
342
+ type FloatingPanelHeaderProps = React.ComponentProps<'div'>;
343
+ declare function FloatingPanelHeader({ className, ...props }: FloatingPanelHeaderProps): react_jsx_runtime.JSX.Element;
344
+ type FloatingPanelBodyProps = React.ComponentProps<'div'>;
345
+ declare function FloatingPanelBody({ className, ...props }: FloatingPanelBodyProps): react_jsx_runtime.JSX.Element;
346
+
347
+ declare function Card({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
348
+ declare function CardHeader({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
349
+ declare function CardTitle({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
350
+ declare function CardDescription({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
351
+ declare function CardAction({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
352
+ declare function CardContent({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
353
+ declare function CardFooter({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
354
+
355
+ declare function Label({ className, ...props }: React.ComponentProps<typeof LabelPrimitive.Root>): react_jsx_runtime.JSX.Element;
356
+
357
+ declare function Checkbox({ className, ...props }: React.ComponentProps<typeof CheckboxPrimitive.Root>): react_jsx_runtime.JSX.Element;
358
+
359
+ declare function AlertDialog({ ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Root>): react_jsx_runtime.JSX.Element;
360
+ declare function AlertDialogTrigger({ ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
361
+ declare function AlertDialogPortal({ ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Portal>): react_jsx_runtime.JSX.Element;
362
+ declare function AlertDialogOverlay({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Overlay>): react_jsx_runtime.JSX.Element;
363
+ declare function AlertDialogContent({ className, size, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Content> & {
364
+ size?: "default" | "sm";
365
+ }): react_jsx_runtime.JSX.Element;
366
+ declare function AlertDialogHeader({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
367
+ declare function AlertDialogFooter({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
368
+ declare function AlertDialogTitle({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Title>): react_jsx_runtime.JSX.Element;
369
+ declare function AlertDialogDescription({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Description>): react_jsx_runtime.JSX.Element;
370
+ declare function AlertDialogMedia({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
371
+ declare function AlertDialogAction({ className, variant, size, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Action> & Pick<React.ComponentProps<typeof Button>, "variant" | "size">): react_jsx_runtime.JSX.Element;
372
+ declare function AlertDialogCancel({ className, variant, size, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Cancel> & Pick<React.ComponentProps<typeof Button>, "variant" | "size">): react_jsx_runtime.JSX.Element;
373
+
374
+ declare function Popover({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Root>): react_jsx_runtime.JSX.Element;
375
+ declare function PopoverTrigger({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
376
+ declare function PopoverContent({ className, align, sideOffset, ...props }: React.ComponentProps<typeof PopoverPrimitive.Content>): react_jsx_runtime.JSX.Element;
377
+ declare function PopoverAnchor({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Anchor>): react_jsx_runtime.JSX.Element;
378
+ declare function PopoverHeader({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
379
+ declare function PopoverTitle({ className, ...props }: React.ComponentProps<"h2">): react_jsx_runtime.JSX.Element;
380
+ declare function PopoverDescription({ className, ...props }: React.ComponentProps<"p">): react_jsx_runtime.JSX.Element;
381
+
382
+ declare function ScrollArea({ className, children, ...props }: React.ComponentProps<typeof ScrollAreaPrimitive.Root>): react_jsx_runtime.JSX.Element;
383
+ declare function ScrollBar({ className, orientation, ...props }: React.ComponentProps<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>): react_jsx_runtime.JSX.Element;
384
+
385
+ declare function Sheet({ ...props }: React.ComponentProps<typeof DialogPrimitive.Root>): react_jsx_runtime.JSX.Element;
386
+ declare function SheetTrigger({ ...props }: React.ComponentProps<typeof DialogPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
387
+ declare function SheetClose({ ...props }: React.ComponentProps<typeof DialogPrimitive.Close>): react_jsx_runtime.JSX.Element;
388
+ declare function SheetContent({ className, children, side, showCloseButton, ...props }: React.ComponentProps<typeof DialogPrimitive.Content> & {
389
+ side?: "top" | "right" | "bottom" | "left";
390
+ showCloseButton?: boolean;
391
+ }): react_jsx_runtime.JSX.Element;
392
+ declare function SheetHeader({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
393
+ declare function SheetFooter({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
394
+ declare function SheetTitle({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Title>): react_jsx_runtime.JSX.Element;
395
+ declare function SheetDescription({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Description>): react_jsx_runtime.JSX.Element;
396
+
397
+ type ToastVariant = 'default' | 'destructive' | 'info' | 'success' | 'warning' | 'error';
398
+ type ToastInput = string | {
399
+ title?: string;
400
+ description?: string;
401
+ variant?: ToastVariant;
402
+ };
403
+ type ToastApi = {
404
+ toast: (input: ToastInput) => void;
405
+ };
406
+ declare function useToast(): ToastApi;
407
+
408
+ declare const HoverCard: React.FC<HoverCardPrimitive.HoverCardProps>;
409
+ declare const HoverCardTrigger: React.ForwardRefExoticComponent<HoverCardPrimitive.HoverCardTriggerProps & React.RefAttributes<HTMLAnchorElement>>;
410
+ declare const HoverCardContent: React.ForwardRefExoticComponent<Omit<HoverCardPrimitive.HoverCardContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
411
+
412
+ declare const Collapsible: React.ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleProps & React.RefAttributes<HTMLDivElement>>;
413
+ declare const CollapsibleTrigger: React.ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleTriggerProps & React.RefAttributes<HTMLButtonElement>>;
414
+ declare const CollapsibleContent: React.ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleContentProps & React.RefAttributes<HTMLDivElement>>;
415
+
416
+ declare const buttonGroupVariants: (props?: ({
417
+ orientation?: "horizontal" | "vertical" | null | undefined;
418
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
419
+ declare function ButtonGroup({ className, orientation, ...props }: React.ComponentProps<'div'> & VariantProps<typeof buttonGroupVariants>): react_jsx_runtime.JSX.Element;
420
+ declare function ButtonGroupText({ className, asChild, ...props }: React.ComponentProps<'div'> & {
421
+ asChild?: boolean;
422
+ }): react_jsx_runtime.JSX.Element;
423
+ declare function ButtonGroupSeparator({ className, orientation, ...props }: React.ComponentProps<typeof Separator>): react_jsx_runtime.JSX.Element;
424
+
425
+ declare function InputGroup({ className, ...props }: React.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
426
+ declare const inputGroupAddonVariants: (props?: ({
427
+ align?: "inline-start" | "inline-end" | "block-start" | "block-end" | null | undefined;
428
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
429
+ declare function InputGroupAddon({ className, align, ...props }: React.ComponentProps<'div'> & VariantProps<typeof inputGroupAddonVariants>): react_jsx_runtime.JSX.Element;
430
+ declare const inputGroupButtonVariants: (props?: ({
431
+ size?: "xs" | "sm" | "icon-xs" | "icon-sm" | null | undefined;
432
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
433
+ declare function InputGroupButton({ className, type, variant, size, ...props }: Omit<React.ComponentProps<typeof Button>, 'size'> & VariantProps<typeof inputGroupButtonVariants>): react_jsx_runtime.JSX.Element;
434
+ declare function InputGroupText({ className, ...props }: React.ComponentProps<'span'>): react_jsx_runtime.JSX.Element;
435
+ declare function InputGroupInput({ className, ...props }: React.ComponentProps<'input'>): react_jsx_runtime.JSX.Element;
436
+ declare function InputGroupTextarea({ className, ...props }: React.ComponentProps<'textarea'>): react_jsx_runtime.JSX.Element;
437
+
438
+ export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, Avatar, AvatarFallback, type AvatarFallbackProps, type AvatarProps, Badge, type BadgeProps, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, type ButtonProps, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, Chip, ChipButton, type ChipButtonProps, type ChipProps, ChipRemove, type ChipRemoveProps, Collapsible, CollapsibleContent, CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, DetailLine, type DetailLineProps, DetailList, type DetailListProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Disclosure, DisclosureChevron, DisclosureContent, DisclosureTrigger, type DisclosureTriggerProps, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmptyState, type EmptyStateProps, ErrorState, type ErrorStateProps, Field, FieldDescription, FieldError, FieldLabel, FloatingPanel, FloatingPanelBody, type FloatingPanelBodyProps, FloatingPanelHeader, type FloatingPanelHeaderProps, type FloatingPanelProps, HoverCard, HoverCardContent, HoverCardTrigger, IconButton, type IconButtonProps, InitialsAvatar, type InitialsAvatarProps, InlineCode, type InlineCodeProps, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, type InputProps, Kbd, type KbdProps, Label, List, type ListProps, ListRow, ListRowActions, type ListRowActionsProps, ListRowDescription, type ListRowDescriptionProps, ListRowMain, type ListRowMainProps, ListRowMeta, type ListRowMetaProps, type ListRowProps, ListRowTitle, type ListRowTitleProps, LoadingState, type LoadingStateProps, Notice, type NoticeProps, type NoticeTone, Pane, PaneBody, PaneDescription, PaneFooter, PaneHeader, PaneTitle, PaneToolbar, Popover, PopoverAnchor, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, ResizeHandle, type ResizeHandleOrientation, type ResizeHandleProps, ScrollArea, ScrollBar, SegmentedControl, SegmentedControlItem, type SegmentedControlItemProps, type SegmentedControlProps, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, type SeparatorProps, SettingsActionRow, type SettingsActionRowProps, SettingsNav, type SettingsNavItem, type SettingsNavProps, SettingsPageHeader, type SettingsPageHeaderProps, SettingsPanel, type SettingsPanelProps, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Skeleton, type SkeletonProps, Spinner, type SpinnerProps, StatusBadge, type StatusBadgeProps, type StatusBadgeTone, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, type TextareaProps, type ToastApi$1 as ToastApi, type ToastApi as ToastEventApi, type ToastInput as ToastEventInput, type ToastVariant as ToastEventVariant, type ToastInput$1 as ToastInput, type ToastRecord, type ToastVariant$1 as ToastVariant, Toaster, type ToasterProps, Toolbar, ToolbarButton, type ToolbarButtonProps, ToolbarGroup, type ToolbarGroupProps, type ToolbarProps, ToolbarSeparator, type ToolbarSeparatorProps, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, badgeVariants, buttonGroupVariants, buttonVariants, clearToasts, cn, dismissToast, getActiveToasts, subscribeToasts, tabsListVariants, toast, useToast };