@omnigrid/selection-plugin 0.1.0 → 0.1.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 +31 -0
- package/package.json +9 -1
package/README.md
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# @omnigrid/selection-plugin
|
|
2
|
+
|
|
3
|
+
Headless row/column selection plugin for OmniGrid.
|
|
4
|
+
|
|
5
|
+
## What it provides
|
|
6
|
+
|
|
7
|
+
- Row selection (single, multi, range, checkbox toggle)
|
|
8
|
+
- Cell selection with range drag
|
|
9
|
+
- Keyboard navigation support (Shift+Click, Ctrl+Click)
|
|
10
|
+
- API to read/modify selection state programmatically
|
|
11
|
+
|
|
12
|
+
## Usage
|
|
13
|
+
|
|
14
|
+
```ts
|
|
15
|
+
import { selectionPlugin } from "@omnigrid/selection-plugin";
|
|
16
|
+
|
|
17
|
+
const grid = new Grid({
|
|
18
|
+
plugins: [selectionPlugin()],
|
|
19
|
+
// ...
|
|
20
|
+
});
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
## Links
|
|
24
|
+
|
|
25
|
+
- **Source:** https://github.com/KRZK-Apps/omnigrid/tree/main/plugins/base/selection
|
|
26
|
+
- **Demo:** https://omnigrid-demo.vercel.app/
|
|
27
|
+
- **Issues:** https://github.com/KRZK-Apps/omnigrid/issues
|
|
28
|
+
|
|
29
|
+
## License
|
|
30
|
+
|
|
31
|
+
MIT © KRZK Apps
|
package/package.json
CHANGED
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@omnigrid/selection-plugin",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Headless row selection plugin for OmniGrid",
|
|
5
|
+
"keywords": ["omnigrid", "grid", "selection", "plugin"],
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "https://github.com/KRZK-Apps/omnigrid.git",
|
|
9
|
+
"directory": "plugins/base/selection"
|
|
10
|
+
},
|
|
11
|
+
"homepage": "https://github.com/KRZK-Apps/omnigrid/tree/main/plugins/base/selection#readme",
|
|
12
|
+
"bugs": { "url": "https://github.com/KRZK-Apps/omnigrid/issues" },
|
|
5
13
|
"license": "MIT",
|
|
6
14
|
"type": "module",
|
|
7
15
|
"main": "dist/index.js",
|