@ds-mo/ui 14.24.0 → 14.25.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/.package-ready.json +1 -1
- package/dist/agent-patterns.json +1 -1
- package/dist/agent.json +3 -2
- package/dist/components/ds-table.js +1 -1
- package/dist/components/ds-table.js.map +1 -1
- package/dist/docs/components.json +1 -1
- package/dist/mcp-data/registry/registry.json +2 -1
- package/dist/mcp-data/registry/shell-app.json +1 -0
- package/dist/mcp-data/registry/table.json +3 -3
- package/dist/styles/table.css +13 -1
- package/dist/types/components/Table/Table.d.ts +2 -2
- package/dist/types/components/Table/table-row-view.d.ts +2 -1
- package/package.json +1 -1
package/dist/styles/table.css
CHANGED
|
@@ -209,10 +209,22 @@
|
|
|
209
209
|
}
|
|
210
210
|
|
|
211
211
|
/* Bound style and layout invalidation to recycled row shells during window updates. */
|
|
212
|
-
:where(.ds-table__table--
|
|
212
|
+
:where(.ds-table__table--windowed .ds-table__row) {
|
|
213
213
|
contain: layout style;
|
|
214
214
|
}
|
|
215
215
|
|
|
216
|
+
/*
|
|
217
|
+
* Pagination and infinite windows keep every loaded semantic row in the DOM.
|
|
218
|
+
* Let the browser skip off-screen row contents while retaining a stable scroll
|
|
219
|
+
* range from the same token-aligned row estimates used by virtual mode. The
|
|
220
|
+
* `auto` form caches each real height after the row has been laid out.
|
|
221
|
+
*/
|
|
222
|
+
:where(.ds-table__table--deferred-rows .ds-table__row) {
|
|
223
|
+
content-visibility: auto;
|
|
224
|
+
contain-intrinsic-block-size: auto
|
|
225
|
+
var(--_table-row-intrinsic-block-size, var(--_table-row-min-block-size));
|
|
226
|
+
}
|
|
227
|
+
|
|
216
228
|
:where(.ds-table__table--native-group-sticky .ds-table__header-row),
|
|
217
229
|
:where(.ds-table__table--native-group-sticky .ds-table__row),
|
|
218
230
|
:where(.ds-table__table--native-group-sticky .ds-table__skeleton-row) {
|
|
@@ -230,13 +230,13 @@ export declare class Table {
|
|
|
230
230
|
private currentLoadedRowCount;
|
|
231
231
|
private createRenderModel;
|
|
232
232
|
private get highlightMatcher();
|
|
233
|
-
private get
|
|
233
|
+
private get rowWindowingEnabled();
|
|
234
234
|
private get virtualViewportMissing();
|
|
235
235
|
private get hasVirtualViewportBounds();
|
|
236
236
|
private estimateVirtualViewportSize;
|
|
237
237
|
private virtualPinnedRowIds;
|
|
238
238
|
private syncVirtualItems;
|
|
239
|
-
private
|
|
239
|
+
private shouldWindowRows;
|
|
240
240
|
private get resolvedMaxHeight();
|
|
241
241
|
private get resolvedHeight();
|
|
242
242
|
private warnModelIssues;
|
|
@@ -15,6 +15,7 @@ export interface TableRowViewOptions {
|
|
|
15
15
|
highlightFieldIds: string[];
|
|
16
16
|
ariaRowIndex?: number;
|
|
17
17
|
variableVirtualSize?: boolean;
|
|
18
|
+
intrinsicBlockSize?: number;
|
|
18
19
|
rowKey?: string;
|
|
19
20
|
renderSelectionControl: (label: string, checked: boolean, indeterminate: boolean, disabled: boolean, onActivate: () => void) => unknown;
|
|
20
21
|
renderStickyEdge: (sticky: TableColumn['sticky']) => unknown;
|
|
@@ -25,5 +26,5 @@ export interface TableRowViewOptions {
|
|
|
25
26
|
onActionMenuToggle: (row: TableRow, column: TableColumn, event: MouseEvent) => void;
|
|
26
27
|
}
|
|
27
28
|
/** Render one semantic body row and the complete declarative table-cell vocabulary. */
|
|
28
|
-
export declare function renderTableRow({ row, model, visibleColumns, emptyCellLabel, actionMenuElementId, actionMenu, highlightMatcher, highlightFieldIds, ariaRowIndex, variableVirtualSize, rowKey, renderSelectionControl, renderStickyEdge, onRowActivate, onRowKeyDown, onRowSelection, onCellAction, onActionMenuToggle, }: TableRowViewOptions): any;
|
|
29
|
+
export declare function renderTableRow({ row, model, visibleColumns, emptyCellLabel, actionMenuElementId, actionMenu, highlightMatcher, highlightFieldIds, ariaRowIndex, variableVirtualSize, intrinsicBlockSize, rowKey, renderSelectionControl, renderStickyEdge, onRowActivate, onRowKeyDown, onRowSelection, onCellAction, onActionMenuToggle, }: TableRowViewOptions): any;
|
|
29
30
|
//# sourceMappingURL=table-row-view.d.ts.map
|