@tensor_1/react 2.49.1 → 2.50.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -44,8 +44,10 @@ declare function multiSort<T extends Row>(rows: readonly T[], keys: readonly Sor
44
44
  declare function nextSortDir(current: SortDir | 'none' | undefined): SortDir | 'none';
45
45
  /**
46
46
  * Toggle a field within a multi-sort key list. Without shift, it replaces the
47
- * list with just this field (cycling its direction); with shift, it adds/updates
48
- * the field as a secondary key (removing it when it cycles back to none).
47
+ * list with just this field (cycling its direction); with shift, a new field is
48
+ * appended as the last key, an existing key turns in place (it keeps its priority,
49
+ * as TanStack Table and TENSOR's DataTable do; 2.50, HAR-2623) and is removed when
50
+ * it cycles back to none.
49
51
  */
50
52
  declare function toggleSort(keys: readonly SortKey[], field: string, additive?: boolean): SortKey[];
51
53
  type FilterKind = 'enum' | 'text' | 'number' | 'date' | 'boolean';
@@ -3660,6 +3662,8 @@ interface SearchBarProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onSubmit'
3660
3662
  labels?: Partial<SearchBarLabels>;
3661
3663
  /** The field's `name`. */
3662
3664
  name?: string;
3665
+ /** The longest text the field takes (HAR-2622). */
3666
+ maxLength?: number;
3663
3667
  /** The field's `id`, e.g. for a "/" shortcut that focuses it. Default: generated. */
3664
3668
  inputId?: string;
3665
3669
  inputRef?: Ref<HTMLInputElement>;
@@ -3677,7 +3681,7 @@ interface SearchBarProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onSubmit'
3677
3681
  * takes Escape itself before the field (a ConfirmPopover, the table's view menu), Escape closes
3678
3682
  * the overlay rather than clearing the text.
3679
3683
  */
3680
- declare function SearchBar({ label, value: valueProp, defaultValue, onValueChange, onSubmit, onClear, placeholder, size, submitButton, submitVariant, landmark, inputDescribedBy, labels: labelsProp, name, inputId, inputRef, autoFocus, disabled, className, ...props }: SearchBarProps): react.JSX.Element;
3684
+ declare function SearchBar({ label, value: valueProp, defaultValue, onValueChange, onSubmit, onClear, placeholder, size, submitButton, submitVariant, landmark, inputDescribedBy, labels: labelsProp, name, maxLength, inputId, inputRef, autoFocus, disabled, className, ...props }: SearchBarProps): react.JSX.Element;
3681
3685
 
3682
3686
  interface LightboxItem {
3683
3687
  src: string;
@@ -4802,9 +4806,14 @@ interface ThProps extends ThHTMLAttributes<HTMLTableCellElement> {
4802
4806
  sortDirection?: SortDirection;
4803
4807
  /** 1-based ordinal shown when this column is a secondary key in a multi-sort */
4804
4808
  sortOrder?: number;
4809
+ /**
4810
+ * The ordinal in words for assistive tech, e.g. "Sort priority 2" (2.50, HAR-2623). The visible
4811
+ * ordinal is CSS content with empty alt text, so without this it is not announced at all.
4812
+ */
4813
+ sortOrderLabel?: string;
4805
4814
  onSort?: () => void;
4806
4815
  }
4807
- declare function Th({ sortable, sortDirection, sortOrder, onSort, className, children, onClick, ...props }: ThProps): react.JSX.Element;
4816
+ declare function Th({ sortable, sortDirection, sortOrder, sortOrderLabel, onSort, className, children, onClick, ...props }: ThProps): react.JSX.Element;
4808
4817
  interface TdProps extends TdHTMLAttributes<HTMLTableCellElement> {
4809
4818
  pinned?: boolean;
4810
4819
  }
@@ -5041,6 +5050,18 @@ interface DataWorkspaceLabels {
5041
5050
  filteredEmptyDetail: string;
5042
5051
  error: string;
5043
5052
  retry: string;
5053
+ /** A sorted header's place among two or more sort keys (HAR-2623): `{n}`. */
5054
+ sortPriority: string;
5055
+ /** A group header's row count (HAR-2625): `{count}`. */
5056
+ groupCount: string;
5057
+ /** The same for one row. */
5058
+ groupCountOne: string;
5059
+ /** A group header's toggle while the group is open: `{name}`. */
5060
+ collapseGroup: string;
5061
+ /** The same while it is collapsed. */
5062
+ expandGroup: string;
5063
+ /** A group header's checkbox: `{name}`. */
5064
+ selectGroup: string;
5044
5065
  }
5045
5066
  declare const DEFAULT_DATA_WORKSPACE_LABELS: DataWorkspaceLabels;
5046
5067
  interface DataWorkspaceColumn<T> {
@@ -5052,22 +5073,82 @@ interface DataWorkspaceColumn<T> {
5052
5073
  align?: 'start' | 'end';
5053
5074
  /** A CSS width for the column, e.g. `12rem`. */
5054
5075
  width?: string;
5076
+ /**
5077
+ * The column's floor, e.g. `14rem` (HAR-2624). In a fixed layout the table's own min-width is
5078
+ * the sum of its columns' floors, so a squeezed table scrolls rather than narrow them.
5079
+ */
5080
+ minWidth?: string;
5081
+ /**
5082
+ * A class on the column's header and body cells, e.g. `uix-col--truncate` (HAR-2624). A width
5083
+ * tier (`uix-col--w-md`) or `uix-col--flex` also sizes the column's `<col>` in a fixed layout.
5084
+ */
5085
+ className?: string;
5086
+ /**
5087
+ * The responsive ladder (`mobile`, HAR-2622): `low` columns go below 900 px of workspace width,
5088
+ * `mid` ones below 600 px; `high` (the default) stay.
5089
+ */
5090
+ priority?: 'high' | 'mid' | 'low';
5091
+ /** The column's name in words: a card's label under `mobile="cards"`. Default: `header` when it is a string. */
5092
+ label?: string;
5055
5093
  }
5056
5094
  interface DataWorkspaceSort {
5057
5095
  columnId: string;
5058
5096
  direction: 'ascending' | 'descending';
5059
5097
  }
5098
+ /** `sort` as a product passes it: one key (or none), or an ordered list of keys (HAR-2623). */
5099
+ type DataWorkspaceSortState = DataWorkspaceSort | readonly DataWorkspaceSort[] | null;
5100
+ /** What `onSortChange` receives: a list when `sort` is a list, else one key or `null`. */
5101
+ type DataWorkspaceSortValue<S> = S extends readonly DataWorkspaceSort[] ? DataWorkspaceSort[] : DataWorkspaceSort | null;
5060
5102
  /** The record-id column: the first column, the row's way into its record. */
5061
5103
  interface DataWorkspaceIdColumn<T> {
5062
5104
  header: ReactNode;
5063
5105
  /** The id as shown, e.g. "INC-20418". Also names the row's checkbox and ↗ button. */
5064
5106
  text: (row: T) => string;
5107
+ /**
5108
+ * The cell's content instead of `text` (HAR-2622): e.g. a strong title over a muted line, with
5109
+ * the search match marked. It sits inside the same button or link; `text` still names the
5110
+ * checkbox and the ↗.
5111
+ */
5112
+ render?: (row: T) => ReactNode;
5065
5113
  /** The id button opens a peek of the record. */
5066
5114
  onPeek?: (row: T) => void;
5067
5115
  /** The ↗ link goes to the full record. */
5068
5116
  href?: (row: T) => string;
5117
+ /**
5118
+ * Without `onPeek`: the whole id is the link to `href`, with the ↗ inside it, for a row whose
5119
+ * own record is the way in (HAR-2622). Off: the id is text and the ↗ is the link.
5120
+ */
5121
+ linkId?: boolean;
5122
+ /** The column's width in a fixed layout (`fixed`), e.g. `16rem`. */
5123
+ width?: string;
5124
+ /** The column's floor in a fixed layout. Default: the `md` column tier. */
5125
+ minWidth?: string;
5069
5126
  renderLink?: UixRenderLink;
5070
5127
  }
5128
+ /** A group of rows under one header row (HAR-2625). The product computes the groups. */
5129
+ interface DataWorkspaceGroup<T> {
5130
+ id: string;
5131
+ /** The group's value as shown, e.g. a status pill. */
5132
+ label: ReactNode;
5133
+ /** The group's name in words, for its toggle and checkbox. Default: `label` when a string, else `id`. */
5134
+ name?: string;
5135
+ rows: readonly T[];
5136
+ /** The group's total, when it holds more than the rows on this page. Default: `rows.length`. */
5137
+ count?: number;
5138
+ /** Aggregated cells in the header row, by column id (a sum, a range), each under its column. */
5139
+ aggregates?: Readonly<Record<string, ReactNode>>;
5140
+ }
5141
+ /** Windowing for a long unpaged list (HAR-2626), over `useVirtualRows`. */
5142
+ interface DataWorkspaceVirtualize {
5143
+ /** Window only above this many rows. Default 100. */
5144
+ threshold?: number;
5145
+ /** The first paint's row height in px; the mounted rows are measured after. Default: by density (44, 56, 68). */
5146
+ estimatedRowHeight?: number;
5147
+ /** The scrolling body's height cap in px. Default 640. */
5148
+ maxHeight?: number;
5149
+ /** Rows rendered beyond each edge. Default 8. */
5150
+ overscan?: number;
5151
+ }
5071
5152
  type DataWorkspacePagination = {
5072
5153
  mode: 'offset';
5073
5154
  page: number;
@@ -5088,18 +5169,31 @@ type DataWorkspacePagination = {
5088
5169
  pageSizes?: readonly number[];
5089
5170
  onPageSizeChange?: (size: number) => void;
5090
5171
  };
5091
- interface DataWorkspaceProps<T> extends Omit<HTMLAttributes<HTMLElement>, 'children'> {
5172
+ interface DataWorkspaceProps<T, S extends DataWorkspaceSortState = DataWorkspaceSort | null> extends Omit<HTMLAttributes<HTMLElement>, 'children'> {
5092
5173
  /** Names the workspace region and the table. */
5093
5174
  label: string;
5094
5175
  rows: readonly T[];
5095
5176
  getRowId: (row: T) => string;
5096
5177
  columns: readonly DataWorkspaceColumn<T>[];
5097
5178
  idColumn?: DataWorkspaceIdColumn<T>;
5098
- sort?: DataWorkspaceSort | null;
5099
- onSortChange?: (sort: DataWorkspaceSort | null) => void;
5179
+ /**
5180
+ * The sort: one key, or an ordered list of keys (HAR-2623). With a list, Shift + click (or
5181
+ * Shift + Enter / Space) on a header adds, turns or removes that column as a further key, and
5182
+ * each sorted header shows its place once two or more keys are set.
5183
+ */
5184
+ sort?: S;
5185
+ /** Receives the same shape `sort` holds: a list for a list, else one key or `null`. */
5186
+ onSortChange?: (sort: DataWorkspaceSortValue<S>) => void;
5187
+ /**
5188
+ * List mode even while `sort` is `null` or one key, for a product whose sort state starts
5189
+ * empty. Type `sort` as a list (`[]` for none): `onSortChange` then receives a list.
5190
+ */
5191
+ multiSort?: boolean;
5100
5192
  /** The selected row ids. Kept by id, so a refresh or a new page keeps them. */
5101
5193
  selection?: ReadonlySet<string>;
5102
5194
  onSelectionChange?: (selection: Set<string>) => void;
5195
+ /** At most this many rows can be selected: the unchecked boxes are disabled at the cap (HAR-2622). */
5196
+ maxSelection?: number;
5103
5197
  /** The bulk bar's actions for the selection (a `Menu` for the overflow). */
5104
5198
  bulkActions?: (selectedIds: string[]) => ReactNode;
5105
5199
  /**
@@ -5110,15 +5204,38 @@ interface DataWorkspaceProps<T> extends Omit<HTMLAttributes<HTMLElement>, 'child
5110
5204
  /** More props for a row, e.g. a data attribute that marks it changed (see ChangeHighlight, PR #164). */
5111
5205
  getRowProps?: (row: T) => HTMLAttributes<HTMLTableRowElement> & Record<`data-${string}`, string | undefined>;
5112
5206
  density?: TableDensity;
5207
+ /** Zebra rows (the `Table` default, on). The View menu's toggle (HAR-2624). */
5208
+ zebra?: boolean;
5209
+ /**
5210
+ * Freeze the first column without an id column; with selection the checkbox is frozen too
5211
+ * (HAR-2624). With `mobile`, nothing is frozen from the narrowest step (under 600 px).
5212
+ */
5213
+ freezeFirstColumn?: boolean;
5214
+ /**
5215
+ * `table-layout: fixed` with a `<colgroup>` from the columns' widths and tiers, and the table's
5216
+ * min-width at the sum of the columns' floors (TENSOR HAR-997), so a truncating column clips
5217
+ * instead of growing. Default: on when a column has `className` or `minWidth`. Not in cards.
5218
+ */
5219
+ fixed?: boolean;
5220
+ /**
5221
+ * The responsive ladder, from the workspace's own width (HAR-2622): `priority` drops `low`
5222
+ * columns below 900 px and `mid` ones below 600 px; `cards` turns the rows into cards below
5223
+ * 768 px (each value labelled by its column) and drops low-priority columns up to 900 px.
5224
+ */
5225
+ mobile?: 'priority' | 'cards';
5113
5226
  /**
5114
5227
  * Toolbar: the search field. Ctrl/⌘ + / focuses it from inside the workspace, or from the page
5115
- * when nothing has focus and this is the page's first workspace.
5228
+ * when nothing has focus and this is the page's first workspace. `onSubmit` (Enter), `onClear`
5229
+ * (the × or Escape) and `maxLength` go to the `SearchBar`.
5116
5230
  */
5117
5231
  search?: {
5118
5232
  value: string;
5119
5233
  onChange: (value: string) => void;
5120
5234
  label?: string;
5121
5235
  placeholder?: string;
5236
+ onSubmit?: (value: string) => void;
5237
+ onClear?: () => void;
5238
+ maxLength?: number;
5122
5239
  };
5123
5240
  /**
5124
5241
  * Toolbar: filter chips and "+ Filter" over `FilterEditor`. A chip whose value holds ids
@@ -5131,11 +5248,24 @@ interface DataWorkspaceProps<T> extends Omit<HTMLAttributes<HTMLElement>, 'child
5131
5248
  /** Rows matching each filter, shown on its chip. */
5132
5249
  counts?: Readonly<Record<string, number>>;
5133
5250
  summary?: SummarizeFilterOptions;
5251
+ /**
5252
+ * Clear every filter in one change (HAR-2622), instead of one `onChange` per field: a product
5253
+ * whose state is the URL would otherwise navigate once per field from the same stale state.
5254
+ * `search: true` from "Nothing matches" while searching: clear the search too (the kit then
5255
+ * does not call `search.onChange('')`).
5256
+ */
5257
+ onClearAll?: (scope: {
5258
+ search: boolean;
5259
+ }) => void;
5134
5260
  };
5135
- /** Toolbar: the saved-view trigger, named by the current view, opening a `SavedViewMenu`. */
5261
+ /**
5262
+ * Toolbar: the saved-view trigger, named by the current view, opening a `SavedViewMenu`.
5263
+ * `note` sits above the list ("Saved views could not be loaded").
5264
+ */
5136
5265
  savedViews?: {
5137
5266
  current: ReactNode;
5138
5267
  menu: SavedViewMenuProps;
5268
+ note?: ReactNode;
5139
5269
  };
5140
5270
  /** Toolbar: the View button, opening a `ViewMenu` (columns, density). */
5141
5271
  viewMenu?: ViewMenuProps;
@@ -5143,17 +5273,63 @@ interface DataWorkspaceProps<T> extends Omit<HTMLAttributes<HTMLElement>, 'child
5143
5273
  viewChanged?: boolean;
5144
5274
  onSaveView?: () => void;
5145
5275
  onSaveViewAs?: () => void;
5276
+ /** When Save as shows: `changed` (default) with `viewChanged`; `always`, to keep any view under a name (HAR-2622). */
5277
+ saveViewAs?: 'changed' | 'always';
5146
5278
  /** Toolbar: a maximize toggle; Escape restores, unless an open popover or menu takes it first. */
5147
5279
  maximized?: boolean;
5148
5280
  onMaximizedChange?: (maximized: boolean) => void;
5149
5281
  /** Toolbar: the product's own actions at the end ("New incident"). */
5150
5282
  toolbarEnd?: ReactNode;
5283
+ /** Between the toolbar (and bulk bar) and the rows: notices, a "3 new — show" pill, a truncation warning. */
5284
+ beforeBody?: ReactNode;
5151
5285
  pagination?: DataWorkspacePagination;
5152
5286
  /** `loading`: the first load (skeleton rows). `error`: with `onRetry`. */
5153
5287
  status?: 'ready' | 'loading' | 'error';
5154
5288
  /** A refetch (filter, sort, page, saved view): the rows stay under `TableWrap refreshing`. */
5155
5289
  refreshing?: boolean;
5156
5290
  onRetry?: () => void;
5291
+ /** Skeleton rows on a first load. Default 6. */
5292
+ loadingRows?: number;
5293
+ /** The empty body in place of the default one (HAR-2624), e.g. an `EmptyState` with the first action. */
5294
+ empty?: ReactNode;
5295
+ /** The default empty body's action ("Add the first book"). */
5296
+ emptyAction?: ReactNode;
5297
+ /** The filtered-empty body in place of the default one. */
5298
+ filteredEmpty?: ReactNode;
5299
+ /** A further action in the default filtered-empty body, after its Clear filters. */
5300
+ filteredEmptyAction?: ReactNode;
5301
+ /** The error body in place of the default one (a problem's title, a diagnostic line, Retry). */
5302
+ error?: ReactNode;
5303
+ /**
5304
+ * A product state in place of the rows, whatever `status` says (a page past the end: "Go to the
5305
+ * first page"). The toolbar stays; the footer goes. A refetch shows it busy.
5306
+ */
5307
+ stateOverride?: ReactNode;
5308
+ /** Rows in groups under collapsible header rows, in place of `rows` (HAR-2625). Not windowed. */
5309
+ groups?: readonly DataWorkspaceGroup<T>[];
5310
+ /** The collapsed group ids. Without it the workspace keeps them itself. */
5311
+ collapsedGroups?: ReadonlySet<string>;
5312
+ /** A group was collapsed or opened: the new set of collapsed ids. */
5313
+ onCollapsedGroupsChange?: (collapsed: Set<string>) => void;
5314
+ /**
5315
+ * Window a long unpaged list (HAR-2626): only the rows in view are mounted, in a body that
5316
+ * scrolls under its sticky header. Off with `pagination`, `groups` and the cards ladder.
5317
+ */
5318
+ virtualize?: boolean | DataWorkspaceVirtualize;
5319
+ /**
5320
+ * The keyboard row model (HAR-2626): one row in the tab order, ↑ / ↓ / Home / End move between
5321
+ * rows, Enter opens the row (`onRowActivate`, else its id: the peek or the link), Space does not
5322
+ * scroll the page. Default: on with `onRowActivate`.
5323
+ */
5324
+ rowNavigation?: boolean;
5325
+ /** A row's primary action: Enter on the row, and a click on the row (not on a control in it or its cell). Turns on `rowNavigation`. */
5326
+ onRowActivate?: (row: T) => void;
5327
+ /** `false`: only Enter activates a row, not a pointer click. Default `true`. */
5328
+ activateOnClick?: boolean;
5329
+ /** The row with the tab stop, to drive it from the product's own shortcuts (j / k). Changing it focuses that row. */
5330
+ activeRowId?: string | null;
5331
+ /** The tab stop moved to another row (a key, a click, focus entering a row). */
5332
+ onActiveRowChange?: (rowId: string) => void;
5157
5333
  labels?: Partial<DataWorkspaceLabels>;
5158
5334
  }
5159
5335
  /**
@@ -5165,8 +5341,12 @@ interface DataWorkspaceProps<T> extends Omit<HTMLAttributes<HTMLElement>, 'child
5165
5341
  * footer with rows per page and `Pagination` (offset or cursor); first-load, empty,
5166
5342
  * filtered-empty and error states, and a refetch that keeps the rows. Prop-driven: the product
5167
5343
  * keeps its surface registry, URL state, data fetching and permissions.
5344
+ *
5345
+ * 2.50 (HAR-2622..2626, ADR-0005 addendum): a responsive ladder (`mobile`, `column.priority`), a
5346
+ * rich id cell, multi-column sort, the product's state bodies and `beforeBody`, row groups,
5347
+ * windowing (`virtualize`) and a keyboard row model (`onRowActivate`).
5168
5348
  */
5169
- declare function DataWorkspace<T>({ label, rows, getRowId, columns, idColumn, sort, onSortChange, selection, onSelectionChange, bulkActions, rowActions, getRowProps, density, search, filters, savedViews, viewMenu, viewChanged, onSaveView, onSaveViewAs, maximized, onMaximizedChange, toolbarEnd, pagination, status, refreshing, onRetry, labels: labelOverrides, className, ...props }: DataWorkspaceProps<T>): react.JSX.Element;
5349
+ declare function DataWorkspace<T, S extends DataWorkspaceSortState = DataWorkspaceSort | null>({ label, rows, getRowId, columns, idColumn, sort, onSortChange, selection, onSelectionChange, maxSelection, bulkActions, rowActions, getRowProps, density, zebra, freezeFirstColumn, fixed, mobile, search, filters, savedViews, viewMenu, viewChanged, onSaveView, onSaveViewAs, saveViewAs, maximized, onMaximizedChange, toolbarEnd, beforeBody, pagination, status, refreshing, onRetry, loadingRows, empty, emptyAction, filteredEmpty, filteredEmptyAction, error, stateOverride, groups, collapsedGroups, onCollapsedGroupsChange, virtualize, rowNavigation, onRowActivate, activateOnClick, activeRowId, onActiveRowChange, multiSort, labels: labelOverrides, className, ...props }: DataWorkspaceProps<T, S>): react.JSX.Element;
5170
5350
 
5171
5351
  /**
5172
5352
  * Kit chrome strings by component (HAR-1358; TENSOR C20, MOTUS executive summary #3).
@@ -7611,12 +7791,12 @@ declare function MotionList<T>({ items, getKey, renderItem, as, className, ...pr
7611
7791
  className: string;
7612
7792
  onTransitionEnd: (event: TransitionEvent<HTMLElement>) => void;
7613
7793
  hidden?: boolean | undefined | undefined;
7794
+ dir?: string | undefined | undefined;
7614
7795
  is?: string | undefined | undefined;
7615
7796
  id?: string | undefined | undefined;
7616
7797
  slot?: string | undefined | undefined;
7617
7798
  style?: react.CSSProperties | undefined;
7618
7799
  title?: string | undefined | undefined;
7619
- dir?: string | undefined | undefined;
7620
7800
  suppressHydrationWarning?: boolean | undefined | undefined;
7621
7801
  color?: string | undefined | undefined;
7622
7802
  lang?: string | undefined | undefined;
@@ -9361,4 +9541,4 @@ declare function hsvToHex(value: HsvColor): string;
9361
9541
  declare function contrastRatio(background: string, foreground: string): number | undefined;
9362
9542
  declare function meetsContrast(background: string, foreground: string, minimum?: number): boolean;
9363
9543
 
9364
- export { type AccessStateProps, AccountMenu, type AccountMenuLabels, type AccountMenuProps, type AccountMenuUser, Alert, type AlertProps, type AlertTone, AppShell, type AppShellProps, type AppliedBrandProfileSnapshot, type AsyncOperationState, AsyncOperationStatus, type AsyncOperationStatusProps, Attachment, type AttachmentLabels, AttachmentList, type AttachmentListProps, type AttachmentProps, AuditLog, type AuditLogAction, type AuditLogEvent, type AuditLogFilters, type AuditLogLabels, type AuditLogProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarPresence, type AvatarProps, type BoundedRelationshipGraph, type BrandProfile, BrandProfileEditor, type BrandProfileEditorLabels, type BrandProfileEditorProps, type BrandProfileLogo, type BrandProfileTypography, BrandProfiles, type BreadcrumbItem, Breadcrumbs, type BreadcrumbsProps, BuilderCanvas, type BuilderCanvasItem, type BuilderCanvasLabels, type BuilderCanvasProps, type BuilderPaletteItem, BulkBar, type BulkBarProps, Bullet, type BulletProps, BusyRegion, type BusyRegionProps, Button, ButtonGroup, type ButtonGroupProps, ButtonLink, type ButtonLinkProps, type ButtonProps, type ButtonResult, type ButtonResultLabels, type ButtonSize, type ButtonVariant, type CalendarDay, type CalendarWeekday, Card, CardLink, type CardLinkProps, type CardProps, CellStrong, CellSub, type CellSubProps, ChangeHighlight, type ChangeHighlightOptions, type ChangeHighlightProps, Checkbox, CheckboxGroup, type CheckboxGroupProps, type CheckboxProps, Chip, ChipGroup, type ChipGroupProps, type ChipProps, CodeDisplay, type CodeDisplayLabels, type CodeDisplayProps, CollapsibleSection, type CollapsibleSectionProps, ColorPicker, type ColorPickerLabels, type ColorPickerProps, type ColumnFilter, Combobox, type ComboboxGroup, type ComboboxOption, type ComboboxProps, CommandGroup, type CommandGroupProps, CommandItem, type CommandItemProps, CommandPalette, type CommandPaletteGroup, type CommandPaletteItem, type CommandPaletteProps, Comment, type CommentProps, Comments, type CommentsProps, Composer, ComposerBar, type ComposerBarProps, type ComposerProps, type ConfirmButtonProps, ConfirmDialog, type ConfirmDialogProps, ContactCard, type ContactCardLabels, type ContactCardProps, type ContactCardState, ContentList, ContentListItem, type ContentListItemProps, type ContentListProps, type ContrastPreference, CopyButton, type CopyButtonProps, Count, type CountProps, DASHBOARD_CANVAS_COLUMNS, DATE_FILTER_OPERATORS, DAY, DEFAULT_ACCOUNT_MENU_LABELS, DEFAULT_ATTACHMENT_LABELS, DEFAULT_AUDIT_LOG_LABELS, DEFAULT_BRAND_PROFILE_EDITOR_LABELS, DEFAULT_BUILDER_CANVAS_LABELS, DEFAULT_BUTTON_RESULT_LABELS, DEFAULT_CODE_DISPLAY_LABELS, DEFAULT_COLOR_PICKER_LABELS, DEFAULT_CONTACT_CARD_LABELS, DEFAULT_DASHBOARD_CANVAS_LABELS, DEFAULT_DATA_WORKSPACE_LABELS, DEFAULT_DATE_PICKER_LABELS, DEFAULT_DATE_RANGE_PICKER_LABELS, DEFAULT_DATE_TIME_PICKER_LABELS, DEFAULT_DIFF_VIEWER_LABELS, DEFAULT_DISPLAY_PREFERENCES, DEFAULT_DISPLAY_PREFERENCES_LABELS, DEFAULT_ENTITY_PICKER_LABELS, DEFAULT_FILE_UPLOAD_LABELS, DEFAULT_FILTER_EDITOR_LABELS, DEFAULT_FILTER_SUMMARY_LABELS, DEFAULT_INLINE_EDIT_LABELS, DEFAULT_INSIGHT_CARD_LABELS, DEFAULT_KEYBOARD_GRAB_LABELS, DEFAULT_LIGHTBOX_LABELS, DEFAULT_MATCH_REVIEW_LABELS, DEFAULT_ORG_CHART_LABELS, DEFAULT_PAGINATION_LABELS, DEFAULT_PASSWORD_INPUT_LABELS, DEFAULT_PRESENCE_LABELS, DEFAULT_PRINT_LAYOUT_LABELS, DEFAULT_QR_CODE_LABELS, DEFAULT_QR_SCANNER_LABELS, DEFAULT_RELATIONSHIP_GRAPH_LABELS, DEFAULT_RULE_BUILDER_LABELS, DEFAULT_RULE_SUMMARY_WORDS, DEFAULT_RULE_VALIDATION_MESSAGES, DEFAULT_SAVE_STATUS_LABELS, DEFAULT_SCHEDULING_CALENDAR_LABELS, DEFAULT_SCHEDULING_TIMELINE_LABELS, DEFAULT_SORTABLE_LIST_LABELS, DEFAULT_STEP_STATE_LABELS, DEFAULT_TAG_INPUT_LABELS, DEFAULT_TEXT_DIFF_LABELS, DEFAULT_TIME_PICKER_LABELS, DEFAULT_TREE_LABELS, DISPLAY_PREFERENCES_STORAGE_KEY, DISPLAY_PREFERENCE_OPTIONS, DashboardCanvas, type DashboardCanvasChange, type DashboardCanvasDirection, type DashboardCanvasGap, type DashboardCanvasItem, type DashboardCanvasLabels, type DashboardCanvasPlacement, type DashboardCanvasProps, type DashboardCanvasResize, DashboardGrid, type DashboardGridBreakpoint, type DashboardGridColumnCount, type DashboardGridColumns, type DashboardGridGap, DashboardGridItem, type DashboardGridItemProps, type DashboardGridProps, type DashboardGridSpan, DataWorkspace, type DataWorkspaceColumn, type DataWorkspaceIdColumn, type DataWorkspaceLabels, type DataWorkspacePagination, type DataWorkspaceProps, type DataWorkspaceSort, type DateFilterOperator, type DateInputProblem, type DatePart, DatePicker, type DatePickerLabels, type DatePickerProps, DateRangePicker, type DateRangePickerLabels, type DateRangePickerProps, type DateRangeValue, DateTimePicker, type DateTimePickerLabels, type DateTimePickerProps, type DaySpanLayout, type DelayedPendingOptions, type DensityPreference, DescriptionItem, type DescriptionItemProps, DescriptionList, type DescriptionListItem, type DescriptionListProps, DetailLayout, type DetailLayoutProps, DetailPage, type DetailPageLinkProps, type DetailPageMetric, type DetailPageProps, type DetailPageTab, DialogClose, type DialogCloseEvent, type DialogCloseProps, type DiffEntry, type DiffKind, type DiffResolution, type DiffSide, type DiffSummary, DiffViewer, type DiffViewerLabels, type DiffViewerProps, type DiscardPromptLabels, type DisplayAttributes, type DisplayPreferenceValues, DisplayPreferences, type DisplayPreferencesLabels, type DisplayPreferencesProps, Drawer, type DrawerProps, type EdgeLabelBox, EmptyState, type EmptyStateProps, EntityPicker, type EntityPickerLabels, type EntityPickerProps, type EntityPickerSearchError, type EntityPickerSearchResult, ErrorState, type ErrorStateProps, EventRow, type EventRowProps, ExpandToggle, type ExpandToggleProps, FeaturedRundown, FeaturedRundownItem, type FeaturedRundownItemProps, type FeaturedRundownProps, FeaturedStage, type FeaturedStageProps, Field, type FieldProps, type FileRejection, type FileRejectionReason, type FileSizeFormatter, type FileSizeOptions, FileUpload, type FileUploadItem, type FileUploadLabels, type FileUploadProps, type FileUploadStatus, type FilterChoice, FilterEditor, type FilterEditorLabels, type FilterEditorProps, type FilterField, type FilterKind, type FilterOp, type FilterOption, FilterPopover, type FilterPopoverProps, type FilterPreset, type FilterSummaryLabels, type FilterValue, type FilterValueKind, FilteredEmptyState, type FlatNode, Flow, FlowNode, type FlowNodeProps, type FlowNodeState, type FlowProps, type FlowVariant, type FoldedText, ForbiddenState, HOUR, Heartbeat, type HeartbeatProps, type HeartbeatState, Highlighted, type HighlightedProps, type HsvColor, Inbox, InboxDetail, type InboxDetailProps, InboxItem, type InboxItemProps, InboxList, type InboxListProps, type InboxProps, InfoTip, type InfoTipProps, InlineEdit, type InlineEditEditorProps, type InlineEditErrorContext, type InlineEditLabels, type InlineEditProps, type InlineEditState, Input, InputGroup, type InputGroupProps, type InputProps, Inset, type InsetProps, InsightCard, type InsightCardLabels, type InsightCardProps, type InsightComparison, type InsightCoverage, type InsightKpi, type InsightStatus, type InsightStatusTone, type InsightTarget, type JsonPrimitive, type JsonValue, Kanban, KanbanCard, type KanbanCardProps, KanbanColumn, type KanbanColumnProps, KanbanDropLine, type KanbanDropLineProps, type KanbanMoveDirection, type KanbanProps, Kbd, KbdCombo, type KbdComboProps, type KbdPlatform, type KbdProps, type KeyShortcut, type KeyboardGrabDirection, type KeyboardGrabLabels, Label, type LabelObstacle, type LabelProps, type LaneCluster, type LaneInterval, type LanePlacement, type LayeredColumn, type LayeredEdgeClassification, type LayeredEdgeKind, type LayeredItem, type LayeredLayout, type LayeredLayoutOptions, type LayeredNavigationKey, type LayoutLaneOptions, type LayoutMonthSpansOptions, LicensePositionBar, type LicensePositionBarProps, Lightbox, type LightboxItem, type LightboxLabels, type LightboxOverlayContext, type LightboxProps, List, ListItem, type ListItemProps, type ListProps, LiveIndicator, type LiveIndicatorProps, LoadingState, type LoadingStateProps, LocaleSwitcher, type LocaleSwitcherLocale, type LocaleSwitcherProps, Mark, type MarkProps, type MatchBulkResult, MatchReview, type MatchReviewAction, type MatchReviewCandidate, type MatchReviewField, type MatchReviewLabels, type MatchReviewProps, Menu, MenuGroup, type MenuGroupProps, MenuItem, type MenuItemAttributes, MenuItemCheckbox, type MenuItemCheckboxProps, type MenuItemProps, MenuItemRadio, type MenuItemRadioProps, type MenuProps, MenuRadioGroup, type MenuRadioGroupProps, MenuSeparator, Meter, type MeterProps, type MeterTone, MetricInput, type MetricInputProps, Modal, type ModalProps, type MonthSpanGroup, type MonthSpanInput, type MonthSpanLayout, MotionList, type MotionListProps, type MotionPreference, type MoveProposal, NUMBER_FILTER_OPERATORS, type NavFavouriteItem, NavFavourites, type NavFavouritesLabels, type NavFavouritesProps, NavGroup, type NavGroupProps, NavItem, type NavItemProps, NewsLead, type NewsLeadProps, NotFoundState, Note, type NoteProps, type NoteTone, NoticeQueue, type NoticeQueueProps, type NumberFilterOperator, type OptimisticRollback, OrgChart, type OrgChartLabels, type OrgChartNode, type OrgChartProps, OtpInput, type OtpInputProps, PENDING_DELAY_MS, PENDING_MIN_VISIBLE_MS, type PackLanesOptions, type PackedLanes, PageHeader, type PageHeaderProps, PageIntro, type PageIntroProps, Pagination, type PaginationLabels, type PaginationProps, PasswordInput, type PasswordInputLabels, type PasswordInputProps, Peek, type PeekProps, type PillSize, type PillTone, type PillTreatment, Pipeline, type PipelineProps, PipelineStage, type PipelineStageProps, type PipelineStageState, type PlacedDaySpan, type PlacedEdgeLabel, type PlacedMonthSpan, type PlacedSpan, Placement, Popconfirm, type PopconfirmProps, Popover, type PopoverProps, type PositionedRelationshipNode, PresenceDot, type PresenceDotProps, type Primitive, PrintLayout, type PrintLayoutLabels, type PrintLayoutProps, PrintPageBreak, type PrintPageSize, PrintSignature, type PrintSignatureProps, Progress, type ProgressProps, PromptDialog, type PromptDialogProps, Prose, type ProseProps, QrCapacityError, QrCode, type QrCodeLabels, type QrCodeProps, type QrEncodeOptions, type QrErrorCorrection, type QrMatrix, QrScanner, type QrScannerDecoder, type QrScannerFrame, type QrScannerLabels, type QrScannerProps, type QrScannerStatus, RESULT_HOLD_MS, Radio, RadioCard, type RadioCardProps, RadioGroup, type RadioGroupProps, type RadioProps, type RelatedLinkItem, RelatedLinks, type RelatedLinksProps, RelationshipGraph, type RelationshipGraphArrow, type RelationshipGraphCluster, type RelationshipGraphEdge, type RelationshipGraphLabels, type RelationshipGraphLegendItem, type RelationshipGraphNode, type RelationshipGraphProps, type RelationshipGraphTone, RelativeTime, type RelativeTimeFormatContext, type RelativeTimeProps, type RelativeTimeUnit, type RelativeTimeValue, type ResourceDayItem, type ResourceDaySlot, type ResourceDaySlotOptions, ResourceGrid, type ResourceGridProps, type RgbColor, type RoutedEdge, type Row, RowAction, type RowActionProps, RowActions, type RowActionsProps, type RuleAction, type RuleActionDefinition, RuleBuilder, type RuleBuilderLabels, type RuleBuilderProps, type RuleCheck, type RuleCondition, type RuleDefinition, type RuleFieldDefinition, type RuleGroup, type RuleOperatorDefinition, type RuleSummaryWords, type RuleValidationIssue, type RuleValidationOptions, type RuleValueEditorProps, SaveStatus, type SaveStatusLabels, type SaveStatusProps, type SaveStatusState, type SavedViewItem, SavedViewMenu, type SavedViewMenuProps, type SavedViewSection, type SchedulingAgendaGroup, type SchedulingAvailabilityKind, type SchedulingBand, SchedulingCalendar, type SchedulingCalendarDay, type SchedulingCalendarEntry, type SchedulingCalendarLabels, type SchedulingCalendarOverlay, type SchedulingCalendarProps, type SchedulingCalendarView, type SchedulingDatePart, type SchedulingEntryState, type SchedulingLegendItem, type SchedulingMarker, type SchedulingMarkerEmphasis, type SchedulingOverlayKind, type SchedulingOverlayPattern, type SchedulingResource, type SchedulingResourceSpan, type SchedulingSlotSelection, type SchedulingStatus, SchedulingTimeline, type SchedulingTimelineGroup, type SchedulingTimelineItem, type SchedulingTimelineLabels, type SchedulingTimelineLane, type SchedulingTimelineMarker, type SchedulingTimelineOverlay, type SchedulingTimelineOverlayKind, type SchedulingTimelineProps, SearchBar, type SearchBarLabels, type SearchBarProps, type SearchSegment, SearchSuggest, type SearchSuggestAction, type SearchSuggestOption, type SearchSuggestProps, SectionHead, type SectionHeadProps, type Segment, Segmented, SegmentedOption, type SegmentedOptionProps, type SegmentedProps, Select, type SelectAllState, type SelectGroup, type SelectLabels, type SelectOption, type SelectProps, type ShellNav, Sidebar, type SidebarProps, type SidebarSearch, SidebarSection, type SidebarSectionProps, Skeleton, type SkeletonProps, type SortDir, type SortDirection, type SortKey, SortableList, type SortableListItemContext, type SortableListLabels, type SortableListProps, Spinner, type SpinnerProps, StarButton, type StarButtonProps, Stat, StatLine, type StatLineItem, type StatLineProps, type StatProps, StatRow, type StatRowProps, type StatTrend, type StateVariant, StatusPill, type StatusPillProps, StatusRow, type StatusRowProps, Step, type StepProps, type StepState, type StepStateLabels, Steps, type StepsProps, SubNavItem, type SubNavItemProps, SuccessState, type SuccessStateProps, type SummarizeFilterOptions, Switch, type SwitchProps, type SystemDisplayPreferences, TEXT_FILTER_OPERATORS, TOAST_LEAVE_MS, TOP_LANE_CROSS_MIDNIGHT_MINUTES, Tab, TabPanel, type TabPanelProps, type TabProps, Table, type TableDensity, type TableProps, TableWrap, type TableWrapProps, Tabs, type TabsProps, TagInput, type TagInputLabels, type TagInputProps, Td, type TdProps, TextDiff, type TextDiffGranularity, type TextDiffLabels, type TextDiffLine, type TextDiffOp, type TextDiffOptions, type TextDiffProps, type TextDiffResult, type TextDiffRow, type TextDiffSegment, type TextFilterOperator, type TextScalePreference, Textarea, type TextareaProps, Th, type ThProps, type ThemePreference, ThemeSwitcher, type ThemeSwitcherProps, type TimeGridDayLayout, type TimeGridEntryContext, type TimeGridEntryInput, type TimeGridPart, type TimeGridSegment, type TimeInputProblem, TimePicker, type TimePickerLabels, type TimePickerProps, Timeline, TimelineItem, type TimelineItemProps, type TimelineProps, type TimelineRange, type TimelineScale, type TimelineSpan, type TimelineSubTick, type TimelineTick, Toast, type ToastAction, type ToastApi, type ToastDismissReason, type ToastKind, type ToastOptions, type ToastPromiseMessages, type ToastProps, type ToastRecord, type ToastStore, type ToastTone, Toaster, type ToasterProps, ToggleRow, type ToggleRowProps, Tooltip, type TooltipProps, Tr, type TrProps, Tree, type TreeLabels, type TreeLike, type TreeNavAction, type TreeNodeData, type TreeNodeProps, type TreeProps, type UixDateFormat, type UixLabels, UixLabelsProvider, type UixLabelsProviderProps, type UixLinkProps, type UixRenderLink, type UndoableToastOptions, type UseAnchoredPositionOptions, type UseDeferredReorderResult, type UseDisplayPreferencesOptions, type UseDisplayPreferencesResult, type UseKeyboardGrabOptions, type UseKeyboardGrabResult, type UseOptimisticValueOptions, type UseOptimisticValueResult, type UseTableOptions, type UseTableResult, type UseVirtualRowsOptions, type UseVirtualRowsResult, UserChip, type UserChipProps, ViewMenu, type ViewMenuColumn, type ViewMenuColumnLabels, type ViewMenuProps, type ViewState, type VirtualWindow, type ZonedDateSpan, type ZonedDayBounds, type ZonedDayShift, type ZonedDaySpan, type ZonedHourSlot, accountInitials, addCalendarDays, addCalendarMonths, addZonedDays, announcePolite, appendRuleNode, applyBrandProfile, applyDisplayAttributes, applyFilters, ariaKeyShortcuts, boundRelationshipGraph, buildMonthGrid, buildThreeWayDiff, cachedDateTimeFormat, canvasItemLimits, canvasItemsOverlap, canvasMoveTarget, canvasReadingOrder, canvasResizeTarget, canvasRowCount, clampCanvasItem, clampMetricValue, clampWidth, classifyLayeredEdges, clusterIdFor, codeGroups, compactCanvas, contrastRatio, createToastApi, createToastStore, cx, dashboardGridClassName, dashboardGridItemClassName, dateFilterBounds, dateOrder, datePattern, defaultTimelineStep, diffText, diffTokens, displayPreferencesScript, edgeLabelSize, emptyFilterValue, encodeQr, enumerateDateKeys, enumerateDateSpan, fileKind, fileMatchesAccept, filterComboboxItems, filterComboboxOptions, filterCommandItems, findRuleNodeDepth, flashChanged, flattenTree, foldForSearch, formatCountdown, formatDateKey, formatFileSize, formatTimeKey, groupCommandItems, hexToRgb, highlightSegments, hsvToHex, hsvToRgb, isDateInRange, isDateUnavailable, isFilterEmpty, isOvernightRange, isRuleGroup, isTimeOutOfRange, isUnresolvedChoice, isValidDateKey, isValidTimeKey, itemDaySpan, joinDateTime, layeredNeighbor, layoutDaySpans, layoutLane, layoutLayeredGraph, layoutMonthSpans, layoutRelationshipGraph, layoutResourceColumn, layoutTimeGridDay, mapRuleGroup, matchFilter, matchFilterPreset, meetsContrast, mergePinned, minutesToTime, moveCanvasItem, moveRuleNode, multiSort, nextSortDir, normalizeCanvas, normalizeHex, orgChartInitials, orgChartZoomStep, packLanes, parseDateInput, parseDateValue, parseDisplayPreferences, parseMetricValue, parseTimeInput, parseView, partitionFiles, pixelsToMs, placeCanvasItem, placeId, placeSpan, placesInTopLane, prefersReducedMotion, proposeMove, qrDataCapacity, qrPath, qrVersionFor, rankOverflow, readSystemDisplayPreferences, relationshipNeighbors, relativeTimeValue, removeRuleNode, renderPlainLink, reorder, resizeCanvasItem, resolveDisplayAttributes, resolveFilterLabels, resourceDayGaps, resourceDaySlots, restoreBrandProfile, rgbToHex, rgbToHsv, ruleDepth, schedulingGridDays, searchRows, searchSegments, selectAllState, selectRangeDate, separateEdgeLabels, serializeView, setRuleCombinator, settleDrop, shiftSpan, shouldVirtualize, snapToStep, splitDateTime, startOfMonth, stepMetricValue, stepTime, summarizeDiff, summarizeFilter, summarizeRule, telHref, textDiffRows, timePartEnds, timeSlots, timeToMinutes, timeZoneName, timelineRepeatedHourOffset, timelineStepDelta, timelineSubTicks, timelineTicks, toDateKey, toast, toggleId, togglePage, toggleSort, tokenizeText, traverseRelationshipNode, treeNav, useAnchoredPosition, useChangeHighlight, useDeferredReorder, useDelayedPending, useDialog, useDisplayPreferences, useKeyboardGrab, useOptimisticValue, useReducedMotion, useSlidingIndicator, useTable, useUixLabels, useVirtualRows, uses12Hour, validateRuleDefinition, virtualWindow, wrapEdgeLabel, zonedDateKey, zonedDateSpan, zonedDayBounds, zonedDaySpan, zonedHourSlots, zonedTimeOfDay };
9544
+ export { type AccessStateProps, AccountMenu, type AccountMenuLabels, type AccountMenuProps, type AccountMenuUser, Alert, type AlertProps, type AlertTone, AppShell, type AppShellProps, type AppliedBrandProfileSnapshot, type AsyncOperationState, AsyncOperationStatus, type AsyncOperationStatusProps, Attachment, type AttachmentLabels, AttachmentList, type AttachmentListProps, type AttachmentProps, AuditLog, type AuditLogAction, type AuditLogEvent, type AuditLogFilters, type AuditLogLabels, type AuditLogProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarPresence, type AvatarProps, type BoundedRelationshipGraph, type BrandProfile, BrandProfileEditor, type BrandProfileEditorLabels, type BrandProfileEditorProps, type BrandProfileLogo, type BrandProfileTypography, BrandProfiles, type BreadcrumbItem, Breadcrumbs, type BreadcrumbsProps, BuilderCanvas, type BuilderCanvasItem, type BuilderCanvasLabels, type BuilderCanvasProps, type BuilderPaletteItem, BulkBar, type BulkBarProps, Bullet, type BulletProps, BusyRegion, type BusyRegionProps, Button, ButtonGroup, type ButtonGroupProps, ButtonLink, type ButtonLinkProps, type ButtonProps, type ButtonResult, type ButtonResultLabels, type ButtonSize, type ButtonVariant, type CalendarDay, type CalendarWeekday, Card, CardLink, type CardLinkProps, type CardProps, CellStrong, CellSub, type CellSubProps, ChangeHighlight, type ChangeHighlightOptions, type ChangeHighlightProps, Checkbox, CheckboxGroup, type CheckboxGroupProps, type CheckboxProps, Chip, ChipGroup, type ChipGroupProps, type ChipProps, CodeDisplay, type CodeDisplayLabels, type CodeDisplayProps, CollapsibleSection, type CollapsibleSectionProps, ColorPicker, type ColorPickerLabels, type ColorPickerProps, type ColumnFilter, Combobox, type ComboboxGroup, type ComboboxOption, type ComboboxProps, CommandGroup, type CommandGroupProps, CommandItem, type CommandItemProps, CommandPalette, type CommandPaletteGroup, type CommandPaletteItem, type CommandPaletteProps, Comment, type CommentProps, Comments, type CommentsProps, Composer, ComposerBar, type ComposerBarProps, type ComposerProps, type ConfirmButtonProps, ConfirmDialog, type ConfirmDialogProps, ContactCard, type ContactCardLabels, type ContactCardProps, type ContactCardState, ContentList, ContentListItem, type ContentListItemProps, type ContentListProps, type ContrastPreference, CopyButton, type CopyButtonProps, Count, type CountProps, DASHBOARD_CANVAS_COLUMNS, DATE_FILTER_OPERATORS, DAY, DEFAULT_ACCOUNT_MENU_LABELS, DEFAULT_ATTACHMENT_LABELS, DEFAULT_AUDIT_LOG_LABELS, DEFAULT_BRAND_PROFILE_EDITOR_LABELS, DEFAULT_BUILDER_CANVAS_LABELS, DEFAULT_BUTTON_RESULT_LABELS, DEFAULT_CODE_DISPLAY_LABELS, DEFAULT_COLOR_PICKER_LABELS, DEFAULT_CONTACT_CARD_LABELS, DEFAULT_DASHBOARD_CANVAS_LABELS, DEFAULT_DATA_WORKSPACE_LABELS, DEFAULT_DATE_PICKER_LABELS, DEFAULT_DATE_RANGE_PICKER_LABELS, DEFAULT_DATE_TIME_PICKER_LABELS, DEFAULT_DIFF_VIEWER_LABELS, DEFAULT_DISPLAY_PREFERENCES, DEFAULT_DISPLAY_PREFERENCES_LABELS, DEFAULT_ENTITY_PICKER_LABELS, DEFAULT_FILE_UPLOAD_LABELS, DEFAULT_FILTER_EDITOR_LABELS, DEFAULT_FILTER_SUMMARY_LABELS, DEFAULT_INLINE_EDIT_LABELS, DEFAULT_INSIGHT_CARD_LABELS, DEFAULT_KEYBOARD_GRAB_LABELS, DEFAULT_LIGHTBOX_LABELS, DEFAULT_MATCH_REVIEW_LABELS, DEFAULT_ORG_CHART_LABELS, DEFAULT_PAGINATION_LABELS, DEFAULT_PASSWORD_INPUT_LABELS, DEFAULT_PRESENCE_LABELS, DEFAULT_PRINT_LAYOUT_LABELS, DEFAULT_QR_CODE_LABELS, DEFAULT_QR_SCANNER_LABELS, DEFAULT_RELATIONSHIP_GRAPH_LABELS, DEFAULT_RULE_BUILDER_LABELS, DEFAULT_RULE_SUMMARY_WORDS, DEFAULT_RULE_VALIDATION_MESSAGES, DEFAULT_SAVE_STATUS_LABELS, DEFAULT_SCHEDULING_CALENDAR_LABELS, DEFAULT_SCHEDULING_TIMELINE_LABELS, DEFAULT_SORTABLE_LIST_LABELS, DEFAULT_STEP_STATE_LABELS, DEFAULT_TAG_INPUT_LABELS, DEFAULT_TEXT_DIFF_LABELS, DEFAULT_TIME_PICKER_LABELS, DEFAULT_TREE_LABELS, DISPLAY_PREFERENCES_STORAGE_KEY, DISPLAY_PREFERENCE_OPTIONS, DashboardCanvas, type DashboardCanvasChange, type DashboardCanvasDirection, type DashboardCanvasGap, type DashboardCanvasItem, type DashboardCanvasLabels, type DashboardCanvasPlacement, type DashboardCanvasProps, type DashboardCanvasResize, DashboardGrid, type DashboardGridBreakpoint, type DashboardGridColumnCount, type DashboardGridColumns, type DashboardGridGap, DashboardGridItem, type DashboardGridItemProps, type DashboardGridProps, type DashboardGridSpan, DataWorkspace, type DataWorkspaceColumn, type DataWorkspaceGroup, type DataWorkspaceIdColumn, type DataWorkspaceLabels, type DataWorkspacePagination, type DataWorkspaceProps, type DataWorkspaceSort, type DataWorkspaceSortState, type DataWorkspaceSortValue, type DataWorkspaceVirtualize, type DateFilterOperator, type DateInputProblem, type DatePart, DatePicker, type DatePickerLabels, type DatePickerProps, DateRangePicker, type DateRangePickerLabels, type DateRangePickerProps, type DateRangeValue, DateTimePicker, type DateTimePickerLabels, type DateTimePickerProps, type DaySpanLayout, type DelayedPendingOptions, type DensityPreference, DescriptionItem, type DescriptionItemProps, DescriptionList, type DescriptionListItem, type DescriptionListProps, DetailLayout, type DetailLayoutProps, DetailPage, type DetailPageLinkProps, type DetailPageMetric, type DetailPageProps, type DetailPageTab, DialogClose, type DialogCloseEvent, type DialogCloseProps, type DiffEntry, type DiffKind, type DiffResolution, type DiffSide, type DiffSummary, DiffViewer, type DiffViewerLabels, type DiffViewerProps, type DiscardPromptLabels, type DisplayAttributes, type DisplayPreferenceValues, DisplayPreferences, type DisplayPreferencesLabels, type DisplayPreferencesProps, Drawer, type DrawerProps, type EdgeLabelBox, EmptyState, type EmptyStateProps, EntityPicker, type EntityPickerLabels, type EntityPickerProps, type EntityPickerSearchError, type EntityPickerSearchResult, ErrorState, type ErrorStateProps, EventRow, type EventRowProps, ExpandToggle, type ExpandToggleProps, FeaturedRundown, FeaturedRundownItem, type FeaturedRundownItemProps, type FeaturedRundownProps, FeaturedStage, type FeaturedStageProps, Field, type FieldProps, type FileRejection, type FileRejectionReason, type FileSizeFormatter, type FileSizeOptions, FileUpload, type FileUploadItem, type FileUploadLabels, type FileUploadProps, type FileUploadStatus, type FilterChoice, FilterEditor, type FilterEditorLabels, type FilterEditorProps, type FilterField, type FilterKind, type FilterOp, type FilterOption, FilterPopover, type FilterPopoverProps, type FilterPreset, type FilterSummaryLabels, type FilterValue, type FilterValueKind, FilteredEmptyState, type FlatNode, Flow, FlowNode, type FlowNodeProps, type FlowNodeState, type FlowProps, type FlowVariant, type FoldedText, ForbiddenState, HOUR, Heartbeat, type HeartbeatProps, type HeartbeatState, Highlighted, type HighlightedProps, type HsvColor, Inbox, InboxDetail, type InboxDetailProps, InboxItem, type InboxItemProps, InboxList, type InboxListProps, type InboxProps, InfoTip, type InfoTipProps, InlineEdit, type InlineEditEditorProps, type InlineEditErrorContext, type InlineEditLabels, type InlineEditProps, type InlineEditState, Input, InputGroup, type InputGroupProps, type InputProps, Inset, type InsetProps, InsightCard, type InsightCardLabels, type InsightCardProps, type InsightComparison, type InsightCoverage, type InsightKpi, type InsightStatus, type InsightStatusTone, type InsightTarget, type JsonPrimitive, type JsonValue, Kanban, KanbanCard, type KanbanCardProps, KanbanColumn, type KanbanColumnProps, KanbanDropLine, type KanbanDropLineProps, type KanbanMoveDirection, type KanbanProps, Kbd, KbdCombo, type KbdComboProps, type KbdPlatform, type KbdProps, type KeyShortcut, type KeyboardGrabDirection, type KeyboardGrabLabels, Label, type LabelObstacle, type LabelProps, type LaneCluster, type LaneInterval, type LanePlacement, type LayeredColumn, type LayeredEdgeClassification, type LayeredEdgeKind, type LayeredItem, type LayeredLayout, type LayeredLayoutOptions, type LayeredNavigationKey, type LayoutLaneOptions, type LayoutMonthSpansOptions, LicensePositionBar, type LicensePositionBarProps, Lightbox, type LightboxItem, type LightboxLabels, type LightboxOverlayContext, type LightboxProps, List, ListItem, type ListItemProps, type ListProps, LiveIndicator, type LiveIndicatorProps, LoadingState, type LoadingStateProps, LocaleSwitcher, type LocaleSwitcherLocale, type LocaleSwitcherProps, Mark, type MarkProps, type MatchBulkResult, MatchReview, type MatchReviewAction, type MatchReviewCandidate, type MatchReviewField, type MatchReviewLabels, type MatchReviewProps, Menu, MenuGroup, type MenuGroupProps, MenuItem, type MenuItemAttributes, MenuItemCheckbox, type MenuItemCheckboxProps, type MenuItemProps, MenuItemRadio, type MenuItemRadioProps, type MenuProps, MenuRadioGroup, type MenuRadioGroupProps, MenuSeparator, Meter, type MeterProps, type MeterTone, MetricInput, type MetricInputProps, Modal, type ModalProps, type MonthSpanGroup, type MonthSpanInput, type MonthSpanLayout, MotionList, type MotionListProps, type MotionPreference, type MoveProposal, NUMBER_FILTER_OPERATORS, type NavFavouriteItem, NavFavourites, type NavFavouritesLabels, type NavFavouritesProps, NavGroup, type NavGroupProps, NavItem, type NavItemProps, NewsLead, type NewsLeadProps, NotFoundState, Note, type NoteProps, type NoteTone, NoticeQueue, type NoticeQueueProps, type NumberFilterOperator, type OptimisticRollback, OrgChart, type OrgChartLabels, type OrgChartNode, type OrgChartProps, OtpInput, type OtpInputProps, PENDING_DELAY_MS, PENDING_MIN_VISIBLE_MS, type PackLanesOptions, type PackedLanes, PageHeader, type PageHeaderProps, PageIntro, type PageIntroProps, Pagination, type PaginationLabels, type PaginationProps, PasswordInput, type PasswordInputLabels, type PasswordInputProps, Peek, type PeekProps, type PillSize, type PillTone, type PillTreatment, Pipeline, type PipelineProps, PipelineStage, type PipelineStageProps, type PipelineStageState, type PlacedDaySpan, type PlacedEdgeLabel, type PlacedMonthSpan, type PlacedSpan, Placement, Popconfirm, type PopconfirmProps, Popover, type PopoverProps, type PositionedRelationshipNode, PresenceDot, type PresenceDotProps, type Primitive, PrintLayout, type PrintLayoutLabels, type PrintLayoutProps, PrintPageBreak, type PrintPageSize, PrintSignature, type PrintSignatureProps, Progress, type ProgressProps, PromptDialog, type PromptDialogProps, Prose, type ProseProps, QrCapacityError, QrCode, type QrCodeLabels, type QrCodeProps, type QrEncodeOptions, type QrErrorCorrection, type QrMatrix, QrScanner, type QrScannerDecoder, type QrScannerFrame, type QrScannerLabels, type QrScannerProps, type QrScannerStatus, RESULT_HOLD_MS, Radio, RadioCard, type RadioCardProps, RadioGroup, type RadioGroupProps, type RadioProps, type RelatedLinkItem, RelatedLinks, type RelatedLinksProps, RelationshipGraph, type RelationshipGraphArrow, type RelationshipGraphCluster, type RelationshipGraphEdge, type RelationshipGraphLabels, type RelationshipGraphLegendItem, type RelationshipGraphNode, type RelationshipGraphProps, type RelationshipGraphTone, RelativeTime, type RelativeTimeFormatContext, type RelativeTimeProps, type RelativeTimeUnit, type RelativeTimeValue, type ResourceDayItem, type ResourceDaySlot, type ResourceDaySlotOptions, ResourceGrid, type ResourceGridProps, type RgbColor, type RoutedEdge, type Row, RowAction, type RowActionProps, RowActions, type RowActionsProps, type RuleAction, type RuleActionDefinition, RuleBuilder, type RuleBuilderLabels, type RuleBuilderProps, type RuleCheck, type RuleCondition, type RuleDefinition, type RuleFieldDefinition, type RuleGroup, type RuleOperatorDefinition, type RuleSummaryWords, type RuleValidationIssue, type RuleValidationOptions, type RuleValueEditorProps, SaveStatus, type SaveStatusLabels, type SaveStatusProps, type SaveStatusState, type SavedViewItem, SavedViewMenu, type SavedViewMenuProps, type SavedViewSection, type SchedulingAgendaGroup, type SchedulingAvailabilityKind, type SchedulingBand, SchedulingCalendar, type SchedulingCalendarDay, type SchedulingCalendarEntry, type SchedulingCalendarLabels, type SchedulingCalendarOverlay, type SchedulingCalendarProps, type SchedulingCalendarView, type SchedulingDatePart, type SchedulingEntryState, type SchedulingLegendItem, type SchedulingMarker, type SchedulingMarkerEmphasis, type SchedulingOverlayKind, type SchedulingOverlayPattern, type SchedulingResource, type SchedulingResourceSpan, type SchedulingSlotSelection, type SchedulingStatus, SchedulingTimeline, type SchedulingTimelineGroup, type SchedulingTimelineItem, type SchedulingTimelineLabels, type SchedulingTimelineLane, type SchedulingTimelineMarker, type SchedulingTimelineOverlay, type SchedulingTimelineOverlayKind, type SchedulingTimelineProps, SearchBar, type SearchBarLabels, type SearchBarProps, type SearchSegment, SearchSuggest, type SearchSuggestAction, type SearchSuggestOption, type SearchSuggestProps, SectionHead, type SectionHeadProps, type Segment, Segmented, SegmentedOption, type SegmentedOptionProps, type SegmentedProps, Select, type SelectAllState, type SelectGroup, type SelectLabels, type SelectOption, type SelectProps, type ShellNav, Sidebar, type SidebarProps, type SidebarSearch, SidebarSection, type SidebarSectionProps, Skeleton, type SkeletonProps, type SortDir, type SortDirection, type SortKey, SortableList, type SortableListItemContext, type SortableListLabels, type SortableListProps, Spinner, type SpinnerProps, StarButton, type StarButtonProps, Stat, StatLine, type StatLineItem, type StatLineProps, type StatProps, StatRow, type StatRowProps, type StatTrend, type StateVariant, StatusPill, type StatusPillProps, StatusRow, type StatusRowProps, Step, type StepProps, type StepState, type StepStateLabels, Steps, type StepsProps, SubNavItem, type SubNavItemProps, SuccessState, type SuccessStateProps, type SummarizeFilterOptions, Switch, type SwitchProps, type SystemDisplayPreferences, TEXT_FILTER_OPERATORS, TOAST_LEAVE_MS, TOP_LANE_CROSS_MIDNIGHT_MINUTES, Tab, TabPanel, type TabPanelProps, type TabProps, Table, type TableDensity, type TableProps, TableWrap, type TableWrapProps, Tabs, type TabsProps, TagInput, type TagInputLabels, type TagInputProps, Td, type TdProps, TextDiff, type TextDiffGranularity, type TextDiffLabels, type TextDiffLine, type TextDiffOp, type TextDiffOptions, type TextDiffProps, type TextDiffResult, type TextDiffRow, type TextDiffSegment, type TextFilterOperator, type TextScalePreference, Textarea, type TextareaProps, Th, type ThProps, type ThemePreference, ThemeSwitcher, type ThemeSwitcherProps, type TimeGridDayLayout, type TimeGridEntryContext, type TimeGridEntryInput, type TimeGridPart, type TimeGridSegment, type TimeInputProblem, TimePicker, type TimePickerLabels, type TimePickerProps, Timeline, TimelineItem, type TimelineItemProps, type TimelineProps, type TimelineRange, type TimelineScale, type TimelineSpan, type TimelineSubTick, type TimelineTick, Toast, type ToastAction, type ToastApi, type ToastDismissReason, type ToastKind, type ToastOptions, type ToastPromiseMessages, type ToastProps, type ToastRecord, type ToastStore, type ToastTone, Toaster, type ToasterProps, ToggleRow, type ToggleRowProps, Tooltip, type TooltipProps, Tr, type TrProps, Tree, type TreeLabels, type TreeLike, type TreeNavAction, type TreeNodeData, type TreeNodeProps, type TreeProps, type UixDateFormat, type UixLabels, UixLabelsProvider, type UixLabelsProviderProps, type UixLinkProps, type UixRenderLink, type UndoableToastOptions, type UseAnchoredPositionOptions, type UseDeferredReorderResult, type UseDisplayPreferencesOptions, type UseDisplayPreferencesResult, type UseKeyboardGrabOptions, type UseKeyboardGrabResult, type UseOptimisticValueOptions, type UseOptimisticValueResult, type UseTableOptions, type UseTableResult, type UseVirtualRowsOptions, type UseVirtualRowsResult, UserChip, type UserChipProps, ViewMenu, type ViewMenuColumn, type ViewMenuColumnLabels, type ViewMenuProps, type ViewState, type VirtualWindow, type ZonedDateSpan, type ZonedDayBounds, type ZonedDayShift, type ZonedDaySpan, type ZonedHourSlot, accountInitials, addCalendarDays, addCalendarMonths, addZonedDays, announcePolite, appendRuleNode, applyBrandProfile, applyDisplayAttributes, applyFilters, ariaKeyShortcuts, boundRelationshipGraph, buildMonthGrid, buildThreeWayDiff, cachedDateTimeFormat, canvasItemLimits, canvasItemsOverlap, canvasMoveTarget, canvasReadingOrder, canvasResizeTarget, canvasRowCount, clampCanvasItem, clampMetricValue, clampWidth, classifyLayeredEdges, clusterIdFor, codeGroups, compactCanvas, contrastRatio, createToastApi, createToastStore, cx, dashboardGridClassName, dashboardGridItemClassName, dateFilterBounds, dateOrder, datePattern, defaultTimelineStep, diffText, diffTokens, displayPreferencesScript, edgeLabelSize, emptyFilterValue, encodeQr, enumerateDateKeys, enumerateDateSpan, fileKind, fileMatchesAccept, filterComboboxItems, filterComboboxOptions, filterCommandItems, findRuleNodeDepth, flashChanged, flattenTree, foldForSearch, formatCountdown, formatDateKey, formatFileSize, formatTimeKey, groupCommandItems, hexToRgb, highlightSegments, hsvToHex, hsvToRgb, isDateInRange, isDateUnavailable, isFilterEmpty, isOvernightRange, isRuleGroup, isTimeOutOfRange, isUnresolvedChoice, isValidDateKey, isValidTimeKey, itemDaySpan, joinDateTime, layeredNeighbor, layoutDaySpans, layoutLane, layoutLayeredGraph, layoutMonthSpans, layoutRelationshipGraph, layoutResourceColumn, layoutTimeGridDay, mapRuleGroup, matchFilter, matchFilterPreset, meetsContrast, mergePinned, minutesToTime, moveCanvasItem, moveRuleNode, multiSort, nextSortDir, normalizeCanvas, normalizeHex, orgChartInitials, orgChartZoomStep, packLanes, parseDateInput, parseDateValue, parseDisplayPreferences, parseMetricValue, parseTimeInput, parseView, partitionFiles, pixelsToMs, placeCanvasItem, placeId, placeSpan, placesInTopLane, prefersReducedMotion, proposeMove, qrDataCapacity, qrPath, qrVersionFor, rankOverflow, readSystemDisplayPreferences, relationshipNeighbors, relativeTimeValue, removeRuleNode, renderPlainLink, reorder, resizeCanvasItem, resolveDisplayAttributes, resolveFilterLabels, resourceDayGaps, resourceDaySlots, restoreBrandProfile, rgbToHex, rgbToHsv, ruleDepth, schedulingGridDays, searchRows, searchSegments, selectAllState, selectRangeDate, separateEdgeLabels, serializeView, setRuleCombinator, settleDrop, shiftSpan, shouldVirtualize, snapToStep, splitDateTime, startOfMonth, stepMetricValue, stepTime, summarizeDiff, summarizeFilter, summarizeRule, telHref, textDiffRows, timePartEnds, timeSlots, timeToMinutes, timeZoneName, timelineRepeatedHourOffset, timelineStepDelta, timelineSubTicks, timelineTicks, toDateKey, toast, toggleId, togglePage, toggleSort, tokenizeText, traverseRelationshipNode, treeNav, useAnchoredPosition, useChangeHighlight, useDeferredReorder, useDelayedPending, useDialog, useDisplayPreferences, useKeyboardGrab, useOptimisticValue, useReducedMotion, useSlidingIndicator, useTable, useUixLabels, useVirtualRows, uses12Hour, validateRuleDefinition, virtualWindow, wrapEdgeLabel, zonedDateKey, zonedDateSpan, zonedDayBounds, zonedDaySpan, zonedHourSlots, zonedTimeOfDay };
package/dist/index.d.ts CHANGED
@@ -107,7 +107,7 @@ export { ButtonResult, ButtonResultLabels, DEFAULT_BUTTON_RESULT_LABELS } from '
107
107
  export { Composer, ComposerBar, ComposerBarProps, ComposerProps } from './components/Composer.js';
108
108
  export { LocaleSwitcher, LocaleSwitcherLocale, LocaleSwitcherProps, Segmented, SegmentedOption, SegmentedOptionProps, SegmentedProps } from './components/Segmented.js';
109
109
  export { FilterOption, FilterPopover, FilterPopoverProps, SavedViewItem, SavedViewMenu, SavedViewMenuProps, SavedViewSection, ViewMenu, ViewMenuColumn, ViewMenuColumnLabels, ViewMenuProps } from './components/TableControls.js';
110
- export { DEFAULT_DATA_WORKSPACE_LABELS, DataWorkspace, DataWorkspaceColumn, DataWorkspaceIdColumn, DataWorkspaceLabels, DataWorkspacePagination, DataWorkspaceProps, DataWorkspaceSort } from './components/DataWorkspace.js';
110
+ export { DEFAULT_DATA_WORKSPACE_LABELS, DataWorkspace, DataWorkspaceColumn, DataWorkspaceGroup, DataWorkspaceIdColumn, DataWorkspaceLabels, DataWorkspacePagination, DataWorkspaceProps, DataWorkspaceSort, DataWorkspaceSortState, DataWorkspaceSortValue, DataWorkspaceVirtualize } from './components/DataWorkspace.js';
111
111
  export { DEFAULT_FILTER_EDITOR_LABELS, FilterEditor, FilterEditorLabels, FilterEditorProps } from './components/FilterEditor.js';
112
112
  export { DATE_FILTER_OPERATORS, DEFAULT_FILTER_SUMMARY_LABELS, DateFilterOperator, FilterChoice, FilterField, FilterPreset, FilterSummaryLabels, FilterValue, FilterValueKind, NUMBER_FILTER_OPERATORS, NumberFilterOperator, SummarizeFilterOptions, TEXT_FILTER_OPERATORS, TextFilterOperator, dateFilterBounds, emptyFilterValue, isFilterEmpty, isUnresolvedChoice, matchFilterPreset, resolveFilterLabels, summarizeFilter } from './filter-model.js';
113
113
  export { Timeline, TimelineItem, TimelineItemProps, TimelineProps } from './components/Timeline.js';
@@ -24,8 +24,10 @@ declare function multiSort<T extends Row>(rows: readonly T[], keys: readonly Sor
24
24
  declare function nextSortDir(current: SortDir | 'none' | undefined): SortDir | 'none';
25
25
  /**
26
26
  * Toggle a field within a multi-sort key list. Without shift, it replaces the
27
- * list with just this field (cycling its direction); with shift, it adds/updates
28
- * the field as a secondary key (removing it when it cycles back to none).
27
+ * list with just this field (cycling its direction); with shift, a new field is
28
+ * appended as the last key, an existing key turns in place (it keeps its priority,
29
+ * as TanStack Table and TENSOR's DataTable do; 2.50, HAR-2623) and is removed when
30
+ * it cycles back to none.
29
31
  */
30
32
  declare function toggleSort(keys: readonly SortKey[], field: string, additive?: boolean): SortKey[];
31
33
  type FilterKind = 'enum' | 'text' | 'number' | 'date' | 'boolean';
@@ -25,8 +25,9 @@ function toggleSort(keys, field, additive = false) {
25
25
  const existing = keys.find((k) => k.field === field);
26
26
  const dir = nextSortDir(existing?.dir);
27
27
  if (!additive) return dir === "none" ? [] : [{ field, dir }];
28
- const rest = keys.filter((k) => k.field !== field);
29
- return dir === "none" ? rest : [...rest, { field, dir }];
28
+ if (dir === "none") return keys.filter((k) => k.field !== field);
29
+ if (!existing) return [...keys, { field, dir }];
30
+ return keys.map((k) => k.field === field ? { field, dir } : k);
30
31
  }
31
32
  function asNum(v) {
32
33
  return typeof v === "number" ? v : Number(v);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tensor_1/react",
3
- "version": "2.49.1",
3
+ "version": "2.50.0",
4
4
  "description": "Thin React wrappers over the UIx v2 CSS component library.",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",