@rowsncolumns/spreadsheet 10.5.11 → 10.5.12
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/cjs/components/canvas-grid/index.d.ts.map +1 -1
- package/dist/cjs/components/canvas-grid/index.js +5 -3
- package/dist/cjs/release-date.js +1 -1
- package/dist/esm/components/canvas-grid/index.d.ts.map +1 -1
- package/dist/esm/components/canvas-grid/index.js +5 -3
- package/dist/esm/release-date.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../components/canvas-grid/index.tsx"],"names":[],"mappings":"AAoDA,OAAO,KASN,MAAM,OAAO,CAAC;AAqNf,OAAO,KAAK,EAGV,QAAQ,EAWT,MAAM,aAAa,CAAC;AAoBrB,OAAO,KAAK,EACV,wBAAwB,EACxB,iBAAiB,EACjB,eAAe,EAEhB,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../components/canvas-grid/index.tsx"],"names":[],"mappings":"AAoDA,OAAO,KASN,MAAM,OAAO,CAAC;AAqNf,OAAO,KAAK,EAGV,QAAQ,EAWT,MAAM,aAAa,CAAC;AAoBrB,OAAO,KAAK,EACV,wBAAwB,EACxB,iBAAiB,EACjB,eAAe,EAEhB,MAAM,WAAW,CAAC;AAu/LnB,eAAO,MAAM,UAAU,EAA4C,CACjE,CAAC,SAAS,QAAQ,CAAC,GAAG,CAAC,EAEvB,KAAK,EAAE,eAAe,CAAC,CAAC,CAAC,GACvB,wBAAwB,GAAG;IAAE,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAA;CAAE,KAChE,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC"}
|
|
@@ -296,9 +296,11 @@ function CanvasGridComponent(props, forwardedRef) {
|
|
|
296
296
|
// To access closures
|
|
297
297
|
var hoveredCellRef = (0, use_stable_ref_1.useStableRef)(hoveredCell);
|
|
298
298
|
var _62 = tslib_1.__read((0, use_resize_observer_1.useResizeObserver)(), 2), gridContainerRef = _62[0], _63 = _62[1], width = _63.width, height = _63.height;
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
299
|
+
// Row 0 / column 0 are the heading slots and exist whether or not headings are
|
|
300
|
+
// shown (hidden headings are zero-sized, not removed), so the sheet's frozen
|
|
301
|
+
// counts always sit one past them.
|
|
302
|
+
var frozenRows = (frozenRowCount !== null && frozenRowCount !== void 0 ? frozenRowCount : 0) + 1;
|
|
303
|
+
var frozenColumns = (frozenColumnCount !== null && frozenColumnCount !== void 0 ? frozenColumnCount : 0) + 1;
|
|
302
304
|
var selectionTopBound = 1;
|
|
303
305
|
var selectionLeftBound = 1;
|
|
304
306
|
var fillHandleSize = 8;
|
package/dist/cjs/release-date.js
CHANGED
|
@@ -4,4 +4,4 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
4
4
|
exports.releaseDate = void 0;
|
|
5
5
|
exports.releaseDate =
|
|
6
6
|
// @ts-ignore
|
|
7
|
-
(_a = new Date("2026-10-
|
|
7
|
+
(_a = new Date("2026-10-22")) !== null && _a !== void 0 ? _a : new Date("2025-06-18");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../components/canvas-grid/index.tsx"],"names":[],"mappings":"AAoDA,OAAO,KASN,MAAM,OAAO,CAAC;AAqNf,OAAO,KAAK,EAGV,QAAQ,EAWT,MAAM,aAAa,CAAC;AAoBrB,OAAO,KAAK,EACV,wBAAwB,EACxB,iBAAiB,EACjB,eAAe,EAEhB,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../components/canvas-grid/index.tsx"],"names":[],"mappings":"AAoDA,OAAO,KASN,MAAM,OAAO,CAAC;AAqNf,OAAO,KAAK,EAGV,QAAQ,EAWT,MAAM,aAAa,CAAC;AAoBrB,OAAO,KAAK,EACV,wBAAwB,EACxB,iBAAiB,EACjB,eAAe,EAEhB,MAAM,WAAW,CAAC;AAu/LnB,eAAO,MAAM,UAAU,EAA4C,CACjE,CAAC,SAAS,QAAQ,CAAC,GAAG,CAAC,EAEvB,KAAK,EAAE,eAAe,CAAC,CAAC,CAAC,GACvB,wBAAwB,GAAG;IAAE,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAA;CAAE,KAChE,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC"}
|
|
@@ -255,9 +255,11 @@ function CanvasGridComponent(props, forwardedRef) {
|
|
|
255
255
|
// To access closures
|
|
256
256
|
const hoveredCellRef = useStableRef(hoveredCell);
|
|
257
257
|
const [gridContainerRef, { width, height }] = useResizeObserver();
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
258
|
+
// Row 0 / column 0 are the heading slots and exist whether or not headings are
|
|
259
|
+
// shown (hidden headings are zero-sized, not removed), so the sheet's frozen
|
|
260
|
+
// counts always sit one past them.
|
|
261
|
+
const frozenRows = (frozenRowCount ?? 0) + 1;
|
|
262
|
+
const frozenColumns = (frozenColumnCount ?? 0) + 1;
|
|
261
263
|
const selectionTopBound = 1;
|
|
262
264
|
const selectionLeftBound = 1;
|
|
263
265
|
const fillHandleSize = 8;
|
package/dist/esm/release-date.js
CHANGED