@aiquants/spreadsheet 0.17.0 → 0.17.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.
- package/CHANGELOG.md +36 -0
- package/README.md +20 -7
- package/dist/index.cjs +8 -8
- package/dist/index.d.cts +5 -3
- package/dist/index.d.ts +5 -3
- package/dist/index.js +2675 -2625
- package/dist/styles/spreadsheet.css +1 -1
- package/dist/styles/spreadsheet.standalone.css +1 -1
- package/package.json +1 -1
- package/src/Spreadsheet.tsx +106 -17
- package/src/header/useHeaderResize.ts +11 -5
- package/src/keyboard/useGridKeyboard.ts +10 -2
- package/src/styles/spreadsheet.css +12 -2
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
|
|
2092
|
-
*
|
|
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
|
|
2092
|
-
*
|
|
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
|
/**
|