@aiquants/spreadsheet 0.17.0 → 0.17.2

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
@@ -2088,11 +2088,13 @@ export declare type SpreadsheetProps = {
2088
2088
  /**
2089
2089
  * v0.17 — Receives the size of the grid's content (`SpreadsheetContentSize`) after the first layout and again after
2090
2090
  * every change of it: a track's size (a resize, an autofit, a hide or unhide, the imperative resizeRow / resizeColumn),
2091
- * the row or column count, the default sizes, the zoom or `headings`. An unchanged size is not repeated. A host uses it
2092
- * to size the grid's box to its content.
2091
+ * the row or column count, the default sizes, the zoom or `headings`. An unchanged size is not repeated. A grid with no
2092
+ * rows or no columns draws nothing and reports 0 × 0; a grid without a layout box (under a `display: none` ancestor)
2093
+ * reports once it has one. A host uses it to size the grid's box to its content.
2093
2094
  * v0.17 — グリッドの中身の大きさ (`SpreadsheetContentSize`) を、最初の配置の後と、それが変わるたびに受け取る (トラックの
2094
2095
  * 大きさ — 境の操作・autofit・隠す・再表示・命令の resizeRow / resizeColumn —、行や列の数、既定の大きさ、倍率、`headings`)。
2095
- * 同じ大きさは繰り返さない。ホストはこれでグリッドの箱を中身に合わせる。
2096
+ * 同じ大きさは繰り返さない。行か列の無いグリッドは何も描かないので 0 × 0、配置の箱の無いグリッド (display: none の祖先の中)
2097
+ * は箱を得てから知らせる。ホストはこれでグリッドの箱を中身に合わせる。
2096
2098
  */
2097
2099
  onContentSizeChange?: (size: SpreadsheetContentSize) => void;
2098
2100
  /**
package/dist/index.d.ts CHANGED
@@ -2088,11 +2088,13 @@ export declare type SpreadsheetProps = {
2088
2088
  /**
2089
2089
  * v0.17 — Receives the size of the grid's content (`SpreadsheetContentSize`) after the first layout and again after
2090
2090
  * every change of it: a track's size (a resize, an autofit, a hide or unhide, the imperative resizeRow / resizeColumn),
2091
- * the row or column count, the default sizes, the zoom or `headings`. An unchanged size is not repeated. A host uses it
2092
- * to size the grid's box to its content.
2091
+ * the row or column count, the default sizes, the zoom or `headings`. An unchanged size is not repeated. A grid with no
2092
+ * rows or no columns draws nothing and reports 0 × 0; a grid without a layout box (under a `display: none` ancestor)
2093
+ * reports once it has one. A host uses it to size the grid's box to its content.
2093
2094
  * v0.17 — グリッドの中身の大きさ (`SpreadsheetContentSize`) を、最初の配置の後と、それが変わるたびに受け取る (トラックの
2094
2095
  * 大きさ — 境の操作・autofit・隠す・再表示・命令の resizeRow / resizeColumn —、行や列の数、既定の大きさ、倍率、`headings`)。
2095
- * 同じ大きさは繰り返さない。ホストはこれでグリッドの箱を中身に合わせる。
2096
+ * 同じ大きさは繰り返さない。行か列の無いグリッドは何も描かないので 0 × 0、配置の箱の無いグリッド (display: none の祖先の中)
2097
+ * は箱を得てから知らせる。ホストはこれでグリッドの箱を中身に合わせる。
2096
2098
  */
2097
2099
  onContentSizeChange?: (size: SpreadsheetContentSize) => void;
2098
2100
  /**