@platned/ui 0.9.2 → 0.9.4

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,7 +1,8 @@
1
1
  import * as react from 'react';
2
- import { ButtonHTMLAttributes, ReactNode, InputHTMLAttributes, HTMLAttributes, LabelHTMLAttributes, TextareaHTMLAttributes, SelectHTMLAttributes, ChangeEventHandler, RefObject, ReactElement, Ref, AnchorHTMLAttributes, TdHTMLAttributes, ThHTMLAttributes, Component, ErrorInfo } from 'react';
2
+ import { ButtonHTMLAttributes, ReactNode, InputHTMLAttributes, HTMLAttributes, LabelHTMLAttributes, TextareaHTMLAttributes, SelectHTMLAttributes, ChangeEventHandler, RefObject, ReactElement, Ref, AnchorHTMLAttributes, Component, ErrorInfo } from 'react';
3
3
  import { ClassValue } from 'clsx';
4
- import { Column, Table as Table$1, ColumnDef, RowData, SortingState, ColumnFiltersState, PaginationState, VisibilityState, RowSelectionState, TableOptions } from '@tanstack/react-table';
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';
5
6
  export { CellContext, ColumnDef, ColumnFiltersState, Column as DataTableColumn, Table as DataTableInstance, HeaderContext, PaginationState, Row, RowSelectionState, SortingState, VisibilityState, createColumnHelper } from '@tanstack/react-table';
6
7
 
7
8
  type ButtonVariant = 'primary' | 'neutral' | 'subtle' | 'danger' | 'danger-subtle';
@@ -3172,8 +3173,11 @@ type TabsActivation = 'automatic' | 'manual';
3172
3173
  interface TabItem<K extends string = string> {
3173
3174
  key: K;
3174
3175
  label: string;
3175
- /** Renders a count chip after the label. */
3176
- count?: number;
3176
+ /**
3177
+ * Renders a count chip after the label. A number is formatted for `locale` (`1,284`); pass a
3178
+ * node for anything else, e.g. `"99+"`. A node from 0.9.4.
3179
+ */
3180
+ count?: ReactNode;
3177
3181
  disabled?: boolean;
3178
3182
  }
3179
3183
  /** The `items` form: a tab strip only, with `TabsPanel`s placed wherever the page needs them. */
@@ -3200,6 +3204,8 @@ interface TabsProps<K extends string = string> {
3200
3204
  idPrefix?: string;
3201
3205
  /** Names the tab strip. Required by the APG when there is more than one on a page. */
3202
3206
  label?: string;
3207
+ /** Locale for numeric `count`s. Default: the browser's. New in 0.9.4. */
3208
+ locale?: string;
3203
3209
  className?: string;
3204
3210
  }
3205
3211
  /**
@@ -3217,6 +3223,8 @@ interface TabsRootProps {
3217
3223
  activation?: TabsActivation;
3218
3224
  /** Reading direction, which flips Left/Right in a horizontal strip. */
3219
3225
  dir?: 'ltr' | 'rtl';
3226
+ /** Locale for numeric `count`s on the triggers. Default: the browser's. New in 0.9.4. */
3227
+ locale?: string;
3220
3228
  className?: string;
3221
3229
  }
3222
3230
  declare const tabId: (prefix: string, key: string) => string;
@@ -3270,8 +3278,8 @@ declare const TabsList: react.ForwardRefExoticComponent<TabsListProps & react.Re
3270
3278
  interface TabsTriggerProps extends HTMLAttributes<HTMLButtonElement> {
3271
3279
  value: string;
3272
3280
  disabled?: boolean;
3273
- /** Renders a count chip after the label. */
3274
- count?: number;
3281
+ /** Renders a count chip after the label. A number is formatted for the root's `locale`. */
3282
+ count?: ReactNode;
3275
3283
  }
3276
3284
  declare const TabsTrigger: react.ForwardRefExoticComponent<TabsTriggerProps & react.RefAttributes<HTMLButtonElement>>;
3277
3285
  interface TabsContentProps extends HTMLAttributes<HTMLDivElement> {
@@ -4409,46 +4417,6 @@ interface ScoredRowProps {
4409
4417
  */
4410
4418
  declare function ScoredRow({ leading, title, subtitle, aside, meter, trailing, titleWidth, asideWidth, meterWidth, trailingWidth, gap, leadingGap, align, className, }: ScoredRowProps): react.JSX.Element;
4411
4419
 
4412
- type ProgressBarTone = 'brand' | 'positive' | 'warning' | 'danger' | 'neutral';
4413
- type ProgressBarSize = 'xs' | 'sm' | 'md' | 'lg';
4414
- interface ProgressBarProps {
4415
- /** 0–100. Values outside the range are clamped. */
4416
- value: number;
4417
- tone?: ProgressBarTone;
4418
- size?: ProgressBarSize;
4419
- /** Caption above the bar. Also becomes the accessible name. */
4420
- label?: string;
4421
- /** Show the percentage at the right of the label row. */
4422
- showValue?: boolean;
4423
- /** CSS radius override, e.g. `'1px'` for a square-ended bar. Defaults to fully round. */
4424
- radius?: string;
4425
- /** Accessible name when there is no visible `label`. */
4426
- 'aria-label'?: string;
4427
- /**
4428
- * Draw the bar as this many equal steps, filled in whole steps, e.g. a password-strength
4429
- * meter. New in 0.7.0; replaces hand-built rows of tinted bars.
4430
- */
4431
- segments?: number;
4432
- /**
4433
- * What the value means, announced instead of the number (`aria-valuetext`), e.g. "Strong".
4434
- * A strength meter at 75 means nothing as "75 percent".
4435
- */
4436
- valueText?: string;
4437
- /**
4438
- * Applied to the track. This is how you set a fixed width — `className="w-16"`.
4439
- * It genuinely overrides the base `w-full` because this file uses `cn`.
4440
- */
4441
- className?: string;
4442
- }
4443
- /**
4444
- * A horizontal progress / proportion bar.
4445
- *
4446
- * Was `WidgetProgressBar` in 0.2.0, which fixed the height at 6px and lived under
4447
- * `widgets/` despite being a general-purpose primitive — so `TableCellProgress`
4448
- * hand-rolled a second copy rather than reuse it. It also had no ARIA at all.
4449
- */
4450
- declare function ProgressBar({ value, tone, size, label, showValue, radius, 'aria-label': ariaLabel, segments, valueText, className, }: ProgressBarProps): react.JSX.Element;
4451
-
4452
4420
  interface NumberedListItem {
4453
4421
  title: string;
4454
4422
  /** Second line under the title — a region, a category, an id. */
@@ -4719,418 +4687,6 @@ interface TreeViewProps<T> {
4719
4687
  */
4720
4688
  declare function TreeView<T>({ items, getId, getChildren, renderItem, label, expanded: expandedProp, defaultExpanded, onExpandedChange, selected: selectedProp, defaultSelected, onSelect, size, className, }: TreeViewProps<T>): react.JSX.Element;
4721
4689
 
4722
- type TableDensity = 'default' | 'compact';
4723
- type TableSortDirection = 'ascending' | 'descending';
4724
- /**
4725
- * The composable table primitive, matching Figma's `Table` and `Table cell`.
4726
- *
4727
- * `DataTable` is the config-driven form — you give it `columns` and `rows` and it renders
4728
- * everything. It is the right tool most of the time, and it is not going away. But it
4729
- * cannot express a grouped header, a footer row, a colspan, or a cell layout outside its
4730
- * `render` signature, so anything unusual meant abandoning it for a hand-rolled `<table>`
4731
- * with none of the semantics. These parts are that escape hatch with the semantics kept.
4732
- *
4733
- * Figma's `Table cell` has a 32-value `Style` axis (lead checkbox, lead avatar, badges
4734
- * multiple, trend positive/negative, action icons, star ratings, payment method…). Those
4735
- * are *compositions*, not variants of one component — each is an existing library
4736
- * component dropped into a cell — so they are expressed here as `TableCell` plus whatever
4737
- * goes inside it, rather than 32 props.
4738
- */
4739
- interface TableProps extends HTMLAttributes<HTMLTableElement> {
4740
- /** Names the table. Required unless you render a `TableCaption`. */
4741
- label?: string;
4742
- density?: TableDensity;
4743
- /** Equal-width columns driven by `<colgroup>`, matching `DataTable`. Default `false`. */
4744
- fixed?: boolean;
4745
- /**
4746
- * Cap the height (px number or CSS length) and scroll the body inside it. Pair with
4747
- * `<TableHead sticky>` to keep the header row in view. The wrapper becomes a focusable region
4748
- * named by `label`, so the keyboard can scroll it. New in 0.7.1.
4749
- */
4750
- maxHeight?: number | string;
4751
- }
4752
- declare const Table: react.ForwardRefExoticComponent<TableProps & react.RefAttributes<HTMLTableElement>>;
4753
- interface TableCaptionProps extends HTMLAttributes<HTMLTableCaptionElement> {
4754
- }
4755
- /**
4756
- * A visible table title that also names the table. Prefer this over `label` when the
4757
- * heading is on screen anyway — `DataTable` could not be named at all before 0.4.0.
4758
- */
4759
- declare const TableCaption: react.ForwardRefExoticComponent<TableCaptionProps & react.RefAttributes<HTMLTableCaptionElement>>;
4760
- declare const TableHeader: react.ForwardRefExoticComponent<HTMLAttributes<HTMLTableSectionElement> & react.RefAttributes<HTMLTableSectionElement>>;
4761
- declare const TableBody: react.ForwardRefExoticComponent<HTMLAttributes<HTMLTableSectionElement> & react.RefAttributes<HTMLTableSectionElement>>;
4762
- declare const TableFooter: react.ForwardRefExoticComponent<HTMLAttributes<HTMLTableSectionElement> & react.RefAttributes<HTMLTableSectionElement>>;
4763
- /**
4764
- * A row's state tint. Each is a meaning, not a colour: `muted` for an inactive or ended
4765
- * record, `danger` for a denied or failed one, and so on. New in 0.7.0, to replace the
4766
- * `className={active ? '' : 'bg-default-secondary'}` consumers were writing on every row.
4767
- */
4768
- type TableRowTone = 'default' | 'muted' | 'brand' | 'positive' | 'warning' | 'danger';
4769
- interface TableRowProps extends HTMLAttributes<HTMLTableRowElement> {
4770
- selected?: boolean;
4771
- /** State tint; see `TableRowTone`. Selection wins over tone. */
4772
- tone?: TableRowTone;
4773
- /** De-emphasises the row (an expired or archived record) without hiding it. */
4774
- dimmed?: boolean;
4775
- }
4776
- declare const TableRow: react.ForwardRefExoticComponent<TableRowProps & react.RefAttributes<HTMLTableRowElement>>;
4777
- interface TableHeadProps extends ThHTMLAttributes<HTMLTableCellElement> {
4778
- /**
4779
- * Makes the header a sort control. `false` means sortable but not currently sorted.
4780
- *
4781
- * `aria-sort` goes on the `<th>` and must be present on exactly one column at a time —
4782
- * it is the only non-visual signal of sort state, and `DataTable` had none.
4783
- */
4784
- sort?: TableSortDirection | false;
4785
- onSort?: () => void;
4786
- align?: 'left' | 'center' | 'right';
4787
- /** Keeps the header visible while the body scrolls. */
4788
- sticky?: boolean;
4789
- }
4790
- declare const TableHead: react.ForwardRefExoticComponent<TableHeadProps & react.RefAttributes<HTMLTableCellElement>>;
4791
- interface TableCellProps extends TdHTMLAttributes<HTMLTableCellElement> {
4792
- align?: 'left' | 'center' | 'right';
4793
- /** Vertical rhythm. Matches `DataTable`'s `density`. */
4794
- density?: TableDensity;
4795
- /** Makes this the row's header cell — `scope="row"`, for a table with row headers. */
4796
- header?: boolean;
4797
- }
4798
- declare const TableCell: react.ForwardRefExoticComponent<TableCellProps & react.RefAttributes<HTMLTableCellElement>>;
4799
-
4800
- /** How a column appears in card mode. */
4801
- type ColumnMobileRole = 'title' | 'status' | 'actions' | 'field' | 'hidden';
4802
-
4803
- /**
4804
- * The composable parts of `DataTable`. `DataTable` renders all of them for you; they are
4805
- * exported for a table that needs its own layout around them (a toolbar elsewhere on the
4806
- * page, a pager in a sticky footer) or a custom header renderer.
4807
- */
4808
- /** The id `createSelectColumn` gives its column, so `DataTable` can find and place it. */
4809
- declare const SELECT_COLUMN_ID = "select";
4810
- interface DataTableColumnHeaderProps<TData, TValue> {
4811
- column: Column<TData, TValue>;
4812
- /** Header text. Defaults to the column's label. */
4813
- title?: string;
4814
- className?: string;
4815
- }
4816
- /**
4817
- * A header that sorts its column when the column can sort, and plain text when it cannot.
4818
- * `DataTable` uses it for every string `header`. Use it yourself inside a `header` render
4819
- * function to keep the sort control while adding something next to it.
4820
- *
4821
- * A click cycles the sort (ascending → descending → off). Shift-click adds the column to a
4822
- * multi-column sort. The direction is announced through `aria-sort` on the `<th>`, which
4823
- * `DataTable` sets, so this button carries only the visible chevron.
4824
- */
4825
- declare function DataTableColumnHeader<TData, TValue>({ column, title, className, }: DataTableColumnHeaderProps<TData, TValue>): react.JSX.Element;
4826
- interface CreateSelectColumnOptions<TData> {
4827
- /** Names each row's checkbox, e.g. `(row) => \`Select ${row.name}\``. Default "Select row". */
4828
- getRowLabel?: (row: TData) => string;
4829
- /** Names the header checkbox. Default "Select all rows on this page". */
4830
- selectAllLabel?: string;
4831
- }
4832
- /**
4833
- * A leading checkbox column. `DataTable` adds one automatically when `enableRowSelection` is
4834
- * set and the columns have none, so call this only to place it yourself or to name the rows.
4835
- *
4836
- * The header checkbox selects the current *page*, which is what a user can see, and shows
4837
- * indeterminate while some of the page is selected.
4838
- */
4839
- declare function createSelectColumn<TData>(options?: CreateSelectColumnOptions<TData>): ColumnDef<TData, unknown>;
4840
- interface DataTableViewOptionsProps<TData> {
4841
- table: Table$1<TData>;
4842
- /** Trigger text. Default "Columns". */
4843
- label?: string;
4844
- }
4845
- /** A "Columns" menu that shows and hides every column whose `enableHiding` is not false. */
4846
- declare function DataTableViewOptions<TData>({ table, label }: DataTableViewOptionsProps<TData>): react.JSX.Element | null;
4847
- interface DataTablePaginationProps<TData> {
4848
- table: Table$1<TData>;
4849
- /** Page sizes on offer. An empty array hides the selector. Default `[10, 20, 50]`. */
4850
- pageSizeOptions?: number[];
4851
- /** Replaces the "Showing 1–10 of 57" summary. */
4852
- summary?: ReactNode;
4853
- }
4854
- /** The pager row: a range summary, a page-size selector, and page buttons. */
4855
- declare function DataTablePagination<TData>({ table, pageSizeOptions, summary, }: DataTablePaginationProps<TData>): react.JSX.Element;
4856
-
4857
- /**
4858
- * Cell renderers for `DataTable` (and the `Table` parts). Unchanged in 0.7.0; moved out of
4859
- * `data-table.tsx` when the table itself was rebuilt on TanStack Table.
4860
- */
4861
- /**
4862
- * Cell type scale.
4863
- *
4864
- * Named `size`, not `density`, and deliberately *not* inherited from the table: the two
4865
- * real compact tables disagree about the mapping — the audit table wants default
4866
- * padding with small cell text — so inheritance could not express it anyway, and it
4867
- * would make these render one size inside a table and another outside one.
4868
- */
4869
- type TableCellSize = 'sm' | 'md';
4870
- interface TableCellLeadTextProps {
4871
- primary: string;
4872
- /**
4873
- * The muted second line. A string ellipsises with a `title`. From 0.9.1 it can also be an
4874
- * element, such as `<EmailText email={…} />`, which manages its own overflow: an email
4875
- * should truncate before the `@`, never wrap mid-word.
4876
- */
4877
- secondary?: ReactNode;
4878
- size?: TableCellSize;
4879
- className?: string;
4880
- }
4881
- /**
4882
- * Primary text plus an optional muted subtitle — for lead entity/name cells.
4883
- *
4884
- * Both lines ellipsise, with the full text as a `title`, so a long name can't stretch the row.
4885
- * `min-w-0` on the root is load-bearing: callers put this next to an Avatar in a flex row, and a
4886
- * flex item doesn't shrink below its content width without it, so `truncate` would never fire.
4887
- */
4888
- declare function TableCellLeadText({ primary, secondary, size, className }: TableCellLeadTextProps): react.JSX.Element;
4889
- interface TableCellTextProps {
4890
- children: ReactNode;
4891
- /** Muted (secondary) by default; pass false for the primary colour. */
4892
- muted?: boolean;
4893
- size?: TableCellSize;
4894
- /**
4895
- * Ellipsise with the full text as a `title` (default). `false` keeps the text on one line at
4896
- * its full width instead, for a column that is sized to fit its content.
4897
- *
4898
- * Defaulted on in 0.8.3. Until then the default was a bare `whitespace-nowrap`, which in a
4899
- * column narrower than the text clipped it mid-glyph with no ellipsis and no way to read the
4900
- * rest.
4901
- */
4902
- truncate?: boolean;
4903
- className?: string;
4904
- }
4905
- /** Plain one-line text cell. */
4906
- declare function TableCellText({ children, muted, size, truncate, className, }: TableCellTextProps): react.JSX.Element;
4907
- interface TableCellBadgeProps {
4908
- label: string;
4909
- className?: string;
4910
- }
4911
- /**
4912
- * Small outlined chip — entity type labels, categories. A label longer than the column
4913
- * ellipsises inside the chip, with the full text as a `title`, rather than overflowing it.
4914
- */
4915
- declare function TableCellBadge({ label, className }: TableCellBadgeProps): react.JSX.Element;
4916
- interface TableCellProgressProps {
4917
- percent: number;
4918
- /**
4919
- * Bar colour. `brand` is 0.2.0's default and byte-identical to it — `bg-brand`
4920
- * resolves to the same `--prim-brand-900` the old raw-hex default hardcoded.
4921
- */
4922
- tone?: ProgressBarTone;
4923
- size?: TableCellSize;
4924
- /**
4925
- * What the bar measures, e.g. "Risk score" — the bar's accessible name, with the value
4926
- * announced by the progressbar role. Without it the bar is named by its percentage alone.
4927
- */
4928
- label?: string;
4929
- className?: string;
4930
- }
4931
- /**
4932
- * Mini progress bar with its percentage at the end. The bar fills whatever width the cell gives
4933
- * it, as shadcn's Progress (`w-full`), Ant Design's line Progress and MUI's LinearProgress do:
4934
- * through 0.7.0 it was a fixed 48 / 64px, which left most of a wide column, or of a card field in
4935
- * the responsive layout, empty. `size` now sets the bar's thickness (4 / 6px).
4936
- */
4937
- declare function TableCellProgress({ percent, tone, size, label, className, }: TableCellProgressProps): react.JSX.Element;
4938
-
4939
- type DataTableColumnAlign = 'start' | 'center' | 'end';
4940
- /**
4941
- * Per-column layout options, carried on TanStack's `meta`. Declared by augmenting TanStack's
4942
- * own `ColumnMeta`, so `meta` on your `ColumnDef` is typed with no extra import:
4943
- *
4944
- * const columns: ColumnDef<Supplier>[] = [
4945
- * { accessorKey: 'name', header: 'Supplier', meta: { width: '280px', grow: true, mobile: 'title' } },
4946
- * ];
4947
- */
4948
- declare module '@tanstack/react-table' {
4949
- interface ColumnMeta<TData extends RowData, TValue> {
4950
- /**
4951
- * CSS width for the column's `<col>`, e.g. `"320px"` or `"10rem"`. A column is never
4952
- * narrower than its header text. With `grow`, this is the floor instead.
4953
- */
4954
- width?: string;
4955
- /** Absorbs the table's remaining width, with `width` as its floor. Usually one column. */
4956
- grow?: boolean;
4957
- /** Horizontal alignment of the header and cells. Default `start`. */
4958
- align?: DataTableColumnAlign;
4959
- /**
4960
- * The cell renders its own controls (a button, a toggle, a menu). Presses inside it stop
4961
- * before reaching the row's `onRowClick`, and the cell stops clipping its overflow, so
4962
- * focus rings are not cut off.
4963
- */
4964
- interactive?: boolean;
4965
- /** Keep the header for screen readers but hide it visually, e.g. an actions column. */
4966
- hideHeader?: boolean;
4967
- /** The column's part in card mode. See `ColumnMobileRole`. Default `field`. */
4968
- mobile?: ColumnMobileRole;
4969
- /** Pin the first (`start`) or last (`end`) visible column while the table scrolls sideways. */
4970
- sticky?: 'start' | 'end';
4971
- /** The column's name where its header cannot be shown as text: menus, card labels. */
4972
- label?: string;
4973
- /** Extra classes on the header cell. An escape hatch; prefer `align`. */
4974
- headerClassName?: string;
4975
- /** Extra classes on each body cell. An escape hatch; prefer `align`. */
4976
- cellClassName?: string;
4977
- }
4978
- }
4979
- type DataTableDensity = 'default' | 'compact';
4980
- type DataTableAlign = 'center' | 'top';
4981
- /** The table state you can control. Every key is optional and independently controlled. */
4982
- interface DataTableState {
4983
- sorting: SortingState;
4984
- globalFilter: string;
4985
- columnFilters: ColumnFiltersState;
4986
- pagination: PaginationState;
4987
- columnVisibility: VisibilityState;
4988
- rowSelection: RowSelectionState;
4989
- }
4990
- /** Hand an operation to the server. The table then shows `data` as given for that operation. */
4991
- interface DataTableManual {
4992
- sorting?: boolean;
4993
- filtering?: boolean;
4994
- pagination?: boolean;
4995
- /** Total rows on the server. Needed with `pagination`, so the pager knows the page count. */
4996
- rowCount?: number;
4997
- }
4998
- interface DataTableSearchOptions {
4999
- /** Filter one column instead of every column. */
5000
- columnId?: string;
5001
- placeholder?: string;
5002
- /** Accessible name. Default "Search". */
5003
- label?: string;
5004
- }
5005
- interface DataTableRowLinkProps {
5006
- href: string;
5007
- className: string;
5008
- children: ReactNode;
5009
- 'data-row-link': '';
5010
- }
5011
- interface DataTableProps<TData, TValue = unknown> {
5012
- /** TanStack column definitions. Layout options go in each column's `meta`. */
5013
- columns: ColumnDef<TData, TValue>[];
5014
- data: TData[];
5015
- /** A stable id per row. Defaults to the row index, which breaks selection across re-sorts. */
5016
- getRowId?: (row: TData, index: number) => string;
5017
- /**
5018
- * Accessible name, rendered as a visually hidden `<caption>`. Give the table either this or
5019
- * `caption`: an unnamed table is announced as just "table".
5020
- */
5021
- label?: string;
5022
- /** A visible caption above the table, which also names it. */
5023
- caption?: ReactNode;
5024
- /** A search box. `true` filters across every column; pass options to filter one column. */
5025
- searchable?: boolean | DataTableSearchOptions;
5026
- /** A "Columns" menu to show and hide columns. */
5027
- columnVisibility?: boolean;
5028
- /** Page the rows. Default `true`. */
5029
- pagination?: boolean;
5030
- /** Rows per page to start with. Default `10`. */
5031
- pageSize?: number;
5032
- /** Page sizes to offer. Default `[10, 20, 50]`; `[]` hides the selector. */
5033
- pageSizeOptions?: number[];
5034
- /**
5035
- * Adds a leading checkbox column (unless the columns already include `createSelectColumn()`).
5036
- * Pass a function to make only some rows selectable.
5037
- */
5038
- enableRowSelection?: boolean | ((row: TData) => boolean);
5039
- /** The selected rows, every time the selection changes. */
5040
- onSelectionChange?: (rows: TData[]) => void;
5041
- /** Names a row for its selection checkbox and its card, e.g. `(s) => s.name`. */
5042
- getRowLabel?: (row: TData) => string;
5043
- /**
5044
- * Whole-row activation for rows that open something in place (a drawer, a modal). Keyboard
5045
- * users focus the row and press Enter or Space. Rows that navigate should use `getRowHref`.
5046
- */
5047
- onRowClick?: (row: TData) => void;
5048
- /**
5049
- * The row's destination. The title cell renders as a real link (so middle-click, open in a
5050
- * new tab and screen-reader link lists all work) and a click anywhere else on the row follows
5051
- * it. Takes precedence over `onRowClick`.
5052
- */
5053
- getRowHref?: (row: TData) => string;
5054
- /**
5055
- * Renders the row link, e.g. through your router's `Link`. Default: a plain `<a>`.
5056
- *
5057
- * The row comes as a second argument rather than inside `props`, so spreading `props` onto a
5058
- * link never puts the row object on a DOM element. Use it for anything the link needs per row,
5059
- * e.g. router state: `({ href, ...props }, row) => <Link to={href} state={{ from: row.id }} {...props} />`.
5060
- */
5061
- renderRowLink?: (props: DataTableRowLinkProps, row: TData) => ReactElement;
5062
- /** A state tint per row, e.g. `(u) => (u.active ? undefined : 'muted')`. */
5063
- getRowTone?: (row: TData) => TableRowTone | undefined;
5064
- /** De-emphasise some rows, e.g. expired ones. */
5065
- getRowDimmed?: (row: TData) => boolean;
5066
- /** Shows skeleton rows in place of `data`. */
5067
- loading?: boolean;
5068
- /** How many skeleton rows. Default `5`. */
5069
- loadingRows?: number;
5070
- /** A load failure, shown in place of the rows. Takes precedence over loading and empty. */
5071
- error?: ReactNode;
5072
- /** Adds a Retry button to the error state. */
5073
- onRetry?: () => void;
5074
- /** Shown when there are no rows. A string, or your own node. Default "No results found." */
5075
- empty?: ReactNode;
5076
- /** Extra toolbar content beside the search box: filters, a primary action. */
5077
- toolbar?: ReactNode;
5078
- /** Extra content below the pager, e.g. a "refreshed 2 min ago" note. */
5079
- footer?: ReactNode;
5080
- density?: DataTableDensity;
5081
- /** Vertical alignment of body cells. Use `top` for multi-line or ragged cells. */
5082
- align?: DataTableAlign;
5083
- /**
5084
- * Render rows as cards when the table's own width is below the breakpoint. Default `true`
5085
- * at 560px. `false` always renders a table.
5086
- */
5087
- responsive?: boolean | {
5088
- breakpoint?: number;
5089
- };
5090
- /**
5091
- * Cap the table's height (px number or any CSS length) and scroll the body inside it, with the
5092
- * header row pinned. Works with horizontal scrolling and sticky columns, and caps the card list
5093
- * in the responsive layout. The pattern of MUI's `TableContainer` + `stickyHeader` and Ant
5094
- * Design's `scroll.y`. New in 0.7.1.
5095
- */
5096
- maxHeight?: number | string;
5097
- manual?: DataTableManual;
5098
- /** Controlled state. Any key you pass is controlled; the rest stay internal. */
5099
- state?: Partial<DataTableState>;
5100
- onSortingChange?: (sorting: SortingState) => void;
5101
- onGlobalFilterChange?: (value: string) => void;
5102
- onColumnFiltersChange?: (filters: ColumnFiltersState) => void;
5103
- onPaginationChange?: (pagination: PaginationState) => void;
5104
- onColumnVisibilityChange?: (visibility: VisibilityState) => void;
5105
- onRowSelectionChange?: (selection: RowSelectionState) => void;
5106
- /** Passed to `useReactTable` last, for anything this API does not cover. */
5107
- tableOptions?: Partial<TableOptions<TData>>;
5108
- /** Classes on the bordered wrapper. Layout only, e.g. margins. */
5109
- className?: string;
5110
- }
5111
- /**
5112
- * A data table on TanStack Table: sorting, search, pagination, column visibility and row
5113
- * selection built in, client-side by default and server-driven through `manual`.
5114
- *
5115
- * <DataTable label="Suppliers" columns={columns} data={suppliers} searchable columnVisibility />
5116
- *
5117
- * `TData` and `TValue` are inferred from `columns`, so `cell: ({ row }) => row.original.name`
5118
- * is typed. Layout options (width, alignment, card-mode role, sticky) go in each column's `meta`.
5119
- *
5120
- * Layout, from SCIC's table:
5121
- * - `table-fixed` plus one `<colgroup>`, so one set of widths governs every row and cells can
5122
- * ellipsise. A column is never narrower than its header.
5123
- * - Whatever does not fit scrolls inside a focusable, named region with edge shadows and
5124
- * optional sticky first or last columns.
5125
- * - Below 560px of its own width (not the viewport's) each row becomes a card: the title column
5126
- * leads, `status` and `actions` sit at the top, the rest become labelled values.
5127
- *
5128
- * Accessibility: a real `<table>` with a caption, `aria-sort` on sortable headers, `aria-busy`
5129
- * while loading, a polite announcement of the result count after a search, keyboard row
5130
- * activation, and named selection checkboxes.
5131
- */
5132
- declare function DataTable<TData, TValue = unknown>({ columns, data, getRowId, label, caption, searchable, columnVisibility: showColumnMenu, pagination: paginated, pageSize, pageSizeOptions, enableRowSelection, onSelectionChange, getRowLabel, onRowClick, getRowHref, renderRowLink, getRowTone, getRowDimmed, loading, loadingRows, error, onRetry, empty, toolbar, footer, density, align, responsive, maxHeight, manual, state, onSortingChange, onGlobalFilterChange, onColumnFiltersChange, onPaginationChange, onColumnVisibilityChange, onRowSelectionChange, tableOptions, className, }: DataTableProps<TData, TValue>): react.JSX.Element;
5133
-
5134
4690
  /**
5135
4691
  * Tracks an element's rendered content-box width. New in 0.7.0, from SCIC.
5136
4692
  *
@@ -5202,10 +4758,10 @@ interface SpinnerProps extends HTMLAttributes<HTMLSpanElement> {
5202
4758
  * Indeterminate loading indicator. `ProgressBar` is the determinate counterpart.
5203
4759
  *
5204
4760
  * The spin is a border-based ring rather than an SVG so it inherits `currentColor` and
5205
- * needs no fill/stroke plumbing — it works on any button variant unchanged. The animation
5206
- * is suppressed under `prefers-reduced-motion` by the preset's base rule, which leaves a
5207
- * static ring; that is why the transparent segment is a full quarter and still legible
5208
- * when frozen.
4761
+ * needs no fill/stroke plumbing — it works on any button variant unchanged. Under
4762
+ * `prefers-reduced-motion` it pulses in place instead of turning (from 0.9.4): rotation is
4763
+ * movement, but a ring frozen mid-turn, as the old blanket rule left it, no longer reads as
4764
+ * "working". The transparent segment is a full quarter so the ring stays legible either way.
5209
4765
  */
5210
4766
  declare const Spinner: react.ForwardRefExoticComponent<SpinnerProps & react.RefAttributes<HTMLSpanElement>>;
5211
4767
 
@@ -5252,8 +4808,7 @@ interface SkeletonProps extends HTMLAttributes<HTMLDivElement> {
5252
4808
  * carry the loading state — `EmptyState variant="loading"` or `aria-busy` on the
5253
4809
  * container — which is a decision only the caller can make.
5254
4810
  *
5255
- * The pulse is suppressed by the preset's `prefers-reduced-motion` rule, leaving a plain
5256
- * tinted block.
4811
+ * The pulse is `motion-safe:`, so under `prefers-reduced-motion` it is a plain tinted block.
5257
4812
  */
5258
4813
  declare const Skeleton: react.ForwardRefExoticComponent<SkeletonProps & react.RefAttributes<HTMLDivElement>>;
5259
4814
 
@@ -5419,4 +4974,4 @@ declare function ChatBubble({ sender, children, failed, className }: ChatBubbleP
5419
4974
 
5420
4975
  declare function AuroraBackdrop(): react.JSX.Element;
5421
4976
 
5422
- 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, type ColumnMobileRole, 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, type CreateSelectColumnOptions, DEFAULT_SCORE_THRESHOLDS, DataTable, type DataTableAlign, type DataTableColumnAlign, DataTableColumnHeader, type DataTableColumnHeaderProps, type DataTableDensity, type DataTableManual, DataTablePagination, type DataTablePaginationProps, type DataTableProps, type DataTableRowLinkProps, type DataTableSearchOptions, type DataTableState, DataTableViewOptions, type DataTableViewOptionsProps, 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, ProgressBar, type ProgressBarProps, type ProgressBarSize, type 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, SELECT_COLUMN_ID, 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, Table, TableBody, TableCaption, type TableCaptionProps, TableCell, TableCellBadge, type TableCellBadgeProps, TableCellLeadText, type TableCellLeadTextProps, TableCellProgress, type TableCellProgressProps, type TableCellProps, type TableCellSize, TableCellText, type TableCellTextProps, type TableDensity, TableFooter, TableHead, type TableHeadProps, TableHeader, type TableProps, TableRow, type TableRowProps, type TableRowTone, type TableSortDirection, 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, createSelectColumn, currentZoneName, formatFileSize, getScoreTone, nextTier, paginationRange, quantizeWidth, resolveChartColor, slotWidthPx, tabId, tabPanelId, tierForWidth, timeZoneOffset, timeZoneOptions, useControlSize, useElementWidth, useFieldContext, useFieldControl, useFilePicker, useOverlayDismiss, usePortalContainer, useToast, useWidgetHeaderAccessory, useWidthTier };
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 };