@tipolox/litgrid-renderer 1.0.1 → 1.0.3

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.
Files changed (2) hide show
  1. package/README.md +21 -0
  2. package/package.json +1 -1
package/README.md ADDED
@@ -0,0 +1,21 @@
1
+ # @tipolox/litgrid-renderer
2
+
3
+ Lower-level LitGrid virtualization and scroll-mapping utilities. This package exports:
4
+
5
+ - `createVirtualizer` for fixed-height rows.
6
+ - `createVariableVirtualizer` for variable-size rows or columns.
7
+ - `calculateDisplayLayout` and `mapDisplayScrollOffset` for capped-spacer display-to-virtual scroll mapping.
8
+ - The corresponding options, state, range, and scroll-mapping types.
9
+
10
+ Most application developers should start with `@tipolox/litgrid-web` or the React, Vue, or Angular integration. Use this package when implementing a viewport or building an integration.
11
+
12
+ ```bash
13
+ npm install @tipolox/litgrid-renderer
14
+ ```
15
+
16
+ - [Renderer utilities API](https://github.com/tipolox/litgrid/blob/main/docs/api-reference.md#renderer-utilities)
17
+ - [Installation guide](https://github.com/tipolox/litgrid/blob/main/docs/installation.md)
18
+ - [Repository](https://github.com/tipolox/litgrid)
19
+ - [Live demo](https://tipolox.com/litgrid/demo)
20
+
21
+ Licensed under the [MIT License](https://github.com/tipolox/litgrid/blob/main/LICENSE).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tipolox/litgrid-renderer",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "description": "Virtualization and scroll-mapping utilities for LitGrid.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",