@platned/ui 0.9.4 → 0.9.6

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.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  import * as react from 'react';
2
- import { ButtonHTMLAttributes, ReactNode, InputHTMLAttributes, HTMLAttributes, LabelHTMLAttributes, TextareaHTMLAttributes, SelectHTMLAttributes, ChangeEventHandler, RefObject, ReactElement, Ref, AnchorHTMLAttributes, Component, ErrorInfo } from 'react';
2
+ import { ButtonHTMLAttributes, ReactNode, InputHTMLAttributes, HTMLAttributes, LabelHTMLAttributes, TextareaHTMLAttributes, SelectHTMLAttributes, ChangeEventHandler, RefObject, ReactElement, Ref, ComponentType, AnchorHTMLAttributes, RefAttributes, Component, ErrorInfo } from 'react';
3
3
  import { ClassValue } from 'clsx';
4
- import { P as ProgressBarTone } from './data-table-gr08E5aX.js';
5
- export { C as ColumnMobileRole, a as CreateSelectColumnOptions, D as DataTable, b as DataTableAlign, c as DataTableColumnAlign, d as DataTableColumnHeader, e as DataTableColumnHeaderProps, f as DataTableDensity, g as DataTableManual, h as DataTablePagination, i as DataTablePaginationProps, j as DataTableProps, k as DataTableRowLinkProps, l as DataTableSearchOptions, m as DataTableState, n as DataTableViewOptions, o as DataTableViewOptionsProps, p as ProgressBar, q as ProgressBarProps, r as ProgressBarSize, S as SELECT_COLUMN_ID, T as Table, s as TableBody, t as TableCaption, u as TableCaptionProps, v as TableCell, w as TableCellBadge, x as TableCellBadgeProps, y as TableCellLeadText, z as TableCellLeadTextProps, A as TableCellProgress, B as TableCellProgressProps, E as TableCellProps, F as TableCellSize, G as TableCellText, H as TableCellTextProps, I as TableDensity, J as TableFooter, K as TableHead, L as TableHeadProps, M as TableHeader, N as TableProps, O as TableRow, Q as TableRowProps, R as TableRowTone, U as TableSortDirection, V as createSelectColumn } from './data-table-gr08E5aX.js';
4
+ import { P as ProgressBarTone } from './data-table-JX-vnL0F.js';
5
+ export { C as ColumnMobileRole, a as CreateSelectColumnOptions, D as DataTable, b as DataTableAlign, c as DataTableColumnAlign, d as DataTableColumnHeader, e as DataTableColumnHeaderProps, f as DataTableDensity, g as DataTableManual, h as DataTablePagination, i as DataTablePaginationProps, j as DataTableProps, k as DataTableRowLinkProps, l as DataTableSearchOptions, m as DataTableState, n as DataTableViewOptions, o as DataTableViewOptionsProps, p as ProgressBar, q as ProgressBarProps, r as ProgressBarSize, S as SELECT_COLUMN_ID, T as Table, s as TableBody, t as TableCaption, u as TableCaptionProps, v as TableCell, w as TableCellBadge, x as TableCellBadgeProps, y as TableCellLeadText, z as TableCellLeadTextProps, A as TableCellProgress, B as TableCellProgressProps, E as TableCellProps, F as TableCellSize, G as TableCellText, H as TableCellTextProps, I as TableDensity, J as TableFooter, K as TableHead, L as TableHeadProps, M as TableHeader, N as TableProps, O as TableRow, Q as TableRowProps, R as TableRowTone, U as TableSortDirection, V as createSelectColumn } from './data-table-JX-vnL0F.js';
6
6
  export { CellContext, ColumnDef, ColumnFiltersState, Column as DataTableColumn, Table as DataTableInstance, HeaderContext, PaginationState, Row, RowSelectionState, SortingState, VisibilityState, createColumnHelper } from '@tanstack/react-table';
7
7
 
8
8
  type ButtonVariant = 'primary' | 'neutral' | 'subtle' | 'danger' | 'danger-subtle';
@@ -784,6 +784,12 @@ interface FormCardFooterProps {
784
784
  declare function FormCardFooter({ onSaveDraft, onBack, onContinue, continueLabel, continueIcon, backDisabled, continueDisabled, saveDraftDisabled, }: FormCardFooterProps): react.JSX.Element;
785
785
 
786
786
  type BadgeColor = 'gray' | 'red' | 'yellow' | 'lime' | 'green' | 'teal' | 'blue' | 'pink' | 'slate' | 'violet';
787
+ /**
788
+ * Every `BadgeColor`, in a stable order: the library's categorical palette. Index it to give
789
+ * data a colour of its own, e.g. a company's tile `BADGE_COLORS[hash % BADGE_COLORS.length]`,
790
+ * instead of keeping a list of hex values in the app. New in 0.9.5.
791
+ */
792
+ declare const BADGE_COLORS: readonly BadgeColor[];
787
793
  type BadgeSize = 'sm' | 'lg';
788
794
  type BadgeVariant = 'default' | 'subtle';
789
795
  interface BadgeProps {
@@ -792,13 +798,18 @@ interface BadgeProps {
792
798
  size?: BadgeSize;
793
799
  variant?: BadgeVariant;
794
800
  indicator?: boolean;
801
+ /**
802
+ * A leading glyph, e.g. `<LockIcon />` on a "System" badge. Decorative: the label names the
803
+ * badge, so the glyph is hidden from assistive tech and sized to the badge. New in 0.9.5.
804
+ */
805
+ icon?: ReactNode;
795
806
  /** Makes the badge removable: an × button named "Remove {label}". Same name as on `TagPill`. */
796
807
  onRemove?: () => void;
797
808
  /** @deprecated Renamed `onRemove` in 0.9.0, to match `TagPill`. Still works. */
798
809
  onClose?: () => void;
799
810
  className?: string;
800
811
  }
801
- declare function Badge({ label, color, size, variant, indicator, onRemove: onRemoveProp, onClose, className, }: BadgeProps): react.JSX.Element;
812
+ declare function Badge({ label, color, size, variant, indicator, icon, onRemove: onRemoveProp, onClose, className, }: BadgeProps): react.JSX.Element;
802
813
 
803
814
  /**
804
815
  * The nine-hue categorical palette from `badge.css`, which is what roles want: a role is a
@@ -1096,11 +1107,29 @@ interface TagPillProps {
1096
1107
  */
1097
1108
  onRemove?: () => void;
1098
1109
  /** @deprecated Bypasses the design tokens — pass `tone` instead. Raw hex bg/text pair, overrides `tone` via inline style. Use when the exact source colors don't match design tokens. */
1110
+ /**
1111
+ * Render onto the single child instead, e.g. a router `<Link>` to the tag's own page. The tag's
1112
+ * label replaces the child's children, and it gains a hover fill and a focus ring. Not combined
1113
+ * with `onRemove`: a link and a remove button can't share one element. New in 0.9.5.
1114
+ */
1115
+ asChild?: boolean;
1116
+ /**
1117
+ * A decorative leading glyph, e.g. the kind of thing the tag stands for. Hidden from assistive
1118
+ * tech, so the label must carry the meaning. New in 0.9.5.
1119
+ */
1120
+ icon?: ReactNode;
1121
+ /**
1122
+ * A tooltip. Defaults to the label on a removable tag, whose label can ellipsise. Pass it for
1123
+ * extra detail, e.g. "Worked out for the signed-in user". New in 0.9.5.
1124
+ */
1125
+ title?: string;
1126
+ /** The element to render onto, with `asChild`. */
1127
+ children?: ReactElement;
1099
1128
  bg?: string;
1100
1129
  color?: string;
1101
1130
  className?: string;
1102
1131
  }
1103
- declare function TagPill({ label, tone, size, onRemove, bg, color, className, }: TagPillProps): react.JSX.Element;
1132
+ declare function TagPill({ label, tone, size, onRemove, asChild, icon, title, children, bg, color, className, }: TagPillProps): react.JSX.Element;
1104
1133
 
1105
1134
  interface TrailChipProps {
1106
1135
  label: string;
@@ -1154,7 +1183,8 @@ interface CheckIndicatorProps {
1154
1183
  */
1155
1184
  declare function CheckIndicator({ status, label, className }: CheckIndicatorProps): react.JSX.Element;
1156
1185
 
1157
- type EntityIconBadgeSize = 'sm' | 'md';
1186
+ /** `lg` (56px) is new in 0.9.5, for the status glyph above a result screen's heading. */
1187
+ type EntityIconBadgeSize = 'sm' | 'md' | 'lg';
1158
1188
  type EntityIconBadgeTone = 'default' | 'brand' | 'positive' | 'warning' | 'danger' | 'neutral';
1159
1189
  type EntityIconBadgeShape = 'square' | 'circle';
1160
1190
  interface EntityIconBadgeProps {
@@ -1166,13 +1196,19 @@ interface EntityIconBadgeProps {
1166
1196
  * does not depend on Tailwind's stylesheet emit order.
1167
1197
  */
1168
1198
  shape?: EntityIconBadgeShape;
1199
+ /**
1200
+ * A categorical colour from the badge palette, overriding `tone`: for a mark whose colour
1201
+ * identifies the thing rather than its status, e.g. a company's initials tile. Pick it from
1202
+ * `BADGE_COLORS` by index. New in 0.9.5.
1203
+ */
1204
+ hue?: BadgeColor;
1169
1205
  /** @deprecated Bypasses the design tokens — pass `tone` instead. Raw hex background, overrides `tone` via inline style. Use when the exact source color doesn't match a design token. */
1170
1206
  bg?: string;
1171
1207
  iconColor?: string;
1172
1208
  children: ReactNode;
1173
1209
  className?: string;
1174
1210
  }
1175
- declare function EntityIconBadge({ size, tone, shape, bg, iconColor, children, className }: EntityIconBadgeProps): react.JSX.Element;
1211
+ declare function EntityIconBadge({ size, tone, shape, hue, bg, iconColor, children, className }: EntityIconBadgeProps): react.JSX.Element;
1176
1212
 
1177
1213
  type CheckControlSize = 'sm' | 'md';
1178
1214
 
@@ -1251,8 +1287,30 @@ interface RadioProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'size'
1251
1287
  label?: ReactNode;
1252
1288
  /** Second line under the label. Matches Figma's `Supporting text` axis. */
1253
1289
  description?: ReactNode;
1290
+ /**
1291
+ * Standalone only (outside a `RadioGroup`): whether this radio is the selected one. Inside a
1292
+ * group the group's `value` decides, and this is ignored. New in 0.9.5.
1293
+ */
1294
+ checked?: boolean;
1295
+ /** Standalone only: called with `true` when the user selects this radio. New in 0.9.5. */
1296
+ onCheckedChange?: (checked: boolean) => void;
1297
+ /** Standalone only; a group sets it for its radios. New in 0.9.5. */
1298
+ size?: CheckControlSize;
1299
+ /** Standalone only; a group sets it for its radios. New in 0.9.5. */
1300
+ invalid?: boolean;
1254
1301
  className?: string;
1255
1302
  }
1303
+ /**
1304
+ * One radio. Inside a `RadioGroup` it takes its name, value and state from the group.
1305
+ *
1306
+ * From 0.9.5 it also works **standalone**, for radios a group's wrapper cannot hold, such as one
1307
+ * per row of a table ("Make this the default"). Give every radio of the set the same `name`,
1308
+ * control `checked`, and handle `onCheckedChange`. Native radios that share a name are one group
1309
+ * wherever they sit in the DOM, so arrow keys, the single tab stop and "2 of 4" still work. Name
1310
+ * the set with the column header, and name each radio with `aria-label` when it has no `label`.
1311
+ * This is MUI's standalone `Radio`; a `div role="radiogroup"` around a whole table would put the
1312
+ * table's other controls inside the group.
1313
+ */
1256
1314
  declare const Radio: react.ForwardRefExoticComponent<RadioProps & react.RefAttributes<HTMLInputElement>>;
1257
1315
 
1258
1316
  /** `MultiSelectCard`'s sizes, so the single- and multi-select cards line up. `lg` from 0.9.0. */
@@ -3070,6 +3128,13 @@ interface PageHeadingProps {
3070
3128
  size?: PageHeadingSize;
3071
3129
  /** Heading level. Defaults to `h1` for page/toolbar and `h2` for section. */
3072
3130
  as?: 'h1' | 'h2' | 'h3';
3131
+ /**
3132
+ * Chips beside the title ("System", "Editing"). They sit outside the heading element, so they
3133
+ * are not part of the heading's accessible name. New in 0.9.5.
3134
+ */
3135
+ badges?: ReactNode;
3136
+ /** A muted line between the title and the subtitle, e.g. "PS-014 · Finance". New in 0.9.5. */
3137
+ meta?: ReactNode;
3073
3138
  /** Right-aligned action cluster. When set, the heading becomes a flex row. */
3074
3139
  actions?: ReactNode;
3075
3140
  /** Clamp a long title to one line — needed when the title is user data, e.g. an article headline. */
@@ -3087,7 +3152,7 @@ interface PageHeadingProps {
3087
3152
  * `<p>`/`<div>` today, so `getByRole('heading')` finds nothing there — an
3088
3153
  * accessibility gap the e2e specs currently work around.
3089
3154
  */
3090
- declare function PageHeading({ title, subtitle, size, as, actions, truncateTitle, className, }: PageHeadingProps): react.JSX.Element;
3155
+ declare function PageHeading({ title, subtitle, size, as, badges, meta, actions, truncateTitle, className, }: PageHeadingProps): react.JSX.Element;
3091
3156
 
3092
3157
  type PageToolbarSize = 'sm' | 'md';
3093
3158
  interface PageToolbarProps {
@@ -3291,6 +3356,13 @@ declare const TabsContent: react.ForwardRefExoticComponent<TabsContentProps & re
3291
3356
 
3292
3357
  type NavItemSize = 'sm' | 'md';
3293
3358
  type NavItemVariant = 'card' | 'plain';
3359
+ /**
3360
+ * The two Figma sidebar variants (Sidebar Navigation, node 3133:255). New in 0.9.6.
3361
+ *
3362
+ * `comfortable` is the card row: 44px, its own border and surface. `compact` is the plain
3363
+ * row: 40px, text on the rail. Both use the 16px Body Base label and a 20px icon.
3364
+ */
3365
+ type NavItemDensity = 'comfortable' | 'compact';
3294
3366
  interface NavItemProps extends Omit<HTMLAttributes<HTMLElement>, 'children'> {
3295
3367
  /**
3296
3368
  * Leading glyph. Optional, but when `collapsed` it is the only thing left to look at, so
@@ -3333,6 +3405,13 @@ interface NavItemProps extends Omit<HTMLAttributes<HTMLElement>, 'children'> {
3333
3405
  * variant defined its own, and `plain`'s was invisible against the rail it was written for.
3334
3406
  */
3335
3407
  variant?: NavItemVariant;
3408
+ /**
3409
+ * The Figma sidebar density. New in 0.9.6, and when set it supersedes `size` and `variant`:
3410
+ * those two predate the current design file and stay only so existing rows do not change.
3411
+ */
3412
+ density?: NavItemDensity;
3413
+ /** Trailing glyph after the label, e.g. the chevron of a row that opens a submenu. */
3414
+ trailing?: ReactNode;
3336
3415
  /**
3337
3416
  * Render the single child element as the row, so the row itself is the link or button.
3338
3417
  *
@@ -3349,7 +3428,277 @@ interface NavItemProps extends Omit<HTMLAttributes<HTMLElement>, 'children'> {
3349
3428
  children?: ReactNode;
3350
3429
  className?: string;
3351
3430
  }
3352
- declare function NavItem({ icon, label, isActive, indicator, collapsed, size, variant, asChild, disabled, children, className, onClick, ...rest }: NavItemProps): react.JSX.Element;
3431
+ declare const NavItem: react.ForwardRefExoticComponent<NavItemProps & react.RefAttributes<HTMLElement>>;
3432
+ interface NavSubItemProps extends Omit<HTMLAttributes<HTMLElement>, 'children'> {
3433
+ label: string;
3434
+ /** The current route. Brand fill and, under `asChild`, `aria-current="page"`. */
3435
+ isActive?: boolean;
3436
+ disabled?: boolean;
3437
+ /** The last child of its parent: the nest line turns into the row instead of running on. */
3438
+ last?: boolean;
3439
+ density?: NavItemDensity;
3440
+ /** Render the single child element (a link) as the row. */
3441
+ asChild?: boolean;
3442
+ children?: ReactNode;
3443
+ className?: string;
3444
+ }
3445
+ /**
3446
+ * A child row under a `NavItem` that opens a submenu — Figma `Submenu Item` (node 3465:571).
3447
+ * New in 0.9.6.
3448
+ *
3449
+ * Lighter than its parent on purpose: no card, a 6px radius, secondary text, and a nest
3450
+ * line in a 16px column to its left that ties the run of children to the row above.
3451
+ */
3452
+ declare const NavSubItem: react.ForwardRefExoticComponent<NavSubItemProps & react.RefAttributes<HTMLElement>>;
3453
+ interface NavGroupHeaderProps extends HTMLAttributes<HTMLDivElement> {
3454
+ title: string;
3455
+ /**
3456
+ * Open state of the group below. Pass it, with `onOpenChange`, and the header grows the
3457
+ * chevron button that collapses the group; leave both out for a plain heading.
3458
+ */
3459
+ open?: boolean;
3460
+ onOpenChange?: (open: boolean) => void;
3461
+ /** Id of the region the chevron controls, for `aria-controls`. */
3462
+ controls?: string;
3463
+ /** Trailing slot, e.g. an "add" icon button. Figma's `trailingButton`. */
3464
+ action?: ReactNode;
3465
+ }
3466
+ /**
3467
+ * The heading above a sidebar group — Figma `Sidebar Nav Header` (node 3468:5154). New in
3468
+ * 0.9.6, replacing the uppercase eyebrow the sidebar drew before: Body Base, sentence case,
3469
+ * neutral-tertiary.
3470
+ */
3471
+ declare const NavGroupHeader: react.ForwardRefExoticComponent<NavGroupHeaderProps & react.RefAttributes<HTMLDivElement>>;
3472
+
3473
+ interface SidebarNavItem {
3474
+ /** Stable key. Falls back to `to`, then `href`, then `label`. New in 0.9.6. */
3475
+ id?: string;
3476
+ /**
3477
+ * An in-app destination, rendered through `linkComponent`. May carry a hash
3478
+ * (`/docs/floating#tooltip`) to link to a section of a page: that row is current only when
3479
+ * the hash matches too, and the page's own plain row steps aside while it is. Optional from
3480
+ * 0.9.6, so a row can exist only to open its `children`.
3481
+ */
3482
+ to?: string;
3483
+ /**
3484
+ * An external destination, opened in a new tab as a plain `<a>`. New in 0.9.6. Use `to`
3485
+ * for anything inside the app.
3486
+ */
3487
+ href?: string;
3488
+ label: string;
3489
+ /** Optional — a collapsed row without one falls back to a monogram of its label. */
3490
+ icon?: ReactNode;
3491
+ /** Red dot on the row — something new behind this destination. */
3492
+ indicator?: boolean;
3493
+ /** Match the path exactly rather than as a prefix. Needed for an index route. */
3494
+ end?: boolean;
3495
+ /**
3496
+ * A destination that exists but cannot be opened right now (coming soon). The row is
3497
+ * dimmed, announced with `aria-disabled`, out of the tab order, and refuses the press.
3498
+ * Something the user has no permission for should not be in the list at all: see
3499
+ * `filterNav`.
3500
+ */
3501
+ disabled?: boolean;
3502
+ /**
3503
+ * Overrides route matching, for a row whose "current" rule is more than a path prefix —
3504
+ * one page reached from two places, say. New in 0.9.6.
3505
+ */
3506
+ isActive?: boolean;
3507
+ /**
3508
+ * Child rows, one level deep. Expanded they open under the row; on the collapsed rail the
3509
+ * row opens them as a flyout menu. New in 0.9.6.
3510
+ */
3511
+ children?: SidebarNavItem[];
3512
+ /** Whether the children start open. Default: open when one of them is the current route. */
3513
+ defaultOpen?: boolean;
3514
+ }
3515
+ interface SidebarNavGroup {
3516
+ /** Stable key. Falls back to `title`. New in 0.9.6. */
3517
+ id?: string;
3518
+ /**
3519
+ * Heading above the group. Omit for an ungrouped run of rows.
3520
+ *
3521
+ * Kept in the accessibility tree when the rail is collapsed rather than dropped: it is the
3522
+ * only thing saying what the run of icons below it has in common.
3523
+ */
3524
+ title?: string;
3525
+ items: SidebarNavItem[];
3526
+ /** Give the heading a chevron that folds the group away. Needs a `title`. New in 0.9.6. */
3527
+ collapsible?: boolean;
3528
+ /** With `collapsible`: whether the group starts open. Default `true`. */
3529
+ defaultOpen?: boolean;
3530
+ /** Trailing slot in the heading — an "add" icon button, say. New in 0.9.6. */
3531
+ action?: ReactNode;
3532
+ }
3533
+ interface SidebarLinkProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
3534
+ href: string;
3535
+ }
3536
+ /**
3537
+ * Renders an in-app row's link. It must forward its ref to the anchor — the collapsed rail
3538
+ * anchors a tooltip to it and the flyout a menu item — as `next/link` and react-router's
3539
+ * `Link` both do.
3540
+ */
3541
+ type SidebarLinkComponent = ComponentType<SidebarLinkProps & RefAttributes<HTMLAnchorElement>>;
3542
+ interface SidebarRenderState {
3543
+ collapsed: boolean;
3544
+ density: NavItemDensity;
3545
+ }
3546
+ interface SidebarProps {
3547
+ /** The scrolling nav. One untitled group is a flat list. */
3548
+ groups: SidebarNavGroup[];
3549
+ /** Rows pinned below the scrolling nav — settings, help, a feedback link. */
3550
+ footerNav?: SidebarNavItem[];
3551
+ /**
3552
+ * Brand lockup. Given a function it receives `collapsed` and `density`, so the caller can
3553
+ * swap a full lockup for a mark alone rather than having one squeezed into the rail.
3554
+ */
3555
+ brand?: ReactNode | ((state: SidebarRenderState) => ReactNode);
3556
+ /** Bottom slot — a `SidebarUserCard`, a version pill, nothing. A function gets the state. */
3557
+ footer?: ReactNode | ((state: SidebarRenderState) => ReactNode);
3558
+ /**
3559
+ * Figma's two sidebar variants. `comfortable` (default): 44px card rows, an 80px rail.
3560
+ * `compact`: 40px plain rows, a 72px rail. New in 0.9.6.
3561
+ */
3562
+ density?: NavItemDensity;
3563
+ /**
3564
+ * Whether the rail can collapse at all. `false` locks it open: no toggle button, and
3565
+ * `collapsed` is ignored rather than half honoured.
3566
+ */
3567
+ collapsible?: boolean;
3568
+ /** Controlled collapsed state. Omit for uncontrolled. */
3569
+ collapsed?: boolean;
3570
+ /** Initial collapsed state when uncontrolled. */
3571
+ defaultCollapsed?: boolean;
3572
+ onCollapsedChange?: (collapsed: boolean) => void;
3573
+ /**
3574
+ * Called by the collapse toggle. Kept from before 0.9.6, when `collapsed` was always
3575
+ * controlled: passing `collapsed` with neither this nor `onCollapsedChange` still means
3576
+ * "no toggle button".
3577
+ */
3578
+ onToggle?: () => void;
3579
+ /**
3580
+ * localStorage key the collapsed state is remembered under, so it survives a reload.
3581
+ * Read after mount, so server and client render the same first frame. New in 0.9.6.
3582
+ */
3583
+ storageKey?: string;
3584
+ /** The current pathname, which decides the current row. New in 0.9.6. */
3585
+ currentPath?: string;
3586
+ /** The current hash, for rows that link to a section (`#tooltip`). */
3587
+ currentHash?: string;
3588
+ /** Renders in-app links. Default a plain `<a>`; pass `next/link` or a router link. */
3589
+ linkComponent?: SidebarLinkComponent;
3590
+ /** Called when a row is pressed — after the mobile drawer has closed itself. */
3591
+ onNavigate?: () => void;
3592
+ /** Accessible name of the sidebar landmark. Default "Primary". */
3593
+ label?: string;
3594
+ /** @deprecated Use `density`. `plain` maps to `compact`; `size` is ignored. */
3595
+ size?: NavItemSize;
3596
+ /** @deprecated Use `density`. `plain` maps to `compact`, `card` to `comfortable`. */
3597
+ variant?: NavItemVariant;
3598
+ /** Expanded width, as a Tailwind class. Default `w-80` (320px). */
3599
+ width?: string;
3600
+ /** Collapsed width. Default `w-20` (80px) comfortable, `w-[72px]` compact. */
3601
+ collapsedWidth?: string;
3602
+ className?: string;
3603
+ }
3604
+ interface SidebarContextValue {
3605
+ collapsed: boolean;
3606
+ setCollapsed: (collapsed: boolean) => void;
3607
+ toggleCollapsed: () => void;
3608
+ /** The drawer the sidebar becomes below `md`. */
3609
+ mobileOpen: boolean;
3610
+ setMobileOpen: (open: boolean) => void;
3611
+ /** Whether the viewport is below `md`, so the sidebar is the drawer. */
3612
+ isMobile: boolean;
3613
+ }
3614
+ /** The sidebar's state, for a header button or a layout that reacts to it. */
3615
+ declare function useSidebar(): SidebarContextValue;
3616
+ interface SidebarProviderProps {
3617
+ children: ReactNode;
3618
+ collapsed?: boolean;
3619
+ defaultCollapsed?: boolean;
3620
+ onCollapsedChange?: (collapsed: boolean) => void;
3621
+ /** See `SidebarProps.storageKey`. */
3622
+ storageKey?: string;
3623
+ mobileOpen?: boolean;
3624
+ defaultMobileOpen?: boolean;
3625
+ onMobileOpenChange?: (open: boolean) => void;
3626
+ }
3627
+ /**
3628
+ * Holds the sidebar's collapsed and mobile-drawer state, so something outside the sidebar —
3629
+ * `SidebarTrigger` in an app header — can drive it. New in 0.9.6. Optional: a `Sidebar`
3630
+ * without one keeps the same state to itself.
3631
+ */
3632
+ declare function SidebarProvider({ children, collapsed: collapsedProp, defaultCollapsed, onCollapsedChange, storageKey, mobileOpen: mobileOpenProp, defaultMobileOpen, onMobileOpenChange, }: SidebarProviderProps): react.JSX.Element;
3633
+ /**
3634
+ * The application nav rail: brand, a grouped list of destinations, and a footer. Figma
3635
+ * `Sidebar` (node 3123:278), in both its densities and both its states.
3636
+ *
3637
+ * New on the main entry in 0.9.6, router-agnostic: the app says where it is (`currentPath`)
3638
+ * and how to link (`linkComponent`). `AppSidebar` on `@platned/ui/sidebar` is this, wired to
3639
+ * react-router.
3640
+ *
3641
+ * It renders what it is given and decides nothing about who may see it. A permission-gated
3642
+ * nav passes its config through `filterNav` first.
3643
+ *
3644
+ * Below `md` it becomes a left drawer, opened by `SidebarTrigger`, and closes itself when a
3645
+ * row is pressed.
3646
+ */
3647
+ declare function Sidebar(props: SidebarProps): react.JSX.Element;
3648
+ interface SidebarTriggerProps extends Omit<IconButtonProps, 'aria-label' | 'children'> {
3649
+ 'aria-label'?: string;
3650
+ }
3651
+ /**
3652
+ * The menu button that opens the sidebar's drawer below `md`. New in 0.9.6. Put it in the
3653
+ * app header; it needs a `SidebarProvider` above both. Hidden from `md` up, where the
3654
+ * sidebar is on the page.
3655
+ */
3656
+ declare const SidebarTrigger: react.ForwardRefExoticComponent<SidebarTriggerProps & RefAttributes<HTMLButtonElement>>;
3657
+ interface NavTreeItem {
3658
+ to?: string;
3659
+ href?: string;
3660
+ children?: NavTreeItem[];
3661
+ }
3662
+ /**
3663
+ * The nav a user may see: drops every item `isVisible` refuses, then every parent left with
3664
+ * no children and nowhere of its own to go, then every group left empty. New in 0.9.6.
3665
+ *
3666
+ * The sidebar does not know about permissions and should not; this is where an app's rule
3667
+ * meets its nav config. Hiding a row is not access control — the route and the API still
3668
+ * have to refuse.
3669
+ *
3670
+ * const visible = filterNav(navConfig, (item) => !item.requires || item.requires.some(can));
3671
+ */
3672
+ declare function filterNav<G extends {
3673
+ items: NavTreeItem[];
3674
+ }>(groups: readonly G[], isVisible: (item: G['items'][number]) => boolean): G[];
3675
+ /** `filterNav` for a single list of items, e.g. `footerNav`. */
3676
+ declare function filterNavItems<I extends NavTreeItem>(items: readonly I[], isVisible: (item: I) => boolean): I[];
3677
+ type SidebarSeparatorProps = HTMLAttributes<HTMLDivElement>;
3678
+ /**
3679
+ * A rule for the sidebar's `footer` slot or a hand-composed rail. The sidebar itself no
3680
+ * longer draws one between groups from 0.9.6 — the Figma frames separate groups by space.
3681
+ *
3682
+ * Decorative by default. Pass `role="separator"` through where it marks a grouping nothing
3683
+ * else names.
3684
+ */
3685
+ declare function SidebarSeparator({ className, ...rest }: SidebarSeparatorProps): react.JSX.Element;
3686
+ interface SidebarUserCardProps {
3687
+ name: string;
3688
+ role: string;
3689
+ onLogout: () => void;
3690
+ collapsed?: boolean;
3691
+ /** Extra menu entries above Sign out. */
3692
+ menu?: ReactNode;
3693
+ className?: string;
3694
+ }
3695
+ /**
3696
+ * The signed-in user block, for the sidebar's `footer` slot — Figma `UserCard` (node
3697
+ * 3123:156). On the main entry from 0.9.6; `@platned/ui/sidebar` still exports it.
3698
+ *
3699
+ * Its menu is `DropdownMenu`, which portals, so the collapsed rail does not clip it.
3700
+ */
3701
+ declare function SidebarUserCard({ name, role, onLogout, collapsed, menu, className, }: SidebarUserCardProps): react.JSX.Element;
3353
3702
 
3354
3703
  type EyebrowLabelVariant = 'uppercase' | 'plain';
3355
3704
  interface EyebrowLabelProps {
@@ -3710,9 +4059,17 @@ interface BlockquoteProps extends HTMLAttributes<HTMLQuoteElement> {
3710
4059
  * `<blockquote>`, so assistive tech announces where the quotation starts and ends.
3711
4060
  */
3712
4061
  declare const Blockquote: react.ForwardRefExoticComponent<BlockquoteProps & react.RefAttributes<HTMLQuoteElement>>;
4062
+ /**
4063
+ * `brand` (default) is the underlined link for running text. `neutral`, new in 0.9.5, is a
4064
+ * default-coloured link that underlines on hover, for links that stand alone in a list or tree
4065
+ * (an indented set of names), where a column of brand underlines would be noise. Don't use
4066
+ * `neutral` inside a sentence: there, colour and underline are what mark it as a link.
4067
+ */
4068
+ type TextLinkTone = 'brand' | 'neutral';
3713
4069
  interface TextLinkProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
3714
4070
  children?: ReactNode;
3715
4071
  asChild?: boolean;
4072
+ tone?: TextLinkTone;
3716
4073
  }
3717
4074
  /**
3718
4075
  * `Text Link`. Underlined rather than colour-only: colour alone is not a sufficient
@@ -4225,12 +4582,18 @@ interface LegendDotProps {
4225
4582
  tone?: ChartTone;
4226
4583
  /** Explicit colour, for data-driven series. */
4227
4584
  color?: string;
4585
+ /**
4586
+ * A categorical colour from the badge palette (its text shade, strong enough for a small dot),
4587
+ * to key a list item to the same `hue` on an `EntityIconBadge`. Ignored when `color` is set.
4588
+ * New in 0.9.5.
4589
+ */
4590
+ hue?: BadgeColor;
4228
4591
  size?: LegendDotSize;
4229
4592
  shape?: LegendDotShape;
4230
4593
  className?: string;
4231
4594
  }
4232
4595
  /** The colour swatch beside a series name. */
4233
- declare function LegendDot({ tone, color, size, shape, className }: LegendDotProps): react.JSX.Element;
4596
+ declare function LegendDot({ tone, color, hue, size, shape, className }: LegendDotProps): react.JSX.Element;
4234
4597
 
4235
4598
  type ChartLegendOrientation = 'vertical' | 'horizontal';
4236
4599
  interface ChartLegendItem {
@@ -4282,6 +4645,55 @@ interface TrendLabelProps {
4282
4645
  /** A signed delta with a direction arrow, toned by whether the movement is good news. */
4283
4646
  declare function TrendLabel({ value, suffix, size, weight, direction, showArrow, color, className, }: TrendLabelProps): react.JSX.Element;
4284
4647
 
4648
+ /** One choice in a `Listbox`. */
4649
+ interface ListboxOption {
4650
+ value: string;
4651
+ label: ReactNode;
4652
+ /** Typeahead text, when `label` is not a plain string. */
4653
+ textValue?: string;
4654
+ /** Trailing content, e.g. a count: "3 Permission Sets". Part of the option's name. */
4655
+ meta?: ReactNode;
4656
+ disabled?: boolean;
4657
+ }
4658
+ /** A titled run of options. Rendered as `role="group"`, named by its visible header. */
4659
+ interface ListboxGroup {
4660
+ label: string;
4661
+ options: readonly ListboxOption[];
4662
+ }
4663
+ interface ListboxProps {
4664
+ /** Options, or groups of options, in display order. Groups and bare options can mix. */
4665
+ options: readonly (ListboxOption | ListboxGroup)[];
4666
+ value?: string;
4667
+ defaultValue?: string;
4668
+ onValueChange?: (value: string) => void;
4669
+ /** Accessible name. Required: a listbox has no visible name of its own. */
4670
+ label: string;
4671
+ /**
4672
+ * Select an option as soon as it is focused with the arrow keys (the APG's "selection follows
4673
+ * focus"), for a picker that drives a detail view beside it. Default `true`. With `false`, the
4674
+ * arrows only move, and Enter, Space or a click selects.
4675
+ */
4676
+ selectionFollowsFocus?: boolean;
4677
+ /** Cap the height (px number or CSS length) and scroll the options inside it. */
4678
+ maxHeight?: number | string;
4679
+ /** Shown in place of the options when there are none. */
4680
+ empty?: ReactNode;
4681
+ /** Layout classes on the root, e.g. width. */
4682
+ className?: string;
4683
+ }
4684
+ /**
4685
+ * A persistent single-select list: pick one item and keep it picked, e.g. the permission whose
4686
+ * holders a panel beside it lists. New in 0.9.5.
4687
+ *
4688
+ * The WAI-ARIA APG listbox pattern: `role="listbox"` with `role="option"` items carrying
4689
+ * `aria-selected`, one tab stop with a roving tabindex, arrow keys, Home and End, and typeahead.
4690
+ * Groups are `role="group"`, named by their visible header. Use it where `Select` or
4691
+ * `Combobox` would hide the choices behind a popup, and `Command` does not fit: `Command` is
4692
+ * for running an action, its highlight is not a selection, and it always has a search box. For
4693
+ * a short set where every option deserves a label and description, use `RadioGroup`.
4694
+ */
4695
+ declare function Listbox({ options, value: valueProp, defaultValue, onValueChange, label, selectionFollowsFocus, maxHeight, empty, className, }: ListboxProps): react.JSX.Element;
4696
+
4285
4697
  type ListRowDensity = 'default' | 'compact';
4286
4698
  type ListRowDivider = 'none' | 'top' | 'bottom';
4287
4699
  interface ListRowProps {
@@ -4705,19 +5117,26 @@ declare function useElementWidth<T extends HTMLElement = HTMLElement>(): [
4705
5117
  number | undefined
4706
5118
  ];
4707
5119
 
4708
- type InlineAlertTone = 'info' | 'warning' | 'danger' | 'positive';
5120
+ /** `neutral` is new in 0.9.5: a quiet, bordered note with no status colour, e.g. "Viewing. Choose Edit to change this." */
5121
+ type InlineAlertTone = 'info' | 'warning' | 'danger' | 'positive' | 'neutral';
4709
5122
  interface InlineAlertProps {
4710
5123
  tone: InlineAlertTone;
4711
5124
  children: ReactNode;
4712
5125
  /** Overrides the per-tone default glyph. Pass `null` for no icon. */
4713
5126
  icon?: ReactNode | null;
5127
+ /**
5128
+ * Overrides the live-region role, which is otherwise `alert` for `danger` and `status` for the
5129
+ * rest. Pass `status` for a danger-toned answer that updates as the user explores, e.g. "Not
5130
+ * allowed. …" beside a picker, which should wait its turn rather than interrupt. New in 0.9.5.
5131
+ */
5132
+ role?: 'alert' | 'status';
4714
5133
  className?: string;
4715
5134
  }
4716
5135
  /** Banner for inline messaging — form errors, destructive-action warnings, success confirmations.
4717
5136
  *
4718
5137
  * Replaces four byte-identical raw-`amber-*` callouts, five competing error-text styles and a
4719
5138
  * standalone `Banner` component. `danger` renders as `role="alert"`; the rest as `role="status"`. */
4720
- declare function InlineAlert({ tone, children, icon, className }: InlineAlertProps): react.JSX.Element;
5139
+ declare function InlineAlert({ tone, children, icon, role, className }: InlineAlertProps): react.JSX.Element;
4721
5140
 
4722
5141
  type EmptyStateVariant = 'empty' | 'loading' | 'error';
4723
5142
  type EmptyStateSize = 'sm' | 'md' | 'lg';
@@ -4974,4 +5393,4 @@ declare function ChatBubble({ sender, children, failed, className }: ChatBubbleP
4974
5393
 
4975
5394
  declare function AuroraBackdrop(): react.JSX.Element;
4976
5395
 
4977
- export { AIChatBar, type AIChatBarProps, AISuggestionChip, type AISuggestionChipProps, AccessibleIcon, type AccessibleIconProps, Accordion, AccordionContent, type AccordionContentProps, AccordionItem, type AccordionItemDef, type AccordionItemProps, type AccordionProps, AccordionTrigger, type AccordionTriggerProps, type AccordionType, AiAvatar, type AiAvatarProps, AspectRatio, type AspectRatioProps, AuroraBackdrop, Avatar, AvatarBlock, type AvatarBlockProps, AvatarGroup, type AvatarGroupProps, type AvatarGroupSpacing, type AvatarImageProps, type AvatarInitialProps, type AvatarProps, type AvatarShape, type AvatarSize, Badge, type BadgeColor, type BadgeProps, type BadgeSize, type BadgeVariant, Banner, type BannerProps, type BannerVariant, BarChart, type BarChartOrientation, type BarChartProps, type BarChartSeries, type BarChartSize, Blockquote, type BlockquoteProps, Box, type BoxProps, Breadcrumb, BreadcrumbEllipsis, type BreadcrumbEllipsisProps, BreadcrumbItem, type BreadcrumbItemDef, type BreadcrumbItemProps, type BreadcrumbProps, Button, ButtonGroup, type ButtonGroupAlign, type ButtonGroupItem, type ButtonGroupProps, type ButtonGroupVariant, type ButtonProps, type ButtonSize, type ButtonVariant, CHART_SEQUENCE, CHART_TONE, CHART_TRACK, COL_SPAN, COL_SPAN_BY_TIER, COUNTRY_CODES, Calendar, type CalendarMode, type CalendarProps, Card, CardAction, type CardActionProps, CardBody, type CardBodyProps, CardDescription, type CardDescriptionProps, CardFooter, type CardFooterAlign, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, type CardRadius, type CardSize, CardTitle, type CardTitleProps, type CardTone, Carousel, CarouselControls, type CarouselControlsProps, type CarouselProps, CarouselSlide, type CarouselSlideProps, CarouselViewport, type CarouselViewportProps, ChartLegend, type ChartLegendItem, type ChartLegendOrientation, type ChartLegendProps, type ChartTone, ChatBubble, type ChatBubbleProps, type ChatBubbleSender, CheckIndicator, type CheckIndicatorProps, type CheckIndicatorStatus, Checkbox, CheckboxGroup, CheckboxGroupItem, type CheckboxGroupItemProps, type CheckboxGroupProps, type CheckboxProps, type CheckboxSize, type CheckedGroup, CheckedGroupList, type CheckedGroupListColumns, type CheckedGroupListProps, ChecklistRow, type ChecklistRowProps, type ChecklistRowState, type ChoiceCardBreakpoint, type ColSize, Collapsible, CollapsibleContent, type CollapsibleContentProps, type CollapsibleProps, CollapsibleTrigger, type CollapsibleTriggerProps, Combobox, type ComboboxOption, type ComboboxProps, Command, type CommandItem, type CommandProps, ConfirmDialog, type ConfirmDialogProps, Container, type ContainerProps, type ContainerSize, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, type ContextMenuContentProps, ContextMenuGroup, ContextMenuItem, ContextMenuItems, ContextMenuLabel, type ContextMenuProps, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, type ContextMenuTriggerProps, ControlSizeProvider, type ControlSizeProviderProps, CopyButton, type CopyButtonProps, CountBadge, type CountBadgeProps, CountrySelect, type CountrySelectProps, DEFAULT_SCORE_THRESHOLDS, DatePicker, type DatePickerProps, type DateRange, DescriptionItem, type DescriptionItemProps, DescriptionList, type DescriptionListProps, DetailGrid, type DetailGridColumns, type DetailGridProps, DetailItem, type DetailItemLayout, type DetailItemProps, type DetailItemSpan, DonutChart, type DonutChartProps, type DonutChartSize, type DonutSegment, Drawer, DrawerBody, type DrawerBodyProps, DrawerClose, type DrawerCloseProps, DrawerDescription, type DrawerDescriptionProps, DrawerFooter, type DrawerFooterAlign, type DrawerFooterProps, DrawerHeader, type DrawerHeaderProps, type DrawerProps, type DrawerSide, DrawerTitle, type DrawerTitleProps, DrawerTrigger, type DrawerTriggerProps, DropdownMenu, DropdownMenuCheckboxItem, type MenuCheckboxItemProps as DropdownMenuCheckboxItemProps, DropdownMenuContent, type DropdownMenuContentProps, DropdownMenuGroup, type MenuGroupProps as DropdownMenuGroupProps, DropdownMenuItem, type MenuItemProps as DropdownMenuItemProps, type MenuItemTone as DropdownMenuItemTone, DropdownMenuItems, DropdownMenuLabel, type MenuLabelProps as DropdownMenuLabelProps, type DropdownMenuProps, DropdownMenuRadioGroup, type MenuRadioGroupProps as DropdownMenuRadioGroupProps, DropdownMenuRadioItem, type MenuRadioItemProps as DropdownMenuRadioItemProps, DropdownMenuSeparator, type MenuSeparatorProps as DropdownMenuSeparatorProps, DropdownMenuShortcut, type MenuShortcutProps as DropdownMenuShortcutProps, DropdownMenuSub, DropdownMenuSubContent, type MenuSubContentProps as DropdownMenuSubContentProps, type MenuSubProps as DropdownMenuSubProps, DropdownMenuSubTrigger, type MenuSubTriggerProps as DropdownMenuSubTriggerProps, DropdownMenuTrigger, type DropdownMenuTriggerProps, EmailText, EmptyState, type EmptyStateProps, type EmptyStateSize, type EmptyStateVariant, EntityIconBadge, type EntityIconBadgeProps, type EntityIconBadgeSize, type EntityIconBadgeTone, ErrorBoundary, type ErrorBoundaryProps, EyebrowLabel, type EyebrowLabelProps, type EyebrowLabelVariant, FOCUS_RING, FOCUS_RING_INSET, Field, type FieldContextValue, FieldDescription, FieldError, FieldGroup, type FieldGroupProps, FieldHint, FieldLabel, type FieldLabelProps, FieldLegend, type FieldLegendProps, type FieldOrientation, type FieldProps, FieldSeparator, type FieldSeparatorProps, FieldSet, type FieldSetProps, type FieldTextProps, FileDropZone, type FileDropZoneProps, FileRow, type FileRowProps, FilterBar, type FilterBarProps, type FilterBarSize, Flex, type FlexAlign, type FlexDirection, type FlexJustify, type FlexProps, FormCard, FormCardFooter, type FormCardFooterProps, FormCardHeader, type FormCardHeaderProps, type FullscreenStacking, FullscreenSurface, type FullscreenSurfaceProps, GRID_TIERS, Grid, type GridBreakpoint, type GridColumnCount, type GridProps, type GridTier, HEIGHT_CLASS, HEIGHT_PX, Heading, HoverCard, type HoverCardProps, IconButton, type IconButtonProps, type IconButtonVariant, IconTextRow, type IconTextRowProps, InlineAlert, type InlineAlertProps, type InlineAlertTone, Input, InputControl, type InputControlProps, InputGroup, InputGroupAddon, type InputGroupAddonProps, type InputGroupAlign, InputGroupInput, type InputGroupInputProps, type InputGroupProps, InputGroupText, type InputGroupTextProps, InputOTP, type InputOTPMode, type InputOTPProps, type InputProps, type InputSize, Kbd, type KbdProps, type KbdSize, Label, type LabelProps, LegendDot, type LegendDotProps, type LegendDotShape, type LegendDotSize, ListRow, type ListRowDensity, type ListRowDivider, type ListRowProps, type MenuItemDef, Menubar, MenubarCheckboxItem, MenubarContent, type MenubarContentProps, MenubarGroup, MenubarItem, MenubarItems, MenubarLabel, MenubarMenu, type MenubarMenuDef, type MenubarMenuProps, type MenubarProps, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, type MenubarTriggerProps, MiniBarChart, type MiniBarChartOrientation, type MiniBarChartProps, type MiniBarChartSize, Modal, type ModalAlign, ModalBody, type ModalBodyProps, ModalClose, type ModalCloseProps, ModalDescription, type ModalDescriptionProps, ModalFooter, type ModalFooterAlign, type ModalFooterProps, ModalHeader, type ModalHeaderProps, type ModalProps, type ModalSize, ModalTitle, type ModalTitleProps, type ModalTone, ModalTrigger, type ModalTriggerProps, MultiSelectCard, type MultiSelectCardProps, type MultiSelectCardSize, NativeSelect, NativeSelectControl, type NativeSelectControlProps, type NativeSelectProps, NavItem, type NavItemProps, type NavItemSize, type NavItemVariant, NavigationMenu, NavigationMenuItem, type NavigationMenuItemProps, type NavigationMenuOrientation, type NavigationMenuProps, type NavigationMenuVariant, NoteConfirmModal, type NoteConfirmModalProps, NumberedList, type NumberedListGap, type NumberedListItem, type NumberedListProps, OVERLAY_SCRIM, PageHeading, type PageHeadingProps, type PageHeadingSize, PageToolbar, type PageToolbarProps, type PageToolbarSize, Pagination, PaginationBar, type PaginationBarProps, type PaginationProps, type PaginationType, PasswordInput, type PasswordInputProps, Popover, PopoverAnchor, PopoverClose, PopoverContent, type PopoverContentProps, type PopoverProps, PopoverTrigger, type PopoverTriggerProps, Portal, PortalContainerProvider, type PortalProps, ProgressBarTone, type QuickAction, QuickActionsBar, type QuickActionsBarProps, Quote, ROLE_COMBO_OPTIONS, RadialGauge, type RadialGaugeProps, type RadialGaugeSize, Radio, RadioCards, RadioCardsItem, type RadioCardsItemProps, type RadioCardsProps, type RadioCardsSize, RadioGroup, type RadioGroupOption, type RadioGroupOrientation, type RadioGroupProps, type RadioProps, Resizable, type ResizableDirection, ResizableHandle, type ResizableHandleProps, ResizablePanel, type ResizablePanelProps, type ResizableProps, type ResponsiveChoiceCardSize, RoleBadge, type RoleBadgeProps, type RoleBadgeTone, RoleComboBox, type RoleComboBoxProps, type RoleOption, SCROLLBAR_CLASSES, type ScoreDirection, type ScoreRampTone, type ScoreThresholds, type ScoreTone, ScoreValue, type ScoreValueProps, type ScoreValueSize, type ScoreValueTone, type ScoreValueWeight, ScoredRow, type ScoredRowAlign, type ScoredRowGap, type ScoredRowProps, Scrim, type ScrimProps, ScrollArea, type ScrollAreaAxis, type ScrollAreaProps, SearchInput, type SearchInputProps, Section, type SectionProps, type SectionSize, SegmentedControl, type SegmentedControlOption, type SegmentedControlProps, Select, SelectControl, type SelectControlProps, type SelectOption, type SelectOptionGroup, type SelectProps, Separator, type SeparatorOrientation, type SeparatorProps, Skeleton, type SkeletonProps, type SkeletonShape, Slider, type SliderProps, Slot, type SlotProps, type SpaceToken, Sparkline, type SparklineProps, type SparklineSize, type SparklineVariant, Spinner, type SpinnerProps, type SpinnerSize, StatNumber, type StatNumberProps, type StatNumberSize, type StatNumberWeight, StatTile, type StatTileProps, StatusBadge, type StatusBadgeProps, type StatusBadgeSize, StatusChip, type StatusChipProps, StatusDot, type StatusDotProps, type StatusDotTone, type StatusTone, type StepItem, type StepStatus, Stepper, type StepperAlign, type StepperCompactInfo, type StepperProps, type StepperSize, StepsList, type StepsListProps, Subheading, Subtitle, Switch, type SwitchProps, type SwitchSize, TIER_COLS, TIER_MIN_PX, type TabItem, Tabs, type TabsActivation, TabsContent, type TabsContentProps, TabsList, type TabsListProps, type TabsOrientation, TabsPanel, type TabsPanelProps, type TabsProps, type TabsRootProps, type TabsSize, TabsTrigger, type TabsTriggerProps, type TabsVariant, TagInput, type TagInputParseResult, type TagInputProps, TagPill, type TagPillProps, type TagPillSize, type TagPillTone, Text, TextCode, TextEmphasis, TextLink, type TextLinkProps, TextList, type TextListDensity, TextListItem, type TextListItemProps, type TextListProps, type TextListVariant, type TextProps, TextSmall, TextStrong, TextTiny, type TextTone, Textarea, TextareaControl, type TextareaControlProps, type TextareaProps, TileGrid, type TileGridBreakpoint, type TileGridColumns, type TileGridProps, TimeZoneSelect, type TimeZoneSelectProps, TitleHero, TitlePage, type ToastOptions, type ToastRecord, type ToastTone, Toaster, type ToasterPosition, type ToasterProps, Toggle, ToggleGroup, ToggleGroupItem, type ToggleGroupItemProps, type ToggleGroupOption, type ToggleGroupProps, type ToggleGroupType, type ToggleProps, type ToggleSize, type ToggleVariant, Tooltip, type TooltipProps, TrailChip, type TrailChipProps, type TreeItemState, TreeView, type TreeViewProps, type TreeViewSize, type TrendDirection, TrendLabel, type TrendLabelProps, type TrendLabelSize, type TrendLabelWeight, TypingIndicator, type TypingIndicatorProps, type UseFilePicker, type UseFilePickerOptions, type UseWidthTierOptions, type UseWidthTierResult, type UserAccountStatus, UserStatusPill, type UserStatusPillProps, VisuallyHidden, type VisuallyHiddenProps, WidgetFooter, type WidgetFooterProps, WidgetGrid, WidgetGridItem, type WidgetGridItemProps, type WidgetGridProps, WidgetGridRow, type WidgetGridRowProps, WidgetHeader, WidgetHeaderAccessoryProvider, type WidgetHeaderAccessoryProviderProps, type WidgetHeaderEyebrowVariant, type WidgetHeaderProps, type WidgetHeight, WidgetTitle, type WidgetTitleProps, type WidgetTitleSize, cn, colsFor, composeRefs, countryOptions, currentZoneName, formatFileSize, getScoreTone, nextTier, paginationRange, quantizeWidth, resolveChartColor, slotWidthPx, tabId, tabPanelId, tierForWidth, timeZoneOffset, timeZoneOptions, useControlSize, useElementWidth, useFieldContext, useFieldControl, useFilePicker, useOverlayDismiss, usePortalContainer, useToast, useWidgetHeaderAccessory, useWidthTier };
5396
+ export { AIChatBar, type AIChatBarProps, AISuggestionChip, type AISuggestionChipProps, AccessibleIcon, type AccessibleIconProps, Accordion, AccordionContent, type AccordionContentProps, AccordionItem, type AccordionItemDef, type AccordionItemProps, type AccordionProps, AccordionTrigger, type AccordionTriggerProps, type AccordionType, AiAvatar, type AiAvatarProps, AspectRatio, type AspectRatioProps, AuroraBackdrop, Avatar, AvatarBlock, type AvatarBlockProps, AvatarGroup, type AvatarGroupProps, type AvatarGroupSpacing, type AvatarImageProps, type AvatarInitialProps, type AvatarProps, type AvatarShape, type AvatarSize, BADGE_COLORS, Badge, type BadgeColor, type BadgeProps, type BadgeSize, type BadgeVariant, Banner, type BannerProps, type BannerVariant, BarChart, type BarChartOrientation, type BarChartProps, type BarChartSeries, type BarChartSize, Blockquote, type BlockquoteProps, Box, type BoxProps, Breadcrumb, BreadcrumbEllipsis, type BreadcrumbEllipsisProps, BreadcrumbItem, type BreadcrumbItemDef, type BreadcrumbItemProps, type BreadcrumbProps, Button, ButtonGroup, type ButtonGroupAlign, type ButtonGroupItem, type ButtonGroupProps, type ButtonGroupVariant, type ButtonProps, type ButtonSize, type ButtonVariant, CHART_SEQUENCE, CHART_TONE, CHART_TRACK, COL_SPAN, COL_SPAN_BY_TIER, COUNTRY_CODES, Calendar, type CalendarMode, type CalendarProps, Card, CardAction, type CardActionProps, CardBody, type CardBodyProps, CardDescription, type CardDescriptionProps, CardFooter, type CardFooterAlign, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, type CardRadius, type CardSize, CardTitle, type CardTitleProps, type CardTone, Carousel, CarouselControls, type CarouselControlsProps, type CarouselProps, CarouselSlide, type CarouselSlideProps, CarouselViewport, type CarouselViewportProps, ChartLegend, type ChartLegendItem, type ChartLegendOrientation, type ChartLegendProps, type ChartTone, ChatBubble, type ChatBubbleProps, type ChatBubbleSender, CheckIndicator, type CheckIndicatorProps, type CheckIndicatorStatus, Checkbox, CheckboxGroup, CheckboxGroupItem, type CheckboxGroupItemProps, type CheckboxGroupProps, type CheckboxProps, type CheckboxSize, type CheckedGroup, CheckedGroupList, type CheckedGroupListColumns, type CheckedGroupListProps, ChecklistRow, type ChecklistRowProps, type ChecklistRowState, type ChoiceCardBreakpoint, type ColSize, Collapsible, CollapsibleContent, type CollapsibleContentProps, type CollapsibleProps, CollapsibleTrigger, type CollapsibleTriggerProps, Combobox, type ComboboxOption, type ComboboxProps, Command, type CommandItem, type CommandProps, ConfirmDialog, type ConfirmDialogProps, Container, type ContainerProps, type ContainerSize, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, type ContextMenuContentProps, ContextMenuGroup, ContextMenuItem, ContextMenuItems, ContextMenuLabel, type ContextMenuProps, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, type ContextMenuTriggerProps, ControlSizeProvider, type ControlSizeProviderProps, CopyButton, type CopyButtonProps, CountBadge, type CountBadgeProps, CountrySelect, type CountrySelectProps, DEFAULT_SCORE_THRESHOLDS, DatePicker, type DatePickerProps, type DateRange, DescriptionItem, type DescriptionItemProps, DescriptionList, type DescriptionListProps, DetailGrid, type DetailGridColumns, type DetailGridProps, DetailItem, type DetailItemLayout, type DetailItemProps, type DetailItemSpan, DonutChart, type DonutChartProps, type DonutChartSize, type DonutSegment, Drawer, DrawerBody, type DrawerBodyProps, DrawerClose, type DrawerCloseProps, DrawerDescription, type DrawerDescriptionProps, DrawerFooter, type DrawerFooterAlign, type DrawerFooterProps, DrawerHeader, type DrawerHeaderProps, type DrawerProps, type DrawerSide, DrawerTitle, type DrawerTitleProps, DrawerTrigger, type DrawerTriggerProps, DropdownMenu, DropdownMenuCheckboxItem, type MenuCheckboxItemProps as DropdownMenuCheckboxItemProps, DropdownMenuContent, type DropdownMenuContentProps, DropdownMenuGroup, type MenuGroupProps as DropdownMenuGroupProps, DropdownMenuItem, type MenuItemProps as DropdownMenuItemProps, type MenuItemTone as DropdownMenuItemTone, DropdownMenuItems, DropdownMenuLabel, type MenuLabelProps as DropdownMenuLabelProps, type DropdownMenuProps, DropdownMenuRadioGroup, type MenuRadioGroupProps as DropdownMenuRadioGroupProps, DropdownMenuRadioItem, type MenuRadioItemProps as DropdownMenuRadioItemProps, DropdownMenuSeparator, type MenuSeparatorProps as DropdownMenuSeparatorProps, DropdownMenuShortcut, type MenuShortcutProps as DropdownMenuShortcutProps, DropdownMenuSub, DropdownMenuSubContent, type MenuSubContentProps as DropdownMenuSubContentProps, type MenuSubProps as DropdownMenuSubProps, DropdownMenuSubTrigger, type MenuSubTriggerProps as DropdownMenuSubTriggerProps, DropdownMenuTrigger, type DropdownMenuTriggerProps, EmailText, EmptyState, type EmptyStateProps, type EmptyStateSize, type EmptyStateVariant, EntityIconBadge, type EntityIconBadgeProps, type EntityIconBadgeSize, type EntityIconBadgeTone, ErrorBoundary, type ErrorBoundaryProps, EyebrowLabel, type EyebrowLabelProps, type EyebrowLabelVariant, FOCUS_RING, FOCUS_RING_INSET, Field, type FieldContextValue, FieldDescription, FieldError, FieldGroup, type FieldGroupProps, FieldHint, FieldLabel, type FieldLabelProps, FieldLegend, type FieldLegendProps, type FieldOrientation, type FieldProps, FieldSeparator, type FieldSeparatorProps, FieldSet, type FieldSetProps, type FieldTextProps, FileDropZone, type FileDropZoneProps, FileRow, type FileRowProps, FilterBar, type FilterBarProps, type FilterBarSize, Flex, type FlexAlign, type FlexDirection, type FlexJustify, type FlexProps, FormCard, FormCardFooter, type FormCardFooterProps, FormCardHeader, type FormCardHeaderProps, type FullscreenStacking, FullscreenSurface, type FullscreenSurfaceProps, GRID_TIERS, Grid, type GridBreakpoint, type GridColumnCount, type GridProps, type GridTier, HEIGHT_CLASS, HEIGHT_PX, Heading, HoverCard, type HoverCardProps, IconButton, type IconButtonProps, type IconButtonVariant, IconTextRow, type IconTextRowProps, InlineAlert, type InlineAlertProps, type InlineAlertTone, Input, InputControl, type InputControlProps, InputGroup, InputGroupAddon, type InputGroupAddonProps, type InputGroupAlign, InputGroupInput, type InputGroupInputProps, type InputGroupProps, InputGroupText, type InputGroupTextProps, InputOTP, type InputOTPMode, type InputOTPProps, type InputProps, type InputSize, Kbd, type KbdProps, type KbdSize, Label, type LabelProps, LegendDot, type LegendDotProps, type LegendDotShape, type LegendDotSize, ListRow, type ListRowDensity, type ListRowDivider, type ListRowProps, Listbox, type ListboxGroup, type ListboxOption, type ListboxProps, type MenuItemDef, Menubar, MenubarCheckboxItem, MenubarContent, type MenubarContentProps, MenubarGroup, MenubarItem, MenubarItems, MenubarLabel, MenubarMenu, type MenubarMenuDef, type MenubarMenuProps, type MenubarProps, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, type MenubarTriggerProps, MiniBarChart, type MiniBarChartOrientation, type MiniBarChartProps, type MiniBarChartSize, Modal, type ModalAlign, ModalBody, type ModalBodyProps, ModalClose, type ModalCloseProps, ModalDescription, type ModalDescriptionProps, ModalFooter, type ModalFooterAlign, type ModalFooterProps, ModalHeader, type ModalHeaderProps, type ModalProps, type ModalSize, ModalTitle, type ModalTitleProps, type ModalTone, ModalTrigger, type ModalTriggerProps, MultiSelectCard, type MultiSelectCardProps, type MultiSelectCardSize, NativeSelect, NativeSelectControl, type NativeSelectControlProps, type NativeSelectProps, NavGroupHeader, type NavGroupHeaderProps, NavItem, type NavItemDensity, type NavItemProps, type NavItemSize, type NavItemVariant, NavSubItem, type NavSubItemProps, NavigationMenu, NavigationMenuItem, type NavigationMenuItemProps, type NavigationMenuOrientation, type NavigationMenuProps, type NavigationMenuVariant, NoteConfirmModal, type NoteConfirmModalProps, NumberedList, type NumberedListGap, type NumberedListItem, type NumberedListProps, OVERLAY_SCRIM, PageHeading, type PageHeadingProps, type PageHeadingSize, PageToolbar, type PageToolbarProps, type PageToolbarSize, Pagination, PaginationBar, type PaginationBarProps, type PaginationProps, type PaginationType, PasswordInput, type PasswordInputProps, Popover, PopoverAnchor, PopoverClose, PopoverContent, type PopoverContentProps, type PopoverProps, PopoverTrigger, type PopoverTriggerProps, Portal, PortalContainerProvider, type PortalProps, ProgressBarTone, type QuickAction, QuickActionsBar, type QuickActionsBarProps, Quote, ROLE_COMBO_OPTIONS, RadialGauge, type RadialGaugeProps, type RadialGaugeSize, Radio, RadioCards, RadioCardsItem, type RadioCardsItemProps, type RadioCardsProps, type RadioCardsSize, RadioGroup, type RadioGroupOption, type RadioGroupOrientation, type RadioGroupProps, type RadioProps, Resizable, type ResizableDirection, ResizableHandle, type ResizableHandleProps, ResizablePanel, type ResizablePanelProps, type ResizableProps, type ResponsiveChoiceCardSize, RoleBadge, type RoleBadgeProps, type RoleBadgeTone, RoleComboBox, type RoleComboBoxProps, type RoleOption, SCROLLBAR_CLASSES, type ScoreDirection, type ScoreRampTone, type ScoreThresholds, type ScoreTone, ScoreValue, type ScoreValueProps, type ScoreValueSize, type ScoreValueTone, type ScoreValueWeight, ScoredRow, type ScoredRowAlign, type ScoredRowGap, type ScoredRowProps, Scrim, type ScrimProps, ScrollArea, type ScrollAreaAxis, type ScrollAreaProps, SearchInput, type SearchInputProps, Section, type SectionProps, type SectionSize, SegmentedControl, type SegmentedControlOption, type SegmentedControlProps, Select, SelectControl, type SelectControlProps, type SelectOption, type SelectOptionGroup, type SelectProps, Separator, type SeparatorOrientation, type SeparatorProps, Sidebar, type SidebarContextValue, type SidebarLinkComponent, type SidebarLinkProps, type SidebarNavGroup, type SidebarNavItem, type SidebarProps, SidebarProvider, type SidebarProviderProps, type SidebarRenderState, SidebarSeparator, type SidebarSeparatorProps, SidebarTrigger, type SidebarTriggerProps, SidebarUserCard, type SidebarUserCardProps, Skeleton, type SkeletonProps, type SkeletonShape, Slider, type SliderProps, Slot, type SlotProps, type SpaceToken, Sparkline, type SparklineProps, type SparklineSize, type SparklineVariant, Spinner, type SpinnerProps, type SpinnerSize, StatNumber, type StatNumberProps, type StatNumberSize, type StatNumberWeight, StatTile, type StatTileProps, StatusBadge, type StatusBadgeProps, type StatusBadgeSize, StatusChip, type StatusChipProps, StatusDot, type StatusDotProps, type StatusDotTone, type StatusTone, type StepItem, type StepStatus, Stepper, type StepperAlign, type StepperCompactInfo, type StepperProps, type StepperSize, StepsList, type StepsListProps, Subheading, Subtitle, Switch, type SwitchProps, type SwitchSize, TIER_COLS, TIER_MIN_PX, type TabItem, Tabs, type TabsActivation, TabsContent, type TabsContentProps, TabsList, type TabsListProps, type TabsOrientation, TabsPanel, type TabsPanelProps, type TabsProps, type TabsRootProps, type TabsSize, TabsTrigger, type TabsTriggerProps, type TabsVariant, TagInput, type TagInputParseResult, type TagInputProps, TagPill, type TagPillProps, type TagPillSize, type TagPillTone, Text, TextCode, TextEmphasis, TextLink, type TextLinkProps, type TextLinkTone, TextList, type TextListDensity, TextListItem, type TextListItemProps, type TextListProps, type TextListVariant, type TextProps, TextSmall, TextStrong, TextTiny, type TextTone, Textarea, TextareaControl, type TextareaControlProps, type TextareaProps, TileGrid, type TileGridBreakpoint, type TileGridColumns, type TileGridProps, TimeZoneSelect, type TimeZoneSelectProps, TitleHero, TitlePage, type ToastOptions, type ToastRecord, type ToastTone, Toaster, type ToasterPosition, type ToasterProps, Toggle, ToggleGroup, ToggleGroupItem, type ToggleGroupItemProps, type ToggleGroupOption, type ToggleGroupProps, type ToggleGroupType, type ToggleProps, type ToggleSize, type ToggleVariant, Tooltip, type TooltipProps, TrailChip, type TrailChipProps, type TreeItemState, TreeView, type TreeViewProps, type TreeViewSize, type TrendDirection, TrendLabel, type TrendLabelProps, type TrendLabelSize, type TrendLabelWeight, TypingIndicator, type TypingIndicatorProps, type UseFilePicker, type UseFilePickerOptions, type UseWidthTierOptions, type UseWidthTierResult, type UserAccountStatus, UserStatusPill, type UserStatusPillProps, VisuallyHidden, type VisuallyHiddenProps, WidgetFooter, type WidgetFooterProps, WidgetGrid, WidgetGridItem, type WidgetGridItemProps, type WidgetGridProps, WidgetGridRow, type WidgetGridRowProps, WidgetHeader, WidgetHeaderAccessoryProvider, type WidgetHeaderAccessoryProviderProps, type WidgetHeaderEyebrowVariant, type WidgetHeaderProps, type WidgetHeight, WidgetTitle, type WidgetTitleProps, type WidgetTitleSize, cn, colsFor, composeRefs, countryOptions, currentZoneName, filterNav, filterNavItems, formatFileSize, getScoreTone, nextTier, paginationRange, quantizeWidth, resolveChartColor, slotWidthPx, tabId, tabPanelId, tierForWidth, timeZoneOffset, timeZoneOptions, useControlSize, useElementWidth, useFieldContext, useFieldControl, useFilePicker, useOverlayDismiss, usePortalContainer, useSidebar, useToast, useWidgetHeaderAccessory, useWidthTier };