@evinvest/uikit 0.32.0 → 0.33.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/README.md +21 -10
- package/dist/components/atomic/accordion.js +2 -1
- package/dist/components/atomic/accordion.js.map +1 -1
- package/dist/components/atomic/alert.js +4 -4
- package/dist/components/atomic/alert.js.map +1 -1
- package/dist/components/atomic/badge.js +4 -3
- package/dist/components/atomic/badge.js.map +1 -1
- package/dist/components/atomic/breadcrumb.js +7 -9
- package/dist/components/atomic/breadcrumb.js.map +1 -1
- package/dist/components/atomic/button.js +4 -3
- package/dist/components/atomic/button.js.map +1 -1
- package/dist/components/atomic/calendar.js +10 -25
- package/dist/components/atomic/calendar.js.map +1 -1
- package/dist/components/atomic/checkbox.js +2 -1
- package/dist/components/atomic/checkbox.js.map +1 -1
- package/dist/components/atomic/command.js +5 -20
- package/dist/components/atomic/command.js.map +1 -1
- package/dist/components/atomic/context-menu.js +6 -13
- package/dist/components/atomic/context-menu.js.map +1 -1
- package/dist/components/atomic/dialog.js +4 -2
- package/dist/components/atomic/dialog.js.map +1 -1
- package/dist/components/atomic/dropdown-menu.js +6 -14
- package/dist/components/atomic/dropdown-menu.js.map +1 -1
- package/dist/components/atomic/hover-card.js.map +1 -1
- package/dist/components/atomic/info-tip.js +8 -9
- package/dist/components/atomic/info-tip.js.map +1 -1
- package/dist/components/atomic/input-otp.js +2 -1
- package/dist/components/atomic/input-otp.js.map +1 -1
- package/dist/components/atomic/key-value.js +5 -4
- package/dist/components/atomic/key-value.js.map +1 -1
- package/dist/components/atomic/menubar.js +7 -18
- package/dist/components/atomic/menubar.js.map +1 -1
- package/dist/components/atomic/native-select.js +1 -1
- package/dist/components/atomic/native-select.js.map +1 -1
- package/dist/components/atomic/navigation-menu.js +6 -14
- package/dist/components/atomic/navigation-menu.js.map +1 -1
- package/dist/components/atomic/pagination.js +18 -19
- package/dist/components/atomic/pagination.js.map +1 -1
- package/dist/components/atomic/popover.js.map +1 -1
- package/dist/components/atomic/radio-group.js +5 -4
- package/dist/components/atomic/radio-group.js.map +1 -1
- package/dist/components/atomic/section-descriptor.js +5 -8
- package/dist/components/atomic/section-descriptor.js.map +1 -1
- package/dist/components/atomic/select-listbox.js +2 -2
- package/dist/components/atomic/select-listbox.js.map +1 -1
- package/dist/components/atomic/select.js +5 -13
- package/dist/components/atomic/select.js.map +1 -1
- package/dist/components/atomic/sheet.js +4 -2
- package/dist/components/atomic/sheet.js.map +1 -1
- package/dist/components/atomic/sidebar.js +7 -26
- package/dist/components/atomic/sidebar.js.map +1 -1
- package/dist/components/atomic/slider.js.map +1 -1
- package/dist/components/atomic/sonner.js +20 -18
- package/dist/components/atomic/sonner.js.map +1 -1
- package/dist/components/atomic/spinner.js +6 -3
- package/dist/components/atomic/spinner.js.map +1 -1
- package/dist/components/atomic/tabs.js.map +1 -1
- package/dist/components/atomic/toggle-group.js +2 -2
- package/dist/components/atomic/toggle-group.js.map +1 -1
- package/dist/components/atomic/toggle.js +3 -6
- package/dist/components/atomic/toggle.js.map +1 -1
- package/dist/components/atomic/tooltip.js.map +1 -1
- package/dist/components/derived/carousel.js +6 -6
- package/dist/components/derived/carousel.js.map +1 -1
- package/dist/components/derived/command-palette.js +8 -7
- package/dist/components/derived/command-palette.js.map +1 -1
- package/dist/components/derived/confirm-dialog.js +8 -13
- package/dist/components/derived/confirm-dialog.js.map +1 -1
- package/dist/components/derived/date-time-picker.js +10 -14
- package/dist/components/derived/date-time-picker.js.map +1 -1
- package/dist/components/derived/field.js.map +1 -1
- package/dist/components/derived/form.js +0 -1
- package/dist/components/derived/form.js.map +1 -1
- package/dist/components/derived/icon-button.js.map +1 -1
- package/dist/components/derived/item.js +0 -1
- package/dist/components/derived/item.js.map +1 -1
- package/dist/components/derived/popover-form.js +4 -3
- package/dist/components/derived/popover-form.js.map +1 -1
- package/dist/components/derived/settings.js +4 -4
- package/dist/components/derived/settings.js.map +1 -1
- package/dist/components/shell/account-menu-profile.js +1 -1
- package/dist/components/shell/account-menu-profile.js.map +1 -1
- package/dist/components/shell/account-settings-dialog.js +3 -2
- package/dist/components/shell/account-settings-dialog.js.map +1 -1
- package/dist/components/shell/aside.js +6 -4
- package/dist/components/shell/aside.js.map +1 -1
- package/dist/components/shell/auth-wall.js +3 -5
- package/dist/components/shell/auth-wall.js.map +1 -1
- package/dist/components/shell/bottom-tab-bar.js +3 -3
- package/dist/components/shell/bottom-tab-bar.js.map +1 -1
- package/dist/components/shell/chat-composer.js +9 -7
- package/dist/components/shell/chat-composer.js.map +1 -1
- package/dist/components/shell/chat-message.js.map +1 -1
- package/dist/components/shell/chat-typing.js +2 -1
- package/dist/components/shell/chat-typing.js.map +1 -1
- package/dist/components/shell/footer.js +26 -24
- package/dist/components/shell/footer.js.map +1 -1
- package/dist/components/shell/header-controls.js +17 -15
- package/dist/components/shell/header-controls.js.map +1 -1
- package/dist/components/shell/hotbar.js +158 -0
- package/dist/components/shell/hotbar.js.map +1 -0
- package/dist/components/shell/logo.js +3 -2
- package/dist/components/shell/logo.js.map +1 -1
- package/dist/components/shell/mobile-app-bar.js +4 -4
- package/dist/components/shell/mobile-app-bar.js.map +1 -1
- package/dist/components/shell/nav-collapse.js +6 -5
- package/dist/components/shell/nav-collapse.js.map +1 -1
- package/dist/components/shell/resource-error.js +2 -2
- package/dist/components/shell/resource-error.js.map +1 -1
- package/dist/components/shell/section-nav.js +3 -3
- package/dist/components/shell/section-nav.js.map +1 -1
- package/dist/components/shell/shell-icons.js +7 -22
- package/dist/components/shell/shell-icons.js.map +1 -1
- package/dist/components/shell/shell-nav.js +4 -4
- package/dist/components/shell/shell-nav.js.map +1 -1
- package/dist/components/shell/smart-header.js.map +1 -1
- package/dist/components/shell/status-screen.js +35 -35
- package/dist/components/shell/status-screen.js.map +1 -1
- package/dist/components/shell/system-banner.js +6 -6
- package/dist/components/shell/system-banner.js.map +1 -1
- package/dist/components/shell/workspace-tab.js +2 -1
- package/dist/components/shell/workspace-tab.js.map +1 -1
- package/dist/generated/accent.js +10 -10
- package/dist/generated/accent.js.map +1 -1
- package/dist/generated/accordion.js +6 -2
- package/dist/generated/accordion.js.map +1 -1
- package/dist/generated/account-list.js +4 -4
- package/dist/generated/account-list.js.map +1 -1
- package/dist/generated/account-settings-dialog.js +6 -2
- package/dist/generated/account-settings-dialog.js.map +1 -1
- package/dist/generated/alert-dialog.js +1 -1
- package/dist/generated/alert-dialog.js.map +1 -1
- package/dist/generated/alert.js +3 -10
- package/dist/generated/alert.js.map +1 -1
- package/dist/generated/aside.js +7 -0
- package/dist/generated/aside.js.map +1 -1
- package/dist/generated/badge.js +2 -11
- package/dist/generated/badge.js.map +1 -1
- package/dist/generated/band.js +10 -10
- package/dist/generated/band.js.map +1 -1
- package/dist/generated/breadcrumb.js +1 -1
- package/dist/generated/breadcrumb.js.map +1 -1
- package/dist/generated/button-group.js +3 -3
- package/dist/generated/button-group.js.map +1 -1
- package/dist/generated/button.js +4 -20
- package/dist/generated/button.js.map +1 -1
- package/dist/generated/calendar.js +5 -5
- package/dist/generated/calendar.js.map +1 -1
- package/dist/generated/card.js +1 -1
- package/dist/generated/card.js.map +1 -1
- package/dist/generated/carousel.js +1 -1
- package/dist/generated/carousel.js.map +1 -1
- package/dist/generated/chat-composer.js +9 -2
- package/dist/generated/chat-composer.js.map +1 -1
- package/dist/generated/chat-message.js +25 -19
- package/dist/generated/chat-message.js.map +1 -1
- package/dist/generated/checkbox.js +1 -1
- package/dist/generated/checkbox.js.map +1 -1
- package/dist/generated/command-palette.js +10 -1
- package/dist/generated/command-palette.js.map +1 -1
- package/dist/generated/command.js +8 -6
- package/dist/generated/command.js.map +1 -1
- package/dist/generated/confirm-dialog.js +8 -8
- package/dist/generated/confirm-dialog.js.map +1 -1
- package/dist/generated/context-menu.js +7 -5
- package/dist/generated/context-menu.js.map +1 -1
- package/dist/generated/copy.js +97 -0
- package/dist/generated/copy.js.map +1 -0
- package/dist/generated/date-time-picker.js +10 -0
- package/dist/generated/date-time-picker.js.map +1 -1
- package/dist/generated/dialog.js +2 -2
- package/dist/generated/dialog.js.map +1 -1
- package/dist/generated/drawer.js +6 -6
- package/dist/generated/drawer.js.map +1 -1
- package/dist/generated/dropdown-menu.js +7 -5
- package/dist/generated/dropdown-menu.js.map +1 -1
- package/dist/generated/empty.js +5 -5
- package/dist/generated/empty.js.map +1 -1
- package/dist/generated/field.js +9 -7
- package/dist/generated/field.js.map +1 -1
- package/dist/generated/footer.js +45 -0
- package/dist/generated/footer.js.map +1 -0
- package/dist/generated/header-controls.js +5 -10
- package/dist/generated/header-controls.js.map +1 -1
- package/dist/generated/hover-card.js +1 -1
- package/dist/generated/hover-card.js.map +1 -1
- package/dist/generated/icon-button.js +4 -2
- package/dist/generated/icon-button.js.map +1 -1
- package/dist/generated/icons.js +36 -0
- package/dist/generated/icons.js.map +1 -0
- package/dist/generated/info-tip.js +5 -0
- package/dist/generated/info-tip.js.map +1 -0
- package/dist/generated/input-group.js +10 -10
- package/dist/generated/input-group.js.map +1 -1
- package/dist/generated/input-otp.js +2 -2
- package/dist/generated/input-otp.js.map +1 -1
- package/dist/generated/input.js +4 -4
- package/dist/generated/input.js.map +1 -1
- package/dist/generated/item.js +11 -11
- package/dist/generated/item.js.map +1 -1
- package/dist/generated/kbd.js +1 -1
- package/dist/generated/kbd.js.map +1 -1
- package/dist/generated/key-value.js +7 -1
- package/dist/generated/key-value.js.map +1 -1
- package/dist/generated/label.js +1 -1
- package/dist/generated/label.js.map +1 -1
- package/dist/generated/logo.js +9 -0
- package/dist/generated/logo.js.map +1 -0
- package/dist/generated/menu.js +7 -0
- package/dist/generated/menu.js.map +1 -0
- package/dist/generated/menubar.js +10 -8
- package/dist/generated/menubar.js.map +1 -1
- package/dist/generated/navigation-menu.js +11 -5
- package/dist/generated/navigation-menu.js.map +1 -1
- package/dist/generated/orientation.js +5 -0
- package/dist/generated/orientation.js.map +1 -0
- package/dist/generated/pagination.js +15 -0
- package/dist/generated/pagination.js.map +1 -0
- package/dist/generated/popover-form.js +5 -0
- package/dist/generated/popover-form.js.map +1 -1
- package/dist/generated/popover.js +1 -1
- package/dist/generated/popover.js.map +1 -1
- package/dist/generated/primitives.js +7 -0
- package/dist/generated/primitives.js.map +1 -0
- package/dist/generated/radio-group.js +5 -1
- package/dist/generated/radio-group.js.map +1 -1
- package/dist/generated/section-descriptor.js +7 -0
- package/dist/generated/section-descriptor.js.map +1 -0
- package/dist/generated/select.js +16 -10
- package/dist/generated/select.js.map +1 -1
- package/dist/generated/settings.js +2 -7
- package/dist/generated/settings.js.map +1 -1
- package/dist/generated/sheet.js +1 -1
- package/dist/generated/sheet.js.map +1 -1
- package/dist/generated/sidebar.js +24 -12
- package/dist/generated/sidebar.js.map +1 -1
- package/dist/generated/size.js +12 -0
- package/dist/generated/size.js.map +1 -0
- package/dist/generated/skeleton.js +1 -1
- package/dist/generated/skeleton.js.map +1 -1
- package/dist/generated/slider.js +2 -2
- package/dist/generated/slider.js.map +1 -1
- package/dist/generated/slot.js +5 -0
- package/dist/generated/slot.js.map +1 -0
- package/dist/generated/smart-header.js +2 -0
- package/dist/generated/smart-header.js.map +1 -1
- package/dist/generated/sonner.js +11 -13
- package/dist/generated/sonner.js.map +1 -1
- package/dist/generated/spinner.js +5 -0
- package/dist/generated/spinner.js.map +1 -0
- package/dist/generated/status-screen.js +27 -0
- package/dist/generated/status-screen.js.map +1 -0
- package/dist/generated/switch.js +2 -2
- package/dist/generated/switch.js.map +1 -1
- package/dist/generated/system-banner.js +6 -16
- package/dist/generated/system-banner.js.map +1 -1
- package/dist/generated/table.js +9 -9
- package/dist/generated/table.js.map +1 -1
- package/dist/generated/tabs.js +2 -2
- package/dist/generated/tabs.js.map +1 -1
- package/dist/generated/textarea.js +1 -1
- package/dist/generated/textarea.js.map +1 -1
- package/dist/generated/toggle-group.js +9 -0
- package/dist/generated/toggle-group.js.map +1 -0
- package/dist/generated/toggle.js +1 -9
- package/dist/generated/toggle.js.map +1 -1
- package/dist/generated/tone.js +12 -0
- package/dist/generated/tone.js.map +1 -0
- package/dist/generated/tooltip.js +1 -1
- package/dist/generated/tooltip.js.map +1 -1
- package/dist/generated/workspace-tab.js +3 -3
- package/dist/generated/workspace-tab.js.map +1 -1
- package/dist/icons/icon-shapes.js +10 -0
- package/dist/icons/icon-shapes.js.map +1 -0
- package/dist/icons/select-chevron.js +2 -1
- package/dist/icons/select-chevron.js.map +1 -1
- package/dist/icons/ui-icons.js +3 -57
- package/dist/icons/ui-icons.js.map +1 -1
- package/dist/index.d.ts +203 -155
- package/dist/index.js +1 -0
- package/dist/lib/cn.js +1 -0
- package/dist/lib/cn.js.map +1 -1
- package/dist/primitives/use-floating.js.map +1 -1
- package/dist/primitives/use-roving-focus.js.map +1 -1
- package/package.json +1 -1
- package/styles/ev.css +13 -76
- package/styles/theme.css +133 -66
- package/styles/tokens.css +157 -149
package/dist/index.d.ts
CHANGED
|
@@ -125,7 +125,11 @@ declare function useDismissableLayer(opts: {
|
|
|
125
125
|
modal?: boolean;
|
|
126
126
|
}): React.RefObject<HTMLDivElement | null>;
|
|
127
127
|
|
|
128
|
-
|
|
128
|
+
declare const SIDES: readonly ["top", "right", "bottom", "left"];
|
|
129
|
+
type Side = (typeof SIDES)[number];
|
|
130
|
+
declare const ROVING_ORIENTATIONS: readonly ["horizontal", "vertical", "both"];
|
|
131
|
+
type RovingOrientation = (typeof ROVING_ORIENTATIONS)[number];
|
|
132
|
+
|
|
129
133
|
type Align = "start" | "center" | "end";
|
|
130
134
|
interface FloatingResult {
|
|
131
135
|
floatingRef: React.RefObject<HTMLElement | null>;
|
|
@@ -235,7 +239,7 @@ declare function usePresence(present: boolean): {
|
|
|
235
239
|
*/
|
|
236
240
|
declare function useRovingFocus(opts: {
|
|
237
241
|
count: number | (() => number);
|
|
238
|
-
orientation?:
|
|
242
|
+
orientation?: RovingOrientation;
|
|
239
243
|
loop?: boolean;
|
|
240
244
|
initial?: number;
|
|
241
245
|
}): {
|
|
@@ -271,18 +275,20 @@ declare function useHoverIntent(opts: {
|
|
|
271
275
|
*/
|
|
272
276
|
declare function mergeRefs<T>(...refs: Array<React.Ref<T> | undefined>): React.RefCallback<T>;
|
|
273
277
|
|
|
274
|
-
declare const
|
|
275
|
-
readonly neutral: "
|
|
276
|
-
readonly
|
|
277
|
-
readonly
|
|
278
|
-
readonly info: "
|
|
278
|
+
declare const toneClasses: {
|
|
279
|
+
readonly neutral: "[--tone-fill:var(--tint-neutral-fill)] [--tone-edge:var(--tint-neutral-edge)] [--tone-wash:var(--tint-neutral-wash)] [--tone-ink:var(--ink)]";
|
|
280
|
+
readonly primary: "[--tone-fill:var(--tint-primary-fill)] [--tone-edge:var(--tint-primary-edge)] [--tone-wash:var(--tint-primary-wash)] [--tone-ink:var(--primary-ink)]";
|
|
281
|
+
readonly positive: "[--tone-fill:var(--tint-positive-fill)] [--tone-edge:var(--tint-positive-edge)] [--tone-wash:var(--tint-positive-wash)] [--tone-ink:var(--positive-ink)]";
|
|
282
|
+
readonly info: "[--tone-fill:var(--tint-info-fill)] [--tone-edge:var(--tint-info-edge)] [--tone-wash:var(--tint-info-wash)] [--tone-ink:var(--accent-info-ink)]";
|
|
283
|
+
readonly warn: "[--tone-fill:var(--tint-warn-fill)] [--tone-edge:var(--tint-warn-edge)] [--tone-wash:var(--tint-warn-wash)] [--tone-ink:var(--accent-warn)]";
|
|
284
|
+
readonly error: "[--tone-fill:var(--tint-error-fill)] [--tone-edge:var(--tint-error-edge)] [--tone-wash:var(--tint-error-wash)] [--tone-ink:var(--accent-error)]";
|
|
279
285
|
};
|
|
280
|
-
type
|
|
286
|
+
type Tone = keyof typeof toneClasses;
|
|
281
287
|
|
|
282
288
|
interface AlertProps extends React.ComponentProps<"div"> {
|
|
283
|
-
|
|
289
|
+
tone?: Tone;
|
|
284
290
|
}
|
|
285
|
-
declare function Alert({ className,
|
|
291
|
+
declare function Alert({ className, tone, ...props }: AlertProps): React.JSX.Element;
|
|
286
292
|
declare function AlertTitle({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
287
293
|
declare function AlertDescription({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
288
294
|
|
|
@@ -290,21 +296,11 @@ declare function Avatar({ className, ...props }: React.ComponentProps<"div">): R
|
|
|
290
296
|
declare function AvatarImage({ className, onError, ...props }: React.ComponentProps<"img">): React.JSX.Element | null;
|
|
291
297
|
declare function AvatarFallback({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
292
298
|
|
|
293
|
-
declare const badgeVariants: {
|
|
294
|
-
readonly neutral: "border-chip-neutral-border bg-chip-neutral-bg text-ink-mid [a&]:hover:bg-active";
|
|
295
|
-
readonly primary: "border-chip-primary-border bg-chip-primary-bg text-primary-ink [a&]:hover:bg-hover";
|
|
296
|
-
readonly positive: "border-chip-positive-border bg-chip-positive-bg text-positive-ink [a&]:hover:bg-hover";
|
|
297
|
-
readonly info: "border-chip-info-border bg-chip-info-bg text-accent-info-ink [a&]:hover:bg-hover";
|
|
298
|
-
readonly warn: "border-chip-warn-border bg-chip-warn-bg text-accent-warn [a&]:hover:bg-hover";
|
|
299
|
-
readonly error: "border-chip-error-border bg-chip-error-bg text-accent-error [a&]:hover:bg-hover";
|
|
300
|
-
};
|
|
301
|
-
type BadgeVariant = keyof typeof badgeVariants;
|
|
302
|
-
|
|
303
299
|
interface BadgeProps extends React.ComponentProps<"span"> {
|
|
304
|
-
|
|
300
|
+
tone?: Tone;
|
|
305
301
|
asChild?: boolean;
|
|
306
302
|
}
|
|
307
|
-
declare function Badge({ className,
|
|
303
|
+
declare function Badge({ className, tone, asChild, ...props }: BadgeProps): React.JSX.Element;
|
|
308
304
|
|
|
309
305
|
declare function Breadcrumb({ ...props }: React.ComponentProps<"nav">): React.JSX.Element;
|
|
310
306
|
declare function BreadcrumbList({ className, ...props }: React.ComponentProps<"ol">): React.JSX.Element;
|
|
@@ -317,6 +313,16 @@ declare function BreadcrumbPage({ className, ...props }: React.ComponentProps<"s
|
|
|
317
313
|
declare function BreadcrumbSeparator({ children, className, ...props }: React.ComponentProps<"li">): React.JSX.Element;
|
|
318
314
|
declare function BreadcrumbEllipsis({ className, ...props }: React.ComponentProps<"span">): React.JSX.Element;
|
|
319
315
|
|
|
316
|
+
declare const sizeClasses: {
|
|
317
|
+
readonly xs: "[--control-box:var(--control-h-xs)] [--control-pad:var(--control-inset-xs)] text-xs";
|
|
318
|
+
readonly sm: "[--control-box:var(--control-h-sm)] [--control-pad:var(--control-inset-sm)] text-sm";
|
|
319
|
+
readonly md: "[--control-box:var(--control-h-md)] [--control-pad:var(--control-inset-md)] text-sm";
|
|
320
|
+
readonly lg: "[--control-box:var(--control-h-lg)] [--control-pad:var(--control-inset-lg)] text-base";
|
|
321
|
+
readonly xl: "[--control-box:var(--control-h-xl)] [--control-pad:var(--control-inset-xl)] text-[length:var(--control-text)]";
|
|
322
|
+
readonly touch: "[--control-box:var(--control-h-touch)] [--control-pad:var(--control-inset-touch)] text-base";
|
|
323
|
+
};
|
|
324
|
+
type Size = keyof typeof sizeClasses;
|
|
325
|
+
|
|
320
326
|
declare const accentTextClasses: {
|
|
321
327
|
readonly trace: "text-accent-trace";
|
|
322
328
|
readonly debug: "text-accent-debug";
|
|
@@ -328,22 +334,15 @@ type Accent = keyof typeof accentTextClasses;
|
|
|
328
334
|
|
|
329
335
|
declare const buttonVariantClasses: {
|
|
330
336
|
readonly primary: "bg-primary text-on-primary hover:bg-primary-hover focus-visible:ring-0 focus-visible:outline-solid focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ring";
|
|
331
|
-
readonly secondary: "bg-secondary text-on-secondary hover:bg-
|
|
337
|
+
readonly secondary: "bg-secondary text-on-secondary hover:bg-[image:linear-gradient(var(--hover),var(--hover))] focus-visible:ring-0 focus-visible:outline-solid focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ring";
|
|
332
338
|
readonly outline: "border border-border bg-secondary text-ink hover:bg-[image:linear-gradient(var(--hover),var(--hover))]";
|
|
333
339
|
readonly ghost: "hover:bg-hover hover:text-ink";
|
|
334
340
|
readonly destructive: "border border-button-danger-border bg-button-danger-bg text-button-danger-ink hover:bg-button-danger-hover focus-visible:ring-0 focus-visible:outline-solid focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ring";
|
|
335
341
|
readonly link: "text-primary-ink underline-offset-4 hover:underline";
|
|
336
342
|
};
|
|
337
343
|
type ButtonVariant = keyof typeof buttonVariantClasses;
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
readonly sm: "h-8 gap-1.5 px-3 has-[>svg]:px-2.5";
|
|
341
|
-
readonly md: "h-9 px-4 py-[var(--control-py)] has-[>svg]:px-3";
|
|
342
|
-
readonly lg: "h-10 px-6 has-[>svg]:px-4";
|
|
343
|
-
readonly xl: "px-[var(--control-px)] py-[var(--control-py)] text-[length:var(--control-text)]";
|
|
344
|
-
readonly touch: "min-h-11 px-6 has-[>svg]:px-4";
|
|
345
|
-
};
|
|
346
|
-
type ButtonSize = keyof typeof buttonSizeClasses;
|
|
344
|
+
|
|
345
|
+
type ButtonSize = Size;
|
|
347
346
|
|
|
348
347
|
interface ButtonVariantsOptions {
|
|
349
348
|
variant?: ButtonVariant;
|
|
@@ -400,7 +399,7 @@ declare function CardFooter({ className, ...props }: React.ComponentProps<"div">
|
|
|
400
399
|
|
|
401
400
|
declare const emptyMediaVariants: {
|
|
402
401
|
readonly bare: "bg-transparent";
|
|
403
|
-
readonly icon: "bg-muted text-ink flex size-10 shrink-0 items-center justify-center rounded-
|
|
402
|
+
readonly icon: "bg-muted text-ink flex size-10 shrink-0 items-center justify-center rounded-control [&_svg:not([class*='size-'])]:size-6";
|
|
404
403
|
};
|
|
405
404
|
type EmptyMediaVariant = keyof typeof emptyMediaVariants;
|
|
406
405
|
|
|
@@ -433,10 +432,12 @@ declare const fieldOrientation: {
|
|
|
433
432
|
readonly responsive: "flex-col [&>*]:w-full [&>.sr-only]:w-auto @md/field-group:flex-row @md/field-group:items-center @md/field-group:[&>*]:w-auto @md/field-group:[&>[data-slot=field-label]]:flex-auto @md/field-group:has-[>[data-slot=field-content]]:items-start @md/field-group:has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px";
|
|
434
433
|
};
|
|
435
434
|
type FieldOrientation = keyof typeof fieldOrientation;
|
|
435
|
+
declare const FIELD_LEGEND_VARIANTS: readonly ["legend", "label"];
|
|
436
|
+
type FieldLegendVariant = (typeof FIELD_LEGEND_VARIANTS)[number];
|
|
436
437
|
|
|
437
438
|
declare function FieldSet({ className, ...props }: React.ComponentProps<"fieldset">): React.JSX.Element;
|
|
438
439
|
declare function FieldLegend({ className, variant, ...props }: React.ComponentProps<"legend"> & {
|
|
439
|
-
variant?:
|
|
440
|
+
variant?: FieldLegendVariant;
|
|
440
441
|
}): React.JSX.Element;
|
|
441
442
|
declare function FieldGroup({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
442
443
|
/**
|
|
@@ -487,30 +488,27 @@ interface SectionDescriptorProps extends Omit<React.ComponentProps<"section">, "
|
|
|
487
488
|
declare function SectionDescriptor({ title, icon, collapsible, defaultOpen, className, children, ...props }: SectionDescriptorProps): React.JSX.Element;
|
|
488
489
|
|
|
489
490
|
/**
|
|
490
|
-
* A
|
|
491
|
-
* newsletter 2 — with the legal links and copyright line. On mobile the sitemap
|
|
492
|
-
* columns sit side by side. The kit brings no content of its own: every string,
|
|
493
|
-
* the mark and the lock-up are the caller's, and each column renders only when
|
|
494
|
-
* it has something in it. `children` render right after the `<footer>` tag —
|
|
495
|
-
* the slot for app-side extras like a build-version easter egg.
|
|
496
|
-
*
|
|
497
|
-
* The lock-up is either composed from `mark` + `brand` + `tagline`, or handed
|
|
498
|
-
* over whole as `lockup` when a brand's arrangement is not that one.
|
|
499
|
-
*
|
|
500
|
-
* `linkComponent` lets Next hosts pass `next/link`; everyone else gets `<a>`.
|
|
491
|
+
* A footer sitemap link.
|
|
501
492
|
*/
|
|
502
|
-
|
|
493
|
+
type FooterLink = {
|
|
503
494
|
label: string;
|
|
504
495
|
href: string;
|
|
505
|
-
}
|
|
506
|
-
|
|
496
|
+
};
|
|
497
|
+
/**
|
|
498
|
+
* A footer sitemap column: a heading over its links. Each renders `lg:col-span-2`.
|
|
499
|
+
*/
|
|
500
|
+
type FooterLinkGroup = {
|
|
507
501
|
heading: string;
|
|
508
502
|
links: readonly FooterLink[];
|
|
509
|
-
}
|
|
510
|
-
|
|
503
|
+
};
|
|
504
|
+
/**
|
|
505
|
+
* An office entry in the footer's offices column.
|
|
506
|
+
*/
|
|
507
|
+
type FooterOffice = {
|
|
511
508
|
name: string;
|
|
512
509
|
address: string;
|
|
513
|
-
}
|
|
510
|
+
};
|
|
511
|
+
|
|
514
512
|
interface FooterProps {
|
|
515
513
|
/** The whole lock-up; replaces the one `mark` + `brand` + `tagline` compose. */
|
|
516
514
|
lockup?: React.ReactNode;
|
|
@@ -534,12 +532,25 @@ interface FooterProps {
|
|
|
534
532
|
linkComponent?: React.ElementType;
|
|
535
533
|
children?: React.ReactNode;
|
|
536
534
|
}
|
|
535
|
+
/**
|
|
536
|
+
* A 12-col footer grid — brand 3 | sitemap groups 2 each | offices 3 |
|
|
537
|
+
* newsletter 2 — with the legal links and copyright line. On mobile the sitemap
|
|
538
|
+
* columns sit side by side. The kit brings no content of its own: every string,
|
|
539
|
+
* the mark and the lock-up are the caller's, and each column renders only when
|
|
540
|
+
* it has something in it. `children` render right after the `<footer>` tag —
|
|
541
|
+
* the slot for app-side extras like a build-version easter egg.
|
|
542
|
+
*
|
|
543
|
+
* The lock-up is either composed from `mark` + `brand` + `tagline`, or handed
|
|
544
|
+
* over whole as `lockup` when a brand's arrangement is not that one.
|
|
545
|
+
*
|
|
546
|
+
* `linkComponent` lets Next hosts pass `next/link`; everyone else gets `<a>`.
|
|
547
|
+
*/
|
|
537
548
|
declare function Footer({ lockup, brand, mark, tagline, description, copyright, nav, offices, officesHeading, legalLinks, newsletter, newsletterHeading, newsletterBlurb, version, commitHref, linkComponent, children, }: FooterProps): React.JSX.Element;
|
|
538
549
|
|
|
539
550
|
declare const inputSizeClasses: {
|
|
540
|
-
readonly sm: "h-
|
|
541
|
-
readonly md: "h-
|
|
542
|
-
readonly lg: "h-
|
|
551
|
+
readonly sm: "h-(--control-h-sm)";
|
|
552
|
+
readonly md: "h-(--control-h-md)";
|
|
553
|
+
readonly lg: "h-(--control-h-xl) px-(--control-inset-md) text-base md:text-base file:h-(--control-h-md)";
|
|
543
554
|
};
|
|
544
555
|
type InputSize = keyof typeof inputSizeClasses;
|
|
545
556
|
|
|
@@ -590,10 +601,10 @@ declare const inputGroupAddonAligns: {
|
|
|
590
601
|
};
|
|
591
602
|
type InputGroupAddonAlign = keyof typeof inputGroupAddonAligns;
|
|
592
603
|
declare const inputGroupButtonSizes: {
|
|
593
|
-
readonly xs: "
|
|
594
|
-
readonly sm: "h-
|
|
595
|
-
readonly "icon-xs": "
|
|
596
|
-
readonly "icon-sm": "
|
|
604
|
+
readonly xs: "[--control-box:var(--control-h-2xs)] [--control-pad:var(--control-inset-xs)] rounded-control [&>svg:not([class*='size-'])]:size-3.5";
|
|
605
|
+
readonly sm: "[--control-box:var(--control-h-sm)] [--control-pad:var(--control-inset-sm)] rounded-control";
|
|
606
|
+
readonly "icon-xs": "[--control-box:var(--control-h-2xs)] aspect-square rounded-control [--control-pad:0px]";
|
|
607
|
+
readonly "icon-sm": "[--control-box:var(--control-h-sm)] aspect-square [--control-pad:0px]";
|
|
597
608
|
};
|
|
598
609
|
type InputGroupButtonSize = keyof typeof inputGroupButtonSizes;
|
|
599
610
|
|
|
@@ -624,7 +635,7 @@ declare function Separator({ className, orientation, ...props }: SeparatorProps)
|
|
|
624
635
|
declare const itemVariants: {
|
|
625
636
|
readonly bare: "bg-transparent";
|
|
626
637
|
readonly outline: "border-border";
|
|
627
|
-
readonly muted: "bg-muted
|
|
638
|
+
readonly muted: "bg-muted";
|
|
628
639
|
};
|
|
629
640
|
type ItemVariant = keyof typeof itemVariants;
|
|
630
641
|
declare const itemSizes: {
|
|
@@ -634,8 +645,8 @@ declare const itemSizes: {
|
|
|
634
645
|
type ItemSize = keyof typeof itemSizes;
|
|
635
646
|
declare const itemMediaVariants: {
|
|
636
647
|
readonly bare: "bg-transparent";
|
|
637
|
-
readonly icon: "size-8 border border-border rounded-
|
|
638
|
-
readonly image: "size-10 rounded-
|
|
648
|
+
readonly icon: "size-8 border border-border rounded-control bg-muted [&_svg:not([class*='size-'])]:size-4";
|
|
649
|
+
readonly image: "size-10 rounded-control overflow-hidden [&_img]:size-full [&_img]:object-cover";
|
|
639
650
|
};
|
|
640
651
|
type ItemMediaVariant = keyof typeof itemMediaVariants;
|
|
641
652
|
|
|
@@ -724,7 +735,7 @@ declare function StatusScreen({ accent, eyebrow, code, headlineLead, headlineAcc
|
|
|
724
735
|
interface StatusPageProps {
|
|
725
736
|
/** CTA element — `next/link` for soft nav; defaults to `<a>` (full load). */
|
|
726
737
|
linkComponent?: React.ElementType;
|
|
727
|
-
/**
|
|
738
|
+
/** copy.STATUS_HOME target — `/` for the landing, `/cabinet` for the cabinet. */
|
|
728
739
|
homeHref?: string;
|
|
729
740
|
/** Secondary CTA target (contact / request access). */
|
|
730
741
|
contactHref?: string;
|
|
@@ -736,7 +747,7 @@ declare function Forbidden({ linkComponent, homeHref, contactHref }: StatusPageP
|
|
|
736
747
|
interface ServerErrorProps {
|
|
737
748
|
/** CTA element — `next/link` for soft nav; defaults to `<a>` (full load). */
|
|
738
749
|
linkComponent?: React.ElementType;
|
|
739
|
-
/**
|
|
750
|
+
/** copy.STATUS_HOME target — `/` for the landing, `/cabinet` for the cabinet. */
|
|
740
751
|
homeHref?: string;
|
|
741
752
|
/** Retry handler (e.g. Next's error-boundary `reset`); falls back to a reload. */
|
|
742
753
|
reset?: () => void;
|
|
@@ -751,7 +762,7 @@ declare const tableVariants: {
|
|
|
751
762
|
type TableVariant = keyof typeof tableVariants;
|
|
752
763
|
declare const tableDensities: {
|
|
753
764
|
readonly default: "[--table-dense-py:initial] [--table-head-h:initial]";
|
|
754
|
-
readonly compact: "[--table-dense-py:calc(var(--spacing)*1.5)] [--table-head-h:
|
|
765
|
+
readonly compact: "[--table-dense-py:calc(var(--spacing)*1.5)] [--table-head-h:var(--control-h-sm)]";
|
|
755
766
|
};
|
|
756
767
|
type TableDensity = keyof typeof tableDensities;
|
|
757
768
|
declare const tableAligns: {
|
|
@@ -812,7 +823,9 @@ declare function ListRowLabel({ description, className, children, ...props }: Li
|
|
|
812
823
|
*/
|
|
813
824
|
declare function ListRowValue({ className, ...props }: React.ComponentProps<"span">): React.JSX.Element;
|
|
814
825
|
|
|
815
|
-
|
|
826
|
+
declare const ACCORDION_TYPES: readonly ["single", "multiple"];
|
|
827
|
+
type AccordionType = (typeof ACCORDION_TYPES)[number];
|
|
828
|
+
|
|
816
829
|
interface AccordionProps extends Omit<React.ComponentProps<"div">, "onChange"> {
|
|
817
830
|
type?: AccordionType;
|
|
818
831
|
collapsible?: boolean;
|
|
@@ -903,12 +916,14 @@ declare function Stat({ figure, label, className, ...props }: StatProps): React.
|
|
|
903
916
|
*/
|
|
904
917
|
declare function Check({ className, ...props }: React.ComponentProps<"span">): React.JSX.Element;
|
|
905
918
|
|
|
906
|
-
|
|
919
|
+
declare const ORIENTATIONS: readonly ["horizontal", "vertical"];
|
|
920
|
+
type Orientation = (typeof ORIENTATIONS)[number];
|
|
921
|
+
|
|
907
922
|
interface TabsProps extends Omit<React.ComponentProps<"div">, "onChange"> {
|
|
908
923
|
value?: string;
|
|
909
924
|
defaultValue?: string;
|
|
910
925
|
onValueChange?: (value: string) => void;
|
|
911
|
-
orientation?:
|
|
926
|
+
orientation?: Orientation;
|
|
912
927
|
}
|
|
913
928
|
declare function Tabs({ className, value, defaultValue, onValueChange, orientation, children, ...props }: TabsProps): React.JSX.Element;
|
|
914
929
|
declare function TabsList({ className, children, onKeyDown, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
@@ -931,14 +946,8 @@ declare const toggleVariantClasses: {
|
|
|
931
946
|
readonly outline: "border border-input bg-transparent shadow-xs hover:bg-hover hover:text-ink data-[state=on]:border-primary";
|
|
932
947
|
};
|
|
933
948
|
type ToggleVariant = keyof typeof toggleVariantClasses;
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
readonly xs: "h-7 px-1 min-w-7";
|
|
937
|
-
readonly sm: "h-8 px-1.5 min-w-8";
|
|
938
|
-
readonly lg: "h-10 px-2.5 min-w-10";
|
|
939
|
-
readonly xl: "h-12 px-3 min-w-12";
|
|
940
|
-
};
|
|
941
|
-
type ToggleSize = keyof typeof toggleSizeClasses;
|
|
949
|
+
|
|
950
|
+
type ToggleSize = Size;
|
|
942
951
|
|
|
943
952
|
interface ToggleVariantsOptions {
|
|
944
953
|
variant?: ToggleVariant;
|
|
@@ -959,10 +968,13 @@ interface ToggleProps extends Omit<React.ComponentProps<"button">, "onChange"> {
|
|
|
959
968
|
}
|
|
960
969
|
declare function Toggle({ className, variant, size, pressed, defaultPressed, onPressedChange, onClick, ...props }: ToggleProps): React.JSX.Element;
|
|
961
970
|
|
|
971
|
+
declare const TOGGLE_GROUP_TYPES: readonly ["single", "multiple"];
|
|
972
|
+
type ToggleGroupType = (typeof TOGGLE_GROUP_TYPES)[number];
|
|
973
|
+
|
|
962
974
|
interface ToggleGroupProps extends Omit<React.ComponentProps<"div">, "onChange"> {
|
|
963
975
|
variant?: ToggleVariant;
|
|
964
976
|
size?: ToggleSize;
|
|
965
|
-
type?:
|
|
977
|
+
type?: ToggleGroupType;
|
|
966
978
|
value?: string | string[];
|
|
967
979
|
defaultValue?: string | string[];
|
|
968
980
|
onValueChange?: (value: string | string[]) => void;
|
|
@@ -1000,7 +1012,6 @@ interface RadioGroupItemProps extends Omit<React.ComponentProps<"button">, "valu
|
|
|
1000
1012
|
}
|
|
1001
1013
|
declare function RadioGroupItem({ className, value, disabled, onClick, ...props }: RadioGroupItemProps): React.JSX.Element;
|
|
1002
1014
|
|
|
1003
|
-
type Orientation = "horizontal" | "vertical";
|
|
1004
1015
|
interface SliderProps extends Omit<React.ComponentProps<"span">, "defaultValue" | "onChange"> {
|
|
1005
1016
|
value?: number;
|
|
1006
1017
|
defaultValue?: number;
|
|
@@ -1025,10 +1036,16 @@ interface ScrollBarProps extends React.ComponentProps<"div"> {
|
|
|
1025
1036
|
}
|
|
1026
1037
|
declare function ScrollBar({ className, orientation, ...props }: ScrollBarProps): React.JSX.Element;
|
|
1027
1038
|
|
|
1039
|
+
declare const SIDEBAR_SIDES: readonly ["left", "right"];
|
|
1040
|
+
type SidebarSide = (typeof SIDEBAR_SIDES)[number];
|
|
1041
|
+
declare const SIDEBAR_VARIANTS: readonly ["sidebar", "floating", "inset"];
|
|
1042
|
+
type SidebarVariant = (typeof SIDEBAR_VARIANTS)[number];
|
|
1043
|
+
declare const SIDEBAR_COLLAPSIBLES: readonly ["offcanvas", "icon", "none"];
|
|
1044
|
+
type SidebarCollapsible = (typeof SIDEBAR_COLLAPSIBLES)[number];
|
|
1028
1045
|
declare const sidebarMenuButtonSizeClasses: {
|
|
1029
|
-
readonly xs: "h-
|
|
1030
|
-
readonly sm: "h-
|
|
1031
|
-
readonly lg: "h-
|
|
1046
|
+
readonly xs: "h-(--control-h-xs) text-xs";
|
|
1047
|
+
readonly sm: "h-(--control-h-sm) text-sm";
|
|
1048
|
+
readonly lg: "h-(--control-h-xl) text-sm group-data-[collapsible=icon]:p-0!";
|
|
1032
1049
|
};
|
|
1033
1050
|
type SidebarMenuButtonSize = keyof typeof sidebarMenuButtonSizeClasses;
|
|
1034
1051
|
|
|
@@ -1046,9 +1063,9 @@ interface SidebarProviderProps extends React.ComponentProps<"div"> {
|
|
|
1046
1063
|
}
|
|
1047
1064
|
declare function SidebarProvider({ defaultOpen, open: openProp, onOpenChange, className, style, children, ...props }: SidebarProviderProps): React.JSX.Element;
|
|
1048
1065
|
interface SidebarProps extends React.ComponentProps<"div"> {
|
|
1049
|
-
side?:
|
|
1050
|
-
variant?:
|
|
1051
|
-
collapsible?:
|
|
1066
|
+
side?: SidebarSide;
|
|
1067
|
+
variant?: SidebarVariant;
|
|
1068
|
+
collapsible?: SidebarCollapsible;
|
|
1052
1069
|
}
|
|
1053
1070
|
declare function Sidebar({ side, variant, collapsible, className, children, ...props }: SidebarProps): React.JSX.Element;
|
|
1054
1071
|
declare function SidebarTrigger({ className, onClick, children, ...props }: React.ComponentProps<"button">): React.JSX.Element;
|
|
@@ -1074,9 +1091,8 @@ interface SidebarMenuButtonProps extends React.ComponentProps<"button"> {
|
|
|
1074
1091
|
}
|
|
1075
1092
|
declare function SidebarMenuButton({ asChild, isActive, variant, size, className, ...props }: SidebarMenuButtonProps): React.JSX.Element;
|
|
1076
1093
|
|
|
1077
|
-
type CarouselOrientation = "horizontal" | "vertical";
|
|
1078
1094
|
interface CarouselProps extends React.ComponentProps<"div"> {
|
|
1079
|
-
orientation?:
|
|
1095
|
+
orientation?: Orientation;
|
|
1080
1096
|
index?: number;
|
|
1081
1097
|
defaultIndex?: number;
|
|
1082
1098
|
onIndexChange?: (index: number) => void;
|
|
@@ -1127,7 +1143,7 @@ interface TooltipTriggerProps extends React.ComponentProps<"button"> {
|
|
|
1127
1143
|
}
|
|
1128
1144
|
declare function TooltipTrigger({ asChild, onPointerEnter, onPointerLeave, onFocus, onBlur, ...props }: TooltipTriggerProps): React.JSX.Element;
|
|
1129
1145
|
interface TooltipContentProps extends React.ComponentProps<"div"> {
|
|
1130
|
-
side?:
|
|
1146
|
+
side?: Side;
|
|
1131
1147
|
sideOffset?: number;
|
|
1132
1148
|
}
|
|
1133
1149
|
declare function TooltipContent({ className, side: sideProp, sideOffset, children, ...props }: TooltipContentProps): React.JSX.Element | null;
|
|
@@ -1148,7 +1164,7 @@ interface PopoverAnchorProps extends React.ComponentProps<"div"> {
|
|
|
1148
1164
|
}
|
|
1149
1165
|
declare function PopoverAnchor({ asChild, ...props }: PopoverAnchorProps): React.JSX.Element;
|
|
1150
1166
|
interface PopoverContentProps extends React.ComponentProps<"div"> {
|
|
1151
|
-
side?:
|
|
1167
|
+
side?: Side;
|
|
1152
1168
|
align?: "start" | "center" | "end";
|
|
1153
1169
|
sideOffset?: number;
|
|
1154
1170
|
/** Where focus lands on open. Default `first` (e.g. a `Command` search input). */
|
|
@@ -1172,7 +1188,7 @@ interface InfoTipTriggerProps extends React.ComponentProps<"button"> {
|
|
|
1172
1188
|
}
|
|
1173
1189
|
declare function InfoTipTrigger({ asChild, label, hoverDelay, className, onClick, onBlur, onPointerEnter, onPointerLeave, children, ...props }: InfoTipTriggerProps): React.JSX.Element;
|
|
1174
1190
|
interface InfoTipContentProps extends React.ComponentProps<"div"> {
|
|
1175
|
-
side?:
|
|
1191
|
+
side?: Side;
|
|
1176
1192
|
align?: "start" | "center" | "end";
|
|
1177
1193
|
sideOffset?: number;
|
|
1178
1194
|
}
|
|
@@ -1190,12 +1206,15 @@ interface HoverCardTriggerProps extends React.ComponentProps<"a"> {
|
|
|
1190
1206
|
}
|
|
1191
1207
|
declare function HoverCardTrigger({ asChild, onPointerEnter, onPointerLeave, ...props }: HoverCardTriggerProps): React.JSX.Element;
|
|
1192
1208
|
interface HoverCardContentProps extends React.ComponentProps<"div"> {
|
|
1193
|
-
side?:
|
|
1209
|
+
side?: Side;
|
|
1194
1210
|
align?: "start" | "center" | "end";
|
|
1195
1211
|
sideOffset?: number;
|
|
1196
1212
|
}
|
|
1197
1213
|
declare function HoverCardContent({ className, side: sideProp, align, sideOffset, children, ...props }: HoverCardContentProps): React.JSX.Element | null;
|
|
1198
1214
|
|
|
1215
|
+
declare const MENU_ITEM_VARIANTS: readonly ["neutral", "destructive"];
|
|
1216
|
+
type MenuItemVariant = (typeof MENU_ITEM_VARIANTS)[number];
|
|
1217
|
+
|
|
1199
1218
|
interface DropdownMenuProps {
|
|
1200
1219
|
open?: boolean;
|
|
1201
1220
|
defaultOpen?: boolean;
|
|
@@ -1220,7 +1239,7 @@ interface DropdownMenuItemProps extends React.ComponentProps<"div"> {
|
|
|
1220
1239
|
/** Render the child (a link) as the item. */
|
|
1221
1240
|
asChild?: boolean;
|
|
1222
1241
|
inset?: boolean;
|
|
1223
|
-
variant?:
|
|
1242
|
+
variant?: MenuItemVariant;
|
|
1224
1243
|
disabled?: boolean;
|
|
1225
1244
|
}
|
|
1226
1245
|
declare function DropdownMenuItem({ asChild, className, inset, variant, disabled, onClick, onKeyDown, ...props }: DropdownMenuItemProps): React.JSX.Element;
|
|
@@ -1276,7 +1295,7 @@ declare function ContextMenuGroup({ className, ...props }: React.ComponentProps<
|
|
|
1276
1295
|
declare function ContextMenuContent({ className, children, ...props }: React.ComponentProps<"div">): React.JSX.Element | null;
|
|
1277
1296
|
interface ContextMenuItemProps extends React.ComponentProps<"div"> {
|
|
1278
1297
|
inset?: boolean;
|
|
1279
|
-
variant?:
|
|
1298
|
+
variant?: MenuItemVariant;
|
|
1280
1299
|
disabled?: boolean;
|
|
1281
1300
|
}
|
|
1282
1301
|
declare function ContextMenuItem({ className, inset, variant, disabled, onClick, onKeyDown, ...props }: ContextMenuItemProps): React.JSX.Element;
|
|
@@ -1329,7 +1348,7 @@ declare function MenubarContent({ className, children, align, ...props }: React.
|
|
|
1329
1348
|
declare function MenubarGroup({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
1330
1349
|
declare function MenubarItem({ className, inset, variant, ...props }: React.ComponentProps<"div"> & {
|
|
1331
1350
|
inset?: boolean;
|
|
1332
|
-
variant?:
|
|
1351
|
+
variant?: MenuItemVariant;
|
|
1333
1352
|
}): React.JSX.Element;
|
|
1334
1353
|
declare function MenubarCheckboxItem({ className, children, checked, ...props }: React.ComponentProps<"div"> & {
|
|
1335
1354
|
checked?: boolean;
|
|
@@ -1462,7 +1481,7 @@ interface SheetOverlayProps extends React.ComponentProps<"div"> {
|
|
|
1462
1481
|
}
|
|
1463
1482
|
declare function SheetOverlay({ className, ...props }: SheetOverlayProps): React.JSX.Element;
|
|
1464
1483
|
interface SheetContentProps extends React.ComponentProps<"div"> {
|
|
1465
|
-
side?:
|
|
1484
|
+
side?: Side;
|
|
1466
1485
|
/**
|
|
1467
1486
|
* Where focus lands on open. Default `container`: a sheet is a panel of
|
|
1468
1487
|
* content, and its first Tab stop is as likely an action as a field — the
|
|
@@ -1481,8 +1500,8 @@ declare function SheetTitle({ className, ...props }: React.ComponentProps<"h2">)
|
|
|
1481
1500
|
declare function SheetDescription({ className, ...props }: React.ComponentProps<"p">): React.JSX.Element;
|
|
1482
1501
|
|
|
1483
1502
|
declare const drawerDirectionClasses: {
|
|
1484
|
-
readonly bottom: "inset-x-0 bottom-0 mt-24 max-h-[80vh] flex-col rounded-t-
|
|
1485
|
-
readonly top: "inset-x-0 top-0 mb-24 max-h-[80vh] flex-col rounded-b-
|
|
1503
|
+
readonly bottom: "inset-x-0 bottom-0 mt-24 max-h-[80vh] flex-col rounded-t-panel border-b-0";
|
|
1504
|
+
readonly top: "inset-x-0 top-0 mb-24 max-h-[80vh] flex-col rounded-b-panel border-t-0";
|
|
1486
1505
|
readonly left: "inset-y-0 left-0 w-3/4 flex-row border-r sm:max-w-sm";
|
|
1487
1506
|
readonly right: "inset-y-0 right-0 w-3/4 flex-row border-l sm:max-w-sm";
|
|
1488
1507
|
};
|
|
@@ -1525,15 +1544,15 @@ declare function DrawerTitle({ className, ...props }: React.ComponentProps<"div"
|
|
|
1525
1544
|
declare function DrawerDescription({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
1526
1545
|
|
|
1527
1546
|
declare const selectTriggerSizeClasses: {
|
|
1528
|
-
readonly sm: "h-
|
|
1529
|
-
readonly md: "h-
|
|
1530
|
-
readonly lg: "h-
|
|
1547
|
+
readonly sm: "h-(--control-h-sm)";
|
|
1548
|
+
readonly md: "h-(--control-h-md)";
|
|
1549
|
+
readonly lg: "h-(--control-h-xl) px-(--control-inset-md) text-base";
|
|
1531
1550
|
};
|
|
1532
1551
|
type SelectTriggerSize = keyof typeof selectTriggerSizeClasses;
|
|
1533
1552
|
declare const nativeSelectSizeClasses: {
|
|
1534
|
-
readonly sm: "h-
|
|
1535
|
-
readonly md: "h-
|
|
1536
|
-
readonly lg: "h-
|
|
1553
|
+
readonly sm: "h-(--control-h-2xs)";
|
|
1554
|
+
readonly md: "h-(--control-h-xs)";
|
|
1555
|
+
readonly lg: "h-(--control-h-touch) pr-11 pl-3 text-base pointer-fine:text-base";
|
|
1537
1556
|
};
|
|
1538
1557
|
type NativeSelectSize = keyof typeof nativeSelectSizeClasses;
|
|
1539
1558
|
|
|
@@ -1564,7 +1583,7 @@ interface SelectValueProps extends React.ComponentProps<"span"> {
|
|
|
1564
1583
|
*/
|
|
1565
1584
|
declare function SelectValue({ className, placeholder, children, ...props }: SelectValueProps): React.JSX.Element;
|
|
1566
1585
|
interface SelectContentProps extends React.ComponentProps<"div"> {
|
|
1567
|
-
side?:
|
|
1586
|
+
side?: Side;
|
|
1568
1587
|
align?: "start" | "center" | "end";
|
|
1569
1588
|
sideOffset?: number;
|
|
1570
1589
|
}
|
|
@@ -1746,14 +1765,6 @@ interface DateTimePickerProps extends React.AriaAttributes, Pick<React.Component
|
|
|
1746
1765
|
*/
|
|
1747
1766
|
declare function DateTimePicker({ value: valueProp, defaultValue, onChange, min, max, locale, format, placeholder, labels, disabled, name, today, open, defaultOpen, onOpenChange, align, className, id, ...rest }: DateTimePickerProps): React.JSX.Element;
|
|
1748
1767
|
|
|
1749
|
-
declare const toastVariantClasses: {
|
|
1750
|
-
readonly neutral: "bg-popover text-ink border-border";
|
|
1751
|
-
readonly positive: "bg-popover text-ink border-chip-positive-border";
|
|
1752
|
-
readonly info: "bg-popover text-ink border-chip-info-border";
|
|
1753
|
-
readonly warn: "bg-popover text-ink border-accent-warn/50";
|
|
1754
|
-
readonly error: "bg-popover text-ink border-accent-error/50";
|
|
1755
|
-
};
|
|
1756
|
-
type ToastVariant = keyof typeof toastVariantClasses;
|
|
1757
1768
|
declare const positionClasses: {
|
|
1758
1769
|
readonly "top-left": "top-4 left-4";
|
|
1759
1770
|
readonly "top-center": "top-4 left-1/2 -translate-x-1/2";
|
|
@@ -1779,14 +1790,14 @@ interface ToastOptions {
|
|
|
1779
1790
|
* `toast.dismiss(id)` removes it. Hovering the stack also pauses the countdown.
|
|
1780
1791
|
*/
|
|
1781
1792
|
duration?: number;
|
|
1782
|
-
|
|
1793
|
+
tone?: Tone;
|
|
1783
1794
|
}
|
|
1784
1795
|
interface Toast {
|
|
1785
1796
|
id: number;
|
|
1786
1797
|
message: React.ReactNode;
|
|
1787
1798
|
description?: React.ReactNode;
|
|
1788
1799
|
duration: number;
|
|
1789
|
-
|
|
1800
|
+
tone: Tone;
|
|
1790
1801
|
state: ToastState;
|
|
1791
1802
|
}
|
|
1792
1803
|
interface ToastFn {
|
|
@@ -1799,7 +1810,7 @@ interface ToastFn {
|
|
|
1799
1810
|
}
|
|
1800
1811
|
/**
|
|
1801
1812
|
* Global toast handle. `toast(msg)` enqueues a neutral toast; the `.positive`,
|
|
1802
|
-
* `.error`, `.info` and `.warn` helpers pin the
|
|
1813
|
+
* `.error`, `.info` and `.warn` helpers pin the tone; `toast.dismiss(id)`
|
|
1803
1814
|
* removes one early. Mirrors Rust's `use_toaster()` handle methods.
|
|
1804
1815
|
*/
|
|
1805
1816
|
declare const toast: ToastFn;
|
|
@@ -2085,6 +2096,58 @@ interface BottomTabBarProps extends Omit<React.ComponentProps<"nav">, "children"
|
|
|
2085
2096
|
*/
|
|
2086
2097
|
declare function BottomTabBar({ items, pathname, linkComponent, onItemIntent, onNavigate, labels, className, ...props }: BottomTabBarProps): React.JSX.Element;
|
|
2087
2098
|
|
|
2099
|
+
type Letter = "A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "J" | "K" | "L" | "M" | "N" | "O" | "P" | "Q" | "R" | "S" | "T" | "U" | "V" | "W" | "X" | "Y" | "Z";
|
|
2100
|
+
type Digit = "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9";
|
|
2101
|
+
type HotbarKey = Letter | Digit;
|
|
2102
|
+
interface HotbarAction {
|
|
2103
|
+
id: string;
|
|
2104
|
+
label: string;
|
|
2105
|
+
icon: React.ComponentType<{
|
|
2106
|
+
className?: string;
|
|
2107
|
+
}>;
|
|
2108
|
+
/** `"N"` alone, or `"mod+K"` — ⌘ on Apple, Ctrl elsewhere. Shown in a `Kbd` and bound while the bar is mounted, pinned or not. */
|
|
2109
|
+
shortcut?: HotbarKey | `mod+${HotbarKey}`;
|
|
2110
|
+
onSelect: () => void;
|
|
2111
|
+
/** A toggle that is on — the agent connected, a map layer shown. The app owns the state. */
|
|
2112
|
+
pressed?: boolean;
|
|
2113
|
+
/** `false` lists it only under Customize until the user pins it. Default pinned. */
|
|
2114
|
+
pinned?: boolean;
|
|
2115
|
+
}
|
|
2116
|
+
interface HotbarLabels {
|
|
2117
|
+
/** Accessible name of the strip. Default `"Hotbar"`. */
|
|
2118
|
+
region?: string;
|
|
2119
|
+
/** The customize button. Default `"Customize"`. */
|
|
2120
|
+
customize?: string;
|
|
2121
|
+
/** Default `"Customize hotbar"`. */
|
|
2122
|
+
title?: string;
|
|
2123
|
+
/** Default `"Pinned actions show in the bar and in the mobile chip row."`. */
|
|
2124
|
+
description?: string;
|
|
2125
|
+
/** Default `"Reset to default"`. */
|
|
2126
|
+
reset?: string;
|
|
2127
|
+
/** Default `"Done"`. */
|
|
2128
|
+
done?: string;
|
|
2129
|
+
}
|
|
2130
|
+
interface HotbarProps extends Omit<React.ComponentProps<"section">, "children"> {
|
|
2131
|
+
/** Every action the app offers, in bar order. */
|
|
2132
|
+
actions: readonly HotbarAction[];
|
|
2133
|
+
/** `StatusItem`s at the end of the wide strip. */
|
|
2134
|
+
status?: React.ReactNode;
|
|
2135
|
+
/** An urgent level: replaces the actions with its message until the app clears it. */
|
|
2136
|
+
takeover?: {
|
|
2137
|
+
tone: "warn" | "error";
|
|
2138
|
+
message: React.ReactNode;
|
|
2139
|
+
action?: React.ReactNode;
|
|
2140
|
+
};
|
|
2141
|
+
labels?: HotbarLabels;
|
|
2142
|
+
}
|
|
2143
|
+
/**
|
|
2144
|
+
* The bottom strip of a terminal-style app: pinned actions with bound shortcuts,
|
|
2145
|
+
* a customize popover, live status at the end. Position-agnostic — the app docks
|
|
2146
|
+
* it. Below a 64rem strip it turns into a sideways-scrolling chip row with no
|
|
2147
|
+
* status. Which actions are pinned is the user's, kept in this browser.
|
|
2148
|
+
*/
|
|
2149
|
+
declare function Hotbar({ actions, status, takeover, labels, className, ...props }: HotbarProps): React.JSX.Element;
|
|
2150
|
+
|
|
2088
2151
|
interface TopBarProps extends React.ComponentProps<"header"> {
|
|
2089
2152
|
/** The app switcher, or the service's name. */
|
|
2090
2153
|
start?: React.ReactNode;
|
|
@@ -2337,21 +2400,13 @@ type ResourceErrorProps = ResourceErrorBase & ({
|
|
|
2337
2400
|
*/
|
|
2338
2401
|
declare function ResourceError(props: ResourceErrorProps): React.JSX.Element;
|
|
2339
2402
|
|
|
2340
|
-
declare const systemBannerIconToneClasses: {
|
|
2341
|
-
readonly neutral: "text-ink-soft";
|
|
2342
|
-
readonly primary: "text-primary-ink";
|
|
2343
|
-
readonly info: "text-accent-info-ink";
|
|
2344
|
-
readonly warn: "text-accent-warn";
|
|
2345
|
-
};
|
|
2346
|
-
type SystemBannerTone = keyof typeof systemBannerIconToneClasses;
|
|
2347
|
-
|
|
2348
2403
|
interface SystemBannerLabels {
|
|
2349
2404
|
/** The close button. Default `"Dismiss"`. */
|
|
2350
2405
|
dismiss?: string;
|
|
2351
2406
|
}
|
|
2352
2407
|
interface SystemBannerProps extends Omit<React.ComponentProps<"div">, "title"> {
|
|
2353
2408
|
/** `warn` — a platform state (maintenance, read-only); `info` — an announcement. */
|
|
2354
|
-
tone?:
|
|
2409
|
+
tone?: Tone;
|
|
2355
2410
|
/** Bold lead before the message. */
|
|
2356
2411
|
title?: React.ReactNode;
|
|
2357
2412
|
/** Replaces the tone's glyph; `null` drops it. */
|
|
@@ -2446,14 +2501,15 @@ interface CountTweenOptions {
|
|
|
2446
2501
|
*/
|
|
2447
2502
|
declare function useCountTween(value: number, options?: CountTweenOptions): number;
|
|
2448
2503
|
|
|
2504
|
+
declare const ICON_BUTTON_VARIANTS: readonly ["outline", "ghost"];
|
|
2505
|
+
type IconButtonVariant = (typeof ICON_BUTTON_VARIANTS)[number];
|
|
2449
2506
|
declare const iconButtonSizeClasses: {
|
|
2450
|
-
readonly sm: "h-
|
|
2451
|
-
readonly md: "h-
|
|
2507
|
+
readonly sm: "[--control-box:var(--control-h-2xs)]";
|
|
2508
|
+
readonly md: "[--control-box:var(--control-h-xs)]";
|
|
2452
2509
|
readonly touch: "";
|
|
2453
2510
|
};
|
|
2454
2511
|
type IconButtonSize = keyof typeof iconButtonSizeClasses;
|
|
2455
2512
|
|
|
2456
|
-
type IconButtonVariant = "outline" | "ghost";
|
|
2457
2513
|
interface IconButtonProps extends Omit<React.ComponentPropsWithoutRef<"button">, "aria-label" | "children"> {
|
|
2458
2514
|
/** Required: a glyph alone names nothing. */
|
|
2459
2515
|
"aria-label": string;
|
|
@@ -2550,12 +2606,6 @@ interface FormRowProps extends Omit<React.ComponentProps<"div">, "title"> {
|
|
|
2550
2606
|
*/
|
|
2551
2607
|
declare function FormRow({ label, htmlFor, description, hint, divider, className, children, ...props }: FormRowProps): React.JSX.Element;
|
|
2552
2608
|
|
|
2553
|
-
declare const settingsSectionToneClasses: {
|
|
2554
|
-
readonly default: "border-border";
|
|
2555
|
-
readonly danger: "border-accent-error";
|
|
2556
|
-
};
|
|
2557
|
-
type SettingsSectionTone = keyof typeof settingsSectionToneClasses;
|
|
2558
|
-
|
|
2559
2609
|
interface SettingsLayoutProps extends Omit<React.ComponentProps<"div">, "title"> {
|
|
2560
2610
|
/** The section rail (`SectionNav`), 256 wide from `lg` up and on top below it. */
|
|
2561
2611
|
nav: React.ReactNode;
|
|
@@ -2570,8 +2620,8 @@ interface SettingsSectionProps extends Omit<React.ComponentProps<"section">, "ti
|
|
|
2570
2620
|
description?: React.ReactNode;
|
|
2571
2621
|
/** Top-right control, e.g. a "Create team" button. */
|
|
2572
2622
|
action?: React.ReactNode;
|
|
2573
|
-
/** `
|
|
2574
|
-
tone?:
|
|
2623
|
+
/** `error` draws the destructive-zone edge. */
|
|
2624
|
+
tone?: Tone;
|
|
2575
2625
|
/** Rows run edge to edge with their hairlines; otherwise the body is padded. */
|
|
2576
2626
|
flush?: boolean;
|
|
2577
2627
|
}
|
|
@@ -2618,12 +2668,6 @@ interface AccountSettingsDialogProps {
|
|
|
2618
2668
|
*/
|
|
2619
2669
|
declare function AccountSettingsDialog({ open, defaultOpen, onOpenChange, title, description, sections, value, defaultValue, onValueChange, sidebarFooter, labels, className, }: AccountSettingsDialogProps): React.JSX.Element;
|
|
2620
2670
|
|
|
2621
|
-
declare const confirmDialogIconToneClasses: {
|
|
2622
|
-
readonly default: "bg-muted text-ink-mid";
|
|
2623
|
-
readonly danger: "bg-chip-error-bg text-accent-error";
|
|
2624
|
-
};
|
|
2625
|
-
type ConfirmDialogTone = keyof typeof confirmDialogIconToneClasses;
|
|
2626
|
-
|
|
2627
2671
|
interface ConfirmDialogLabels {
|
|
2628
2672
|
cancel?: string;
|
|
2629
2673
|
/** Shown when `onConfirm` rejects with something that has no message. */
|
|
@@ -2637,7 +2681,7 @@ interface ConfirmDialogProps {
|
|
|
2637
2681
|
trigger?: React.ReactNode;
|
|
2638
2682
|
title: React.ReactNode;
|
|
2639
2683
|
description?: React.ReactNode;
|
|
2640
|
-
tone?:
|
|
2684
|
+
tone?: Tone;
|
|
2641
2685
|
confirmLabel: React.ReactNode;
|
|
2642
2686
|
/**
|
|
2643
2687
|
* Resolve to close the dialog. While a returned promise is pending both
|
|
@@ -2749,12 +2793,6 @@ declare function CommandPalette({ open, defaultOpen, onOpenChange, groups, label
|
|
|
2749
2793
|
*/
|
|
2750
2794
|
declare function useCommandPaletteShortcut(onTrigger: () => void, enabled?: boolean): void;
|
|
2751
2795
|
|
|
2752
|
-
declare const headerBalanceToneClasses: {
|
|
2753
|
-
readonly default: "text-ink";
|
|
2754
|
-
readonly warn: "text-accent-warn";
|
|
2755
|
-
};
|
|
2756
|
-
type HeaderBalanceTone = keyof typeof headerBalanceToneClasses;
|
|
2757
|
-
|
|
2758
2796
|
interface HeaderBalanceProps extends Omit<React.HTMLAttributes<HTMLElement>, "children"> {
|
|
2759
2797
|
/** Only meaningful with `onClick`. */
|
|
2760
2798
|
disabled?: boolean;
|
|
@@ -2771,7 +2809,7 @@ interface HeaderBalanceProps extends Omit<React.HTMLAttributes<HTMLElement>, "ch
|
|
|
2771
2809
|
/** A glyph before the label. */
|
|
2772
2810
|
icon?: React.ReactNode;
|
|
2773
2811
|
/** `warn` colours the figure as a low-funds signal. */
|
|
2774
|
-
tone?:
|
|
2812
|
+
tone?: Tone;
|
|
2775
2813
|
}
|
|
2776
2814
|
/** "Balance: $0.00" in the header; a button only when given `onClick`. */
|
|
2777
2815
|
declare function HeaderBalance({ label, value, amount, format, locales, loading, icon, tone, onClick, disabled, className, ...props }: HeaderBalanceProps): React.JSX.Element;
|
|
@@ -2809,7 +2847,9 @@ interface HeaderSearchProps extends React.ComponentProps<"button"> {
|
|
|
2809
2847
|
/** A button dressed as the search field; it opens the palette rather than taking input. */
|
|
2810
2848
|
declare function HeaderSearch({ placeholder, shortcut, className, ...props }: HeaderSearchProps): React.JSX.Element;
|
|
2811
2849
|
|
|
2812
|
-
|
|
2850
|
+
declare const SMART_HEADER_STATES: readonly ["default", "collapsed", "banner", "search"];
|
|
2851
|
+
type SmartHeaderState = (typeof SMART_HEADER_STATES)[number];
|
|
2852
|
+
|
|
2813
2853
|
interface SmartHeaderProps extends Omit<React.ComponentProps<"div">, "children"> {
|
|
2814
2854
|
/**
|
|
2815
2855
|
* `default` — bar, toolbar and context line; `collapsed` — the toolbar folds
|
|
@@ -2845,6 +2885,8 @@ declare const asidePanelSideClasses: {
|
|
|
2845
2885
|
readonly right: "border-l border-border";
|
|
2846
2886
|
};
|
|
2847
2887
|
type AsidePanelSide = keyof typeof asidePanelSideClasses;
|
|
2888
|
+
declare const ASIDE_PANEL_MODES: readonly ["docked", "overlay"];
|
|
2889
|
+
type AsidePanelMode = (typeof ASIDE_PANEL_MODES)[number];
|
|
2848
2890
|
|
|
2849
2891
|
interface AsideHeaderLabels {
|
|
2850
2892
|
back?: string;
|
|
@@ -2881,7 +2923,7 @@ interface AsideRailProps extends Omit<React.ComponentProps<"div">, "onChange"> {
|
|
|
2881
2923
|
}
|
|
2882
2924
|
/** The 44 px strip of icon buttons that opens and closes the asides. */
|
|
2883
2925
|
declare function AsideRail({ items, endItems, value, onValueChange, className, "aria-label": ariaLabel, ...props }: AsideRailProps): React.JSX.Element;
|
|
2884
|
-
|
|
2926
|
+
|
|
2885
2927
|
interface AsidePanelProps extends Omit<React.ComponentProps<"aside">, "title"> {
|
|
2886
2928
|
/** Names the panel. */
|
|
2887
2929
|
"aria-label": string;
|
|
@@ -2915,9 +2957,9 @@ interface AsidePanelProps extends Omit<React.ComponentProps<"aside">, "title"> {
|
|
|
2915
2957
|
declare function AsidePanel({ mode, side, open, onOpenChange, header, footer, collapseBelow, className, children, ...props }: AsidePanelProps): React.JSX.Element | null;
|
|
2916
2958
|
|
|
2917
2959
|
declare const chatBubbleVariantClasses: {
|
|
2918
|
-
readonly user: "max-w-105 rounded-
|
|
2960
|
+
readonly user: "max-w-105 rounded-panel border border-border bg-card px-3.5 py-2.5";
|
|
2919
2961
|
readonly assistant: "py-0.5";
|
|
2920
|
-
readonly muted: "max-w-105 rounded-
|
|
2962
|
+
readonly muted: "max-w-105 rounded-panel border border-border-subtle bg-muted px-3.5 py-2.5";
|
|
2921
2963
|
};
|
|
2922
2964
|
type ChatBubbleVariant = keyof typeof chatBubbleVariantClasses;
|
|
2923
2965
|
declare const chatStatusDotClasses: {
|
|
@@ -2931,6 +2973,12 @@ declare const chatToolMetaClasses: {
|
|
|
2931
2973
|
readonly error: "text-accent-error";
|
|
2932
2974
|
};
|
|
2933
2975
|
type ChatToolState = keyof typeof chatToolMetaClasses;
|
|
2976
|
+
declare const CHAT_MESSAGE_ROLES: readonly ["assistant", "user"];
|
|
2977
|
+
type ChatMessageRole = (typeof CHAT_MESSAGE_ROLES)[number];
|
|
2978
|
+
declare const CHAT_ATTACHMENT_TYPES: readonly ["file", "image"];
|
|
2979
|
+
type ChatAttachmentType = (typeof CHAT_ATTACHMENT_TYPES)[number];
|
|
2980
|
+
declare const CHAT_ATTACHMENT_STATES: readonly ["ready", "uploading"];
|
|
2981
|
+
type ChatAttachmentState = (typeof CHAT_ATTACHMENT_STATES)[number];
|
|
2934
2982
|
|
|
2935
2983
|
interface ChatBubbleProps extends React.ComponentProps<"div"> {
|
|
2936
2984
|
variant?: ChatBubbleVariant;
|
|
@@ -2943,7 +2991,7 @@ interface ChatBubbleProps extends React.ComponentProps<"div"> {
|
|
|
2943
2991
|
/** One block of message text; `assistant` has no box so long answers read as a page. */
|
|
2944
2992
|
declare function ChatBubble({ variant, streaming, className, children, ...props }: ChatBubbleProps): React.JSX.Element;
|
|
2945
2993
|
interface ChatMessageProps extends Omit<React.ComponentProps<"div">, "role"> {
|
|
2946
|
-
role:
|
|
2994
|
+
role: ChatMessageRole;
|
|
2947
2995
|
/** "Assistant", "You". */
|
|
2948
2996
|
name?: React.ReactNode;
|
|
2949
2997
|
/** Already formatted: "13:04". */
|
|
@@ -2972,8 +3020,8 @@ type ChatMarkerProps = Omit<React.ComponentProps<"div">, "title"> & ({
|
|
|
2972
3020
|
/** The quiet lines between messages: progress, a tool call, or a day break. */
|
|
2973
3021
|
declare function ChatMarker(allProps: ChatMarkerProps): React.JSX.Element;
|
|
2974
3022
|
interface ChatAttachmentProps extends Omit<React.ComponentProps<"div">, "children"> {
|
|
2975
|
-
type?:
|
|
2976
|
-
state?:
|
|
3023
|
+
type?: ChatAttachmentType;
|
|
3024
|
+
state?: ChatAttachmentState;
|
|
2977
3025
|
name: string;
|
|
2978
3026
|
/** "PDF · 1.2 MB"; while uploading, defaults to the percentage. */
|
|
2979
3027
|
meta?: React.ReactNode;
|
|
@@ -3110,4 +3158,4 @@ interface ChatDockProps extends Omit<React.ComponentProps<"section">, "title" |
|
|
|
3110
3158
|
/** The assistant docked in a column: a launcher bar when collapsed, header + conversation + composer when open. */
|
|
3111
3159
|
declare function ChatDock({ title, expanded, defaultExpanded, onExpandedChange, actions, prompt, children, empty, composer, streaming, labels, className, ...props }: ChatDockProps): React.JSX.Element;
|
|
3112
3160
|
|
|
3113
|
-
export { type Accent, Accordion, AccordionContent, AccordionItem, type AccordionItemProps, type AccordionProps, AccordionTrigger, AccountList, AccountListItem, type AccountListItemProps, type AccountListProps, AccountMenu, type AccountMenuLabels, type AccountMenuProfile, type AccountMenuProps, type AccountMenuTab, AccountSettingsDialog, type AccountSettingsDialogLabels, type AccountSettingsDialogProps, type AccountSettingsSection, Alert, AlertDescription, AlertDialog, AlertDialogAction, type AlertDialogActionProps, AlertDialogCancel, type AlertDialogCancelProps, AlertDialogContent, type AlertDialogContentProps, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, type AlertDialogOverlayProps, type AlertDialogProps, AlertDialogTitle, AlertDialogTrigger, type AlertDialogTriggerProps, type AlertProps, AlertTitle, type AlertVariant, type Align, AnimatedNumber, type AnimatedNumberProps, AppShell, type AppShellProps, AsideHeader, type AsideHeaderLabels, type AsideHeaderProps, AsidePanel, type AsidePanelMode, type AsidePanelProps, AsideRail, type AsideRailItem, type AsideRailProps, AuthWall, type AuthWallProps, Avatar, AvatarFallback, AvatarImage, Badge, type BadgeProps, type BadgeVariant, BottomTabBar, type BottomTabBarLabels, type BottomTabBarProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, type BreadcrumbLinkProps, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, type ButtonGroupOrientation, type ButtonGroupProps, ButtonGroupSeparator, ButtonGroupText, type ButtonGroupTextProps, type ButtonProps, type ButtonSize, type ButtonVariant, type ButtonVariantsOptions, Calendar, type CalendarProps, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CarouselContent, CarouselEdgeFade, CarouselItem, CarouselNext, CarouselPrevious, type CarouselProps, ChatAttachment, type ChatAttachmentProps, ChatBubble, type ChatBubbleProps, type ChatBubbleVariant, ChatComposer, type ChatComposerLabels, type ChatComposerProps, ChatDock, type ChatDockLabels, type ChatDockProps, ChatMarker, type ChatMarkerProps, ChatMessage, type ChatMessageProps, ChatPanel, type ChatPanelLabels, type ChatPanelProps, ChatStreamText, type ChatStreamTextProps, ChatTyping, type ChatTypingProps, Check, Checkbox, type CheckboxProps, Collapsible, CollapsibleContent, type CollapsibleProps, CollapsibleTrigger, Command, CommandDialog, type CommandDialogProps, CommandEmpty, CommandGroup, type CommandGroupProps, CommandInput, CommandItem, type CommandItemProps, CommandList, CommandPalette, type CommandPaletteGroup, type CommandPaletteItem, type CommandPaletteLabels, type CommandPaletteProps, type CommandProps, CommandSeparator, CommandShortcut, ConfirmDialog, type ConfirmDialogLabels, type ConfirmDialogProps, type ConfirmDialogTone, Container, type ContainerProps, ContextMenu, ContextMenuCheckboxItem, type ContextMenuCheckboxItemProps, ContextMenuContent, ContextMenuGroup, ContextMenuItem, type ContextMenuItemProps, ContextMenuLabel, type ContextMenuLabelProps, ContextMenuPortal, type ContextMenuProps, ContextMenuRadioGroup, type ContextMenuRadioGroupProps, ContextMenuRadioItem, type ContextMenuRadioItemProps, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, type ContextMenuSubProps, ContextMenuSubTrigger, type ContextMenuSubTriggerProps, ContextMenuTrigger, type ContextMenuTriggerProps, type CountTweenOptions, DateTimePicker, type DateTimePickerLabels, type DateTimePickerProps, Dialog, DialogClose, type DialogCloseProps, DialogContent, type DialogContentProps, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, type DialogOverlayProps, DialogPortal, type DialogPortalProps, type DialogProps, DialogTitle, DialogTrigger, type DialogTriggerProps, type DismissEvent, DismissableLayerScope, Display, Drawer, DrawerClose, type DrawerCloseProps, DrawerContent, DrawerDescription, type DrawerDirection, DrawerFooter, DrawerHeader, DrawerOverlay, type DrawerProps, DrawerTitle, DrawerTrigger, type DrawerTriggerProps, DropdownMenu, DropdownMenuCheckboxItem, type DropdownMenuCheckboxItemProps, DropdownMenuContent, type DropdownMenuContentProps, DropdownMenuGroup, DropdownMenuItem, type DropdownMenuItemProps, DropdownMenuLabel, type DropdownMenuLabelProps, DropdownMenuPortal, type DropdownMenuProps, DropdownMenuRadioGroup, type DropdownMenuRadioGroupProps, DropdownMenuRadioItem, type DropdownMenuRadioItemProps, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, type DropdownMenuSubProps, DropdownMenuSubTrigger, type DropdownMenuSubTriggerProps, DropdownMenuTrigger, type DropdownMenuTriggerProps, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, type EmptyMediaProps, type EmptyMediaVariant, EmptyTitle, Eyebrow, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, type FieldOrientation, FieldSeparator, FieldSet, FieldTitle, type FloatingResult, Footer, type FooterLink, type FooterLinkGroup, type FooterOffice, type FooterProps, Forbidden, Form, FormControl, FormDescription, FormItem, FormLabel, FormMessage, FormRow, type FormRowProps, HeaderBalance, type HeaderBalanceProps, type HeaderNotification, HeaderSearch, type HeaderSearchProps, HoverCard, HoverCardContent, type HoverCardContentProps, type HoverCardProps, HoverCardTrigger, type HoverCardTriggerProps, type HoverIntentHandlers, IconButton, type IconButtonProps, type IconButtonSize, type IconButtonVariant, InfoTip, InfoTipContent, type InfoTipContentProps, type InfoTipProps, InfoTipTrigger, type InfoTipTriggerProps, Input, InputGroup, InputGroupAddon, type InputGroupAddonAlign, type InputGroupAddonProps, InputGroupButton, type InputGroupButtonProps, type InputGroupButtonSize, InputGroupInput, InputGroupText, InputGroupTextarea, InputOTP, InputOTPGroup, type InputOTPProps, InputOTPSeparator, InputOTPSlot, type InputOTPSlotProps, type InputProps, type InputSize, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, type ItemMediaProps, type ItemMediaVariant, type ItemProps, ItemSeparator, type ItemSize, ItemTitle, type ItemVariant, Kbd, KbdGroup, KeyValue, type KeyValueLabels, type KeyValueProps, LAYER_IGNORE_ATTR, Label, ListRow, ListRowLabel, type ListRowLabelProps, type ListRowProps, ListRowValue, ListRows, type ListRowsProps, type ListRowsVariant, Logo, type LogoProps, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, type MenubarMenuProps, MenubarRadioGroup, type MenubarRadioGroupProps, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, type MenubarSubProps, MenubarSubTrigger, MenubarTrigger, MobileAppBar, type MobileAppBarBack, type MobileAppBarLabels, type MobileAppBarProps, ModelChip, type ModelChipProps, type ModelOption, NativeSelect, NativeSelectGroup, NativeSelectOption, type NativeSelectProps, type NativeSelectSize, NavBadge, type NavBadgeProps, type NavBadgeVariant, type NavCollapseLabels, NavDot, type NavDotProps, type NavDotTone, type NavGroup, type NavGroupCollapse, type NavItem, type NavItemState, type NavMatch, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, type NavigationMenuItemProps, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, NotFound, NotificationBell, type NotificationBellLabels, type NotificationBellProps, PageFrame, type PageFrameProps, type PageFrameWidth, PageHeading, type PageHeadingProps, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, type PaginationLinkProps, PaginationNext, PaginationPrevious, type Polarity, Popover, PopoverAnchor, type PopoverAnchorProps, PopoverContent, type PopoverContentProps, PopoverForm, type PopoverFormLabels, type PopoverFormProps, type PopoverProps, PopoverTrigger, type PopoverTriggerProps, Portal, type PortalProps, PortalProvider, type PortalProviderProps, Progress, type ProgressProps, Prose, RadioGroup, RadioGroupItem, type RadioGroupItemProps, type RadioGroupProps, ResourceError, type ResourceErrorLabels, type ResourceErrorProps, ScrollArea, ScrollBar, type ScrollBarOrientation, type ScrollBarProps, Section, SectionDescriptor, type SectionDescriptorProps, SectionHead, type SectionHeadProps, SectionLabel, type SectionLabelProps, type SectionLabelTone, SectionNav, type SectionNavGroup, type SectionNavItem, type SectionNavLabels, type SectionNavProps, type SectionProps, Select, SelectContent, type SelectContentProps, SelectGroup, SelectItem, type SelectItemProps, SelectLabel, type SelectProps, SelectSeparator, SelectTrigger, type SelectTriggerProps, type SelectTriggerSize, SelectValue, type SelectValueProps, Separator, type SeparatorOrientation, type SeparatorProps, ServerError, type ServerErrorProps, SettingsLayout, type SettingsLayoutProps, SettingsRow, type SettingsRowProps, SettingsSection, type SettingsSectionProps, Settled, type SettledProps, Sheet, SheetClose, type SheetCloseProps, SheetContent, type SheetContentProps, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, type SheetOverlayProps, type SheetProps, SheetTitle, SheetTrigger, type SheetTriggerProps, type ShellBreakpoint, ShellNav, type ShellNavLabels, type ShellNavProps, type Side, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupContent, SidebarGroupLabel, type SidebarGroupLabelProps, SidebarHeader, SidebarInset, SidebarMenu, SidebarMenuButton, type SidebarMenuButtonProps, type SidebarMenuButtonSize, SidebarMenuItem, type SidebarProps, SidebarProvider, type SidebarProviderProps, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Slider, type SliderProps, Slot, type SlotProps, SmartHeader, type SmartHeaderProps, type SmartHeaderState, Spinner, Stat, type StatProps, StatusDot, type StatusDotProps, StatusItem, type StatusItemProps, type StatusLinkData, type StatusPageProps, StatusScreen, type StatusScreenProps, type StatusTone, type Surface, Switch, type SwitchProps, SystemBanner, type SystemBannerLabels, type SystemBannerProps, type SystemBannerTone, Table, type TableAlign, TableBody, TableCaption, TableCard, TableCell, type TableCellProps, type TableDensity, TableFooter, TableHead, type TableHeadProps, TableHeader, type TableProps, TableRow, type TableVariant, Tabs, TabsContent, type TabsContentProps, TabsList, type TabsProps, TabsTrigger, type TabsTriggerProps, Textarea, type TextareaProps, type TextareaSize, type Toast, type ToastFn, type ToastOptions, type ToastPosition, type ToastState, type ToastVariant, Toaster, type ToasterProps, Toggle, ToggleGroup, ToggleGroupItem, type ToggleGroupItemProps, type ToggleGroupProps, type ToggleProps, type ToggleSize, type ToggleVariant, type ToggleVariantsOptions, Tooltip, TooltipContent, type TooltipContentProps, type TooltipProps, TooltipProvider, type TooltipProviderProps, TooltipTrigger, type TooltipTriggerProps, TopBar, type TopBarProps, WorkspaceTab, type WorkspaceTabProps, WorkspaceTabs, type WorkspaceTabsProps, buttonVariants, cn, isNavItemActive, isPlainLeftClick, mergeRefs, navItemMatch, navigationMenuTriggerStyle, resolveActiveNavItem, statusCtaClass, toast, toggleVariants, useCommandPaletteShortcut, useControllableState, useCountTween, useDismissableLayer, useFloating, useFocusScope, useHoverIntent, usePendingNavigation, usePresence, useRovingFocus, useSidebar };
|
|
3161
|
+
export { type Accent, Accordion, AccordionContent, AccordionItem, type AccordionItemProps, type AccordionProps, AccordionTrigger, AccountList, AccountListItem, type AccountListItemProps, type AccountListProps, AccountMenu, type AccountMenuLabels, type AccountMenuProfile, type AccountMenuProps, type AccountMenuTab, AccountSettingsDialog, type AccountSettingsDialogLabels, type AccountSettingsDialogProps, type AccountSettingsSection, Alert, AlertDescription, AlertDialog, AlertDialogAction, type AlertDialogActionProps, AlertDialogCancel, type AlertDialogCancelProps, AlertDialogContent, type AlertDialogContentProps, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, type AlertDialogOverlayProps, type AlertDialogProps, AlertDialogTitle, AlertDialogTrigger, type AlertDialogTriggerProps, type AlertProps, AlertTitle, type Align, AnimatedNumber, type AnimatedNumberProps, AppShell, type AppShellProps, AsideHeader, type AsideHeaderLabels, type AsideHeaderProps, AsidePanel, type AsidePanelMode, type AsidePanelProps, AsideRail, type AsideRailItem, type AsideRailProps, AuthWall, type AuthWallProps, Avatar, AvatarFallback, AvatarImage, Badge, type BadgeProps, BottomTabBar, type BottomTabBarLabels, type BottomTabBarProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, type BreadcrumbLinkProps, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, type ButtonGroupOrientation, type ButtonGroupProps, ButtonGroupSeparator, ButtonGroupText, type ButtonGroupTextProps, type ButtonProps, type ButtonSize, type ButtonVariant, type ButtonVariantsOptions, Calendar, type CalendarProps, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CarouselContent, CarouselEdgeFade, CarouselItem, CarouselNext, CarouselPrevious, type CarouselProps, ChatAttachment, type ChatAttachmentProps, ChatBubble, type ChatBubbleProps, type ChatBubbleVariant, ChatComposer, type ChatComposerLabels, type ChatComposerProps, ChatDock, type ChatDockLabels, type ChatDockProps, ChatMarker, type ChatMarkerProps, ChatMessage, type ChatMessageProps, ChatPanel, type ChatPanelLabels, type ChatPanelProps, ChatStreamText, type ChatStreamTextProps, ChatTyping, type ChatTypingProps, Check, Checkbox, type CheckboxProps, Collapsible, CollapsibleContent, type CollapsibleProps, CollapsibleTrigger, Command, CommandDialog, type CommandDialogProps, CommandEmpty, CommandGroup, type CommandGroupProps, CommandInput, CommandItem, type CommandItemProps, CommandList, CommandPalette, type CommandPaletteGroup, type CommandPaletteItem, type CommandPaletteLabels, type CommandPaletteProps, type CommandProps, CommandSeparator, CommandShortcut, ConfirmDialog, type ConfirmDialogLabels, type ConfirmDialogProps, Container, type ContainerProps, ContextMenu, ContextMenuCheckboxItem, type ContextMenuCheckboxItemProps, ContextMenuContent, ContextMenuGroup, ContextMenuItem, type ContextMenuItemProps, ContextMenuLabel, type ContextMenuLabelProps, ContextMenuPortal, type ContextMenuProps, ContextMenuRadioGroup, type ContextMenuRadioGroupProps, ContextMenuRadioItem, type ContextMenuRadioItemProps, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, type ContextMenuSubProps, ContextMenuSubTrigger, type ContextMenuSubTriggerProps, ContextMenuTrigger, type ContextMenuTriggerProps, type CountTweenOptions, DateTimePicker, type DateTimePickerLabels, type DateTimePickerProps, Dialog, DialogClose, type DialogCloseProps, DialogContent, type DialogContentProps, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, type DialogOverlayProps, DialogPortal, type DialogPortalProps, type DialogProps, DialogTitle, DialogTrigger, type DialogTriggerProps, type DismissEvent, DismissableLayerScope, Display, Drawer, DrawerClose, type DrawerCloseProps, DrawerContent, DrawerDescription, type DrawerDirection, DrawerFooter, DrawerHeader, DrawerOverlay, type DrawerProps, DrawerTitle, DrawerTrigger, type DrawerTriggerProps, DropdownMenu, DropdownMenuCheckboxItem, type DropdownMenuCheckboxItemProps, DropdownMenuContent, type DropdownMenuContentProps, DropdownMenuGroup, DropdownMenuItem, type DropdownMenuItemProps, DropdownMenuLabel, type DropdownMenuLabelProps, DropdownMenuPortal, type DropdownMenuProps, DropdownMenuRadioGroup, type DropdownMenuRadioGroupProps, DropdownMenuRadioItem, type DropdownMenuRadioItemProps, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, type DropdownMenuSubProps, DropdownMenuSubTrigger, type DropdownMenuSubTriggerProps, DropdownMenuTrigger, type DropdownMenuTriggerProps, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, type EmptyMediaProps, type EmptyMediaVariant, EmptyTitle, Eyebrow, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, type FieldOrientation, FieldSeparator, FieldSet, FieldTitle, type FloatingResult, Footer, type FooterLink, type FooterLinkGroup, type FooterOffice, type FooterProps, Forbidden, Form, FormControl, FormDescription, FormItem, FormLabel, FormMessage, FormRow, type FormRowProps, HeaderBalance, type HeaderBalanceProps, type HeaderNotification, HeaderSearch, type HeaderSearchProps, Hotbar, type HotbarAction, type HotbarLabels, type HotbarProps, HoverCard, HoverCardContent, type HoverCardContentProps, type HoverCardProps, HoverCardTrigger, type HoverCardTriggerProps, type HoverIntentHandlers, IconButton, type IconButtonProps, type IconButtonSize, type IconButtonVariant, InfoTip, InfoTipContent, type InfoTipContentProps, type InfoTipProps, InfoTipTrigger, type InfoTipTriggerProps, Input, InputGroup, InputGroupAddon, type InputGroupAddonAlign, type InputGroupAddonProps, InputGroupButton, type InputGroupButtonProps, type InputGroupButtonSize, InputGroupInput, InputGroupText, InputGroupTextarea, InputOTP, InputOTPGroup, type InputOTPProps, InputOTPSeparator, InputOTPSlot, type InputOTPSlotProps, type InputProps, type InputSize, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, type ItemMediaProps, type ItemMediaVariant, type ItemProps, ItemSeparator, type ItemSize, ItemTitle, type ItemVariant, Kbd, KbdGroup, KeyValue, type KeyValueLabels, type KeyValueProps, LAYER_IGNORE_ATTR, Label, ListRow, ListRowLabel, type ListRowLabelProps, type ListRowProps, ListRowValue, ListRows, type ListRowsProps, type ListRowsVariant, Logo, type LogoProps, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, type MenubarMenuProps, MenubarRadioGroup, type MenubarRadioGroupProps, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, type MenubarSubProps, MenubarSubTrigger, MenubarTrigger, MobileAppBar, type MobileAppBarBack, type MobileAppBarLabels, type MobileAppBarProps, ModelChip, type ModelChipProps, type ModelOption, NativeSelect, NativeSelectGroup, NativeSelectOption, type NativeSelectProps, type NativeSelectSize, NavBadge, type NavBadgeProps, type NavBadgeVariant, type NavCollapseLabels, NavDot, type NavDotProps, type NavDotTone, type NavGroup, type NavGroupCollapse, type NavItem, type NavItemState, type NavMatch, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, type NavigationMenuItemProps, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, NotFound, NotificationBell, type NotificationBellLabels, type NotificationBellProps, PageFrame, type PageFrameProps, type PageFrameWidth, PageHeading, type PageHeadingProps, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, type PaginationLinkProps, PaginationNext, PaginationPrevious, type Polarity, Popover, PopoverAnchor, type PopoverAnchorProps, PopoverContent, type PopoverContentProps, PopoverForm, type PopoverFormLabels, type PopoverFormProps, type PopoverProps, PopoverTrigger, type PopoverTriggerProps, Portal, type PortalProps, PortalProvider, type PortalProviderProps, Progress, type ProgressProps, Prose, RadioGroup, RadioGroupItem, type RadioGroupItemProps, type RadioGroupProps, ResourceError, type ResourceErrorLabels, type ResourceErrorProps, ScrollArea, ScrollBar, type ScrollBarOrientation, type ScrollBarProps, Section, SectionDescriptor, type SectionDescriptorProps, SectionHead, type SectionHeadProps, SectionLabel, type SectionLabelProps, type SectionLabelTone, SectionNav, type SectionNavGroup, type SectionNavItem, type SectionNavLabels, type SectionNavProps, type SectionProps, Select, SelectContent, type SelectContentProps, SelectGroup, SelectItem, type SelectItemProps, SelectLabel, type SelectProps, SelectSeparator, SelectTrigger, type SelectTriggerProps, type SelectTriggerSize, SelectValue, type SelectValueProps, Separator, type SeparatorOrientation, type SeparatorProps, ServerError, type ServerErrorProps, SettingsLayout, type SettingsLayoutProps, SettingsRow, type SettingsRowProps, SettingsSection, type SettingsSectionProps, Settled, type SettledProps, Sheet, SheetClose, type SheetCloseProps, SheetContent, type SheetContentProps, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, type SheetOverlayProps, type SheetProps, SheetTitle, SheetTrigger, type SheetTriggerProps, type ShellBreakpoint, ShellNav, type ShellNavLabels, type ShellNavProps, type Side, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupContent, SidebarGroupLabel, type SidebarGroupLabelProps, SidebarHeader, SidebarInset, SidebarMenu, SidebarMenuButton, type SidebarMenuButtonProps, type SidebarMenuButtonSize, SidebarMenuItem, type SidebarProps, SidebarProvider, type SidebarProviderProps, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Slider, type SliderProps, Slot, type SlotProps, SmartHeader, type SmartHeaderProps, type SmartHeaderState, Spinner, Stat, type StatProps, StatusDot, type StatusDotProps, StatusItem, type StatusItemProps, type StatusLinkData, type StatusPageProps, StatusScreen, type StatusScreenProps, type StatusTone, type Surface, Switch, type SwitchProps, SystemBanner, type SystemBannerLabels, type SystemBannerProps, Table, type TableAlign, TableBody, TableCaption, TableCard, TableCell, type TableCellProps, type TableDensity, TableFooter, TableHead, type TableHeadProps, TableHeader, type TableProps, TableRow, type TableVariant, Tabs, TabsContent, type TabsContentProps, TabsList, type TabsProps, TabsTrigger, type TabsTriggerProps, Textarea, type TextareaProps, type TextareaSize, type Toast, type ToastFn, type ToastOptions, type ToastPosition, type ToastState, Toaster, type ToasterProps, Toggle, ToggleGroup, ToggleGroupItem, type ToggleGroupItemProps, type ToggleGroupProps, type ToggleProps, type ToggleSize, type ToggleVariant, type ToggleVariantsOptions, type Tone, Tooltip, TooltipContent, type TooltipContentProps, type TooltipProps, TooltipProvider, type TooltipProviderProps, TooltipTrigger, type TooltipTriggerProps, TopBar, type TopBarProps, WorkspaceTab, type WorkspaceTabProps, WorkspaceTabs, type WorkspaceTabsProps, buttonVariants, cn, isNavItemActive, isPlainLeftClick, mergeRefs, navItemMatch, navigationMenuTriggerStyle, resolveActiveNavItem, statusCtaClass, toast, toggleVariants, useCommandPaletteShortcut, useControllableState, useCountTween, useDismissableLayer, useFloating, useFocusScope, useHoverIntent, usePendingNavigation, usePresence, useRovingFocus, useSidebar };
|