@omnigrid/selection-plugin 0.1.0 → 0.1.2

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 +31 -0
  2. package/package.json +17 -2
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,22 @@
1
1
  {
2
2
  "name": "@omnigrid/selection-plugin",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "Headless row selection plugin for OmniGrid",
5
+ "keywords": [
6
+ "omnigrid",
7
+ "grid",
8
+ "selection",
9
+ "plugin"
10
+ ],
11
+ "repository": {
12
+ "type": "git",
13
+ "url": "https://github.com/KRZK-Apps/omnigrid.git",
14
+ "directory": "plugins/base/selection"
15
+ },
16
+ "homepage": "https://github.com/KRZK-Apps/omnigrid/tree/main/plugins/base/selection#readme",
17
+ "bugs": {
18
+ "url": "https://github.com/KRZK-Apps/omnigrid/issues"
19
+ },
5
20
  "license": "MIT",
6
21
  "type": "module",
7
22
  "main": "dist/index.js",
@@ -22,6 +37,6 @@
22
37
  "prepublishOnly": "npm run build"
23
38
  },
24
39
  "dependencies": {
25
- "@omnigrid/core": "0.1.0"
40
+ "@omnigrid/core": "^0.1.0"
26
41
  }
27
42
  }