@slipstream-ui/core 0.11.8 → 0.11.10
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 +176 -9
- package/dist/index.d.ts +176 -9
- package/dist/index.js +1297 -905
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1294 -905
- package/dist/index.mjs.map +1 -1
- package/dist/manifests/accordion.manifest.json +1 -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 +1 -1
- package/dist/manifests/autocomplete.manifest.json +1 -1
- package/dist/manifests/avatar.manifest.json +1 -1
- package/dist/manifests/badge.manifest.json +1 -1
- package/dist/manifests/block.manifest.json +1 -1
- package/dist/manifests/bottom-nav.manifest.json +1 -1
- package/dist/manifests/breadcrumb.manifest.json +1 -1
- package/dist/manifests/button-group.manifest.json +1 -1
- package/dist/manifests/button.manifest.json +4 -2
- package/dist/manifests/calendar.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/cover-image.manifest.json +1 -1
- package/dist/manifests/cta-section.manifest.json +1 -1
- package/dist/manifests/data-table.manifest.json +22 -1
- package/dist/manifests/date-picker-popover.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 +1 -1
- 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/image.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-toolbar.manifest.json +120 -0
- 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/media-card.manifest.json +161 -0
- package/dist/manifests/menu.manifest.json +1 -1
- package/dist/manifests/metric-card.manifest.json +1 -1
- package/dist/manifests/month-schedule.manifest.json +217 -0
- package/dist/manifests/multi-select.manifest.json +1 -1
- package/dist/manifests/newsletter.manifest.json +1 -1
- package/dist/manifests/page-header.manifest.json +1 -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 +4 -4
- 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/button/Button.d.ts +2 -2
- package/dist/src/components/button/Button.js +1 -0
- package/dist/src/components/button/Button.js.map +1 -1
- package/dist/src/components/button/Button.mjs +1 -0
- package/dist/src/components/button/Button.mjs.map +1 -1
- package/dist/src/components/data-table/DataTable.d.ts +12 -1
- package/dist/src/components/data-table/DataTable.js +189 -112
- package/dist/src/components/data-table/DataTable.js.map +1 -1
- package/dist/src/components/data-table/DataTable.mjs +189 -112
- package/dist/src/components/data-table/DataTable.mjs.map +1 -1
- package/dist/src/components/list-toolbar/ListToolbar.d.ts +25 -0
- package/dist/src/components/list-toolbar/ListToolbar.js +68 -0
- package/dist/src/components/list-toolbar/ListToolbar.js.map +1 -0
- package/dist/src/components/list-toolbar/ListToolbar.mjs +44 -0
- package/dist/src/components/list-toolbar/ListToolbar.mjs.map +1 -0
- package/dist/src/components/list-toolbar/index.d.ts +1 -0
- package/dist/src/components/list-toolbar/index.js +23 -0
- package/dist/src/components/list-toolbar/index.js.map +1 -0
- package/dist/src/components/list-toolbar/index.mjs +2 -0
- package/dist/src/components/list-toolbar/index.mjs.map +1 -0
- package/dist/src/components/media-card/MediaCard.d.ts +61 -0
- package/dist/src/components/media-card/MediaCard.js +88 -0
- package/dist/src/components/media-card/MediaCard.js.map +1 -0
- package/dist/src/components/media-card/MediaCard.mjs +54 -0
- package/dist/src/components/media-card/MediaCard.mjs.map +1 -0
- package/dist/src/components/media-card/index.d.ts +1 -0
- package/dist/src/components/media-card/index.js +23 -0
- package/dist/src/components/media-card/index.js.map +1 -0
- package/dist/src/components/media-card/index.mjs +2 -0
- package/dist/src/components/media-card/index.mjs.map +1 -0
- package/dist/src/components/month-schedule/MonthSchedule.d.ts +56 -0
- package/dist/src/components/month-schedule/MonthSchedule.js +245 -0
- package/dist/src/components/month-schedule/MonthSchedule.js.map +1 -0
- package/dist/src/components/month-schedule/MonthSchedule.mjs +219 -0
- package/dist/src/components/month-schedule/MonthSchedule.mjs.map +1 -0
- package/dist/src/components/month-schedule/index.d.ts +1 -0
- package/dist/src/components/month-schedule/index.js +23 -0
- package/dist/src/components/month-schedule/index.js.map +1 -0
- package/dist/src/components/month-schedule/index.mjs +2 -0
- package/dist/src/components/month-schedule/index.mjs.map +1 -0
- package/dist/src/components/segmented-control/SegmentedControl.d.ts +20 -4
- package/dist/src/components/segmented-control/SegmentedControl.js +17 -3
- package/dist/src/components/segmented-control/SegmentedControl.js.map +1 -1
- package/dist/src/components/segmented-control/SegmentedControl.mjs +17 -3
- package/dist/src/components/segmented-control/SegmentedControl.mjs.map +1 -1
- package/dist/src/index.d.ts +3 -0
- package/dist/styles-full.css +1 -1
- package/dist/styles.css +1 -1
- package/package.json +3 -3
- package/src/components/button/Button.ssr.test.tsx +1 -1
- package/src/components/button/Button.test.tsx +6 -0
- package/src/components/button/Button.tsx +1 -0
- package/src/components/data-table/DataTable.test.tsx +99 -0
- package/src/components/data-table/DataTable.tsx +115 -1
- package/src/components/list-toolbar/ListToolbar.test.tsx +50 -0
- package/src/components/list-toolbar/ListToolbar.tsx +64 -0
- package/src/components/list-toolbar/index.ts +1 -0
- package/src/components/media-card/MediaCard.test.tsx +97 -0
- package/src/components/media-card/MediaCard.tsx +116 -0
- package/src/components/media-card/index.ts +1 -0
- package/src/components/month-schedule/MonthSchedule.test.tsx +137 -0
- package/src/components/month-schedule/MonthSchedule.tsx +332 -0
- package/src/components/month-schedule/index.ts +1 -0
- package/src/components/segmented-control/SegmentedControl.test.tsx +51 -0
- package/src/components/segmented-control/SegmentedControl.tsx +36 -4
- package/src/index.ts +3 -0
- package/src/manifests/accordion.manifest.json +1 -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 +1 -1
- package/src/manifests/autocomplete.manifest.json +1 -1
- package/src/manifests/avatar.manifest.json +1 -1
- package/src/manifests/badge.manifest.json +1 -1
- package/src/manifests/block.manifest.json +1 -1
- package/src/manifests/bottom-nav.manifest.json +1 -1
- package/src/manifests/breadcrumb.manifest.json +1 -1
- package/src/manifests/button-group.manifest.json +1 -1
- package/src/manifests/button.manifest.json +4 -2
- package/src/manifests/calendar.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/cover-image.manifest.json +1 -1
- package/src/manifests/cta-section.manifest.json +1 -1
- package/src/manifests/data-table.manifest.json +22 -1
- package/src/manifests/date-picker-popover.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 +1 -1
- 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/image.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-toolbar.manifest.json +120 -0
- 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/media-card.manifest.json +161 -0
- package/src/manifests/menu.manifest.json +1 -1
- package/src/manifests/metric-card.manifest.json +1 -1
- package/src/manifests/month-schedule.manifest.json +217 -0
- package/src/manifests/multi-select.manifest.json +1 -1
- package/src/manifests/newsletter.manifest.json +1 -1
- package/src/manifests/page-header.manifest.json +1 -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 +4 -4
- 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
|
@@ -224,7 +224,7 @@ declare function AppShell({ sidebar, header, hideMobileMenu, sidebarWidth, mobil
|
|
|
224
224
|
|
|
225
225
|
declare const buttonVariants: (props?: ({
|
|
226
226
|
variant?: "default" | "primary" | "destructive" | "danger" | "success" | "warning" | "info" | "outline" | "outline-destructive" | "outline-success" | "outline-warning" | "outline-info" | "secondary" | "ghost" | "link" | "contrast" | "onDark" | null | undefined;
|
|
227
|
-
size?: "default" | "sm" | "lg" | "icon" | null | undefined;
|
|
227
|
+
size?: "default" | "sm" | "xs" | "lg" | "icon" | null | undefined;
|
|
228
228
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
229
229
|
type ButtonProps = React.ButtonHTMLAttributes<HTMLButtonElement> & VariantProps<typeof buttonVariants> & {
|
|
230
230
|
asChild?: boolean;
|
|
@@ -235,7 +235,7 @@ type ButtonProps = React.ButtonHTMLAttributes<HTMLButtonElement> & VariantProps<
|
|
|
235
235
|
};
|
|
236
236
|
declare const Button: React.ForwardRefExoticComponent<React.ButtonHTMLAttributes<HTMLButtonElement> & VariantProps<(props?: ({
|
|
237
237
|
variant?: "default" | "primary" | "destructive" | "danger" | "success" | "warning" | "info" | "outline" | "outline-destructive" | "outline-success" | "outline-warning" | "outline-info" | "secondary" | "ghost" | "link" | "contrast" | "onDark" | null | undefined;
|
|
238
|
-
size?: "default" | "sm" | "lg" | "icon" | null | undefined;
|
|
238
|
+
size?: "default" | "sm" | "xs" | "lg" | "icon" | null | undefined;
|
|
239
239
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
|
240
240
|
asChild?: boolean;
|
|
241
241
|
/** Shows a spinner, disables the button and sets aria-busy while an action runs. */
|
|
@@ -1507,6 +1507,62 @@ type CalendarProps = {
|
|
|
1507
1507
|
*/
|
|
1508
1508
|
declare const Calendar: React.ForwardRefExoticComponent<CalendarProps & React.RefAttributes<HTMLDivElement>>;
|
|
1509
1509
|
|
|
1510
|
+
type MonthScheduleLegendItem = {
|
|
1511
|
+
/** Type key returned by getType. */
|
|
1512
|
+
type: string;
|
|
1513
|
+
/** Human-readable label shown in the legend. */
|
|
1514
|
+
label: string;
|
|
1515
|
+
};
|
|
1516
|
+
type MonthScheduleProps<T> = {
|
|
1517
|
+
/** Events to place inside days; each is dated via getDate. */
|
|
1518
|
+
events: T[];
|
|
1519
|
+
/** ISO date key (YYYY-MM-DD) for an event. */
|
|
1520
|
+
getDate: (event: T) => string;
|
|
1521
|
+
/** Short label shown on the day chip and in the agenda. */
|
|
1522
|
+
getLabel: (event: T) => string;
|
|
1523
|
+
/** Optional type key used for chip color and the legend. */
|
|
1524
|
+
getType?: (event: T) => string | undefined;
|
|
1525
|
+
/** Optional destination per event. */
|
|
1526
|
+
getHref?: (event: T) => string | undefined;
|
|
1527
|
+
/** Controlled month as YYYY-MM. Falls back to defaultMonth, then today. */
|
|
1528
|
+
month?: string;
|
|
1529
|
+
/** Uncontrolled initial month (YYYY-MM). */
|
|
1530
|
+
defaultMonth?: string;
|
|
1531
|
+
/** Called with the new YYYY-MM when paging. */
|
|
1532
|
+
onMonthChange?: (month: string) => void;
|
|
1533
|
+
/** Override "today" for deterministic server rendering and tests. */
|
|
1534
|
+
today?: string;
|
|
1535
|
+
/** BCP-47 locale for month, weekday and agenda labels. */
|
|
1536
|
+
locale?: string;
|
|
1537
|
+
/** 0 starts the week on Sunday, 1 on Monday. */
|
|
1538
|
+
weekStartsOn?: 0 | 1;
|
|
1539
|
+
/** Maximum event chips per day before collapsing into "+N more". */
|
|
1540
|
+
maxPerDay?: number;
|
|
1541
|
+
/** Type key → label/color entries rendered as a legend under the grid. */
|
|
1542
|
+
legend?: MonthScheduleLegendItem[];
|
|
1543
|
+
/**
|
|
1544
|
+
* Below this breakpoint an agenda list replaces the day grid:
|
|
1545
|
+
* 'sm' swaps under 640px, 'md' under 768px.
|
|
1546
|
+
*/
|
|
1547
|
+
agendaBreakpoint?: 'sm' | 'md';
|
|
1548
|
+
/** Custom link element for event hrefs (Next Link, react-router). */
|
|
1549
|
+
linkComponent?: React.ElementType;
|
|
1550
|
+
/** Prop used to pass the destination to linkComponent ('href' or 'to'). */
|
|
1551
|
+
linkHrefProp?: 'href' | 'to';
|
|
1552
|
+
'aria-label'?: string;
|
|
1553
|
+
className?: string;
|
|
1554
|
+
};
|
|
1555
|
+
/**
|
|
1556
|
+
* Month schedule: a month grid with dated events rendered inside each day,
|
|
1557
|
+
* plus a legend and a small-screen agenda. Built on the same date utilities
|
|
1558
|
+
* as Calendar; `today` stays explicit so server-rendered pages never read the
|
|
1559
|
+
* server clock.
|
|
1560
|
+
*/
|
|
1561
|
+
declare function MonthSchedule<T>({ events, getDate, getLabel, getType, getHref, month, defaultMonth, onMonthChange, today, locale, weekStartsOn, maxPerDay, legend, agendaBreakpoint, linkComponent, linkHrefProp, 'aria-label': ariaLabel, className, }: MonthScheduleProps<T>): React.JSX.Element;
|
|
1562
|
+
declare namespace MonthSchedule {
|
|
1563
|
+
var displayName: string;
|
|
1564
|
+
}
|
|
1565
|
+
|
|
1510
1566
|
type CardProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
1511
1567
|
/** Render the child element (e.g. a router Link) with card styling. */
|
|
1512
1568
|
asChild?: boolean;
|
|
@@ -1840,6 +1896,8 @@ type DataTableColumn<T> = {
|
|
|
1840
1896
|
onClick?: (row: T) => void;
|
|
1841
1897
|
};
|
|
1842
1898
|
type SortIconState = 'none' | 'asc' | 'desc';
|
|
1899
|
+
/** Viewport breakpoint below which card layout takes over. */
|
|
1900
|
+
type DataTableCardBreakpoint = 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
1843
1901
|
type DataTableProps<T> = {
|
|
1844
1902
|
/** Column configuration — everything about the table's shape. */
|
|
1845
1903
|
columns: DataTableColumn<T>[];
|
|
@@ -1898,6 +1956,15 @@ type DataTableProps<T> = {
|
|
|
1898
1956
|
density?: 'default' | 'compact';
|
|
1899
1957
|
/** Zebra-striped rows. */
|
|
1900
1958
|
zebra?: boolean;
|
|
1959
|
+
/**
|
|
1960
|
+
* Responsive card fallback: below the given breakpoint each row renders as
|
|
1961
|
+
* a definition-list card (column headers become field labels) instead of a
|
|
1962
|
+
* table row — the fix for unreadable horizontal scroll on narrow viewports.
|
|
1963
|
+
* `true` enables it below `md` (768px); a string picks the breakpoint.
|
|
1964
|
+
* Both layouts are rendered and swapped with CSS only, so sorting,
|
|
1965
|
+
* selection, pagination, and row callbacks behave identically in each.
|
|
1966
|
+
*/
|
|
1967
|
+
cardLayout?: boolean | DataTableCardBreakpoint;
|
|
1901
1968
|
/** Render skeleton placeholder rows (announced via aria-busy). */
|
|
1902
1969
|
loading?: boolean;
|
|
1903
1970
|
/**
|
|
@@ -1914,7 +1981,7 @@ type DataTableProps<T> = {
|
|
|
1914
1981
|
* aria-sort, cursor pagination when `pageSize` is set, and a friendly empty
|
|
1915
1982
|
* state — so most tables never need hand-rolled table code.
|
|
1916
1983
|
*/
|
|
1917
|
-
declare function DataTable<T>({ columns, data, rowId, caption, defaultSort, sortKey, sortDir, onSortChange, renderSortIcon, pageSize, page, onPageChange, pageCount: pageCountProp, total, manualPagination, selectedRowIds, onSelectedRowIdsChange, isRowSelectable, bulkActions, onRowClick, emptyMessage, selectAllLabel, selectedLabel, stickyHeader, density, zebra, loading, loadingRows, className, }: DataTableProps<T>): React.JSX.Element;
|
|
1984
|
+
declare function DataTable<T>({ columns, data, rowId, caption, defaultSort, sortKey, sortDir, onSortChange, renderSortIcon, pageSize, page, onPageChange, pageCount: pageCountProp, total, manualPagination, selectedRowIds, onSelectedRowIdsChange, isRowSelectable, bulkActions, onRowClick, emptyMessage, selectAllLabel, selectedLabel, stickyHeader, density, zebra, cardLayout, loading, loadingRows, className, }: DataTableProps<T>): React.JSX.Element;
|
|
1918
1985
|
|
|
1919
1986
|
type ListProps = React.HTMLAttributes<HTMLUListElement> & {
|
|
1920
1987
|
/** Hairline dividers between rows. */
|
|
@@ -2518,6 +2585,31 @@ declare const FilterBar: React.ForwardRefExoticComponent<React.HTMLAttributes<HT
|
|
|
2518
2585
|
trailing?: React.ReactNode;
|
|
2519
2586
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
2520
2587
|
|
|
2588
|
+
type ListToolbarProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
2589
|
+
/** Number of matching results; renders "{count} {countLabel}". */
|
|
2590
|
+
count?: number;
|
|
2591
|
+
/** Noun for the result count. Default "results". */
|
|
2592
|
+
countLabel?: string;
|
|
2593
|
+
/** Page/range position text, e.g. "Page 2 of 5" or "Showing 21–40 of 137". */
|
|
2594
|
+
position?: React.ReactNode;
|
|
2595
|
+
/** Muted note at the end of the summary line, e.g. "Sorted by date, soonest first". */
|
|
2596
|
+
note?: React.ReactNode;
|
|
2597
|
+
/** Controls rendered at the far end: SegmentedControl view switch, sort Select. */
|
|
2598
|
+
children?: React.ReactNode;
|
|
2599
|
+
/** Distribution of the bar. Default 'between' (summary left, controls right). */
|
|
2600
|
+
align?: 'between' | 'start' | 'center' | 'end';
|
|
2601
|
+
};
|
|
2602
|
+
/**
|
|
2603
|
+
* Slim result bar for filtered lists and directories: result count, optional
|
|
2604
|
+
* page position and a "sorted by" note on the left; a view switch (e.g.
|
|
2605
|
+
* SegmentedControl in link mode) and sort control on the right. Pair with
|
|
2606
|
+
* FilterBar for the input row above and Pagination below.
|
|
2607
|
+
*/
|
|
2608
|
+
declare function ListToolbar({ count, countLabel, position, note, align, className, children, ...props }: ListToolbarProps): React.JSX.Element;
|
|
2609
|
+
declare namespace ListToolbar {
|
|
2610
|
+
var displayName: string;
|
|
2611
|
+
}
|
|
2612
|
+
|
|
2521
2613
|
type DatePickerProps = Omit<InputProps, 'type' | 'value' | 'defaultValue'> & {
|
|
2522
2614
|
/** ISO date string (YYYY-MM-DD) — controlled. */
|
|
2523
2615
|
value?: string;
|
|
@@ -3465,6 +3557,65 @@ declare const ArticleCard: React.ForwardRefExoticComponent<Omit<React.HTMLAttrib
|
|
|
3465
3557
|
variant?: "default" | "compact";
|
|
3466
3558
|
} & React.RefAttributes<HTMLElement>>;
|
|
3467
3559
|
|
|
3560
|
+
type MediaCardChip = {
|
|
3561
|
+
label: string;
|
|
3562
|
+
/** Badge variant; quiet outline tones fit status metadata best. */
|
|
3563
|
+
variant?: BadgeProps['variant'];
|
|
3564
|
+
/** Leading status dot. */
|
|
3565
|
+
dot?: boolean;
|
|
3566
|
+
};
|
|
3567
|
+
type MediaCardProps = Omit<React.HTMLAttributes<HTMLElement>, 'title'> & {
|
|
3568
|
+
/** Card title. */
|
|
3569
|
+
title: string;
|
|
3570
|
+
/** Supporting copy under the title. */
|
|
3571
|
+
description?: React.ReactNode;
|
|
3572
|
+
/** Destination URL; the whole card becomes one link when set. */
|
|
3573
|
+
href?: string;
|
|
3574
|
+
/** Cover art rendered through CoverImage (seeded gradient fallback included). */
|
|
3575
|
+
cover?: Omit<CoverImageProps, 'className'>;
|
|
3576
|
+
/** Metadata line under the description (date, location, deadline). */
|
|
3577
|
+
meta?: React.ReactNode;
|
|
3578
|
+
/** Status/category chips rendered as Badges. */
|
|
3579
|
+
chips?: MediaCardChip[];
|
|
3580
|
+
/** Bottom slot for a details affordance or secondary text. Non-interactive when the card is a link. */
|
|
3581
|
+
footer?: React.ReactNode;
|
|
3582
|
+
/** 'vertical' stacks cover over content; 'row' puts a fixed-width cover beside it. */
|
|
3583
|
+
layout?: 'vertical' | 'row';
|
|
3584
|
+
/** Custom link element for routers (Next Link, react-router). */
|
|
3585
|
+
linkComponent?: React.ElementType;
|
|
3586
|
+
/** Prop used to pass the destination to linkComponent ('href' or 'to'). */
|
|
3587
|
+
linkHrefProp?: 'href' | 'to';
|
|
3588
|
+
};
|
|
3589
|
+
/**
|
|
3590
|
+
* Media card for event, article and listing grids: CoverImage on top (or
|
|
3591
|
+
* beside in `layout="row"`), title, description, metadata line, status chips
|
|
3592
|
+
* and an optional footer. With `href` the entire card is a single link —
|
|
3593
|
+
* one target, one hover state, one focus ring — so keep `footer` free of
|
|
3594
|
+
* nested interactive elements.
|
|
3595
|
+
*/
|
|
3596
|
+
declare const MediaCard: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLElement>, "title"> & {
|
|
3597
|
+
/** Card title. */
|
|
3598
|
+
title: string;
|
|
3599
|
+
/** Supporting copy under the title. */
|
|
3600
|
+
description?: React.ReactNode;
|
|
3601
|
+
/** Destination URL; the whole card becomes one link when set. */
|
|
3602
|
+
href?: string;
|
|
3603
|
+
/** Cover art rendered through CoverImage (seeded gradient fallback included). */
|
|
3604
|
+
cover?: Omit<CoverImageProps, "className">;
|
|
3605
|
+
/** Metadata line under the description (date, location, deadline). */
|
|
3606
|
+
meta?: React.ReactNode;
|
|
3607
|
+
/** Status/category chips rendered as Badges. */
|
|
3608
|
+
chips?: MediaCardChip[];
|
|
3609
|
+
/** Bottom slot for a details affordance or secondary text. Non-interactive when the card is a link. */
|
|
3610
|
+
footer?: React.ReactNode;
|
|
3611
|
+
/** 'vertical' stacks cover over content; 'row' puts a fixed-width cover beside it. */
|
|
3612
|
+
layout?: "vertical" | "row";
|
|
3613
|
+
/** Custom link element for routers (Next Link, react-router). */
|
|
3614
|
+
linkComponent?: React.ElementType;
|
|
3615
|
+
/** Prop used to pass the destination to linkComponent ('href' or 'to'). */
|
|
3616
|
+
linkHrefProp?: "href" | "to";
|
|
3617
|
+
} & React.RefAttributes<HTMLElement>>;
|
|
3618
|
+
|
|
3468
3619
|
type NewsletterProps = Omit<React.FormHTMLAttributes<HTMLFormElement>, 'onSubmit' | 'title'> & {
|
|
3469
3620
|
/** Headline for the signup block. */
|
|
3470
3621
|
title: string;
|
|
@@ -3882,6 +4033,12 @@ type SegmentedOption = {
|
|
|
3882
4033
|
label: React.ReactNode;
|
|
3883
4034
|
/** Optional leading icon. */
|
|
3884
4035
|
icon?: React.ReactNode;
|
|
4036
|
+
/**
|
|
4037
|
+
* Optional trailing note (e.g. "no Pro-Am ladder"). Rendered as a small
|
|
4038
|
+
* muted marker after the label and exposed to assistive tech via
|
|
4039
|
+
* `aria-description`, so it does not change the accessible name.
|
|
4040
|
+
*/
|
|
4041
|
+
hint?: string;
|
|
3885
4042
|
disabled?: boolean;
|
|
3886
4043
|
/**
|
|
3887
4044
|
* Destination URL. When set the segment renders as a link instead of a
|
|
@@ -3904,8 +4061,13 @@ type SegmentedControlProps = Omit<React.HTMLAttributes<HTMLDivElement>, 'onChang
|
|
|
3904
4061
|
multiple?: boolean;
|
|
3905
4062
|
/** Control density. Default 'md'. */
|
|
3906
4063
|
size?: 'sm' | 'md' | 'lg';
|
|
3907
|
-
/**
|
|
3908
|
-
|
|
4064
|
+
/**
|
|
4065
|
+
* Stretch segments to fill the container width. `true` fills at every
|
|
4066
|
+
* viewport; a breakpoint string ('sm' | 'md' | 'lg' | 'xl' | '2xl') fills
|
|
4067
|
+
* only *below* that breakpoint and hugs content at and above it — the
|
|
4068
|
+
* responsive pattern for "full-width on mobile, compact on desktop".
|
|
4069
|
+
*/
|
|
4070
|
+
fullWidth?: boolean | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
3909
4071
|
/** Custom link element for routers (Next Link, react-router Link). */
|
|
3910
4072
|
linkComponent?: React.ElementType;
|
|
3911
4073
|
/** Prop used to pass the destination to `linkComponent`. */
|
|
@@ -3936,8 +4098,13 @@ declare const SegmentedControl: React.ForwardRefExoticComponent<Omit<React.HTMLA
|
|
|
3936
4098
|
multiple?: boolean;
|
|
3937
4099
|
/** Control density. Default 'md'. */
|
|
3938
4100
|
size?: "sm" | "md" | "lg";
|
|
3939
|
-
/**
|
|
3940
|
-
|
|
4101
|
+
/**
|
|
4102
|
+
* Stretch segments to fill the container width. `true` fills at every
|
|
4103
|
+
* viewport; a breakpoint string ('sm' | 'md' | 'lg' | 'xl' | '2xl') fills
|
|
4104
|
+
* only *below* that breakpoint and hugs content at and above it — the
|
|
4105
|
+
* responsive pattern for "full-width on mobile, compact on desktop".
|
|
4106
|
+
*/
|
|
4107
|
+
fullWidth?: boolean | "sm" | "md" | "lg" | "xl" | "2xl";
|
|
3941
4108
|
/** Custom link element for routers (Next Link, react-router Link). */
|
|
3942
4109
|
linkComponent?: React.ElementType;
|
|
3943
4110
|
/** Prop used to pass the destination to `linkComponent`. */
|
|
@@ -4538,5 +4705,5 @@ declare const Pagination: React.ForwardRefExoticComponent<React.HTMLAttributes<H
|
|
|
4538
4705
|
};
|
|
4539
4706
|
} & React.RefAttributes<HTMLElement>>;
|
|
4540
4707
|
|
|
4541
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertTitle, AnnouncementBar, AppShell, AppliedFilters, ArticleCard, AuthLayout, Autocomplete, Avatar, AvatarFallback, AvatarImage, Badge, Block, BottomNav, Breadcrumb, Button, ButtonGroup, CTASection, Calendar, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, CheckboxGroup, CheckboxGroupItem, ComparisonTable, ConfirmDialog, ContactStrip, Container, CoverImage, DataTable, DatePicker, DatePickerPopover, 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, Image, Input, InputGroup, InputGroupAddon, Label, Link, LinkTabs, List, ListItem, LoadMore, LogoCloud, Menu, MenuContent, MenuItem, MenuLabel, MenuSeparator, MenuTrigger, MetricCard, MultiSelect, Newsletter, PageHeader, Pagination, PasswordInput, Popover, PopoverAnchor, 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 };
|
|
4542
|
-
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, CalendarProps, CardContentProps, CardDescriptionProps, CardFooterProps, CardHeaderProps, CardProps, CardTitleProps, CheckboxGroupItemProps, CheckboxGroupOrientation, CheckboxGroupProps, CheckboxProps, ComboboxItem, ComparisonColumn, ComparisonRow, ComparisonTableProps, ComponentManifest, ComponentTier, CompositionRule, ConfirmDialogProps, ContactItem, ContactStripProps, ContainerProps, ContainerWidth, ContentGuideline, CoverImageProps, DataTableColumn, DataTableProps, DatePickerPopoverProps, 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, FormLayoutColumns, FormLayoutProps, FormProps, FormVariant, GapValue, GridItemProps, GridProps, HeadingLevel, HeadingProps, HeroProps, ImageProps, 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, PopoverAnchorProps, 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, SiteNavColumn, SiteNavItem, SiteNavLink, 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 };
|
|
4708
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertTitle, AnnouncementBar, AppShell, AppliedFilters, ArticleCard, AuthLayout, Autocomplete, Avatar, AvatarFallback, AvatarImage, Badge, Block, BottomNav, Breadcrumb, Button, ButtonGroup, CTASection, Calendar, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, CheckboxGroup, CheckboxGroupItem, ComparisonTable, ConfirmDialog, ContactStrip, Container, CoverImage, DataTable, DatePicker, DatePickerPopover, 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, Image, Input, InputGroup, InputGroupAddon, Label, Link, LinkTabs, List, ListItem, ListToolbar, LoadMore, LogoCloud, MediaCard, Menu, MenuContent, MenuItem, MenuLabel, MenuSeparator, MenuTrigger, MetricCard, MonthSchedule, MultiSelect, Newsletter, PageHeader, Pagination, PasswordInput, Popover, PopoverAnchor, 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 };
|
|
4709
|
+
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, CalendarProps, CardContentProps, CardDescriptionProps, CardFooterProps, CardHeaderProps, CardProps, CardTitleProps, CheckboxGroupItemProps, CheckboxGroupOrientation, CheckboxGroupProps, CheckboxProps, ComboboxItem, ComparisonColumn, ComparisonRow, ComparisonTableProps, ComponentManifest, ComponentTier, CompositionRule, ConfirmDialogProps, ContactItem, ContactStripProps, ContainerProps, ContainerWidth, ContentGuideline, CoverImageProps, DataTableCardBreakpoint, DataTableColumn, DataTableProps, DatePickerPopoverProps, 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, FormLayoutColumns, FormLayoutProps, FormProps, FormVariant, GapValue, GridItemProps, GridProps, HeadingLevel, HeadingProps, HeroProps, ImageProps, InputGroupAddonProps, InputGroupProps, InputProps, LabelProps, LinkProps, LinkTabsItem, LinkTabsProps, LinkVariant, ListItemProps, ListProps, ListToolbarProps, LoadMoreProps, LogoCloudProps, LogoItem, MediaCardChip, MediaCardProps, MenuContentProps, MenuItemProps, MenuLabelProps, MenuProps, MenuSeparatorProps, MenuTriggerProps, MetricCardProps, MetricTone, MetricTrend, MonthScheduleLegendItem, MonthScheduleProps, MultiSelectOption, MultiSelectProps, NewsletterProps, PageHeaderProps, PaginationIcons, PaginationProps, PasswordInputProps, PopoverAnchorProps, 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, SiteNavColumn, SiteNavItem, SiteNavLink, 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
|
@@ -224,7 +224,7 @@ declare function AppShell({ sidebar, header, hideMobileMenu, sidebarWidth, mobil
|
|
|
224
224
|
|
|
225
225
|
declare const buttonVariants: (props?: ({
|
|
226
226
|
variant?: "default" | "primary" | "destructive" | "danger" | "success" | "warning" | "info" | "outline" | "outline-destructive" | "outline-success" | "outline-warning" | "outline-info" | "secondary" | "ghost" | "link" | "contrast" | "onDark" | null | undefined;
|
|
227
|
-
size?: "default" | "sm" | "lg" | "icon" | null | undefined;
|
|
227
|
+
size?: "default" | "sm" | "xs" | "lg" | "icon" | null | undefined;
|
|
228
228
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
229
229
|
type ButtonProps = React.ButtonHTMLAttributes<HTMLButtonElement> & VariantProps<typeof buttonVariants> & {
|
|
230
230
|
asChild?: boolean;
|
|
@@ -235,7 +235,7 @@ type ButtonProps = React.ButtonHTMLAttributes<HTMLButtonElement> & VariantProps<
|
|
|
235
235
|
};
|
|
236
236
|
declare const Button: React.ForwardRefExoticComponent<React.ButtonHTMLAttributes<HTMLButtonElement> & VariantProps<(props?: ({
|
|
237
237
|
variant?: "default" | "primary" | "destructive" | "danger" | "success" | "warning" | "info" | "outline" | "outline-destructive" | "outline-success" | "outline-warning" | "outline-info" | "secondary" | "ghost" | "link" | "contrast" | "onDark" | null | undefined;
|
|
238
|
-
size?: "default" | "sm" | "lg" | "icon" | null | undefined;
|
|
238
|
+
size?: "default" | "sm" | "xs" | "lg" | "icon" | null | undefined;
|
|
239
239
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
|
240
240
|
asChild?: boolean;
|
|
241
241
|
/** Shows a spinner, disables the button and sets aria-busy while an action runs. */
|
|
@@ -1507,6 +1507,62 @@ type CalendarProps = {
|
|
|
1507
1507
|
*/
|
|
1508
1508
|
declare const Calendar: React.ForwardRefExoticComponent<CalendarProps & React.RefAttributes<HTMLDivElement>>;
|
|
1509
1509
|
|
|
1510
|
+
type MonthScheduleLegendItem = {
|
|
1511
|
+
/** Type key returned by getType. */
|
|
1512
|
+
type: string;
|
|
1513
|
+
/** Human-readable label shown in the legend. */
|
|
1514
|
+
label: string;
|
|
1515
|
+
};
|
|
1516
|
+
type MonthScheduleProps<T> = {
|
|
1517
|
+
/** Events to place inside days; each is dated via getDate. */
|
|
1518
|
+
events: T[];
|
|
1519
|
+
/** ISO date key (YYYY-MM-DD) for an event. */
|
|
1520
|
+
getDate: (event: T) => string;
|
|
1521
|
+
/** Short label shown on the day chip and in the agenda. */
|
|
1522
|
+
getLabel: (event: T) => string;
|
|
1523
|
+
/** Optional type key used for chip color and the legend. */
|
|
1524
|
+
getType?: (event: T) => string | undefined;
|
|
1525
|
+
/** Optional destination per event. */
|
|
1526
|
+
getHref?: (event: T) => string | undefined;
|
|
1527
|
+
/** Controlled month as YYYY-MM. Falls back to defaultMonth, then today. */
|
|
1528
|
+
month?: string;
|
|
1529
|
+
/** Uncontrolled initial month (YYYY-MM). */
|
|
1530
|
+
defaultMonth?: string;
|
|
1531
|
+
/** Called with the new YYYY-MM when paging. */
|
|
1532
|
+
onMonthChange?: (month: string) => void;
|
|
1533
|
+
/** Override "today" for deterministic server rendering and tests. */
|
|
1534
|
+
today?: string;
|
|
1535
|
+
/** BCP-47 locale for month, weekday and agenda labels. */
|
|
1536
|
+
locale?: string;
|
|
1537
|
+
/** 0 starts the week on Sunday, 1 on Monday. */
|
|
1538
|
+
weekStartsOn?: 0 | 1;
|
|
1539
|
+
/** Maximum event chips per day before collapsing into "+N more". */
|
|
1540
|
+
maxPerDay?: number;
|
|
1541
|
+
/** Type key → label/color entries rendered as a legend under the grid. */
|
|
1542
|
+
legend?: MonthScheduleLegendItem[];
|
|
1543
|
+
/**
|
|
1544
|
+
* Below this breakpoint an agenda list replaces the day grid:
|
|
1545
|
+
* 'sm' swaps under 640px, 'md' under 768px.
|
|
1546
|
+
*/
|
|
1547
|
+
agendaBreakpoint?: 'sm' | 'md';
|
|
1548
|
+
/** Custom link element for event hrefs (Next Link, react-router). */
|
|
1549
|
+
linkComponent?: React.ElementType;
|
|
1550
|
+
/** Prop used to pass the destination to linkComponent ('href' or 'to'). */
|
|
1551
|
+
linkHrefProp?: 'href' | 'to';
|
|
1552
|
+
'aria-label'?: string;
|
|
1553
|
+
className?: string;
|
|
1554
|
+
};
|
|
1555
|
+
/**
|
|
1556
|
+
* Month schedule: a month grid with dated events rendered inside each day,
|
|
1557
|
+
* plus a legend and a small-screen agenda. Built on the same date utilities
|
|
1558
|
+
* as Calendar; `today` stays explicit so server-rendered pages never read the
|
|
1559
|
+
* server clock.
|
|
1560
|
+
*/
|
|
1561
|
+
declare function MonthSchedule<T>({ events, getDate, getLabel, getType, getHref, month, defaultMonth, onMonthChange, today, locale, weekStartsOn, maxPerDay, legend, agendaBreakpoint, linkComponent, linkHrefProp, 'aria-label': ariaLabel, className, }: MonthScheduleProps<T>): React.JSX.Element;
|
|
1562
|
+
declare namespace MonthSchedule {
|
|
1563
|
+
var displayName: string;
|
|
1564
|
+
}
|
|
1565
|
+
|
|
1510
1566
|
type CardProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
1511
1567
|
/** Render the child element (e.g. a router Link) with card styling. */
|
|
1512
1568
|
asChild?: boolean;
|
|
@@ -1840,6 +1896,8 @@ type DataTableColumn<T> = {
|
|
|
1840
1896
|
onClick?: (row: T) => void;
|
|
1841
1897
|
};
|
|
1842
1898
|
type SortIconState = 'none' | 'asc' | 'desc';
|
|
1899
|
+
/** Viewport breakpoint below which card layout takes over. */
|
|
1900
|
+
type DataTableCardBreakpoint = 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
1843
1901
|
type DataTableProps<T> = {
|
|
1844
1902
|
/** Column configuration — everything about the table's shape. */
|
|
1845
1903
|
columns: DataTableColumn<T>[];
|
|
@@ -1898,6 +1956,15 @@ type DataTableProps<T> = {
|
|
|
1898
1956
|
density?: 'default' | 'compact';
|
|
1899
1957
|
/** Zebra-striped rows. */
|
|
1900
1958
|
zebra?: boolean;
|
|
1959
|
+
/**
|
|
1960
|
+
* Responsive card fallback: below the given breakpoint each row renders as
|
|
1961
|
+
* a definition-list card (column headers become field labels) instead of a
|
|
1962
|
+
* table row — the fix for unreadable horizontal scroll on narrow viewports.
|
|
1963
|
+
* `true` enables it below `md` (768px); a string picks the breakpoint.
|
|
1964
|
+
* Both layouts are rendered and swapped with CSS only, so sorting,
|
|
1965
|
+
* selection, pagination, and row callbacks behave identically in each.
|
|
1966
|
+
*/
|
|
1967
|
+
cardLayout?: boolean | DataTableCardBreakpoint;
|
|
1901
1968
|
/** Render skeleton placeholder rows (announced via aria-busy). */
|
|
1902
1969
|
loading?: boolean;
|
|
1903
1970
|
/**
|
|
@@ -1914,7 +1981,7 @@ type DataTableProps<T> = {
|
|
|
1914
1981
|
* aria-sort, cursor pagination when `pageSize` is set, and a friendly empty
|
|
1915
1982
|
* state — so most tables never need hand-rolled table code.
|
|
1916
1983
|
*/
|
|
1917
|
-
declare function DataTable<T>({ columns, data, rowId, caption, defaultSort, sortKey, sortDir, onSortChange, renderSortIcon, pageSize, page, onPageChange, pageCount: pageCountProp, total, manualPagination, selectedRowIds, onSelectedRowIdsChange, isRowSelectable, bulkActions, onRowClick, emptyMessage, selectAllLabel, selectedLabel, stickyHeader, density, zebra, loading, loadingRows, className, }: DataTableProps<T>): React.JSX.Element;
|
|
1984
|
+
declare function DataTable<T>({ columns, data, rowId, caption, defaultSort, sortKey, sortDir, onSortChange, renderSortIcon, pageSize, page, onPageChange, pageCount: pageCountProp, total, manualPagination, selectedRowIds, onSelectedRowIdsChange, isRowSelectable, bulkActions, onRowClick, emptyMessage, selectAllLabel, selectedLabel, stickyHeader, density, zebra, cardLayout, loading, loadingRows, className, }: DataTableProps<T>): React.JSX.Element;
|
|
1918
1985
|
|
|
1919
1986
|
type ListProps = React.HTMLAttributes<HTMLUListElement> & {
|
|
1920
1987
|
/** Hairline dividers between rows. */
|
|
@@ -2518,6 +2585,31 @@ declare const FilterBar: React.ForwardRefExoticComponent<React.HTMLAttributes<HT
|
|
|
2518
2585
|
trailing?: React.ReactNode;
|
|
2519
2586
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
2520
2587
|
|
|
2588
|
+
type ListToolbarProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
2589
|
+
/** Number of matching results; renders "{count} {countLabel}". */
|
|
2590
|
+
count?: number;
|
|
2591
|
+
/** Noun for the result count. Default "results". */
|
|
2592
|
+
countLabel?: string;
|
|
2593
|
+
/** Page/range position text, e.g. "Page 2 of 5" or "Showing 21–40 of 137". */
|
|
2594
|
+
position?: React.ReactNode;
|
|
2595
|
+
/** Muted note at the end of the summary line, e.g. "Sorted by date, soonest first". */
|
|
2596
|
+
note?: React.ReactNode;
|
|
2597
|
+
/** Controls rendered at the far end: SegmentedControl view switch, sort Select. */
|
|
2598
|
+
children?: React.ReactNode;
|
|
2599
|
+
/** Distribution of the bar. Default 'between' (summary left, controls right). */
|
|
2600
|
+
align?: 'between' | 'start' | 'center' | 'end';
|
|
2601
|
+
};
|
|
2602
|
+
/**
|
|
2603
|
+
* Slim result bar for filtered lists and directories: result count, optional
|
|
2604
|
+
* page position and a "sorted by" note on the left; a view switch (e.g.
|
|
2605
|
+
* SegmentedControl in link mode) and sort control on the right. Pair with
|
|
2606
|
+
* FilterBar for the input row above and Pagination below.
|
|
2607
|
+
*/
|
|
2608
|
+
declare function ListToolbar({ count, countLabel, position, note, align, className, children, ...props }: ListToolbarProps): React.JSX.Element;
|
|
2609
|
+
declare namespace ListToolbar {
|
|
2610
|
+
var displayName: string;
|
|
2611
|
+
}
|
|
2612
|
+
|
|
2521
2613
|
type DatePickerProps = Omit<InputProps, 'type' | 'value' | 'defaultValue'> & {
|
|
2522
2614
|
/** ISO date string (YYYY-MM-DD) — controlled. */
|
|
2523
2615
|
value?: string;
|
|
@@ -3465,6 +3557,65 @@ declare const ArticleCard: React.ForwardRefExoticComponent<Omit<React.HTMLAttrib
|
|
|
3465
3557
|
variant?: "default" | "compact";
|
|
3466
3558
|
} & React.RefAttributes<HTMLElement>>;
|
|
3467
3559
|
|
|
3560
|
+
type MediaCardChip = {
|
|
3561
|
+
label: string;
|
|
3562
|
+
/** Badge variant; quiet outline tones fit status metadata best. */
|
|
3563
|
+
variant?: BadgeProps['variant'];
|
|
3564
|
+
/** Leading status dot. */
|
|
3565
|
+
dot?: boolean;
|
|
3566
|
+
};
|
|
3567
|
+
type MediaCardProps = Omit<React.HTMLAttributes<HTMLElement>, 'title'> & {
|
|
3568
|
+
/** Card title. */
|
|
3569
|
+
title: string;
|
|
3570
|
+
/** Supporting copy under the title. */
|
|
3571
|
+
description?: React.ReactNode;
|
|
3572
|
+
/** Destination URL; the whole card becomes one link when set. */
|
|
3573
|
+
href?: string;
|
|
3574
|
+
/** Cover art rendered through CoverImage (seeded gradient fallback included). */
|
|
3575
|
+
cover?: Omit<CoverImageProps, 'className'>;
|
|
3576
|
+
/** Metadata line under the description (date, location, deadline). */
|
|
3577
|
+
meta?: React.ReactNode;
|
|
3578
|
+
/** Status/category chips rendered as Badges. */
|
|
3579
|
+
chips?: MediaCardChip[];
|
|
3580
|
+
/** Bottom slot for a details affordance or secondary text. Non-interactive when the card is a link. */
|
|
3581
|
+
footer?: React.ReactNode;
|
|
3582
|
+
/** 'vertical' stacks cover over content; 'row' puts a fixed-width cover beside it. */
|
|
3583
|
+
layout?: 'vertical' | 'row';
|
|
3584
|
+
/** Custom link element for routers (Next Link, react-router). */
|
|
3585
|
+
linkComponent?: React.ElementType;
|
|
3586
|
+
/** Prop used to pass the destination to linkComponent ('href' or 'to'). */
|
|
3587
|
+
linkHrefProp?: 'href' | 'to';
|
|
3588
|
+
};
|
|
3589
|
+
/**
|
|
3590
|
+
* Media card for event, article and listing grids: CoverImage on top (or
|
|
3591
|
+
* beside in `layout="row"`), title, description, metadata line, status chips
|
|
3592
|
+
* and an optional footer. With `href` the entire card is a single link —
|
|
3593
|
+
* one target, one hover state, one focus ring — so keep `footer` free of
|
|
3594
|
+
* nested interactive elements.
|
|
3595
|
+
*/
|
|
3596
|
+
declare const MediaCard: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLElement>, "title"> & {
|
|
3597
|
+
/** Card title. */
|
|
3598
|
+
title: string;
|
|
3599
|
+
/** Supporting copy under the title. */
|
|
3600
|
+
description?: React.ReactNode;
|
|
3601
|
+
/** Destination URL; the whole card becomes one link when set. */
|
|
3602
|
+
href?: string;
|
|
3603
|
+
/** Cover art rendered through CoverImage (seeded gradient fallback included). */
|
|
3604
|
+
cover?: Omit<CoverImageProps, "className">;
|
|
3605
|
+
/** Metadata line under the description (date, location, deadline). */
|
|
3606
|
+
meta?: React.ReactNode;
|
|
3607
|
+
/** Status/category chips rendered as Badges. */
|
|
3608
|
+
chips?: MediaCardChip[];
|
|
3609
|
+
/** Bottom slot for a details affordance or secondary text. Non-interactive when the card is a link. */
|
|
3610
|
+
footer?: React.ReactNode;
|
|
3611
|
+
/** 'vertical' stacks cover over content; 'row' puts a fixed-width cover beside it. */
|
|
3612
|
+
layout?: "vertical" | "row";
|
|
3613
|
+
/** Custom link element for routers (Next Link, react-router). */
|
|
3614
|
+
linkComponent?: React.ElementType;
|
|
3615
|
+
/** Prop used to pass the destination to linkComponent ('href' or 'to'). */
|
|
3616
|
+
linkHrefProp?: "href" | "to";
|
|
3617
|
+
} & React.RefAttributes<HTMLElement>>;
|
|
3618
|
+
|
|
3468
3619
|
type NewsletterProps = Omit<React.FormHTMLAttributes<HTMLFormElement>, 'onSubmit' | 'title'> & {
|
|
3469
3620
|
/** Headline for the signup block. */
|
|
3470
3621
|
title: string;
|
|
@@ -3882,6 +4033,12 @@ type SegmentedOption = {
|
|
|
3882
4033
|
label: React.ReactNode;
|
|
3883
4034
|
/** Optional leading icon. */
|
|
3884
4035
|
icon?: React.ReactNode;
|
|
4036
|
+
/**
|
|
4037
|
+
* Optional trailing note (e.g. "no Pro-Am ladder"). Rendered as a small
|
|
4038
|
+
* muted marker after the label and exposed to assistive tech via
|
|
4039
|
+
* `aria-description`, so it does not change the accessible name.
|
|
4040
|
+
*/
|
|
4041
|
+
hint?: string;
|
|
3885
4042
|
disabled?: boolean;
|
|
3886
4043
|
/**
|
|
3887
4044
|
* Destination URL. When set the segment renders as a link instead of a
|
|
@@ -3904,8 +4061,13 @@ type SegmentedControlProps = Omit<React.HTMLAttributes<HTMLDivElement>, 'onChang
|
|
|
3904
4061
|
multiple?: boolean;
|
|
3905
4062
|
/** Control density. Default 'md'. */
|
|
3906
4063
|
size?: 'sm' | 'md' | 'lg';
|
|
3907
|
-
/**
|
|
3908
|
-
|
|
4064
|
+
/**
|
|
4065
|
+
* Stretch segments to fill the container width. `true` fills at every
|
|
4066
|
+
* viewport; a breakpoint string ('sm' | 'md' | 'lg' | 'xl' | '2xl') fills
|
|
4067
|
+
* only *below* that breakpoint and hugs content at and above it — the
|
|
4068
|
+
* responsive pattern for "full-width on mobile, compact on desktop".
|
|
4069
|
+
*/
|
|
4070
|
+
fullWidth?: boolean | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
3909
4071
|
/** Custom link element for routers (Next Link, react-router Link). */
|
|
3910
4072
|
linkComponent?: React.ElementType;
|
|
3911
4073
|
/** Prop used to pass the destination to `linkComponent`. */
|
|
@@ -3936,8 +4098,13 @@ declare const SegmentedControl: React.ForwardRefExoticComponent<Omit<React.HTMLA
|
|
|
3936
4098
|
multiple?: boolean;
|
|
3937
4099
|
/** Control density. Default 'md'. */
|
|
3938
4100
|
size?: "sm" | "md" | "lg";
|
|
3939
|
-
/**
|
|
3940
|
-
|
|
4101
|
+
/**
|
|
4102
|
+
* Stretch segments to fill the container width. `true` fills at every
|
|
4103
|
+
* viewport; a breakpoint string ('sm' | 'md' | 'lg' | 'xl' | '2xl') fills
|
|
4104
|
+
* only *below* that breakpoint and hugs content at and above it — the
|
|
4105
|
+
* responsive pattern for "full-width on mobile, compact on desktop".
|
|
4106
|
+
*/
|
|
4107
|
+
fullWidth?: boolean | "sm" | "md" | "lg" | "xl" | "2xl";
|
|
3941
4108
|
/** Custom link element for routers (Next Link, react-router Link). */
|
|
3942
4109
|
linkComponent?: React.ElementType;
|
|
3943
4110
|
/** Prop used to pass the destination to `linkComponent`. */
|
|
@@ -4538,5 +4705,5 @@ declare const Pagination: React.ForwardRefExoticComponent<React.HTMLAttributes<H
|
|
|
4538
4705
|
};
|
|
4539
4706
|
} & React.RefAttributes<HTMLElement>>;
|
|
4540
4707
|
|
|
4541
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertTitle, AnnouncementBar, AppShell, AppliedFilters, ArticleCard, AuthLayout, Autocomplete, Avatar, AvatarFallback, AvatarImage, Badge, Block, BottomNav, Breadcrumb, Button, ButtonGroup, CTASection, Calendar, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, CheckboxGroup, CheckboxGroupItem, ComparisonTable, ConfirmDialog, ContactStrip, Container, CoverImage, DataTable, DatePicker, DatePickerPopover, 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, Image, Input, InputGroup, InputGroupAddon, Label, Link, LinkTabs, List, ListItem, LoadMore, LogoCloud, Menu, MenuContent, MenuItem, MenuLabel, MenuSeparator, MenuTrigger, MetricCard, MultiSelect, Newsletter, PageHeader, Pagination, PasswordInput, Popover, PopoverAnchor, 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 };
|
|
4542
|
-
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, CalendarProps, CardContentProps, CardDescriptionProps, CardFooterProps, CardHeaderProps, CardProps, CardTitleProps, CheckboxGroupItemProps, CheckboxGroupOrientation, CheckboxGroupProps, CheckboxProps, ComboboxItem, ComparisonColumn, ComparisonRow, ComparisonTableProps, ComponentManifest, ComponentTier, CompositionRule, ConfirmDialogProps, ContactItem, ContactStripProps, ContainerProps, ContainerWidth, ContentGuideline, CoverImageProps, DataTableColumn, DataTableProps, DatePickerPopoverProps, 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, FormLayoutColumns, FormLayoutProps, FormProps, FormVariant, GapValue, GridItemProps, GridProps, HeadingLevel, HeadingProps, HeroProps, ImageProps, 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, PopoverAnchorProps, 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, SiteNavColumn, SiteNavItem, SiteNavLink, 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 };
|
|
4708
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertTitle, AnnouncementBar, AppShell, AppliedFilters, ArticleCard, AuthLayout, Autocomplete, Avatar, AvatarFallback, AvatarImage, Badge, Block, BottomNav, Breadcrumb, Button, ButtonGroup, CTASection, Calendar, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, CheckboxGroup, CheckboxGroupItem, ComparisonTable, ConfirmDialog, ContactStrip, Container, CoverImage, DataTable, DatePicker, DatePickerPopover, 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, Image, Input, InputGroup, InputGroupAddon, Label, Link, LinkTabs, List, ListItem, ListToolbar, LoadMore, LogoCloud, MediaCard, Menu, MenuContent, MenuItem, MenuLabel, MenuSeparator, MenuTrigger, MetricCard, MonthSchedule, MultiSelect, Newsletter, PageHeader, Pagination, PasswordInput, Popover, PopoverAnchor, 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 };
|
|
4709
|
+
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, CalendarProps, CardContentProps, CardDescriptionProps, CardFooterProps, CardHeaderProps, CardProps, CardTitleProps, CheckboxGroupItemProps, CheckboxGroupOrientation, CheckboxGroupProps, CheckboxProps, ComboboxItem, ComparisonColumn, ComparisonRow, ComparisonTableProps, ComponentManifest, ComponentTier, CompositionRule, ConfirmDialogProps, ContactItem, ContactStripProps, ContainerProps, ContainerWidth, ContentGuideline, CoverImageProps, DataTableCardBreakpoint, DataTableColumn, DataTableProps, DatePickerPopoverProps, 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, FormLayoutColumns, FormLayoutProps, FormProps, FormVariant, GapValue, GridItemProps, GridProps, HeadingLevel, HeadingProps, HeroProps, ImageProps, InputGroupAddonProps, InputGroupProps, InputProps, LabelProps, LinkProps, LinkTabsItem, LinkTabsProps, LinkVariant, ListItemProps, ListProps, ListToolbarProps, LoadMoreProps, LogoCloudProps, LogoItem, MediaCardChip, MediaCardProps, MenuContentProps, MenuItemProps, MenuLabelProps, MenuProps, MenuSeparatorProps, MenuTriggerProps, MetricCardProps, MetricTone, MetricTrend, MonthScheduleLegendItem, MonthScheduleProps, MultiSelectOption, MultiSelectProps, NewsletterProps, PageHeaderProps, PaginationIcons, PaginationProps, PasswordInputProps, PopoverAnchorProps, 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, SiteNavColumn, SiteNavItem, SiteNavLink, 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 };
|