@slipstream-ui/core 0.7.0 → 0.8.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/dist/index.d.mts +135 -15
- package/dist/index.d.ts +135 -15
- package/dist/index.js +923 -710
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +922 -710
- package/dist/index.mjs.map +1 -1
- package/dist/manifests/accordion.manifest.json +7 -1
- package/dist/manifests/alert.manifest.json +1 -1
- package/dist/manifests/announcement-bar.manifest.json +1 -1
- package/dist/manifests/app-shell.manifest.json +1 -1
- package/dist/manifests/applied-filters.manifest.json +1 -1
- package/dist/manifests/article-card.manifest.json +1 -1
- package/dist/manifests/auth-layout.manifest.json +19 -1
- package/dist/manifests/autocomplete.manifest.json +1 -1
- package/dist/manifests/avatar.manifest.json +1 -1
- package/dist/manifests/badge.manifest.json +13 -1
- package/dist/manifests/block.manifest.json +1 -1
- package/dist/manifests/bottom-nav.manifest.json +130 -0
- package/dist/manifests/breadcrumb.manifest.json +1 -1
- package/dist/manifests/button-group.manifest.json +1 -1
- package/dist/manifests/button.manifest.json +1 -1
- package/dist/manifests/card.manifest.json +1 -1
- package/dist/manifests/checkbox.manifest.json +1 -1
- package/dist/manifests/comparison-table.manifest.json +1 -1
- package/dist/manifests/confirm-dialog.manifest.json +1 -1
- package/dist/manifests/contact-strip.manifest.json +1 -1
- package/dist/manifests/container.manifest.json +1 -1
- package/dist/manifests/cta-section.manifest.json +1 -1
- package/dist/manifests/data-table.manifest.json +1 -1
- package/dist/manifests/date-picker.manifest.json +1 -1
- package/dist/manifests/date-range-picker.manifest.json +1 -1
- package/dist/manifests/deal-card.manifest.json +1 -1
- package/dist/manifests/dialog.manifest.json +1 -1
- package/dist/manifests/document-card.manifest.json +1 -1
- package/dist/manifests/drawer.manifest.json +48 -2
- package/dist/manifests/empty-state.manifest.json +1 -1
- package/dist/manifests/entity-card.manifest.json +1 -1
- package/dist/manifests/feature-grid.manifest.json +1 -1
- package/dist/manifests/feature-row.manifest.json +1 -1
- package/dist/manifests/fieldset.manifest.json +1 -1
- package/dist/manifests/file-upload.manifest.json +1 -1
- package/dist/manifests/filter-bar.manifest.json +1 -1
- package/dist/manifests/filter-chips.manifest.json +1 -1
- package/dist/manifests/filter-panel.manifest.json +1 -1
- package/dist/manifests/flex.manifest.json +1 -1
- package/dist/manifests/form-field.manifest.json +1 -1
- package/dist/manifests/form-layout.manifest.json +1 -1
- package/dist/manifests/form.manifest.json +1 -1
- package/dist/manifests/grid.manifest.json +1 -1
- package/dist/manifests/heading.manifest.json +1 -1
- package/dist/manifests/hero.manifest.json +1 -1
- package/dist/manifests/input-group.manifest.json +1 -1
- package/dist/manifests/input.manifest.json +1 -1
- package/dist/manifests/label.manifest.json +1 -1
- package/dist/manifests/link-tabs.manifest.json +1 -1
- package/dist/manifests/link.manifest.json +1 -1
- package/dist/manifests/list.manifest.json +1 -1
- package/dist/manifests/load-more.manifest.json +1 -1
- package/dist/manifests/logo-cloud.manifest.json +1 -1
- package/dist/manifests/menu.manifest.json +1 -1
- package/dist/manifests/metric-card.manifest.json +36 -4
- package/dist/manifests/multi-select.manifest.json +1 -1
- package/dist/manifests/newsletter.manifest.json +1 -1
- package/dist/manifests/page-header.manifest.json +7 -1
- package/dist/manifests/pagination.manifest.json +1 -1
- package/dist/manifests/password-input.manifest.json +1 -1
- package/dist/manifests/popover.manifest.json +1 -1
- package/dist/manifests/process-steps.manifest.json +1 -1
- package/dist/manifests/progress.manifest.json +1 -1
- package/dist/manifests/prose.manifest.json +1 -1
- package/dist/manifests/radio.manifest.json +1 -1
- package/dist/manifests/range-slider.manifest.json +1 -1
- package/dist/manifests/search.manifest.json +1 -1
- package/dist/manifests/section-heading.manifest.json +1 -1
- package/dist/manifests/section.manifest.json +1 -1
- package/dist/manifests/segmented-control.manifest.json +1 -1
- package/dist/manifests/select-menu.manifest.json +1 -1
- package/dist/manifests/select.manifest.json +1 -1
- package/dist/manifests/separator.manifest.json +1 -1
- package/dist/manifests/site-footer.manifest.json +1 -1
- package/dist/manifests/site-header.manifest.json +1 -1
- package/dist/manifests/skeleton.manifest.json +1 -1
- package/dist/manifests/spinner.manifest.json +1 -1
- package/dist/manifests/stat-band.manifest.json +1 -1
- package/dist/manifests/stepper.manifest.json +1 -1
- package/dist/manifests/switch.manifest.json +1 -1
- package/dist/manifests/table-card.manifest.json +1 -1
- package/dist/manifests/table-of-contents.manifest.json +1 -1
- package/dist/manifests/table.manifest.json +1 -1
- package/dist/manifests/tabs.manifest.json +1 -1
- package/dist/manifests/testimonial.manifest.json +1 -1
- package/dist/manifests/text.manifest.json +1 -1
- package/dist/manifests/textarea.manifest.json +1 -1
- package/dist/manifests/theme-toggle.manifest.json +1 -1
- package/dist/manifests/time-picker.manifest.json +1 -1
- package/dist/manifests/timeline.manifest.json +1 -1
- package/dist/manifests/toast.manifest.json +1 -1
- package/dist/manifests/tombstone-card.manifest.json +1 -1
- package/dist/manifests/tooltip.manifest.json +1 -1
- package/dist/src/components/accordion/Accordion.d.ts +17 -1
- package/dist/src/components/accordion/Accordion.js +5 -1
- package/dist/src/components/accordion/Accordion.js.map +1 -1
- package/dist/src/components/accordion/Accordion.mjs +5 -1
- package/dist/src/components/accordion/Accordion.mjs.map +1 -1
- package/dist/src/components/auth-layout/AuthLayout.d.ts +14 -2
- package/dist/src/components/auth-layout/AuthLayout.js +10 -2
- package/dist/src/components/auth-layout/AuthLayout.js.map +1 -1
- package/dist/src/components/auth-layout/AuthLayout.mjs +10 -2
- package/dist/src/components/auth-layout/AuthLayout.mjs.map +1 -1
- package/dist/src/components/badge/Badge.d.ts +2 -0
- package/dist/src/components/badge/Badge.js +9 -3
- package/dist/src/components/badge/Badge.js.map +1 -1
- package/dist/src/components/badge/Badge.mjs +9 -3
- package/dist/src/components/badge/Badge.mjs.map +1 -1
- package/dist/src/components/bottom-nav/BottomNav.d.ts +36 -0
- package/dist/src/components/bottom-nav/BottomNav.js +90 -0
- package/dist/src/components/bottom-nav/BottomNav.js.map +1 -0
- package/dist/src/components/bottom-nav/BottomNav.mjs +66 -0
- package/dist/src/components/bottom-nav/BottomNav.mjs.map +1 -0
- package/dist/src/components/bottom-nav/index.d.ts +1 -0
- package/dist/src/components/bottom-nav/index.js +23 -0
- package/dist/src/components/bottom-nav/index.js.map +1 -0
- package/dist/src/components/bottom-nav/index.mjs +2 -0
- package/dist/src/components/bottom-nav/index.mjs.map +1 -0
- package/dist/src/components/drawer/Drawer.d.ts +25 -2
- package/dist/src/components/drawer/Drawer.js +97 -6
- package/dist/src/components/drawer/Drawer.js.map +1 -1
- package/dist/src/components/drawer/Drawer.mjs +97 -6
- package/dist/src/components/drawer/Drawer.mjs.map +1 -1
- package/dist/src/components/empty-state/EmptyState.d.ts +13 -4
- package/dist/src/components/empty-state/EmptyState.js +13 -1
- package/dist/src/components/empty-state/EmptyState.js.map +1 -1
- package/dist/src/components/empty-state/EmptyState.mjs +13 -1
- package/dist/src/components/empty-state/EmptyState.mjs.map +1 -1
- package/dist/src/components/metric-card/MetricCard.d.ts +23 -4
- package/dist/src/components/metric-card/MetricCard.js +32 -5
- package/dist/src/components/metric-card/MetricCard.js.map +1 -1
- package/dist/src/components/metric-card/MetricCard.mjs +32 -5
- package/dist/src/components/metric-card/MetricCard.mjs.map +1 -1
- package/dist/src/components/page-header/PageHeader.d.ts +4 -0
- package/dist/src/components/page-header/PageHeader.js +3 -2
- package/dist/src/components/page-header/PageHeader.js.map +1 -1
- package/dist/src/components/page-header/PageHeader.mjs +3 -2
- package/dist/src/components/page-header/PageHeader.mjs.map +1 -1
- package/dist/src/components/separator/Separator.d.ts +3 -3
- package/dist/src/index.d.ts +1 -0
- package/dist/styles-full.css +1 -1
- package/dist/styles.css +1 -1
- package/package.json +3 -3
- package/src/components/accordion/Accordion.test.tsx +31 -0
- package/src/components/accordion/Accordion.tsx +27 -2
- package/src/components/auth-layout/AuthLayout.test.tsx +36 -0
- package/src/components/auth-layout/AuthLayout.tsx +20 -3
- package/src/components/badge/Badge.test.tsx +7 -0
- package/src/components/badge/Badge.tsx +8 -2
- package/src/components/bottom-nav/BottomNav.test.tsx +48 -0
- package/src/components/bottom-nav/BottomNav.tsx +117 -0
- package/src/components/bottom-nav/index.ts +1 -0
- package/src/components/drawer/Drawer.test.tsx +86 -1
- package/src/components/drawer/Drawer.tsx +135 -7
- package/src/components/empty-state/EmptyState.test.tsx +26 -1
- package/src/components/empty-state/EmptyState.tsx +40 -3
- package/src/components/metric-card/MetricCard.test.tsx +32 -0
- package/src/components/metric-card/MetricCard.tsx +45 -7
- package/src/components/page-header/PageHeader.test.tsx +13 -0
- package/src/components/page-header/PageHeader.tsx +5 -2
- package/src/index.ts +1 -0
- package/src/manifests/accordion.manifest.json +7 -1
- package/src/manifests/alert.manifest.json +1 -1
- package/src/manifests/announcement-bar.manifest.json +1 -1
- package/src/manifests/app-shell.manifest.json +1 -1
- package/src/manifests/applied-filters.manifest.json +1 -1
- package/src/manifests/article-card.manifest.json +1 -1
- package/src/manifests/auth-layout.manifest.json +19 -1
- package/src/manifests/autocomplete.manifest.json +1 -1
- package/src/manifests/avatar.manifest.json +1 -1
- package/src/manifests/badge.manifest.json +13 -1
- package/src/manifests/block.manifest.json +1 -1
- package/src/manifests/bottom-nav.manifest.json +130 -0
- package/src/manifests/breadcrumb.manifest.json +1 -1
- package/src/manifests/button-group.manifest.json +1 -1
- package/src/manifests/button.manifest.json +1 -1
- package/src/manifests/card.manifest.json +1 -1
- package/src/manifests/checkbox.manifest.json +1 -1
- package/src/manifests/comparison-table.manifest.json +1 -1
- package/src/manifests/confirm-dialog.manifest.json +1 -1
- package/src/manifests/contact-strip.manifest.json +1 -1
- package/src/manifests/container.manifest.json +1 -1
- package/src/manifests/cta-section.manifest.json +1 -1
- package/src/manifests/data-table.manifest.json +1 -1
- package/src/manifests/date-picker.manifest.json +1 -1
- package/src/manifests/date-range-picker.manifest.json +1 -1
- package/src/manifests/deal-card.manifest.json +1 -1
- package/src/manifests/dialog.manifest.json +1 -1
- package/src/manifests/document-card.manifest.json +1 -1
- package/src/manifests/drawer.manifest.json +48 -2
- package/src/manifests/empty-state.manifest.json +1 -1
- package/src/manifests/entity-card.manifest.json +1 -1
- package/src/manifests/feature-grid.manifest.json +1 -1
- package/src/manifests/feature-row.manifest.json +1 -1
- package/src/manifests/fieldset.manifest.json +1 -1
- package/src/manifests/file-upload.manifest.json +1 -1
- package/src/manifests/filter-bar.manifest.json +1 -1
- package/src/manifests/filter-chips.manifest.json +1 -1
- package/src/manifests/filter-panel.manifest.json +1 -1
- package/src/manifests/flex.manifest.json +1 -1
- package/src/manifests/form-field.manifest.json +1 -1
- package/src/manifests/form-layout.manifest.json +1 -1
- package/src/manifests/form.manifest.json +1 -1
- package/src/manifests/grid.manifest.json +1 -1
- package/src/manifests/heading.manifest.json +1 -1
- package/src/manifests/hero.manifest.json +1 -1
- package/src/manifests/input-group.manifest.json +1 -1
- package/src/manifests/input.manifest.json +1 -1
- package/src/manifests/label.manifest.json +1 -1
- package/src/manifests/link-tabs.manifest.json +1 -1
- package/src/manifests/link.manifest.json +1 -1
- package/src/manifests/list.manifest.json +1 -1
- package/src/manifests/load-more.manifest.json +1 -1
- package/src/manifests/logo-cloud.manifest.json +1 -1
- package/src/manifests/menu.manifest.json +1 -1
- package/src/manifests/metric-card.manifest.json +36 -4
- package/src/manifests/multi-select.manifest.json +1 -1
- package/src/manifests/newsletter.manifest.json +1 -1
- package/src/manifests/page-header.manifest.json +7 -1
- package/src/manifests/pagination.manifest.json +1 -1
- package/src/manifests/password-input.manifest.json +1 -1
- package/src/manifests/popover.manifest.json +1 -1
- package/src/manifests/process-steps.manifest.json +1 -1
- package/src/manifests/progress.manifest.json +1 -1
- package/src/manifests/prose.manifest.json +1 -1
- package/src/manifests/radio.manifest.json +1 -1
- package/src/manifests/range-slider.manifest.json +1 -1
- package/src/manifests/search.manifest.json +1 -1
- package/src/manifests/section-heading.manifest.json +1 -1
- package/src/manifests/section.manifest.json +1 -1
- package/src/manifests/segmented-control.manifest.json +1 -1
- package/src/manifests/select-menu.manifest.json +1 -1
- package/src/manifests/select.manifest.json +1 -1
- package/src/manifests/separator.manifest.json +1 -1
- package/src/manifests/site-footer.manifest.json +1 -1
- package/src/manifests/site-header.manifest.json +1 -1
- package/src/manifests/skeleton.manifest.json +1 -1
- package/src/manifests/spinner.manifest.json +1 -1
- package/src/manifests/stat-band.manifest.json +1 -1
- package/src/manifests/stepper.manifest.json +1 -1
- package/src/manifests/switch.manifest.json +1 -1
- package/src/manifests/table-card.manifest.json +1 -1
- package/src/manifests/table-of-contents.manifest.json +1 -1
- package/src/manifests/table.manifest.json +1 -1
- package/src/manifests/tabs.manifest.json +1 -1
- package/src/manifests/testimonial.manifest.json +1 -1
- package/src/manifests/text.manifest.json +1 -1
- package/src/manifests/textarea.manifest.json +1 -1
- package/src/manifests/theme-toggle.manifest.json +1 -1
- package/src/manifests/time-picker.manifest.json +1 -1
- package/src/manifests/timeline.manifest.json +1 -1
- package/src/manifests/toast.manifest.json +1 -1
- package/src/manifests/tombstone-card.manifest.json +1 -1
- package/src/manifests/tooltip.manifest.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -300,6 +300,7 @@ declare const InputGroupAddon: React.ForwardRefExoticComponent<React.HTMLAttribu
|
|
|
300
300
|
|
|
301
301
|
declare const badgeVariants: (props?: ({
|
|
302
302
|
variant?: "default" | "primary" | "destructive" | "danger" | "success" | "warning" | "info" | "outline" | "secondary" | "neutral" | "accent" | null | undefined;
|
|
303
|
+
size?: "sm" | "lg" | "md" | null | undefined;
|
|
303
304
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
304
305
|
type BadgeProps = React.HTMLAttributes<HTMLSpanElement> & VariantProps<typeof badgeVariants> & {
|
|
305
306
|
/** Render the child element (e.g. a router Link) with badge styling. */
|
|
@@ -307,11 +308,48 @@ type BadgeProps = React.HTMLAttributes<HTMLSpanElement> & VariantProps<typeof ba
|
|
|
307
308
|
};
|
|
308
309
|
declare const Badge: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLSpanElement> & VariantProps<(props?: ({
|
|
309
310
|
variant?: "default" | "primary" | "destructive" | "danger" | "success" | "warning" | "info" | "outline" | "secondary" | "neutral" | "accent" | null | undefined;
|
|
311
|
+
size?: "sm" | "lg" | "md" | null | undefined;
|
|
310
312
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
|
311
313
|
/** Render the child element (e.g. a router Link) with badge styling. */
|
|
312
314
|
asChild?: boolean;
|
|
313
315
|
} & React.RefAttributes<HTMLSpanElement>>;
|
|
314
316
|
|
|
317
|
+
type BottomNavItem = {
|
|
318
|
+
/** Destination URL for the tab. */
|
|
319
|
+
href: string;
|
|
320
|
+
/** Visible tab label. */
|
|
321
|
+
label: string;
|
|
322
|
+
/** Icon shown above the label; always rendered aria-hidden. */
|
|
323
|
+
icon?: React.ReactNode;
|
|
324
|
+
/** Marks the current tab and sets aria-current="page". */
|
|
325
|
+
active?: boolean;
|
|
326
|
+
/** Small count or dot shown in the tab's top corner. */
|
|
327
|
+
badge?: React.ReactNode;
|
|
328
|
+
/** Renders the tab as non-interactive. */
|
|
329
|
+
disabled?: boolean;
|
|
330
|
+
};
|
|
331
|
+
type BottomNavProps = React.HTMLAttributes<HTMLElement> & {
|
|
332
|
+
/** Tabs in order. Keep to 3-5 so every target stays thumb-reachable. */
|
|
333
|
+
items: BottomNavItem[];
|
|
334
|
+
/** Router link component (Next Link, react-router Link). */
|
|
335
|
+
linkComponent?: React.ElementType;
|
|
336
|
+
/** Prop used to pass the destination to `linkComponent`. */
|
|
337
|
+
linkHrefProp?: 'href' | 'to';
|
|
338
|
+
/** Landmark label. Default "Primary". */
|
|
339
|
+
label?: string;
|
|
340
|
+
/** Pin the bar to the bottom edge with safe-area padding (default true). */
|
|
341
|
+
fixed?: boolean;
|
|
342
|
+
/** Hide the bar from the md breakpoint up (default true). */
|
|
343
|
+
mobileOnly?: boolean;
|
|
344
|
+
};
|
|
345
|
+
/**
|
|
346
|
+
* Mobile bottom tab bar for the 3-5 primary destinations of an app shell.
|
|
347
|
+
* A nav landmark with aria-current="page" on the active tab, 44px minimum
|
|
348
|
+
* targets, an optional count badge and safe-area padding so the bar clears
|
|
349
|
+
* the iOS home indicator.
|
|
350
|
+
*/
|
|
351
|
+
declare function BottomNav({ items, linkComponent, linkHrefProp, label, fixed, mobileOnly, className, ...props }: BottomNavProps): React.JSX.Element;
|
|
352
|
+
|
|
315
353
|
declare const Avatar: React.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
316
354
|
declare const AvatarImage: React.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarImageProps & React.RefAttributes<HTMLImageElement>, "ref"> & React.RefAttributes<HTMLImageElement>>;
|
|
317
355
|
declare const AvatarFallback: React.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarFallbackProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
@@ -471,7 +509,14 @@ type DrawerSide = 'left' | 'right' | 'top' | 'bottom';
|
|
|
471
509
|
type DrawerSize = 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
472
510
|
type DrawerProps = {
|
|
473
511
|
open: boolean;
|
|
474
|
-
|
|
512
|
+
/** Called with the next open state. Alias: onClose (close requests only). */
|
|
513
|
+
onOpenChange?: (open: boolean) => void;
|
|
514
|
+
/**
|
|
515
|
+
* Called when the drawer asks to close: Escape, backdrop click or the close
|
|
516
|
+
* button. Alias for `onOpenChange(false)`, used when only a close handler is
|
|
517
|
+
* passed.
|
|
518
|
+
*/
|
|
519
|
+
onClose?: () => void;
|
|
475
520
|
title: string;
|
|
476
521
|
description?: string;
|
|
477
522
|
children?: React.ReactNode;
|
|
@@ -489,6 +534,22 @@ type DrawerProps = {
|
|
|
489
534
|
* ("60vh"). Overrides `size`.
|
|
490
535
|
*/
|
|
491
536
|
height?: number | string;
|
|
537
|
+
/**
|
|
538
|
+
* Drag the inner edge to resize a left/right drawer. Keyboard: Arrow keys
|
|
539
|
+
* nudge 16px, Shift+Arrow 64px, Home/End jump to the bounds. Ignored for
|
|
540
|
+
* top/bottom drawers.
|
|
541
|
+
*/
|
|
542
|
+
resizable?: boolean;
|
|
543
|
+
/** Lower bound in pixels while resizable (default 240). */
|
|
544
|
+
minWidth?: number;
|
|
545
|
+
/** Upper bound in pixels while resizable (default 960). */
|
|
546
|
+
maxWidth?: number;
|
|
547
|
+
/** Initial width in pixels while resizable; defaults to the `size` preset. */
|
|
548
|
+
defaultWidth?: number;
|
|
549
|
+
/** Fired with the next width in pixels when a resize commits. */
|
|
550
|
+
onWidthChange?: (width: number) => void;
|
|
551
|
+
/** Accessible label for the resize handle (default "Resize drawer"). */
|
|
552
|
+
resizeLabel?: string;
|
|
492
553
|
/** Clicking the backdrop closes (default true). */
|
|
493
554
|
closeOnBackdrop?: boolean;
|
|
494
555
|
/** Hide the close (✕) button in the header (default true). */
|
|
@@ -513,7 +574,7 @@ type DrawerProps = {
|
|
|
513
574
|
* restoration on close. Renders fixed to the chosen edge with a border
|
|
514
575
|
* against the backdrop.
|
|
515
576
|
*/
|
|
516
|
-
declare function Drawer({ open, onOpenChange, title, description, children, side, size, width, height, closeOnBackdrop, showClose, closeLabel, initialFocusRef, ariaLabel, animate, }: DrawerProps): React.ReactPortal | null;
|
|
577
|
+
declare function Drawer({ open, onOpenChange, onClose, title, description, children, side, size, width, height, resizable, minWidth, maxWidth, defaultWidth, onWidthChange, resizeLabel, closeOnBackdrop, showClose, closeLabel, initialFocusRef, ariaLabel, animate, }: DrawerProps): React.ReactPortal | null;
|
|
517
578
|
|
|
518
579
|
type SelectOption = {
|
|
519
580
|
value: string;
|
|
@@ -1566,6 +1627,16 @@ type SiteHeaderProps = React.HTMLAttributes<HTMLElement> & {
|
|
|
1566
1627
|
*/
|
|
1567
1628
|
declare function SiteHeader({ brand, items, activeHref, match, actions, mobileActions, linkComponent, linkHrefProp, brandLabel, navLabel, mobileNavLabel, sticky, mobileLabel, showMobileTrigger, desktopBreakpoint, navClassName, className, ...props }: SiteHeaderProps): React.JSX.Element;
|
|
1568
1629
|
|
|
1630
|
+
type AccordionSection = {
|
|
1631
|
+
/** Unique id linking the trigger to its panel. */
|
|
1632
|
+
id: string;
|
|
1633
|
+
/** Trigger label. */
|
|
1634
|
+
title: React.ReactNode;
|
|
1635
|
+
/** Panel content. */
|
|
1636
|
+
content: React.ReactNode;
|
|
1637
|
+
/** Disables the trigger for this section. */
|
|
1638
|
+
disabled?: boolean;
|
|
1639
|
+
};
|
|
1569
1640
|
type AccordionProps = {
|
|
1570
1641
|
/** Controlled open item ids. */
|
|
1571
1642
|
value?: string[];
|
|
@@ -1579,9 +1650,15 @@ type AccordionProps = {
|
|
|
1579
1650
|
variant?: 'default' | 'borderless';
|
|
1580
1651
|
/** Token gap ('lg') or exact pixels (16) between items. */
|
|
1581
1652
|
gap?: GapValue;
|
|
1653
|
+
/**
|
|
1654
|
+
* Declarative sections. When provided, Accordion renders an
|
|
1655
|
+
* AccordionItem/AccordionTrigger/AccordionContent per entry instead of
|
|
1656
|
+
* reading `children`.
|
|
1657
|
+
*/
|
|
1658
|
+
items?: AccordionSection[];
|
|
1582
1659
|
className?: string;
|
|
1583
1660
|
style?: React.CSSProperties;
|
|
1584
|
-
children
|
|
1661
|
+
children?: React.ReactNode;
|
|
1585
1662
|
};
|
|
1586
1663
|
/**
|
|
1587
1664
|
* Collapsible content sections with proper ARIA accordion semantics.
|
|
@@ -1887,13 +1964,21 @@ declare const Heading: React.ForwardRefExoticComponent<React.HTMLAttributes<HTML
|
|
|
1887
1964
|
muted?: boolean;
|
|
1888
1965
|
} & React.RefAttributes<HTMLHeadingElement>>;
|
|
1889
1966
|
|
|
1967
|
+
/** Object form of `action`: EmptyState renders the button/link for you. */
|
|
1968
|
+
type EmptyStateAction = {
|
|
1969
|
+
label: React.ReactNode;
|
|
1970
|
+
onClick?: () => void;
|
|
1971
|
+
/** Renders an anchor (styled as a button) instead of a button. */
|
|
1972
|
+
href?: string;
|
|
1973
|
+
variant?: ButtonProps['variant'];
|
|
1974
|
+
};
|
|
1890
1975
|
type EmptyStateProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
1891
1976
|
/** Icon or illustration shown above the title. */
|
|
1892
1977
|
icon?: React.ReactNode;
|
|
1893
1978
|
title: string;
|
|
1894
1979
|
description?: string;
|
|
1895
|
-
/** Primary action
|
|
1896
|
-
action?: React.ReactNode;
|
|
1980
|
+
/** Primary action: a rendered node, or an action object. */
|
|
1981
|
+
action?: React.ReactNode | EmptyStateAction;
|
|
1897
1982
|
/** Alias for `action` for codebases that pass a list of actions. */
|
|
1898
1983
|
actions?: React.ReactNode;
|
|
1899
1984
|
/** Secondary action shown beside the primary one. */
|
|
@@ -1913,8 +1998,8 @@ declare const EmptyState: React.ForwardRefExoticComponent<React.HTMLAttributes<H
|
|
|
1913
1998
|
icon?: React.ReactNode;
|
|
1914
1999
|
title: string;
|
|
1915
2000
|
description?: string;
|
|
1916
|
-
/** Primary action
|
|
1917
|
-
action?: React.ReactNode;
|
|
2001
|
+
/** Primary action: a rendered node, or an action object. */
|
|
2002
|
+
action?: React.ReactNode | EmptyStateAction;
|
|
1918
2003
|
/** Alias for `action` for codebases that pass a list of actions. */
|
|
1919
2004
|
actions?: React.ReactNode;
|
|
1920
2005
|
/** Secondary action shown beside the primary one. */
|
|
@@ -1928,6 +2013,8 @@ declare const EmptyState: React.ForwardRefExoticComponent<React.HTMLAttributes<H
|
|
|
1928
2013
|
type PageHeaderProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
1929
2014
|
title: string;
|
|
1930
2015
|
description?: string;
|
|
2016
|
+
/** Alias for `description` (migration-friendly). */
|
|
2017
|
+
subtitle?: string;
|
|
1931
2018
|
/** Breadcrumbs/eyebrow above the title. */
|
|
1932
2019
|
breadcrumbs?: React.ReactNode;
|
|
1933
2020
|
/** Right-aligned actions (buttons, menus). */
|
|
@@ -1955,6 +2042,8 @@ type PageHeaderProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
|
1955
2042
|
declare const PageHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
|
|
1956
2043
|
title: string;
|
|
1957
2044
|
description?: string;
|
|
2045
|
+
/** Alias for `description` (migration-friendly). */
|
|
2046
|
+
subtitle?: string;
|
|
1958
2047
|
/** Breadcrumbs/eyebrow above the title. */
|
|
1959
2048
|
breadcrumbs?: React.ReactNode;
|
|
1960
2049
|
/** Right-aligned actions (buttons, menus). */
|
|
@@ -2044,15 +2133,25 @@ declare const SectionHeading: React.ForwardRefExoticComponent<React.HTMLAttribut
|
|
|
2044
2133
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
2045
2134
|
|
|
2046
2135
|
type MetricTrend = 'up' | 'down' | 'flat';
|
|
2136
|
+
type MetricTone = 'default' | 'success' | 'warning' | 'destructive';
|
|
2047
2137
|
type MetricCardProps = Omit<React.HTMLAttributes<HTMLDivElement>, 'title'> & {
|
|
2048
|
-
|
|
2138
|
+
/** Metric name. Alias: title. */
|
|
2139
|
+
label?: string;
|
|
2049
2140
|
value: string | number;
|
|
2050
|
-
/** Secondary line under the value. */
|
|
2141
|
+
/** Secondary line under the value. Alias: description. */
|
|
2051
2142
|
hint?: React.ReactNode;
|
|
2143
|
+
/** Alias for `label` (migration-friendly). */
|
|
2144
|
+
title?: string;
|
|
2145
|
+
/** Alias for `hint` (migration-friendly). */
|
|
2146
|
+
description?: React.ReactNode;
|
|
2052
2147
|
/** Signed change, e.g. "+12.4%" or "-3". */
|
|
2053
2148
|
delta?: string;
|
|
2054
2149
|
/** Direction colors the delta (green up / red down / muted flat). */
|
|
2055
2150
|
trend?: MetricTrend;
|
|
2151
|
+
/** Semantic color for the value (not the delta). */
|
|
2152
|
+
tone?: MetricTone;
|
|
2153
|
+
/** Renders a skeleton instead of the value; sets aria-busy while true. */
|
|
2154
|
+
loading?: boolean;
|
|
2056
2155
|
icon?: React.ReactNode;
|
|
2057
2156
|
};
|
|
2058
2157
|
/**
|
|
@@ -2061,14 +2160,23 @@ type MetricCardProps = Omit<React.HTMLAttributes<HTMLDivElement>, 'title'> & {
|
|
|
2061
2160
|
* never communicated by color alone.
|
|
2062
2161
|
*/
|
|
2063
2162
|
declare const MetricCard: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLDivElement>, "title"> & {
|
|
2064
|
-
|
|
2163
|
+
/** Metric name. Alias: title. */
|
|
2164
|
+
label?: string;
|
|
2065
2165
|
value: string | number;
|
|
2066
|
-
/** Secondary line under the value. */
|
|
2166
|
+
/** Secondary line under the value. Alias: description. */
|
|
2067
2167
|
hint?: React.ReactNode;
|
|
2168
|
+
/** Alias for `label` (migration-friendly). */
|
|
2169
|
+
title?: string;
|
|
2170
|
+
/** Alias for `hint` (migration-friendly). */
|
|
2171
|
+
description?: React.ReactNode;
|
|
2068
2172
|
/** Signed change, e.g. "+12.4%" or "-3". */
|
|
2069
2173
|
delta?: string;
|
|
2070
2174
|
/** Direction colors the delta (green up / red down / muted flat). */
|
|
2071
2175
|
trend?: MetricTrend;
|
|
2176
|
+
/** Semantic color for the value (not the delta). */
|
|
2177
|
+
tone?: MetricTone;
|
|
2178
|
+
/** Renders a skeleton instead of the value; sets aria-busy while true. */
|
|
2179
|
+
loading?: boolean;
|
|
2072
2180
|
icon?: React.ReactNode;
|
|
2073
2181
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
2074
2182
|
|
|
@@ -2091,8 +2199,12 @@ declare const PasswordInput: React.ForwardRefExoticComponent<Omit<InputProps, "t
|
|
|
2091
2199
|
type AuthLayoutProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
2092
2200
|
title: string;
|
|
2093
2201
|
description?: string;
|
|
2094
|
-
/**
|
|
2202
|
+
/** Alias for `description` (migration-friendly). */
|
|
2203
|
+
subtitle?: string;
|
|
2204
|
+
/** Brand/mark above the card. Alias: logo. */
|
|
2095
2205
|
brand?: React.ReactNode;
|
|
2206
|
+
/** Alias for `brand` (migration-friendly). */
|
|
2207
|
+
logo?: React.ReactNode;
|
|
2096
2208
|
/** Links or legal copy under the card. */
|
|
2097
2209
|
footer?: React.ReactNode;
|
|
2098
2210
|
/** Rendered inside the card under the heading. */
|
|
@@ -2106,6 +2218,8 @@ type AuthLayoutProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
|
2106
2218
|
* the centered variant; omitting it makes the split variant fall back.
|
|
2107
2219
|
*/
|
|
2108
2220
|
aside?: React.ReactNode;
|
|
2221
|
+
/** Overrides the card width: pixels (420) or any CSS width ("26rem"). */
|
|
2222
|
+
maxWidth?: number | string;
|
|
2109
2223
|
};
|
|
2110
2224
|
/**
|
|
2111
2225
|
* Auth surface: brand mark, title/description, the form card and a footer
|
|
@@ -2117,8 +2231,12 @@ type AuthLayoutProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
|
2117
2231
|
declare const AuthLayout: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
|
|
2118
2232
|
title: string;
|
|
2119
2233
|
description?: string;
|
|
2120
|
-
/**
|
|
2234
|
+
/** Alias for `description` (migration-friendly). */
|
|
2235
|
+
subtitle?: string;
|
|
2236
|
+
/** Brand/mark above the card. Alias: logo. */
|
|
2121
2237
|
brand?: React.ReactNode;
|
|
2238
|
+
/** Alias for `brand` (migration-friendly). */
|
|
2239
|
+
logo?: React.ReactNode;
|
|
2122
2240
|
/** Links or legal copy under the card. */
|
|
2123
2241
|
footer?: React.ReactNode;
|
|
2124
2242
|
/** Rendered inside the card under the heading. */
|
|
@@ -2132,6 +2250,8 @@ declare const AuthLayout: React.ForwardRefExoticComponent<React.HTMLAttributes<H
|
|
|
2132
2250
|
* the centered variant; omitting it makes the split variant fall back.
|
|
2133
2251
|
*/
|
|
2134
2252
|
aside?: React.ReactNode;
|
|
2253
|
+
/** Overrides the card width: pixels (420) or any CSS width ("26rem"). */
|
|
2254
|
+
maxWidth?: number | string;
|
|
2135
2255
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
2136
2256
|
|
|
2137
2257
|
type FilterBarProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
@@ -4038,5 +4158,5 @@ declare const Pagination: React.ForwardRefExoticComponent<React.HTMLAttributes<H
|
|
|
4038
4158
|
};
|
|
4039
4159
|
} & React.RefAttributes<HTMLElement>>;
|
|
4040
4160
|
|
|
4041
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertTitle, AnnouncementBar, AppShell, AppliedFilters, ArticleCard, AuthLayout, Autocomplete, Avatar, AvatarFallback, AvatarImage, Badge, Block, Breadcrumb, Button, ButtonGroup, CTASection, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, CheckboxGroup, CheckboxGroupItem, ComparisonTable, ConfirmDialog, ContactStrip, Container, DataTable, DatePicker, DateRangePicker, DealCard, Dialog, DialogBody, DialogDescription, DialogFooter, DialogHeader, DialogTitle, Divider, DocumentCard, Drawer, EmptyState, EntityCard, FeatureGrid, FeatureRow, Fieldset, FileUpload, FilterBar, FilterChips, FilterPanel, Flex, FlexItem, Form, FormField, FormLayout, Grid, GridItem, Heading, Hero, Input, InputGroup, InputGroupAddon, Label, Link, LinkTabs, List, ListItem, LoadMore, LogoCloud, Menu, MenuContent, MenuItem, MenuLabel, MenuSeparator, MenuTrigger, MetricCard, MultiSelect, Newsletter, PageHeader, Pagination, PasswordInput, Popover, PopoverContent, PopoverTrigger, ProcessSteps, ProfileCard, Progress, Prose, Radio, RadioCard, RadioGroup, RadioGroupContext, RadioGroupItem, RangeSlider, Search, Section, SectionHeading, SegmentedControl, Select, SelectMenu, Separator, Sidebar, SiteFooter, SiteHeader, Skeleton, Spinner, StatBand, Stepper, Switch, Table, TableBody, TableCaption, TableCard, TableCell, TableFooter, TableHead, TableHeader, TableOfContents, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Testimonial, Text, Textarea, ThemeToggle, TimePicker, Timeline, ToastProvider, Toaster, TombstoneCard, Tooltip, alertVariants, badgeVariants, buttonVariants, cn, documentHead, isComponentManifest, resolveGap, separatorVariants, spinnerVariants, toast, useCombobox, usePresence, useScrollSpy, useToast };
|
|
4042
|
-
export type { AccessibilityRequirement, AccordionContentProps, AccordionItemProps, AccordionProps, AccordionTriggerProps, AlertDescriptionProps, AlertProps, AlertTitleProps, AnnouncementBarProps, AntiPattern, AppShellProps, AppliedFiltersProps, ArticleCardProps, AuthLayoutProps, AutocompleteOption, AutocompleteProps, BadgeProps, BlockElement, BlockProps, BreadcrumbItem, BreadcrumbProps, ButtonGroupProps, ButtonProps, CTASectionProps, CTASectionTone, CardContentProps, CardDescriptionProps, CardFooterProps, CardHeaderProps, CardProps, CardTitleProps, CheckboxGroupItemProps, CheckboxGroupOrientation, CheckboxGroupProps, CheckboxProps, ComboboxItem, ComparisonColumn, ComparisonRow, ComparisonTableProps, ComponentManifest, ComponentTier, CompositionRule, ConfirmDialogProps, ContactItem, ContactStripProps, ContainerProps, ContainerWidth, ContentGuideline, DataTableColumn, DataTableProps, DatePickerProps, DateRange, DateRangePickerProps, DateRangePreset, DealCardProps, DealMetric, DealStatus, DialogBodyProps, DialogDescriptionProps, DialogFooterProps, DialogHeaderProps, DialogProps, DialogSize, DialogTitleProps, DocumentCardProps, DocumentHead, DocumentHeadInput, DocumentStatus, DrawerProps, DrawerSide, DrawerSize, EmptyStateProps, EntityCardProps, EntityStat, FeatureGridProps, FeatureItem, FeatureRowProps, FieldsetProps, FileUploadProps, FilterBarProps, FilterChip, FilterChipsProps, FilterPanelProps, FilterSection, FlexItemProps, FlexProps, FormFieldLabelPlacement, FormFieldProps, FormLayoutProps, FormProps, FormVariant, GapValue, GridItemProps, GridProps, HeadingLevel, HeadingProps, HeroProps, InputGroupAddonProps, InputGroupProps, InputProps, LabelProps, LinkProps, LinkTabsItem, LinkTabsProps, LinkVariant, ListItemProps, ListProps, LoadMoreProps, LogoCloudProps, LogoItem, MenuContentProps, MenuItemProps, MenuLabelProps, MenuProps, MenuSeparatorProps, MenuTriggerProps, MetricCardProps, MetricTrend, MultiSelectOption, MultiSelectProps, NewsletterProps, PageHeaderProps, PaginationIcons, PaginationProps, PasswordInputProps, PopoverContentProps, PopoverProps, PopoverTriggerProps, ProcessStep, ProcessStepsProps, ProfileCardProps, ProgressProps, PropSchema, ProseProps, RadioCardProps, RadioGroupItemProps, RadioGroupProps, RadioProps, RangeSliderProps, SearchOption, SearchProps, SectionHeadingProps, SectionProps, SectionTone, SegmentedControlProps, SegmentedOption, SelectMenuItem, SelectMenuProps, SelectOption, SelectOptionGroup, SelectProps, SeparatorProps, SidebarItem, SidebarProps, SidebarSection, SiteFooterColumn, SiteFooterLink, SiteFooterProps, SiteHeaderProps, SiteNavItem, SkeletonProps, SortIconState, SpinnerProps, StatBandProps, StatItem, StepperProps, StepperStep, SwitchProps, TableBodyProps, TableCaptionProps, TableCardProps, TableCellProps, TableFooterProps, TableHeadProps, TableHeaderProps, TableOfContentsProps, TableProps, TableRowProps, TabsContentProps, TabsListProps, TabsProps, TabsTriggerProps, TestimonialProps, TextProps, TextareaProps, ThemeToggleProps, TimePickerProps, TimelineItem, TimelineProps, ToastAction, ToastContextValue, ToastOptions, ToastRecord, ToastVariant, ToasterPosition, ToasterProps, TocHeading, TombstoneCardProps, TombstoneStatus, TooltipProps, UsageExample };
|
|
4161
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertTitle, AnnouncementBar, AppShell, AppliedFilters, ArticleCard, AuthLayout, Autocomplete, Avatar, AvatarFallback, AvatarImage, Badge, Block, BottomNav, Breadcrumb, Button, ButtonGroup, CTASection, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, CheckboxGroup, CheckboxGroupItem, ComparisonTable, ConfirmDialog, ContactStrip, Container, DataTable, DatePicker, DateRangePicker, DealCard, Dialog, DialogBody, DialogDescription, DialogFooter, DialogHeader, DialogTitle, Divider, DocumentCard, Drawer, EmptyState, EntityCard, FeatureGrid, FeatureRow, Fieldset, FileUpload, FilterBar, FilterChips, FilterPanel, Flex, FlexItem, Form, FormField, FormLayout, Grid, GridItem, Heading, Hero, Input, InputGroup, InputGroupAddon, Label, Link, LinkTabs, List, ListItem, LoadMore, LogoCloud, Menu, MenuContent, MenuItem, MenuLabel, MenuSeparator, MenuTrigger, MetricCard, MultiSelect, Newsletter, PageHeader, Pagination, PasswordInput, Popover, PopoverContent, PopoverTrigger, ProcessSteps, ProfileCard, Progress, Prose, Radio, RadioCard, RadioGroup, RadioGroupContext, RadioGroupItem, RangeSlider, Search, Section, SectionHeading, SegmentedControl, Select, SelectMenu, Separator, Sidebar, SiteFooter, SiteHeader, Skeleton, Spinner, StatBand, Stepper, Switch, Table, TableBody, TableCaption, TableCard, TableCell, TableFooter, TableHead, TableHeader, TableOfContents, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Testimonial, Text, Textarea, ThemeToggle, TimePicker, Timeline, ToastProvider, Toaster, TombstoneCard, Tooltip, alertVariants, badgeVariants, buttonVariants, cn, documentHead, isComponentManifest, resolveGap, separatorVariants, spinnerVariants, toast, useCombobox, usePresence, useScrollSpy, useToast };
|
|
4162
|
+
export type { AccessibilityRequirement, AccordionContentProps, AccordionItemProps, AccordionProps, AccordionSection, AccordionTriggerProps, AlertDescriptionProps, AlertProps, AlertTitleProps, AnnouncementBarProps, AntiPattern, AppShellProps, AppliedFiltersProps, ArticleCardProps, AuthLayoutProps, AutocompleteOption, AutocompleteProps, BadgeProps, BlockElement, BlockProps, BottomNavItem, BottomNavProps, BreadcrumbItem, BreadcrumbProps, ButtonGroupProps, ButtonProps, CTASectionProps, CTASectionTone, CardContentProps, CardDescriptionProps, CardFooterProps, CardHeaderProps, CardProps, CardTitleProps, CheckboxGroupItemProps, CheckboxGroupOrientation, CheckboxGroupProps, CheckboxProps, ComboboxItem, ComparisonColumn, ComparisonRow, ComparisonTableProps, ComponentManifest, ComponentTier, CompositionRule, ConfirmDialogProps, ContactItem, ContactStripProps, ContainerProps, ContainerWidth, ContentGuideline, DataTableColumn, DataTableProps, DatePickerProps, DateRange, DateRangePickerProps, DateRangePreset, DealCardProps, DealMetric, DealStatus, DialogBodyProps, DialogDescriptionProps, DialogFooterProps, DialogHeaderProps, DialogProps, DialogSize, DialogTitleProps, DocumentCardProps, DocumentHead, DocumentHeadInput, DocumentStatus, DrawerProps, DrawerSide, DrawerSize, EmptyStateAction, EmptyStateProps, EntityCardProps, EntityStat, FeatureGridProps, FeatureItem, FeatureRowProps, FieldsetProps, FileUploadProps, FilterBarProps, FilterChip, FilterChipsProps, FilterPanelProps, FilterSection, FlexItemProps, FlexProps, FormFieldLabelPlacement, FormFieldProps, FormLayoutProps, FormProps, FormVariant, GapValue, GridItemProps, GridProps, HeadingLevel, HeadingProps, HeroProps, InputGroupAddonProps, InputGroupProps, InputProps, LabelProps, LinkProps, LinkTabsItem, LinkTabsProps, LinkVariant, ListItemProps, ListProps, LoadMoreProps, LogoCloudProps, LogoItem, MenuContentProps, MenuItemProps, MenuLabelProps, MenuProps, MenuSeparatorProps, MenuTriggerProps, MetricCardProps, MetricTone, MetricTrend, MultiSelectOption, MultiSelectProps, NewsletterProps, PageHeaderProps, PaginationIcons, PaginationProps, PasswordInputProps, PopoverContentProps, PopoverProps, PopoverTriggerProps, ProcessStep, ProcessStepsProps, ProfileCardProps, ProgressProps, PropSchema, ProseProps, RadioCardProps, RadioGroupItemProps, RadioGroupProps, RadioProps, RangeSliderProps, SearchOption, SearchProps, SectionHeadingProps, SectionProps, SectionTone, SegmentedControlProps, SegmentedOption, SelectMenuItem, SelectMenuProps, SelectOption, SelectOptionGroup, SelectProps, SeparatorProps, SidebarItem, SidebarProps, SidebarSection, SiteFooterColumn, SiteFooterLink, SiteFooterProps, SiteHeaderProps, SiteNavItem, SkeletonProps, SortIconState, SpinnerProps, StatBandProps, StatItem, StepperProps, StepperStep, SwitchProps, TableBodyProps, TableCaptionProps, TableCardProps, TableCellProps, TableFooterProps, TableHeadProps, TableHeaderProps, TableOfContentsProps, TableProps, TableRowProps, TabsContentProps, TabsListProps, TabsProps, TabsTriggerProps, TestimonialProps, TextProps, TextareaProps, ThemeToggleProps, TimePickerProps, TimelineItem, TimelineProps, ToastAction, ToastContextValue, ToastOptions, ToastRecord, ToastVariant, ToasterPosition, ToasterProps, TocHeading, TombstoneCardProps, TombstoneStatus, TooltipProps, UsageExample };
|
package/dist/index.d.ts
CHANGED
|
@@ -300,6 +300,7 @@ declare const InputGroupAddon: React.ForwardRefExoticComponent<React.HTMLAttribu
|
|
|
300
300
|
|
|
301
301
|
declare const badgeVariants: (props?: ({
|
|
302
302
|
variant?: "default" | "primary" | "destructive" | "danger" | "success" | "warning" | "info" | "outline" | "secondary" | "neutral" | "accent" | null | undefined;
|
|
303
|
+
size?: "sm" | "lg" | "md" | null | undefined;
|
|
303
304
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
304
305
|
type BadgeProps = React.HTMLAttributes<HTMLSpanElement> & VariantProps<typeof badgeVariants> & {
|
|
305
306
|
/** Render the child element (e.g. a router Link) with badge styling. */
|
|
@@ -307,11 +308,48 @@ type BadgeProps = React.HTMLAttributes<HTMLSpanElement> & VariantProps<typeof ba
|
|
|
307
308
|
};
|
|
308
309
|
declare const Badge: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLSpanElement> & VariantProps<(props?: ({
|
|
309
310
|
variant?: "default" | "primary" | "destructive" | "danger" | "success" | "warning" | "info" | "outline" | "secondary" | "neutral" | "accent" | null | undefined;
|
|
311
|
+
size?: "sm" | "lg" | "md" | null | undefined;
|
|
310
312
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
|
311
313
|
/** Render the child element (e.g. a router Link) with badge styling. */
|
|
312
314
|
asChild?: boolean;
|
|
313
315
|
} & React.RefAttributes<HTMLSpanElement>>;
|
|
314
316
|
|
|
317
|
+
type BottomNavItem = {
|
|
318
|
+
/** Destination URL for the tab. */
|
|
319
|
+
href: string;
|
|
320
|
+
/** Visible tab label. */
|
|
321
|
+
label: string;
|
|
322
|
+
/** Icon shown above the label; always rendered aria-hidden. */
|
|
323
|
+
icon?: React.ReactNode;
|
|
324
|
+
/** Marks the current tab and sets aria-current="page". */
|
|
325
|
+
active?: boolean;
|
|
326
|
+
/** Small count or dot shown in the tab's top corner. */
|
|
327
|
+
badge?: React.ReactNode;
|
|
328
|
+
/** Renders the tab as non-interactive. */
|
|
329
|
+
disabled?: boolean;
|
|
330
|
+
};
|
|
331
|
+
type BottomNavProps = React.HTMLAttributes<HTMLElement> & {
|
|
332
|
+
/** Tabs in order. Keep to 3-5 so every target stays thumb-reachable. */
|
|
333
|
+
items: BottomNavItem[];
|
|
334
|
+
/** Router link component (Next Link, react-router Link). */
|
|
335
|
+
linkComponent?: React.ElementType;
|
|
336
|
+
/** Prop used to pass the destination to `linkComponent`. */
|
|
337
|
+
linkHrefProp?: 'href' | 'to';
|
|
338
|
+
/** Landmark label. Default "Primary". */
|
|
339
|
+
label?: string;
|
|
340
|
+
/** Pin the bar to the bottom edge with safe-area padding (default true). */
|
|
341
|
+
fixed?: boolean;
|
|
342
|
+
/** Hide the bar from the md breakpoint up (default true). */
|
|
343
|
+
mobileOnly?: boolean;
|
|
344
|
+
};
|
|
345
|
+
/**
|
|
346
|
+
* Mobile bottom tab bar for the 3-5 primary destinations of an app shell.
|
|
347
|
+
* A nav landmark with aria-current="page" on the active tab, 44px minimum
|
|
348
|
+
* targets, an optional count badge and safe-area padding so the bar clears
|
|
349
|
+
* the iOS home indicator.
|
|
350
|
+
*/
|
|
351
|
+
declare function BottomNav({ items, linkComponent, linkHrefProp, label, fixed, mobileOnly, className, ...props }: BottomNavProps): React.JSX.Element;
|
|
352
|
+
|
|
315
353
|
declare const Avatar: React.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
316
354
|
declare const AvatarImage: React.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarImageProps & React.RefAttributes<HTMLImageElement>, "ref"> & React.RefAttributes<HTMLImageElement>>;
|
|
317
355
|
declare const AvatarFallback: React.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarFallbackProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
@@ -471,7 +509,14 @@ type DrawerSide = 'left' | 'right' | 'top' | 'bottom';
|
|
|
471
509
|
type DrawerSize = 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
472
510
|
type DrawerProps = {
|
|
473
511
|
open: boolean;
|
|
474
|
-
|
|
512
|
+
/** Called with the next open state. Alias: onClose (close requests only). */
|
|
513
|
+
onOpenChange?: (open: boolean) => void;
|
|
514
|
+
/**
|
|
515
|
+
* Called when the drawer asks to close: Escape, backdrop click or the close
|
|
516
|
+
* button. Alias for `onOpenChange(false)`, used when only a close handler is
|
|
517
|
+
* passed.
|
|
518
|
+
*/
|
|
519
|
+
onClose?: () => void;
|
|
475
520
|
title: string;
|
|
476
521
|
description?: string;
|
|
477
522
|
children?: React.ReactNode;
|
|
@@ -489,6 +534,22 @@ type DrawerProps = {
|
|
|
489
534
|
* ("60vh"). Overrides `size`.
|
|
490
535
|
*/
|
|
491
536
|
height?: number | string;
|
|
537
|
+
/**
|
|
538
|
+
* Drag the inner edge to resize a left/right drawer. Keyboard: Arrow keys
|
|
539
|
+
* nudge 16px, Shift+Arrow 64px, Home/End jump to the bounds. Ignored for
|
|
540
|
+
* top/bottom drawers.
|
|
541
|
+
*/
|
|
542
|
+
resizable?: boolean;
|
|
543
|
+
/** Lower bound in pixels while resizable (default 240). */
|
|
544
|
+
minWidth?: number;
|
|
545
|
+
/** Upper bound in pixels while resizable (default 960). */
|
|
546
|
+
maxWidth?: number;
|
|
547
|
+
/** Initial width in pixels while resizable; defaults to the `size` preset. */
|
|
548
|
+
defaultWidth?: number;
|
|
549
|
+
/** Fired with the next width in pixels when a resize commits. */
|
|
550
|
+
onWidthChange?: (width: number) => void;
|
|
551
|
+
/** Accessible label for the resize handle (default "Resize drawer"). */
|
|
552
|
+
resizeLabel?: string;
|
|
492
553
|
/** Clicking the backdrop closes (default true). */
|
|
493
554
|
closeOnBackdrop?: boolean;
|
|
494
555
|
/** Hide the close (✕) button in the header (default true). */
|
|
@@ -513,7 +574,7 @@ type DrawerProps = {
|
|
|
513
574
|
* restoration on close. Renders fixed to the chosen edge with a border
|
|
514
575
|
* against the backdrop.
|
|
515
576
|
*/
|
|
516
|
-
declare function Drawer({ open, onOpenChange, title, description, children, side, size, width, height, closeOnBackdrop, showClose, closeLabel, initialFocusRef, ariaLabel, animate, }: DrawerProps): React.ReactPortal | null;
|
|
577
|
+
declare function Drawer({ open, onOpenChange, onClose, title, description, children, side, size, width, height, resizable, minWidth, maxWidth, defaultWidth, onWidthChange, resizeLabel, closeOnBackdrop, showClose, closeLabel, initialFocusRef, ariaLabel, animate, }: DrawerProps): React.ReactPortal | null;
|
|
517
578
|
|
|
518
579
|
type SelectOption = {
|
|
519
580
|
value: string;
|
|
@@ -1566,6 +1627,16 @@ type SiteHeaderProps = React.HTMLAttributes<HTMLElement> & {
|
|
|
1566
1627
|
*/
|
|
1567
1628
|
declare function SiteHeader({ brand, items, activeHref, match, actions, mobileActions, linkComponent, linkHrefProp, brandLabel, navLabel, mobileNavLabel, sticky, mobileLabel, showMobileTrigger, desktopBreakpoint, navClassName, className, ...props }: SiteHeaderProps): React.JSX.Element;
|
|
1568
1629
|
|
|
1630
|
+
type AccordionSection = {
|
|
1631
|
+
/** Unique id linking the trigger to its panel. */
|
|
1632
|
+
id: string;
|
|
1633
|
+
/** Trigger label. */
|
|
1634
|
+
title: React.ReactNode;
|
|
1635
|
+
/** Panel content. */
|
|
1636
|
+
content: React.ReactNode;
|
|
1637
|
+
/** Disables the trigger for this section. */
|
|
1638
|
+
disabled?: boolean;
|
|
1639
|
+
};
|
|
1569
1640
|
type AccordionProps = {
|
|
1570
1641
|
/** Controlled open item ids. */
|
|
1571
1642
|
value?: string[];
|
|
@@ -1579,9 +1650,15 @@ type AccordionProps = {
|
|
|
1579
1650
|
variant?: 'default' | 'borderless';
|
|
1580
1651
|
/** Token gap ('lg') or exact pixels (16) between items. */
|
|
1581
1652
|
gap?: GapValue;
|
|
1653
|
+
/**
|
|
1654
|
+
* Declarative sections. When provided, Accordion renders an
|
|
1655
|
+
* AccordionItem/AccordionTrigger/AccordionContent per entry instead of
|
|
1656
|
+
* reading `children`.
|
|
1657
|
+
*/
|
|
1658
|
+
items?: AccordionSection[];
|
|
1582
1659
|
className?: string;
|
|
1583
1660
|
style?: React.CSSProperties;
|
|
1584
|
-
children
|
|
1661
|
+
children?: React.ReactNode;
|
|
1585
1662
|
};
|
|
1586
1663
|
/**
|
|
1587
1664
|
* Collapsible content sections with proper ARIA accordion semantics.
|
|
@@ -1887,13 +1964,21 @@ declare const Heading: React.ForwardRefExoticComponent<React.HTMLAttributes<HTML
|
|
|
1887
1964
|
muted?: boolean;
|
|
1888
1965
|
} & React.RefAttributes<HTMLHeadingElement>>;
|
|
1889
1966
|
|
|
1967
|
+
/** Object form of `action`: EmptyState renders the button/link for you. */
|
|
1968
|
+
type EmptyStateAction = {
|
|
1969
|
+
label: React.ReactNode;
|
|
1970
|
+
onClick?: () => void;
|
|
1971
|
+
/** Renders an anchor (styled as a button) instead of a button. */
|
|
1972
|
+
href?: string;
|
|
1973
|
+
variant?: ButtonProps['variant'];
|
|
1974
|
+
};
|
|
1890
1975
|
type EmptyStateProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
1891
1976
|
/** Icon or illustration shown above the title. */
|
|
1892
1977
|
icon?: React.ReactNode;
|
|
1893
1978
|
title: string;
|
|
1894
1979
|
description?: string;
|
|
1895
|
-
/** Primary action
|
|
1896
|
-
action?: React.ReactNode;
|
|
1980
|
+
/** Primary action: a rendered node, or an action object. */
|
|
1981
|
+
action?: React.ReactNode | EmptyStateAction;
|
|
1897
1982
|
/** Alias for `action` for codebases that pass a list of actions. */
|
|
1898
1983
|
actions?: React.ReactNode;
|
|
1899
1984
|
/** Secondary action shown beside the primary one. */
|
|
@@ -1913,8 +1998,8 @@ declare const EmptyState: React.ForwardRefExoticComponent<React.HTMLAttributes<H
|
|
|
1913
1998
|
icon?: React.ReactNode;
|
|
1914
1999
|
title: string;
|
|
1915
2000
|
description?: string;
|
|
1916
|
-
/** Primary action
|
|
1917
|
-
action?: React.ReactNode;
|
|
2001
|
+
/** Primary action: a rendered node, or an action object. */
|
|
2002
|
+
action?: React.ReactNode | EmptyStateAction;
|
|
1918
2003
|
/** Alias for `action` for codebases that pass a list of actions. */
|
|
1919
2004
|
actions?: React.ReactNode;
|
|
1920
2005
|
/** Secondary action shown beside the primary one. */
|
|
@@ -1928,6 +2013,8 @@ declare const EmptyState: React.ForwardRefExoticComponent<React.HTMLAttributes<H
|
|
|
1928
2013
|
type PageHeaderProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
1929
2014
|
title: string;
|
|
1930
2015
|
description?: string;
|
|
2016
|
+
/** Alias for `description` (migration-friendly). */
|
|
2017
|
+
subtitle?: string;
|
|
1931
2018
|
/** Breadcrumbs/eyebrow above the title. */
|
|
1932
2019
|
breadcrumbs?: React.ReactNode;
|
|
1933
2020
|
/** Right-aligned actions (buttons, menus). */
|
|
@@ -1955,6 +2042,8 @@ type PageHeaderProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
|
1955
2042
|
declare const PageHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
|
|
1956
2043
|
title: string;
|
|
1957
2044
|
description?: string;
|
|
2045
|
+
/** Alias for `description` (migration-friendly). */
|
|
2046
|
+
subtitle?: string;
|
|
1958
2047
|
/** Breadcrumbs/eyebrow above the title. */
|
|
1959
2048
|
breadcrumbs?: React.ReactNode;
|
|
1960
2049
|
/** Right-aligned actions (buttons, menus). */
|
|
@@ -2044,15 +2133,25 @@ declare const SectionHeading: React.ForwardRefExoticComponent<React.HTMLAttribut
|
|
|
2044
2133
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
2045
2134
|
|
|
2046
2135
|
type MetricTrend = 'up' | 'down' | 'flat';
|
|
2136
|
+
type MetricTone = 'default' | 'success' | 'warning' | 'destructive';
|
|
2047
2137
|
type MetricCardProps = Omit<React.HTMLAttributes<HTMLDivElement>, 'title'> & {
|
|
2048
|
-
|
|
2138
|
+
/** Metric name. Alias: title. */
|
|
2139
|
+
label?: string;
|
|
2049
2140
|
value: string | number;
|
|
2050
|
-
/** Secondary line under the value. */
|
|
2141
|
+
/** Secondary line under the value. Alias: description. */
|
|
2051
2142
|
hint?: React.ReactNode;
|
|
2143
|
+
/** Alias for `label` (migration-friendly). */
|
|
2144
|
+
title?: string;
|
|
2145
|
+
/** Alias for `hint` (migration-friendly). */
|
|
2146
|
+
description?: React.ReactNode;
|
|
2052
2147
|
/** Signed change, e.g. "+12.4%" or "-3". */
|
|
2053
2148
|
delta?: string;
|
|
2054
2149
|
/** Direction colors the delta (green up / red down / muted flat). */
|
|
2055
2150
|
trend?: MetricTrend;
|
|
2151
|
+
/** Semantic color for the value (not the delta). */
|
|
2152
|
+
tone?: MetricTone;
|
|
2153
|
+
/** Renders a skeleton instead of the value; sets aria-busy while true. */
|
|
2154
|
+
loading?: boolean;
|
|
2056
2155
|
icon?: React.ReactNode;
|
|
2057
2156
|
};
|
|
2058
2157
|
/**
|
|
@@ -2061,14 +2160,23 @@ type MetricCardProps = Omit<React.HTMLAttributes<HTMLDivElement>, 'title'> & {
|
|
|
2061
2160
|
* never communicated by color alone.
|
|
2062
2161
|
*/
|
|
2063
2162
|
declare const MetricCard: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLDivElement>, "title"> & {
|
|
2064
|
-
|
|
2163
|
+
/** Metric name. Alias: title. */
|
|
2164
|
+
label?: string;
|
|
2065
2165
|
value: string | number;
|
|
2066
|
-
/** Secondary line under the value. */
|
|
2166
|
+
/** Secondary line under the value. Alias: description. */
|
|
2067
2167
|
hint?: React.ReactNode;
|
|
2168
|
+
/** Alias for `label` (migration-friendly). */
|
|
2169
|
+
title?: string;
|
|
2170
|
+
/** Alias for `hint` (migration-friendly). */
|
|
2171
|
+
description?: React.ReactNode;
|
|
2068
2172
|
/** Signed change, e.g. "+12.4%" or "-3". */
|
|
2069
2173
|
delta?: string;
|
|
2070
2174
|
/** Direction colors the delta (green up / red down / muted flat). */
|
|
2071
2175
|
trend?: MetricTrend;
|
|
2176
|
+
/** Semantic color for the value (not the delta). */
|
|
2177
|
+
tone?: MetricTone;
|
|
2178
|
+
/** Renders a skeleton instead of the value; sets aria-busy while true. */
|
|
2179
|
+
loading?: boolean;
|
|
2072
2180
|
icon?: React.ReactNode;
|
|
2073
2181
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
2074
2182
|
|
|
@@ -2091,8 +2199,12 @@ declare const PasswordInput: React.ForwardRefExoticComponent<Omit<InputProps, "t
|
|
|
2091
2199
|
type AuthLayoutProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
2092
2200
|
title: string;
|
|
2093
2201
|
description?: string;
|
|
2094
|
-
/**
|
|
2202
|
+
/** Alias for `description` (migration-friendly). */
|
|
2203
|
+
subtitle?: string;
|
|
2204
|
+
/** Brand/mark above the card. Alias: logo. */
|
|
2095
2205
|
brand?: React.ReactNode;
|
|
2206
|
+
/** Alias for `brand` (migration-friendly). */
|
|
2207
|
+
logo?: React.ReactNode;
|
|
2096
2208
|
/** Links or legal copy under the card. */
|
|
2097
2209
|
footer?: React.ReactNode;
|
|
2098
2210
|
/** Rendered inside the card under the heading. */
|
|
@@ -2106,6 +2218,8 @@ type AuthLayoutProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
|
2106
2218
|
* the centered variant; omitting it makes the split variant fall back.
|
|
2107
2219
|
*/
|
|
2108
2220
|
aside?: React.ReactNode;
|
|
2221
|
+
/** Overrides the card width: pixels (420) or any CSS width ("26rem"). */
|
|
2222
|
+
maxWidth?: number | string;
|
|
2109
2223
|
};
|
|
2110
2224
|
/**
|
|
2111
2225
|
* Auth surface: brand mark, title/description, the form card and a footer
|
|
@@ -2117,8 +2231,12 @@ type AuthLayoutProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
|
2117
2231
|
declare const AuthLayout: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
|
|
2118
2232
|
title: string;
|
|
2119
2233
|
description?: string;
|
|
2120
|
-
/**
|
|
2234
|
+
/** Alias for `description` (migration-friendly). */
|
|
2235
|
+
subtitle?: string;
|
|
2236
|
+
/** Brand/mark above the card. Alias: logo. */
|
|
2121
2237
|
brand?: React.ReactNode;
|
|
2238
|
+
/** Alias for `brand` (migration-friendly). */
|
|
2239
|
+
logo?: React.ReactNode;
|
|
2122
2240
|
/** Links or legal copy under the card. */
|
|
2123
2241
|
footer?: React.ReactNode;
|
|
2124
2242
|
/** Rendered inside the card under the heading. */
|
|
@@ -2132,6 +2250,8 @@ declare const AuthLayout: React.ForwardRefExoticComponent<React.HTMLAttributes<H
|
|
|
2132
2250
|
* the centered variant; omitting it makes the split variant fall back.
|
|
2133
2251
|
*/
|
|
2134
2252
|
aside?: React.ReactNode;
|
|
2253
|
+
/** Overrides the card width: pixels (420) or any CSS width ("26rem"). */
|
|
2254
|
+
maxWidth?: number | string;
|
|
2135
2255
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
2136
2256
|
|
|
2137
2257
|
type FilterBarProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
@@ -4038,5 +4158,5 @@ declare const Pagination: React.ForwardRefExoticComponent<React.HTMLAttributes<H
|
|
|
4038
4158
|
};
|
|
4039
4159
|
} & React.RefAttributes<HTMLElement>>;
|
|
4040
4160
|
|
|
4041
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertTitle, AnnouncementBar, AppShell, AppliedFilters, ArticleCard, AuthLayout, Autocomplete, Avatar, AvatarFallback, AvatarImage, Badge, Block, Breadcrumb, Button, ButtonGroup, CTASection, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, CheckboxGroup, CheckboxGroupItem, ComparisonTable, ConfirmDialog, ContactStrip, Container, DataTable, DatePicker, DateRangePicker, DealCard, Dialog, DialogBody, DialogDescription, DialogFooter, DialogHeader, DialogTitle, Divider, DocumentCard, Drawer, EmptyState, EntityCard, FeatureGrid, FeatureRow, Fieldset, FileUpload, FilterBar, FilterChips, FilterPanel, Flex, FlexItem, Form, FormField, FormLayout, Grid, GridItem, Heading, Hero, Input, InputGroup, InputGroupAddon, Label, Link, LinkTabs, List, ListItem, LoadMore, LogoCloud, Menu, MenuContent, MenuItem, MenuLabel, MenuSeparator, MenuTrigger, MetricCard, MultiSelect, Newsletter, PageHeader, Pagination, PasswordInput, Popover, PopoverContent, PopoverTrigger, ProcessSteps, ProfileCard, Progress, Prose, Radio, RadioCard, RadioGroup, RadioGroupContext, RadioGroupItem, RangeSlider, Search, Section, SectionHeading, SegmentedControl, Select, SelectMenu, Separator, Sidebar, SiteFooter, SiteHeader, Skeleton, Spinner, StatBand, Stepper, Switch, Table, TableBody, TableCaption, TableCard, TableCell, TableFooter, TableHead, TableHeader, TableOfContents, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Testimonial, Text, Textarea, ThemeToggle, TimePicker, Timeline, ToastProvider, Toaster, TombstoneCard, Tooltip, alertVariants, badgeVariants, buttonVariants, cn, documentHead, isComponentManifest, resolveGap, separatorVariants, spinnerVariants, toast, useCombobox, usePresence, useScrollSpy, useToast };
|
|
4042
|
-
export type { AccessibilityRequirement, AccordionContentProps, AccordionItemProps, AccordionProps, AccordionTriggerProps, AlertDescriptionProps, AlertProps, AlertTitleProps, AnnouncementBarProps, AntiPattern, AppShellProps, AppliedFiltersProps, ArticleCardProps, AuthLayoutProps, AutocompleteOption, AutocompleteProps, BadgeProps, BlockElement, BlockProps, BreadcrumbItem, BreadcrumbProps, ButtonGroupProps, ButtonProps, CTASectionProps, CTASectionTone, CardContentProps, CardDescriptionProps, CardFooterProps, CardHeaderProps, CardProps, CardTitleProps, CheckboxGroupItemProps, CheckboxGroupOrientation, CheckboxGroupProps, CheckboxProps, ComboboxItem, ComparisonColumn, ComparisonRow, ComparisonTableProps, ComponentManifest, ComponentTier, CompositionRule, ConfirmDialogProps, ContactItem, ContactStripProps, ContainerProps, ContainerWidth, ContentGuideline, DataTableColumn, DataTableProps, DatePickerProps, DateRange, DateRangePickerProps, DateRangePreset, DealCardProps, DealMetric, DealStatus, DialogBodyProps, DialogDescriptionProps, DialogFooterProps, DialogHeaderProps, DialogProps, DialogSize, DialogTitleProps, DocumentCardProps, DocumentHead, DocumentHeadInput, DocumentStatus, DrawerProps, DrawerSide, DrawerSize, EmptyStateProps, EntityCardProps, EntityStat, FeatureGridProps, FeatureItem, FeatureRowProps, FieldsetProps, FileUploadProps, FilterBarProps, FilterChip, FilterChipsProps, FilterPanelProps, FilterSection, FlexItemProps, FlexProps, FormFieldLabelPlacement, FormFieldProps, FormLayoutProps, FormProps, FormVariant, GapValue, GridItemProps, GridProps, HeadingLevel, HeadingProps, HeroProps, InputGroupAddonProps, InputGroupProps, InputProps, LabelProps, LinkProps, LinkTabsItem, LinkTabsProps, LinkVariant, ListItemProps, ListProps, LoadMoreProps, LogoCloudProps, LogoItem, MenuContentProps, MenuItemProps, MenuLabelProps, MenuProps, MenuSeparatorProps, MenuTriggerProps, MetricCardProps, MetricTrend, MultiSelectOption, MultiSelectProps, NewsletterProps, PageHeaderProps, PaginationIcons, PaginationProps, PasswordInputProps, PopoverContentProps, PopoverProps, PopoverTriggerProps, ProcessStep, ProcessStepsProps, ProfileCardProps, ProgressProps, PropSchema, ProseProps, RadioCardProps, RadioGroupItemProps, RadioGroupProps, RadioProps, RangeSliderProps, SearchOption, SearchProps, SectionHeadingProps, SectionProps, SectionTone, SegmentedControlProps, SegmentedOption, SelectMenuItem, SelectMenuProps, SelectOption, SelectOptionGroup, SelectProps, SeparatorProps, SidebarItem, SidebarProps, SidebarSection, SiteFooterColumn, SiteFooterLink, SiteFooterProps, SiteHeaderProps, SiteNavItem, SkeletonProps, SortIconState, SpinnerProps, StatBandProps, StatItem, StepperProps, StepperStep, SwitchProps, TableBodyProps, TableCaptionProps, TableCardProps, TableCellProps, TableFooterProps, TableHeadProps, TableHeaderProps, TableOfContentsProps, TableProps, TableRowProps, TabsContentProps, TabsListProps, TabsProps, TabsTriggerProps, TestimonialProps, TextProps, TextareaProps, ThemeToggleProps, TimePickerProps, TimelineItem, TimelineProps, ToastAction, ToastContextValue, ToastOptions, ToastRecord, ToastVariant, ToasterPosition, ToasterProps, TocHeading, TombstoneCardProps, TombstoneStatus, TooltipProps, UsageExample };
|
|
4161
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertTitle, AnnouncementBar, AppShell, AppliedFilters, ArticleCard, AuthLayout, Autocomplete, Avatar, AvatarFallback, AvatarImage, Badge, Block, BottomNav, Breadcrumb, Button, ButtonGroup, CTASection, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, CheckboxGroup, CheckboxGroupItem, ComparisonTable, ConfirmDialog, ContactStrip, Container, DataTable, DatePicker, DateRangePicker, DealCard, Dialog, DialogBody, DialogDescription, DialogFooter, DialogHeader, DialogTitle, Divider, DocumentCard, Drawer, EmptyState, EntityCard, FeatureGrid, FeatureRow, Fieldset, FileUpload, FilterBar, FilterChips, FilterPanel, Flex, FlexItem, Form, FormField, FormLayout, Grid, GridItem, Heading, Hero, Input, InputGroup, InputGroupAddon, Label, Link, LinkTabs, List, ListItem, LoadMore, LogoCloud, Menu, MenuContent, MenuItem, MenuLabel, MenuSeparator, MenuTrigger, MetricCard, MultiSelect, Newsletter, PageHeader, Pagination, PasswordInput, Popover, PopoverContent, PopoverTrigger, ProcessSteps, ProfileCard, Progress, Prose, Radio, RadioCard, RadioGroup, RadioGroupContext, RadioGroupItem, RangeSlider, Search, Section, SectionHeading, SegmentedControl, Select, SelectMenu, Separator, Sidebar, SiteFooter, SiteHeader, Skeleton, Spinner, StatBand, Stepper, Switch, Table, TableBody, TableCaption, TableCard, TableCell, TableFooter, TableHead, TableHeader, TableOfContents, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Testimonial, Text, Textarea, ThemeToggle, TimePicker, Timeline, ToastProvider, Toaster, TombstoneCard, Tooltip, alertVariants, badgeVariants, buttonVariants, cn, documentHead, isComponentManifest, resolveGap, separatorVariants, spinnerVariants, toast, useCombobox, usePresence, useScrollSpy, useToast };
|
|
4162
|
+
export type { AccessibilityRequirement, AccordionContentProps, AccordionItemProps, AccordionProps, AccordionSection, AccordionTriggerProps, AlertDescriptionProps, AlertProps, AlertTitleProps, AnnouncementBarProps, AntiPattern, AppShellProps, AppliedFiltersProps, ArticleCardProps, AuthLayoutProps, AutocompleteOption, AutocompleteProps, BadgeProps, BlockElement, BlockProps, BottomNavItem, BottomNavProps, BreadcrumbItem, BreadcrumbProps, ButtonGroupProps, ButtonProps, CTASectionProps, CTASectionTone, CardContentProps, CardDescriptionProps, CardFooterProps, CardHeaderProps, CardProps, CardTitleProps, CheckboxGroupItemProps, CheckboxGroupOrientation, CheckboxGroupProps, CheckboxProps, ComboboxItem, ComparisonColumn, ComparisonRow, ComparisonTableProps, ComponentManifest, ComponentTier, CompositionRule, ConfirmDialogProps, ContactItem, ContactStripProps, ContainerProps, ContainerWidth, ContentGuideline, DataTableColumn, DataTableProps, DatePickerProps, DateRange, DateRangePickerProps, DateRangePreset, DealCardProps, DealMetric, DealStatus, DialogBodyProps, DialogDescriptionProps, DialogFooterProps, DialogHeaderProps, DialogProps, DialogSize, DialogTitleProps, DocumentCardProps, DocumentHead, DocumentHeadInput, DocumentStatus, DrawerProps, DrawerSide, DrawerSize, EmptyStateAction, EmptyStateProps, EntityCardProps, EntityStat, FeatureGridProps, FeatureItem, FeatureRowProps, FieldsetProps, FileUploadProps, FilterBarProps, FilterChip, FilterChipsProps, FilterPanelProps, FilterSection, FlexItemProps, FlexProps, FormFieldLabelPlacement, FormFieldProps, FormLayoutProps, FormProps, FormVariant, GapValue, GridItemProps, GridProps, HeadingLevel, HeadingProps, HeroProps, InputGroupAddonProps, InputGroupProps, InputProps, LabelProps, LinkProps, LinkTabsItem, LinkTabsProps, LinkVariant, ListItemProps, ListProps, LoadMoreProps, LogoCloudProps, LogoItem, MenuContentProps, MenuItemProps, MenuLabelProps, MenuProps, MenuSeparatorProps, MenuTriggerProps, MetricCardProps, MetricTone, MetricTrend, MultiSelectOption, MultiSelectProps, NewsletterProps, PageHeaderProps, PaginationIcons, PaginationProps, PasswordInputProps, PopoverContentProps, PopoverProps, PopoverTriggerProps, ProcessStep, ProcessStepsProps, ProfileCardProps, ProgressProps, PropSchema, ProseProps, RadioCardProps, RadioGroupItemProps, RadioGroupProps, RadioProps, RangeSliderProps, SearchOption, SearchProps, SectionHeadingProps, SectionProps, SectionTone, SegmentedControlProps, SegmentedOption, SelectMenuItem, SelectMenuProps, SelectOption, SelectOptionGroup, SelectProps, SeparatorProps, SidebarItem, SidebarProps, SidebarSection, SiteFooterColumn, SiteFooterLink, SiteFooterProps, SiteHeaderProps, SiteNavItem, SkeletonProps, SortIconState, SpinnerProps, StatBandProps, StatItem, StepperProps, StepperStep, SwitchProps, TableBodyProps, TableCaptionProps, TableCardProps, TableCellProps, TableFooterProps, TableHeadProps, TableHeaderProps, TableOfContentsProps, TableProps, TableRowProps, TabsContentProps, TabsListProps, TabsProps, TabsTriggerProps, TestimonialProps, TextProps, TextareaProps, ThemeToggleProps, TimePickerProps, TimelineItem, TimelineProps, ToastAction, ToastContextValue, ToastOptions, ToastRecord, ToastVariant, ToasterPosition, ToasterProps, TocHeading, TombstoneCardProps, TombstoneStatus, TooltipProps, UsageExample };
|