@gridkitjs/core 0.12.0 → 0.12.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/README.md CHANGED
@@ -1,8 +1,10 @@
1
1
  # @gridkitjs/core
2
2
 
3
- Framework-agnostic data-grid logic — column resolution, alignment and sizing.
4
- Plain TypeScript, no DOM required, so it is reusable from any framework
5
- adapter.
3
+ Framework-agnostic data-grid logic — column resolution, alignment and sizing;
4
+ the view pipeline that filters, sorts, groups, aggregates and pages rows; the
5
+ grid controller that holds a grid's state; and the models behind its commands,
6
+ menus, context menu, toolbar, column chooser and filter editors. Plain
7
+ TypeScript, no DOM required, so it is reusable from any framework adapter.
6
8
 
7
9
  > **Early development.** The API is still moving and may break between minor
8
10
  > versions.
package/dist/index.d.ts CHANGED
@@ -1870,7 +1870,7 @@ interface GridOptions<Row> {
1870
1870
  /**
1871
1871
  * Called as the user resizes a column. Fires continuously with
1872
1872
  * `phase: "move"` and once on release with `phase: "end"` — the latter being
1873
- * the one to persist. Auto-fit does not call it; it reports user intent only.
1873
+ * the one to persist. Auto-fitting a column calls it once, with "end".
1874
1874
  */
1875
1875
  onColumnResize?: ((event: ColumnResizeEvent) => void) | undefined;
1876
1876
  /**
@@ -1955,8 +1955,8 @@ interface GridOptions<Row> {
1955
1955
  */
1956
1956
  filter?: FilterState<Row> | undefined;
1957
1957
  /**
1958
- * Called once when the filter changes — through `setFilter` for now, as
1959
- * the grid has no filter UI of its own yet.
1958
+ * Called once when the filter changes — from the toolbar's search box, the
1959
+ * `filter.clearAll` command, `setFilter` or a restored state.
1960
1960
  */
1961
1961
  onFilterChange?: ((event: FilterChangeEvent<Row>) => void) | undefined;
1962
1962
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gridkitjs/core",
3
- "version": "0.12.0",
3
+ "version": "0.12.1",
4
4
  "description": "Framework-agnostic data-grid logic: column resolution, alignment and sizing.",
5
5
  "license": "MIT",
6
6
  "author": "Blagoja Blazhevski",