@design.estate/dees-catalog 21.46.0 → 21.46.1

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.
@@ -3,7 +3,7 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@design.estate/dees-catalog',
6
- version: '21.46.0',
6
+ version: '21.46.1',
7
7
  description: 'A comprehensive library that provides dynamic web components for building sophisticated and modern web applications using JavaScript and TypeScript.'
8
8
  };
9
9
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMDBfY29tbWl0aW5mb19kYXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHNfd2ViLzAwX2NvbW1pdGluZm9fZGF0YS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUNILE1BQU0sQ0FBQyxNQUFNLFVBQVUsR0FBRztJQUN4QixJQUFJLEVBQUUsNkJBQTZCO0lBQ25DLE9BQU8sRUFBRSxTQUFTO0lBQ2xCLFdBQVcsRUFBRSxzSkFBc0o7Q0FDcEssQ0FBQSJ9
@@ -106,9 +106,13 @@ export declare class DeesTable<T> extends DeesElement {
106
106
  * the reader scrolled in between. Rows that share an id (a `rowKey` naming
107
107
  * a missing or repeated field, one object listed twice) are told apart by
108
108
  * position. A column widens when the
109
- * window changes, `data` is replaced or a cell edit is committed and the
110
- * rows on screen hold a wider value than it was sized for; a row changed in
111
- * place without either widens it when the window next changes. Browser
109
+ * window changes, `data` is replaced, a search, a filter or a sort shows
110
+ * other rows or a cell edit is committed and the rows on screen hold a
111
+ * wider value than it was sized for; a row changed in place without any of
112
+ * these widens it when the window next changes. A widening column takes the
113
+ * room the columns were stretched by to fill the container first: the table
114
+ * grows wider than its container only once the values on screen so far need
115
+ * more than it holds. Browser
112
116
  * scroll anchoring is off for the table's rows. Recommended for tables with
113
117
  * > a few hundred rows.
114
118
  */
@@ -320,8 +324,17 @@ export declare class DeesTable<T> extends DeesElement {
320
324
  * virtualized.
321
325
  */
322
326
  private __settledAnchor?;
323
- /** The window whose values the column widths were last checked against. */
327
+ /**
328
+ * The window, and the view it showed, whose values the column widths were
329
+ * last checked against: a search, a filter or a sort shows other rows in the
330
+ * same window.
331
+ */
324
332
  private __virtualColumnsCheckedFor?;
333
+ /**
334
+ * What each data column's values have needed, laid out at their natural
335
+ * width, in the windows shown since the widths were frozen.
336
+ */
337
+ private __columnContentWidths?;
325
338
  private __virtualSettleFrame?;
326
339
  /** Currently rendered range [start, end). Triggers re-render when changed. */
327
340
  private accessor __virtualRange;
@@ -497,9 +510,13 @@ export declare class DeesTable<T> extends DeesElement {
497
510
  /**
498
511
  * The column widths are frozen from the first window. Under virtualization
499
512
  * later windows bring other values, so a column widens to the widest value
500
- * rendered so far: the window is laid out at its natural widths once and
501
- * every column keeps the larger of that and its frozen width. Returns
502
- * whether a column widened.
513
+ * rendered so far: the window is laid out at its natural widths once, and
514
+ * each column needs the widest it has been in any window since the freeze.
515
+ * A column that needs more than it has takes the room the columns were
516
+ * stretched by to fill the table's container, shared out in proportion to
517
+ * what each needs as the browser shares it; the table grows wider than its
518
+ * container only once the columns need more than it holds. Returns whether
519
+ * a column's width changed.
503
520
  */
504
521
  private __growColumnWidths;
505
522
  /** Settles the window on the next frame: at most one range change per frame. */