@gridsheet/preact-core 3.0.0-rc.3 → 3.0.0-rc.6

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/types.d.ts CHANGED
@@ -91,8 +91,8 @@ export type CellType<T = any, Custom = any> = {
91
91
  prevention?: OperationType;
92
92
  /** Cached result from an async formula. Stored directly on the cell for serializability. */
93
93
  asyncCaches?: Record<string, AsyncCache>;
94
- /** Filter configuration. Set on col-header cells (y=0). */
95
- filter?: FilterConfig;
94
+ /** Filter configuration. Set on col-header cells (y=0). null means explicitly absent (used in undo diffBefore to survive JSON serialization). */
95
+ filter?: FilterConfig | null;
96
96
  /** Whether this row is hidden by a filter. Set on row-header cells (x=0). */
97
97
  filtered?: boolean;
98
98
  /** If true, this row is excluded from sort and stays at its original position. Set on row-header cells (x=0). */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gridsheet/preact-core",
3
- "version": "3.0.0-rc.3",
3
+ "version": "3.0.0-rc.6",
4
4
  "description": "Spreadsheet component for Preact",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",