@ds-mo/ui 14.29.2 → 14.30.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.
@@ -193,6 +193,12 @@ export declare class Table {
193
193
  componentWillLoad(): void;
194
194
  componentDidLoad(): void;
195
195
  componentDidRender(): void;
196
+ /**
197
+ * Scroll the nearest vertical owner only enough to reveal a supplied row.
198
+ * Resolves false when the row is absent from the supplied, expanded table model.
199
+ * This method never moves focus.
200
+ */
201
+ scrollRowIntoView(rowId: string): Promise<boolean>;
196
202
  connectedCallback(): void;
197
203
  disconnectedCallback(): void;
198
204
  private syncHeaderSlotPresence;
@@ -245,6 +251,9 @@ export declare class Table {
245
251
  private get hasVirtualViewportBounds();
246
252
  private estimateVirtualViewportSize;
247
253
  private virtualPinnedRowIds;
254
+ private findRenderedRow;
255
+ private revealRenderedRow;
256
+ private nextAnimationFrame;
248
257
  private syncVirtualItems;
249
258
  private shouldWindowRows;
250
259
  private get resolvedMaxHeight();
@@ -46,6 +46,8 @@ export declare class TableVirtualController {
46
46
  sizeFor(item: TableVirtualItem): number;
47
47
  currentPlan(): TableVirtualPlan | null;
48
48
  currentViewportSize(): number;
49
+ /** Reveal a supplied row without requiring its recycled DOM node to exist first. */
50
+ scrollRowIntoView(rowId: string, contentOffset?: number, stickyInset?: number): boolean;
49
51
  /** Measure painted rows and correct scroll when estimates were wrong. */
50
52
  collectMeasurements(root: ParentNode | null): void;
51
53
  private applyMeasurements;
@@ -3443,6 +3443,10 @@ export namespace Components {
3443
3443
  * Optional explicit label for the horizontal/vertical scroll region.
3444
3444
  */
3445
3445
  "scrollLabel": string | undefined;
3446
+ /**
3447
+ * Scroll the nearest vertical owner only enough to reveal a supplied row. Resolves false when the row is absent from the supplied, expanded table model. This method never moves focus.
3448
+ */
3449
+ "scrollRowIntoView": (rowId: string) => Promise<boolean>;
3446
3450
  /**
3447
3451
  * Controlled selected row identities. IDs outside the loaded rows are preserved.
3448
3452
  * @default []
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ds-mo/ui",
3
- "version": "14.29.2",
3
+ "version": "14.30.0",
4
4
  "description": "CompoMo — composable web components styled with TokoMo design tokens",
5
5
  "keywords": [
6
6
  "web-components",