@aiquants/spreadsheet 0.17.3 → 0.18.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/CHANGELOG.md +46 -0
- package/README.md +48 -4
- package/dist/index.cjs +8 -8
- package/dist/index.d.cts +17 -0
- package/dist/index.d.ts +17 -0
- package/dist/index.js +3959 -3840
- package/dist/styles/spreadsheet.css +1 -1
- package/dist/styles/spreadsheet.standalone.css +1 -1
- package/package.json +1 -1
- package/src/Spreadsheet.tsx +57 -2
- package/src/overlay/SelectionOverlay.tsx +547 -24
- package/src/styles/spreadsheet.css +44 -0
package/dist/index.d.cts
CHANGED
|
@@ -2097,6 +2097,23 @@ export declare type SpreadsheetProps = {
|
|
|
2097
2097
|
* は箱を得てから知らせる。ホストはこれでグリッドの箱を中身に合わせる。
|
|
2098
2098
|
*/
|
|
2099
2099
|
onContentSizeChange?: (size: SpreadsheetContentSize) => void;
|
|
2100
|
+
/**
|
|
2101
|
+
* v0.18 — Draws a frame around a range of cells: a line of `--aqsp-frame-width` (2px by default) in
|
|
2102
|
+
* `--aqsp-frame-color`, just inside the outer edges of the range's cells, scrolling with them and scaled by the zoom
|
|
2103
|
+
* like their lines. The part of the range inside the grid is framed and nothing is drawn when that part is empty; a
|
|
2104
|
+
* range whose bounds are not non-negative integers with each start at most its end throws a RangeError. Each pane
|
|
2105
|
+
* frames the part of the range it paints, so frozen panes join into one frame and a side the range continues past
|
|
2106
|
+
* (scrolled away, or into another pane) is not drawn. The frame sits over the freeze dividers and the highlight bands
|
|
2107
|
+
* and under the active cell's frame; while a frame is drawn, the bands and the dividers stop at the last painted cell
|
|
2108
|
+
* instead of running on to the viewport's edge. The root carries `data-aqsp-framed` while a frame is set. LIVE prop.
|
|
2109
|
+
* v0.18 — セルの範囲の外枠を描く。範囲のセルの外周のすぐ内側に、`--aqsp-frame-color` で太さ `--aqsp-frame-width` (既定
|
|
2110
|
+
* 2px) の線を描き、セルと一緒にスクロールし、セルの線と同じく倍率で縮む。グリッドの中の部分を囲み、それが空なら描かない。境が
|
|
2111
|
+
* 非負の整数でないか、始まりが終わりを越える範囲は RangeError。ペインごとに自分が描く部分を囲むので、凍結のペインは継ぎ目の
|
|
2112
|
+
* 無い 1 つの枠になり、範囲がその先へ続く辺 (スクロールで外れた辺・別のペインへ続く辺) は描かない。枠は凍結の分割線と強調の帯の
|
|
2113
|
+
* 上、選んだセルの枠の下に描き、枠のある間は、帯と分割線がビューポートの端まで延びず、最後に描くセルで止まる。枠のある間、根は
|
|
2114
|
+
* `data-aqsp-framed` を持つ。
|
|
2115
|
+
*/
|
|
2116
|
+
frame?: CellRange;
|
|
2100
2117
|
/**
|
|
2101
2118
|
* AT announcement text for the active cell; omit for silence (no built-in strings). `text`
|
|
2102
2119
|
* is the RAW canonical getCellText; `displayText` is the value-format display string (the
|
package/dist/index.d.ts
CHANGED
|
@@ -2097,6 +2097,23 @@ export declare type SpreadsheetProps = {
|
|
|
2097
2097
|
* は箱を得てから知らせる。ホストはこれでグリッドの箱を中身に合わせる。
|
|
2098
2098
|
*/
|
|
2099
2099
|
onContentSizeChange?: (size: SpreadsheetContentSize) => void;
|
|
2100
|
+
/**
|
|
2101
|
+
* v0.18 — Draws a frame around a range of cells: a line of `--aqsp-frame-width` (2px by default) in
|
|
2102
|
+
* `--aqsp-frame-color`, just inside the outer edges of the range's cells, scrolling with them and scaled by the zoom
|
|
2103
|
+
* like their lines. The part of the range inside the grid is framed and nothing is drawn when that part is empty; a
|
|
2104
|
+
* range whose bounds are not non-negative integers with each start at most its end throws a RangeError. Each pane
|
|
2105
|
+
* frames the part of the range it paints, so frozen panes join into one frame and a side the range continues past
|
|
2106
|
+
* (scrolled away, or into another pane) is not drawn. The frame sits over the freeze dividers and the highlight bands
|
|
2107
|
+
* and under the active cell's frame; while a frame is drawn, the bands and the dividers stop at the last painted cell
|
|
2108
|
+
* instead of running on to the viewport's edge. The root carries `data-aqsp-framed` while a frame is set. LIVE prop.
|
|
2109
|
+
* v0.18 — セルの範囲の外枠を描く。範囲のセルの外周のすぐ内側に、`--aqsp-frame-color` で太さ `--aqsp-frame-width` (既定
|
|
2110
|
+
* 2px) の線を描き、セルと一緒にスクロールし、セルの線と同じく倍率で縮む。グリッドの中の部分を囲み、それが空なら描かない。境が
|
|
2111
|
+
* 非負の整数でないか、始まりが終わりを越える範囲は RangeError。ペインごとに自分が描く部分を囲むので、凍結のペインは継ぎ目の
|
|
2112
|
+
* 無い 1 つの枠になり、範囲がその先へ続く辺 (スクロールで外れた辺・別のペインへ続く辺) は描かない。枠は凍結の分割線と強調の帯の
|
|
2113
|
+
* 上、選んだセルの枠の下に描き、枠のある間は、帯と分割線がビューポートの端まで延びず、最後に描くセルで止まる。枠のある間、根は
|
|
2114
|
+
* `data-aqsp-framed` を持つ。
|
|
2115
|
+
*/
|
|
2116
|
+
frame?: CellRange;
|
|
2100
2117
|
/**
|
|
2101
2118
|
* AT announcement text for the active cell; omit for silence (no built-in strings). `text`
|
|
2102
2119
|
* is the RAW canonical getCellText; `displayText` is the value-format display string (the
|