@tensor_1/react 2.49.1 → 2.51.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/components/DataWorkspace.d.ts +216 -9
- package/dist/components/DataWorkspace.js +849 -93
- package/dist/components/FilterEditor.d.ts +3 -1
- package/dist/components/FilterEditor.js +22 -6
- package/dist/components/SearchBar.d.ts +3 -1
- package/dist/components/SearchBar.js +2 -0
- package/dist/components/Table.d.ts +10 -1
- package/dist/components/Table.js +12 -4
- package/dist/filter-model.d.ts +15 -1
- package/dist/filter-model.js +8 -2
- package/dist/index.cjs +911 -118
- package/dist/index.d.cts +263 -14
- package/dist/index.d.ts +3 -3
- package/dist/index.js +2 -0
- package/dist/labels-context.d.ts +6 -1
- package/dist/table-engine.d.ts +14 -3
- package/dist/table-engine.js +7 -2
- package/package.json +1 -1
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,
|
|
48
|
-
* the
|
|
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';
|
|
@@ -57,6 +59,15 @@ interface ColumnFilter {
|
|
|
57
59
|
/** value(s): a scalar, an array (enum / between), or [min,max] for between */
|
|
58
60
|
value: Primitive | Primitive[];
|
|
59
61
|
}
|
|
62
|
+
/**
|
|
63
|
+
* An `enum` `FilterValue` (what `FilterEditor` and `DataWorkspace` filters hold) as the engine's
|
|
64
|
+
* `ColumnFilter` for `field` (HAR-2631): `is-none-of` maps to `isNoneOf`, anything else to `isAnyOf`.
|
|
65
|
+
*/
|
|
66
|
+
declare function enumColumnFilter(field: string, value: {
|
|
67
|
+
kind: 'enum';
|
|
68
|
+
values: readonly string[];
|
|
69
|
+
operator?: 'is-any-of' | 'is-none-of';
|
|
70
|
+
}): ColumnFilter;
|
|
60
71
|
declare function matchFilter(row: Row, f: ColumnFilter): boolean;
|
|
61
72
|
/** Keep rows that satisfy EVERY active filter (AND across columns). */
|
|
62
73
|
declare function applyFilters<T extends Row>(rows: readonly T[], filters: readonly ColumnFilter[]): T[];
|
|
@@ -2377,9 +2388,15 @@ type NumberFilterOperator = 'eq' | 'neq' | 'lt' | 'lte' | 'gt' | 'gte' | 'betwee
|
|
|
2377
2388
|
* `dateFilterBounds` turns each into the half-open range a query needs.
|
|
2378
2389
|
*/
|
|
2379
2390
|
type DateFilterOperator = 'on' | 'before' | 'after' | 'between';
|
|
2391
|
+
/**
|
|
2392
|
+
* An `enum` condition (HAR-2631): the row's value is one of the chosen values, or none of them
|
|
2393
|
+
* ("status is none of Withdrawn, Lost"). Absent means `is-any-of`.
|
|
2394
|
+
*/
|
|
2395
|
+
type EnumFilterOperator = 'is-any-of' | 'is-none-of';
|
|
2380
2396
|
type FilterValue = {
|
|
2381
2397
|
kind: 'enum';
|
|
2382
2398
|
values: string[];
|
|
2399
|
+
operator?: EnumFilterOperator;
|
|
2383
2400
|
} | {
|
|
2384
2401
|
kind: 'text';
|
|
2385
2402
|
operator: TextFilterOperator;
|
|
@@ -2441,6 +2458,11 @@ interface FilterField {
|
|
|
2441
2458
|
operators?: readonly (TextFilterOperator | NumberFilterOperator)[];
|
|
2442
2459
|
/** `date`: the conditions offered, in order. Default: on, before, after, between. */
|
|
2443
2460
|
dateOperators?: readonly DateFilterOperator[];
|
|
2461
|
+
/**
|
|
2462
|
+
* `enum`: the conditions offered, in order (HAR-2631). Default: `is-any-of` alone, so the editor
|
|
2463
|
+
* shows no condition control; with both, it shows one above the options.
|
|
2464
|
+
*/
|
|
2465
|
+
enumOperators?: readonly EnumFilterOperator[];
|
|
2444
2466
|
/** `number`: a unit shown after the value, e.g. "days". */
|
|
2445
2467
|
unit?: string;
|
|
2446
2468
|
/** `boolean`: words for true and false, e.g. Escalated / Not escalated. Default from labels. */
|
|
@@ -2467,6 +2489,8 @@ interface FilterSummaryLabels {
|
|
|
2467
2489
|
more: string;
|
|
2468
2490
|
/** An `enum` value equal to a preset: `{label}` (the preset), `{field}`. Default `{label}`. */
|
|
2469
2491
|
preset?: string;
|
|
2492
|
+
/** An `enum` value that excludes (`is-none-of`, HAR-2631): `{values}`. Default "not {values}" ("Status: not Open, Closed"). */
|
|
2493
|
+
noneOf?: string;
|
|
2470
2494
|
/** `date` conditions (HAR-1832), `{date}`. Default "{date}", "before {date}", "after {date}". */
|
|
2471
2495
|
on?: string;
|
|
2472
2496
|
before?: string;
|
|
@@ -2476,6 +2500,7 @@ declare const DEFAULT_FILTER_SUMMARY_LABELS: FilterSummaryLabels;
|
|
|
2476
2500
|
declare const TEXT_FILTER_OPERATORS: readonly TextFilterOperator[];
|
|
2477
2501
|
declare const NUMBER_FILTER_OPERATORS: readonly NumberFilterOperator[];
|
|
2478
2502
|
declare const DATE_FILTER_OPERATORS: readonly DateFilterOperator[];
|
|
2503
|
+
declare const ENUM_FILTER_OPERATORS: readonly EnumFilterOperator[];
|
|
2479
2504
|
/** The empty value for a field kind (what Clear resets to). */
|
|
2480
2505
|
declare function emptyFilterValue(kind: FilterValueKind): FilterValue;
|
|
2481
2506
|
/** True when the value filters nothing (so the chip goes away). */
|
|
@@ -2554,6 +2579,8 @@ interface FilterEditorLabels {
|
|
|
2554
2579
|
operators: Record<TextFilterOperator | NumberFilterOperator, string>;
|
|
2555
2580
|
/** `date` conditions (HAR-1832). Optional, like `presets`. */
|
|
2556
2581
|
dateOperators?: Partial<Record<DateFilterOperator, string>>;
|
|
2582
|
+
/** `enum` conditions (HAR-2631), when the field offers both. Optional, like `presets`. */
|
|
2583
|
+
enumOperators?: Partial<Record<EnumFilterOperator, string>>;
|
|
2557
2584
|
}
|
|
2558
2585
|
declare const DEFAULT_FILTER_EDITOR_LABELS: FilterEditorLabels;
|
|
2559
2586
|
interface FilterEditorProps {
|
|
@@ -3660,6 +3687,8 @@ interface SearchBarProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onSubmit'
|
|
|
3660
3687
|
labels?: Partial<SearchBarLabels>;
|
|
3661
3688
|
/** The field's `name`. */
|
|
3662
3689
|
name?: string;
|
|
3690
|
+
/** The longest text the field takes (HAR-2622). */
|
|
3691
|
+
maxLength?: number;
|
|
3663
3692
|
/** The field's `id`, e.g. for a "/" shortcut that focuses it. Default: generated. */
|
|
3664
3693
|
inputId?: string;
|
|
3665
3694
|
inputRef?: Ref<HTMLInputElement>;
|
|
@@ -3677,7 +3706,7 @@ interface SearchBarProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onSubmit'
|
|
|
3677
3706
|
* takes Escape itself before the field (a ConfirmPopover, the table's view menu), Escape closes
|
|
3678
3707
|
* the overlay rather than clearing the text.
|
|
3679
3708
|
*/
|
|
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;
|
|
3709
|
+
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
3710
|
|
|
3682
3711
|
interface LightboxItem {
|
|
3683
3712
|
src: string;
|
|
@@ -4782,6 +4811,10 @@ declare const TableWrap: react.ForwardRefExoticComponent<TableWrapProps & react.
|
|
|
4782
4811
|
type TableDensity = 'compact' | 'standard' | 'comfortable';
|
|
4783
4812
|
type SortDirection = 'ascending' | 'descending' | 'none';
|
|
4784
4813
|
interface TableProps extends TableHTMLAttributes<HTMLTableElement> {
|
|
4814
|
+
/**
|
|
4815
|
+
* The row height. Named, the table holds it, `standard` included, whatever the page sets
|
|
4816
|
+
* `--uix-row-h` to (a density preference); left out, the table follows `--uix-row-h`.
|
|
4817
|
+
*/
|
|
4785
4818
|
density?: TableDensity;
|
|
4786
4819
|
zebra?: boolean;
|
|
4787
4820
|
pinnedCol?: boolean;
|
|
@@ -4802,9 +4835,14 @@ interface ThProps extends ThHTMLAttributes<HTMLTableCellElement> {
|
|
|
4802
4835
|
sortDirection?: SortDirection;
|
|
4803
4836
|
/** 1-based ordinal shown when this column is a secondary key in a multi-sort */
|
|
4804
4837
|
sortOrder?: number;
|
|
4838
|
+
/**
|
|
4839
|
+
* The ordinal in words for assistive tech, e.g. "Sort priority 2" (2.50, HAR-2623). The visible
|
|
4840
|
+
* ordinal is CSS content with empty alt text, so without this it is not announced at all.
|
|
4841
|
+
*/
|
|
4842
|
+
sortOrderLabel?: string;
|
|
4805
4843
|
onSort?: () => void;
|
|
4806
4844
|
}
|
|
4807
|
-
declare function Th({ sortable, sortDirection, sortOrder, onSort, className, children, onClick, ...props }: ThProps): react.JSX.Element;
|
|
4845
|
+
declare function Th({ sortable, sortDirection, sortOrder, sortOrderLabel, onSort, className, children, onClick, ...props }: ThProps): react.JSX.Element;
|
|
4808
4846
|
interface TdProps extends TdHTMLAttributes<HTMLTableCellElement> {
|
|
4809
4847
|
pinned?: boolean;
|
|
4810
4848
|
}
|
|
@@ -5041,6 +5079,18 @@ interface DataWorkspaceLabels {
|
|
|
5041
5079
|
filteredEmptyDetail: string;
|
|
5042
5080
|
error: string;
|
|
5043
5081
|
retry: string;
|
|
5082
|
+
/** A sorted header's place among two or more sort keys (HAR-2623): `{n}`. */
|
|
5083
|
+
sortPriority: string;
|
|
5084
|
+
/** A group header's row count (HAR-2625): `{count}`. */
|
|
5085
|
+
groupCount: string;
|
|
5086
|
+
/** The same for one row. */
|
|
5087
|
+
groupCountOne: string;
|
|
5088
|
+
/** A group header's toggle while the group is open: `{name}`. */
|
|
5089
|
+
collapseGroup: string;
|
|
5090
|
+
/** The same while it is collapsed. */
|
|
5091
|
+
expandGroup: string;
|
|
5092
|
+
/** A group header's checkbox: `{name}`. */
|
|
5093
|
+
selectGroup: string;
|
|
5044
5094
|
}
|
|
5045
5095
|
declare const DEFAULT_DATA_WORKSPACE_LABELS: DataWorkspaceLabels;
|
|
5046
5096
|
interface DataWorkspaceColumn<T> {
|
|
@@ -5052,23 +5102,105 @@ interface DataWorkspaceColumn<T> {
|
|
|
5052
5102
|
align?: 'start' | 'end';
|
|
5053
5103
|
/** A CSS width for the column, e.g. `12rem`. */
|
|
5054
5104
|
width?: string;
|
|
5105
|
+
/**
|
|
5106
|
+
* The column's floor, e.g. `14rem` (HAR-2624). In a fixed layout the table's own min-width is
|
|
5107
|
+
* the sum of its columns' floors, so a squeezed table scrolls rather than narrow them.
|
|
5108
|
+
*/
|
|
5109
|
+
minWidth?: string;
|
|
5110
|
+
/**
|
|
5111
|
+
* A class on the column's header and body cells, e.g. `uix-col--truncate` (HAR-2624). A width
|
|
5112
|
+
* tier (`uix-col--w-md`) or `uix-col--flex` also sizes the column's `<col>` in a fixed layout.
|
|
5113
|
+
*/
|
|
5114
|
+
className?: string;
|
|
5115
|
+
/**
|
|
5116
|
+
* The responsive ladder (`mobile`, HAR-2622): `low` columns go below 900 px of workspace width,
|
|
5117
|
+
* `mid` ones below 600 px; `high` (the default) stay.
|
|
5118
|
+
*/
|
|
5119
|
+
priority?: 'high' | 'mid' | 'low';
|
|
5120
|
+
/** The column's name in words: a card's label under `mobile="cards"`. Default: `header` when it is a string. */
|
|
5121
|
+
label?: string;
|
|
5055
5122
|
}
|
|
5056
5123
|
interface DataWorkspaceSort {
|
|
5057
5124
|
columnId: string;
|
|
5058
5125
|
direction: 'ascending' | 'descending';
|
|
5059
5126
|
}
|
|
5127
|
+
/** `sort` as a product passes it: one key (or none), or an ordered list of keys (HAR-2623). */
|
|
5128
|
+
type DataWorkspaceSortState = DataWorkspaceSort | readonly DataWorkspaceSort[] | null;
|
|
5129
|
+
/** What `onSortChange` receives: a list when `sort` is a list, else one key or `null`. */
|
|
5130
|
+
type DataWorkspaceSortValue<S> = S extends readonly DataWorkspaceSort[] ? DataWorkspaceSort[] : DataWorkspaceSort | null;
|
|
5060
5131
|
/** The record-id column: the first column, the row's way into its record. */
|
|
5061
5132
|
interface DataWorkspaceIdColumn<T> {
|
|
5062
5133
|
header: ReactNode;
|
|
5063
5134
|
/** The id as shown, e.g. "INC-20418". Also names the row's checkbox and ↗ button. */
|
|
5064
5135
|
text: (row: T) => string;
|
|
5136
|
+
/**
|
|
5137
|
+
* The cell's content instead of `text` (HAR-2622): e.g. a strong title over a muted line, with
|
|
5138
|
+
* the search match marked. It sits inside the same button or link; `text` still names the
|
|
5139
|
+
* checkbox and the ↗.
|
|
5140
|
+
*/
|
|
5141
|
+
render?: (row: T) => ReactNode;
|
|
5065
5142
|
/** The id button opens a peek of the record. */
|
|
5066
5143
|
onPeek?: (row: T) => void;
|
|
5067
5144
|
/** The ↗ link goes to the full record. */
|
|
5068
5145
|
href?: (row: T) => string;
|
|
5146
|
+
/**
|
|
5147
|
+
* Without `onPeek`: the whole id is the link to `href`, with the ↗ inside it, for a row whose
|
|
5148
|
+
* own record is the way in (HAR-2622). Off: the id is text and the ↗ is the link.
|
|
5149
|
+
*/
|
|
5150
|
+
linkId?: boolean;
|
|
5151
|
+
/** The column's width in a fixed layout (`fixed`), e.g. `16rem`. */
|
|
5152
|
+
width?: string;
|
|
5153
|
+
/** The column's floor in a fixed layout. Default: the `md` column tier. */
|
|
5154
|
+
minWidth?: string;
|
|
5155
|
+
/**
|
|
5156
|
+
* The sort key the id column answers to in `sort` / `onSortChange` (HAR-2631), e.g. `title`
|
|
5157
|
+
* when the id shows the title. Default `'id'`. Keep it distinct from the data columns' ids.
|
|
5158
|
+
*/
|
|
5159
|
+
id?: string;
|
|
5160
|
+
/**
|
|
5161
|
+
* The id header sorts like a data column (HAR-2631): a click cycles it, Shift + click (or
|
|
5162
|
+
* Shift + Enter / Space) adds it as a further key in a multi-sort, with its ordinal and
|
|
5163
|
+
* `aria-sort`. Off: the header is plain, as in 2.50.0.
|
|
5164
|
+
*/
|
|
5165
|
+
sortable?: boolean;
|
|
5069
5166
|
renderLink?: UixRenderLink;
|
|
5070
5167
|
}
|
|
5071
|
-
|
|
5168
|
+
/** A group of rows under one header row (HAR-2625). The product computes the groups. */
|
|
5169
|
+
interface DataWorkspaceGroup<T> {
|
|
5170
|
+
id: string;
|
|
5171
|
+
/** The group's value as shown, e.g. a status pill. */
|
|
5172
|
+
label: ReactNode;
|
|
5173
|
+
/** The group's name in words, for its toggle and checkbox. Default: `label` when a string, else `id`. */
|
|
5174
|
+
name?: string;
|
|
5175
|
+
rows: readonly T[];
|
|
5176
|
+
/** The group's total, when it holds more than the rows on this page. Default: `rows.length`. */
|
|
5177
|
+
count?: number;
|
|
5178
|
+
/** Aggregated cells in the header row, by column id (a sum, a range), each under its column. */
|
|
5179
|
+
aggregates?: Readonly<Record<string, ReactNode>>;
|
|
5180
|
+
}
|
|
5181
|
+
/** Where a row's actions are shown (HAR-2634), the second argument of `rowActions`. */
|
|
5182
|
+
interface DataWorkspaceRowActionsContext {
|
|
5183
|
+
/** The ladder's step: `null` for the full table (or without `mobile`). */
|
|
5184
|
+
ladder: 'cards' | 'priority' | 'priority-mid' | null;
|
|
5185
|
+
/** The narrowest table step (`priority-mid`): render only the always-on control. Cards keep the full set, on a line of their own. */
|
|
5186
|
+
compact: boolean;
|
|
5187
|
+
}
|
|
5188
|
+
/** Windowing for a long unpaged list (HAR-2626), over `useVirtualRows`. */
|
|
5189
|
+
interface DataWorkspaceVirtualize {
|
|
5190
|
+
/** Window only above this many rows. Default 100. */
|
|
5191
|
+
threshold?: number;
|
|
5192
|
+
/** The first paint's row height in px; the mounted rows are measured after. Default: by density (44, 56, 68). */
|
|
5193
|
+
estimatedRowHeight?: number;
|
|
5194
|
+
/** The scrolling body's height cap in px. Default 640. */
|
|
5195
|
+
maxHeight?: number;
|
|
5196
|
+
/** Rows rendered beyond each edge. Default 8. */
|
|
5197
|
+
overscan?: number;
|
|
5198
|
+
}
|
|
5199
|
+
/**
|
|
5200
|
+
* The footer's pager. `labels` words the pager itself; without them it takes `UixLabelsProvider`
|
|
5201
|
+
* `pagination`, then English (HAR-2631).
|
|
5202
|
+
*/
|
|
5203
|
+
type DataWorkspacePagination = ({
|
|
5072
5204
|
mode: 'offset';
|
|
5073
5205
|
page: number;
|
|
5074
5206
|
pageSize: number;
|
|
@@ -5087,38 +5219,87 @@ type DataWorkspacePagination = {
|
|
|
5087
5219
|
pageSize?: number;
|
|
5088
5220
|
pageSizes?: readonly number[];
|
|
5089
5221
|
onPageSizeChange?: (size: number) => void;
|
|
5222
|
+
}) & {
|
|
5223
|
+
labels?: Partial<PaginationLabels>;
|
|
5090
5224
|
};
|
|
5091
|
-
interface DataWorkspaceProps<T> extends Omit<HTMLAttributes<HTMLElement>, 'children'> {
|
|
5225
|
+
interface DataWorkspaceProps<T, S extends DataWorkspaceSortState = DataWorkspaceSort | null> extends Omit<HTMLAttributes<HTMLElement>, 'children'> {
|
|
5092
5226
|
/** Names the workspace region and the table. */
|
|
5093
5227
|
label: string;
|
|
5094
5228
|
rows: readonly T[];
|
|
5095
5229
|
getRowId: (row: T) => string;
|
|
5230
|
+
/**
|
|
5231
|
+
* A row's name in words, where the kit names a row (its checkbox, HAR-2632) and there is no
|
|
5232
|
+
* `idColumn.text`: a title or a person, never a key. Without it the row id is used, which is
|
|
5233
|
+
* a UUID on many tables. Keep it stable (`useCallback`), as rows are memoised.
|
|
5234
|
+
*/
|
|
5235
|
+
rowLabel?: (row: T) => string;
|
|
5096
5236
|
columns: readonly DataWorkspaceColumn<T>[];
|
|
5097
5237
|
idColumn?: DataWorkspaceIdColumn<T>;
|
|
5098
|
-
|
|
5099
|
-
|
|
5238
|
+
/**
|
|
5239
|
+
* The sort: one key, or an ordered list of keys (HAR-2623). With a list, Shift + click (or
|
|
5240
|
+
* Shift + Enter / Space) on a header adds, turns or removes that column as a further key, and
|
|
5241
|
+
* each sorted header shows its place once two or more keys are set.
|
|
5242
|
+
*/
|
|
5243
|
+
sort?: S;
|
|
5244
|
+
/** Receives the same shape `sort` holds: a list for a list, else one key or `null`. */
|
|
5245
|
+
onSortChange?: (sort: DataWorkspaceSortValue<S>) => void;
|
|
5246
|
+
/**
|
|
5247
|
+
* List mode even while `sort` is `null` or one key, for a product whose sort state starts
|
|
5248
|
+
* empty. Type `sort` as a list (`[]` for none): `onSortChange` then receives a list.
|
|
5249
|
+
*/
|
|
5250
|
+
multiSort?: boolean;
|
|
5100
5251
|
/** The selected row ids. Kept by id, so a refresh or a new page keeps them. */
|
|
5101
5252
|
selection?: ReadonlySet<string>;
|
|
5102
5253
|
onSelectionChange?: (selection: Set<string>) => void;
|
|
5254
|
+
/** At most this many rows can be selected: the unchecked boxes are disabled at the cap (HAR-2622). */
|
|
5255
|
+
maxSelection?: number;
|
|
5103
5256
|
/** The bulk bar's actions for the selection (a `Menu` for the overflow). */
|
|
5104
5257
|
bulkActions?: (selectedIds: string[]) => ReactNode;
|
|
5105
5258
|
/**
|
|
5106
5259
|
* A row's actions (a `Menu`, quick buttons), in a column frozen at the right edge and sized to
|
|
5107
5260
|
* them. Return `null` for a row without actions; with none on the page there is no column.
|
|
5261
|
+
* The second argument says where the row is shown (HAR-2634): at the narrowest step of the
|
|
5262
|
+
* ladder (`compact`, a workspace under 600 px with `mobile`), render only the always-on control,
|
|
5263
|
+
* the peek or a kebab; the peek or the record carries the verbs. A frozen actions cell is for
|
|
5264
|
+
* compact controls: word verbs (wider than a quarter of the table) unfreeze and scroll with
|
|
5265
|
+
* their row, at any width.
|
|
5108
5266
|
*/
|
|
5109
|
-
rowActions?: (row: T) => ReactNode;
|
|
5267
|
+
rowActions?: (row: T, context: DataWorkspaceRowActionsContext) => ReactNode;
|
|
5110
5268
|
/** More props for a row, e.g. a data attribute that marks it changed (see ChangeHighlight, PR #164). */
|
|
5111
5269
|
getRowProps?: (row: T) => HTMLAttributes<HTMLTableRowElement> & Record<`data-${string}`, string | undefined>;
|
|
5112
5270
|
density?: TableDensity;
|
|
5271
|
+
/** Zebra rows (the `Table` default, on). The View menu's toggle (HAR-2624). */
|
|
5272
|
+
zebra?: boolean;
|
|
5273
|
+
/**
|
|
5274
|
+
* Freeze the first column without an id column; with selection the checkbox is frozen too
|
|
5275
|
+
* (HAR-2624). With `mobile`, nothing is frozen from the narrowest step (under 600 px).
|
|
5276
|
+
*/
|
|
5277
|
+
freezeFirstColumn?: boolean;
|
|
5278
|
+
/**
|
|
5279
|
+
* `table-layout: fixed` with a `<colgroup>` from the columns' widths and tiers, and the table's
|
|
5280
|
+
* min-width at the sum of the columns' floors (TENSOR HAR-997), so a truncating column clips
|
|
5281
|
+
* instead of growing. Default: on when a column has `className` or `minWidth`. Not in cards.
|
|
5282
|
+
*/
|
|
5283
|
+
fixed?: boolean;
|
|
5284
|
+
/**
|
|
5285
|
+
* The responsive ladder, from the workspace's own width (HAR-2622): `priority` drops `low`
|
|
5286
|
+
* columns below 900 px and `mid` ones below 600 px; `cards` turns the rows into cards below
|
|
5287
|
+
* 768 px (each value labelled by its column) and drops low-priority columns up to 900 px.
|
|
5288
|
+
*/
|
|
5289
|
+
mobile?: 'priority' | 'cards';
|
|
5113
5290
|
/**
|
|
5114
5291
|
* 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.
|
|
5292
|
+
* when nothing has focus and this is the page's first workspace. `onSubmit` (Enter), `onClear`
|
|
5293
|
+
* (the × or Escape) and `maxLength` go to the `SearchBar`.
|
|
5116
5294
|
*/
|
|
5117
5295
|
search?: {
|
|
5118
5296
|
value: string;
|
|
5119
5297
|
onChange: (value: string) => void;
|
|
5120
5298
|
label?: string;
|
|
5121
5299
|
placeholder?: string;
|
|
5300
|
+
onSubmit?: (value: string) => void;
|
|
5301
|
+
onClear?: () => void;
|
|
5302
|
+
maxLength?: number;
|
|
5122
5303
|
};
|
|
5123
5304
|
/**
|
|
5124
5305
|
* Toolbar: filter chips and "+ Filter" over `FilterEditor`. A chip whose value holds ids
|
|
@@ -5131,11 +5312,24 @@ interface DataWorkspaceProps<T> extends Omit<HTMLAttributes<HTMLElement>, 'child
|
|
|
5131
5312
|
/** Rows matching each filter, shown on its chip. */
|
|
5132
5313
|
counts?: Readonly<Record<string, number>>;
|
|
5133
5314
|
summary?: SummarizeFilterOptions;
|
|
5315
|
+
/**
|
|
5316
|
+
* Clear every filter in one change (HAR-2622), instead of one `onChange` per field: a product
|
|
5317
|
+
* whose state is the URL would otherwise navigate once per field from the same stale state.
|
|
5318
|
+
* `search: true` from "Nothing matches" while searching: clear the search too (the kit then
|
|
5319
|
+
* does not call `search.onChange('')`).
|
|
5320
|
+
*/
|
|
5321
|
+
onClearAll?: (scope: {
|
|
5322
|
+
search: boolean;
|
|
5323
|
+
}) => void;
|
|
5134
5324
|
};
|
|
5135
|
-
/**
|
|
5325
|
+
/**
|
|
5326
|
+
* Toolbar: the saved-view trigger, named by the current view, opening a `SavedViewMenu`.
|
|
5327
|
+
* `note` sits above the list ("Saved views could not be loaded").
|
|
5328
|
+
*/
|
|
5136
5329
|
savedViews?: {
|
|
5137
5330
|
current: ReactNode;
|
|
5138
5331
|
menu: SavedViewMenuProps;
|
|
5332
|
+
note?: ReactNode;
|
|
5139
5333
|
};
|
|
5140
5334
|
/** Toolbar: the View button, opening a `ViewMenu` (columns, density). */
|
|
5141
5335
|
viewMenu?: ViewMenuProps;
|
|
@@ -5143,17 +5337,63 @@ interface DataWorkspaceProps<T> extends Omit<HTMLAttributes<HTMLElement>, 'child
|
|
|
5143
5337
|
viewChanged?: boolean;
|
|
5144
5338
|
onSaveView?: () => void;
|
|
5145
5339
|
onSaveViewAs?: () => void;
|
|
5340
|
+
/** When Save as shows: `changed` (default) with `viewChanged`; `always`, to keep any view under a name (HAR-2622). */
|
|
5341
|
+
saveViewAs?: 'changed' | 'always';
|
|
5146
5342
|
/** Toolbar: a maximize toggle; Escape restores, unless an open popover or menu takes it first. */
|
|
5147
5343
|
maximized?: boolean;
|
|
5148
5344
|
onMaximizedChange?: (maximized: boolean) => void;
|
|
5149
5345
|
/** Toolbar: the product's own actions at the end ("New incident"). */
|
|
5150
5346
|
toolbarEnd?: ReactNode;
|
|
5347
|
+
/** Between the toolbar (and bulk bar) and the rows: notices, a "3 new — show" pill, a truncation warning. */
|
|
5348
|
+
beforeBody?: ReactNode;
|
|
5151
5349
|
pagination?: DataWorkspacePagination;
|
|
5152
5350
|
/** `loading`: the first load (skeleton rows). `error`: with `onRetry`. */
|
|
5153
5351
|
status?: 'ready' | 'loading' | 'error';
|
|
5154
5352
|
/** A refetch (filter, sort, page, saved view): the rows stay under `TableWrap refreshing`. */
|
|
5155
5353
|
refreshing?: boolean;
|
|
5156
5354
|
onRetry?: () => void;
|
|
5355
|
+
/** Skeleton rows on a first load. Default 6. */
|
|
5356
|
+
loadingRows?: number;
|
|
5357
|
+
/** The empty body in place of the default one (HAR-2624), e.g. an `EmptyState` with the first action. */
|
|
5358
|
+
empty?: ReactNode;
|
|
5359
|
+
/** The default empty body's action ("Add the first book"). */
|
|
5360
|
+
emptyAction?: ReactNode;
|
|
5361
|
+
/** The filtered-empty body in place of the default one. */
|
|
5362
|
+
filteredEmpty?: ReactNode;
|
|
5363
|
+
/** A further action in the default filtered-empty body, after its Clear filters. */
|
|
5364
|
+
filteredEmptyAction?: ReactNode;
|
|
5365
|
+
/** The error body in place of the default one (a problem's title, a diagnostic line, Retry). */
|
|
5366
|
+
error?: ReactNode;
|
|
5367
|
+
/**
|
|
5368
|
+
* A product state in place of the rows, whatever `status` says (a page past the end: "Go to the
|
|
5369
|
+
* first page"). The toolbar stays; the footer goes. A refetch shows it busy.
|
|
5370
|
+
*/
|
|
5371
|
+
stateOverride?: ReactNode;
|
|
5372
|
+
/** Rows in groups under collapsible header rows, in place of `rows` (HAR-2625). Not windowed. */
|
|
5373
|
+
groups?: readonly DataWorkspaceGroup<T>[];
|
|
5374
|
+
/** The collapsed group ids. Without it the workspace keeps them itself. */
|
|
5375
|
+
collapsedGroups?: ReadonlySet<string>;
|
|
5376
|
+
/** A group was collapsed or opened: the new set of collapsed ids. */
|
|
5377
|
+
onCollapsedGroupsChange?: (collapsed: Set<string>) => void;
|
|
5378
|
+
/**
|
|
5379
|
+
* Window a long unpaged list (HAR-2626): only the rows in view are mounted, in a body that
|
|
5380
|
+
* scrolls under its sticky header. Off with `pagination`, `groups` and the cards ladder.
|
|
5381
|
+
*/
|
|
5382
|
+
virtualize?: boolean | DataWorkspaceVirtualize;
|
|
5383
|
+
/**
|
|
5384
|
+
* The keyboard row model (HAR-2626): one row in the tab order, ↑ / ↓ / Home / End move between
|
|
5385
|
+
* rows, Enter opens the row (`onRowActivate`, else its id: the peek or the link), Space does not
|
|
5386
|
+
* scroll the page. Default: on with `onRowActivate`.
|
|
5387
|
+
*/
|
|
5388
|
+
rowNavigation?: boolean;
|
|
5389
|
+
/** 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`. */
|
|
5390
|
+
onRowActivate?: (row: T) => void;
|
|
5391
|
+
/** `false`: only Enter activates a row, not a pointer click. Default `true`. */
|
|
5392
|
+
activateOnClick?: boolean;
|
|
5393
|
+
/** The row with the tab stop, to drive it from the product's own shortcuts (j / k). Changing it focuses that row. */
|
|
5394
|
+
activeRowId?: string | null;
|
|
5395
|
+
/** The tab stop moved to another row (a key, a click, focus entering a row). */
|
|
5396
|
+
onActiveRowChange?: (rowId: string) => void;
|
|
5157
5397
|
labels?: Partial<DataWorkspaceLabels>;
|
|
5158
5398
|
}
|
|
5159
5399
|
/**
|
|
@@ -5165,8 +5405,12 @@ interface DataWorkspaceProps<T> extends Omit<HTMLAttributes<HTMLElement>, 'child
|
|
|
5165
5405
|
* footer with rows per page and `Pagination` (offset or cursor); first-load, empty,
|
|
5166
5406
|
* filtered-empty and error states, and a refetch that keeps the rows. Prop-driven: the product
|
|
5167
5407
|
* keeps its surface registry, URL state, data fetching and permissions.
|
|
5408
|
+
*
|
|
5409
|
+
* 2.50 (HAR-2622..2626, ADR-0005 addendum): a responsive ladder (`mobile`, `column.priority`), a
|
|
5410
|
+
* rich id cell, multi-column sort, the product's state bodies and `beforeBody`, row groups,
|
|
5411
|
+
* windowing (`virtualize`) and a keyboard row model (`onRowActivate`).
|
|
5168
5412
|
*/
|
|
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;
|
|
5413
|
+
declare function DataWorkspace<T, S extends DataWorkspaceSortState = DataWorkspaceSort | null>({ label, rows, getRowId, rowLabel, 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
5414
|
|
|
5171
5415
|
/**
|
|
5172
5416
|
* Kit chrome strings by component (HAR-1358; TENSOR C20, MOTUS executive summary #3).
|
|
@@ -5277,6 +5521,11 @@ interface UixLabels {
|
|
|
5277
5521
|
/** `DataWorkspace` (HAR-1388): the toolbar, selection, footer and states. */
|
|
5278
5522
|
dataWorkspace?: Partial<DataWorkspaceLabels>;
|
|
5279
5523
|
filterEditor?: Partial<FilterEditorLabels>;
|
|
5524
|
+
/**
|
|
5525
|
+
* `summarizeFilter` as a filter chip shows it (DataWorkspace): the operators, ranges and the
|
|
5526
|
+
* "not {values}" of an excluding enum value (HAR-2631). A product's `filters.summary.labels` wins.
|
|
5527
|
+
*/
|
|
5528
|
+
filterSummary?: Partial<FilterSummaryLabels>;
|
|
5280
5529
|
select?: Partial<SelectLabels>;
|
|
5281
5530
|
ruleBuilder?: Partial<RuleBuilderLabels>;
|
|
5282
5531
|
fileUpload?: Partial<FileUploadLabels>;
|
|
@@ -7611,12 +7860,12 @@ declare function MotionList<T>({ items, getKey, renderItem, as, className, ...pr
|
|
|
7611
7860
|
className: string;
|
|
7612
7861
|
onTransitionEnd: (event: TransitionEvent<HTMLElement>) => void;
|
|
7613
7862
|
hidden?: boolean | undefined | undefined;
|
|
7863
|
+
dir?: string | undefined | undefined;
|
|
7614
7864
|
is?: string | undefined | undefined;
|
|
7615
7865
|
id?: string | undefined | undefined;
|
|
7616
7866
|
slot?: string | undefined | undefined;
|
|
7617
7867
|
style?: react.CSSProperties | undefined;
|
|
7618
7868
|
title?: string | undefined | undefined;
|
|
7619
|
-
dir?: string | undefined | undefined;
|
|
7620
7869
|
suppressHydrationWarning?: boolean | undefined | undefined;
|
|
7621
7870
|
color?: string | undefined | undefined;
|
|
7622
7871
|
lang?: string | undefined | undefined;
|
|
@@ -9361,4 +9610,4 @@ declare function hsvToHex(value: HsvColor): string;
|
|
|
9361
9610
|
declare function contrastRatio(background: string, foreground: string): number | undefined;
|
|
9362
9611
|
declare function meetsContrast(background: string, foreground: string, minimum?: number): boolean;
|
|
9363
9612
|
|
|
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 };
|
|
9613
|
+
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 DataWorkspaceRowActionsContext, 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, ENUM_FILTER_OPERATORS, type EdgeLabelBox, EmptyState, type EmptyStateProps, EntityPicker, type EntityPickerLabels, type EntityPickerProps, type EntityPickerSearchError, type EntityPickerSearchResult, type EnumFilterOperator, 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, enumColumnFilter, 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
|
@@ -78,7 +78,7 @@ export { Heartbeat, HeartbeatProps, HeartbeatState, LiveIndicator, LiveIndicator
|
|
|
78
78
|
export { Toast, ToastProps, ToastTone, Toaster, ToasterProps } from './components/Toast.js';
|
|
79
79
|
export { TOAST_LEAVE_MS, ToastAction, ToastApi, ToastDismissReason, ToastKind, ToastOptions, ToastPromiseMessages, ToastRecord, ToastStore, UndoableToastOptions, createToastApi, createToastStore, toast } from './toast-store.js';
|
|
80
80
|
export { BulkBar, BulkBarProps, CellStrong, CellSub, CellSubProps, ExpandToggle, ExpandToggleProps, Highlighted, HighlightedProps, Mark, MarkProps, RowAction, RowActionProps, RowActions, RowActionsProps, SortDirection, Table, TableDensity, TableProps, TableWrap, TableWrapProps, Td, TdProps, Th, ThProps, Tr, TrProps } from './components/Table.js';
|
|
81
|
-
export { ColumnFilter, FilterKind, FilterOp, Primitive, Row, Segment, SelectAllState, SortDir, SortKey, ViewState, VirtualWindow, applyFilters, clampWidth, highlightSegments, matchFilter, mergePinned, multiSort, nextSortDir, parseView, reorder, searchRows, selectAllState, serializeView, shouldVirtualize, toggleId, togglePage, toggleSort, virtualWindow } from './table-engine.js';
|
|
81
|
+
export { ColumnFilter, FilterKind, FilterOp, Primitive, Row, Segment, SelectAllState, SortDir, SortKey, ViewState, VirtualWindow, applyFilters, clampWidth, enumColumnFilter, highlightSegments, matchFilter, mergePinned, multiSort, nextSortDir, parseView, reorder, searchRows, selectAllState, serializeView, shouldVirtualize, toggleId, togglePage, toggleSort, virtualWindow } from './table-engine.js';
|
|
82
82
|
export { DEFAULT_PAGINATION_LABELS, Pagination, PaginationLabels, PaginationProps } from './components/Pagination.js';
|
|
83
83
|
export { PillSize, PillTone, PillTreatment, StatusPill, StatusPillProps } from './components/StatusPill.js';
|
|
84
84
|
export { Progress, ProgressProps } from './components/Progress.js';
|
|
@@ -107,9 +107,9 @@ 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, DataWorkspaceRowActionsContext, DataWorkspaceSort, DataWorkspaceSortState, DataWorkspaceSortValue, DataWorkspaceVirtualize } from './components/DataWorkspace.js';
|
|
111
111
|
export { DEFAULT_FILTER_EDITOR_LABELS, FilterEditor, FilterEditorLabels, FilterEditorProps } from './components/FilterEditor.js';
|
|
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';
|
|
112
|
+
export { DATE_FILTER_OPERATORS, DEFAULT_FILTER_SUMMARY_LABELS, DateFilterOperator, ENUM_FILTER_OPERATORS, EnumFilterOperator, 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';
|
|
114
114
|
export { Pipeline, PipelineProps, PipelineStage, PipelineStageProps, PipelineStageState } from './components/Pipeline.js';
|
|
115
115
|
export { Flow, FlowNode, FlowNodeProps, FlowNodeState, FlowProps, FlowVariant } from './components/Flow.js';
|
package/dist/index.js
CHANGED
|
@@ -155,6 +155,7 @@ import {
|
|
|
155
155
|
matchFilterPreset,
|
|
156
156
|
summarizeFilter,
|
|
157
157
|
DATE_FILTER_OPERATORS,
|
|
158
|
+
ENUM_FILTER_OPERATORS,
|
|
158
159
|
dateFilterBounds,
|
|
159
160
|
isUnresolvedChoice,
|
|
160
161
|
resolveFilterLabels
|
|
@@ -404,6 +405,7 @@ export {
|
|
|
404
405
|
DiffViewer,
|
|
405
406
|
DisplayPreferences,
|
|
406
407
|
Drawer,
|
|
408
|
+
ENUM_FILTER_OPERATORS,
|
|
407
409
|
EmptyState,
|
|
408
410
|
EntityPicker,
|
|
409
411
|
ErrorState,
|
package/dist/labels-context.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ import { DatePickerLabels, DateTimePickerLabels } from './components/DatePicker.
|
|
|
7
7
|
import { SchedulingTimelineLabels } from './components/SchedulingTimeline.js';
|
|
8
8
|
import { TextDiffLabels } from './components/TextDiff.js';
|
|
9
9
|
import { FilterEditorLabels } from './components/FilterEditor.js';
|
|
10
|
+
import { FilterSummaryLabels } from './filter-model.js';
|
|
10
11
|
import { SelectLabels } from './components/Select.js';
|
|
11
12
|
import { RuleBuilderLabels } from './components/RuleBuilder.js';
|
|
12
13
|
import { FileUploadLabels } from './components/FileUpload.js';
|
|
@@ -43,7 +44,6 @@ import './scheduling-resource-model.js';
|
|
|
43
44
|
import './overlay-position.js';
|
|
44
45
|
import './scheduling-timeline-model.js';
|
|
45
46
|
import './text-diff-model.js';
|
|
46
|
-
import './filter-model.js';
|
|
47
47
|
import './select-model.js';
|
|
48
48
|
import './json-value.js';
|
|
49
49
|
import './rule-builder-model.js';
|
|
@@ -169,6 +169,11 @@ interface UixLabels {
|
|
|
169
169
|
/** `DataWorkspace` (HAR-1388): the toolbar, selection, footer and states. */
|
|
170
170
|
dataWorkspace?: Partial<DataWorkspaceLabels>;
|
|
171
171
|
filterEditor?: Partial<FilterEditorLabels>;
|
|
172
|
+
/**
|
|
173
|
+
* `summarizeFilter` as a filter chip shows it (DataWorkspace): the operators, ranges and the
|
|
174
|
+
* "not {values}" of an excluding enum value (HAR-2631). A product's `filters.summary.labels` wins.
|
|
175
|
+
*/
|
|
176
|
+
filterSummary?: Partial<FilterSummaryLabels>;
|
|
172
177
|
select?: Partial<SelectLabels>;
|
|
173
178
|
ruleBuilder?: Partial<RuleBuilderLabels>;
|
|
174
179
|
fileUpload?: Partial<FileUploadLabels>;
|