@rip-lang/grid 0.1.0
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 +32 -0
- package/grid.rip +7 -0
- package/package.json +45 -0
package/README.md
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
<img src="https://raw.githubusercontent.com/shreeve/rip-lang/main/docs/assets/rip.png" style="width:50px" /> <br>
|
|
2
|
+
|
|
3
|
+
# Rip Grid - @rip-lang/grid
|
|
4
|
+
|
|
5
|
+
> **High-performance, reactive, virtual-scrolling data grid written entirely in Rip.**
|
|
6
|
+
|
|
7
|
+
- 100K+ rows at 60fps scroll
|
|
8
|
+
- Fine-grained reactive updates
|
|
9
|
+
- Zero dependencies — pure Rip, compiled to ES2022
|
|
10
|
+
- Semantic HTML `<table>` with sticky headers
|
|
11
|
+
- Themeable via CSS custom properties
|
|
12
|
+
- Dark mode support
|
|
13
|
+
|
|
14
|
+
## Development
|
|
15
|
+
|
|
16
|
+
From the repo root:
|
|
17
|
+
|
|
18
|
+
```bash
|
|
19
|
+
bun packages/grid/grid.rip
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
Then open http://localhost:3003.
|
|
23
|
+
|
|
24
|
+
## Status
|
|
25
|
+
|
|
26
|
+
- **Phase 1** — Viewport ✓
|
|
27
|
+
- **Phase 2** — Selection and Navigation ✓
|
|
28
|
+
- **Phase 3** — Editing ✓
|
|
29
|
+
- **Phase 4** — Features (in progress: sorting ✓, resize ✓, freeze, reorder, clipboard, undo/redo)
|
|
30
|
+
- **Phase 5** — Polish and Performance
|
|
31
|
+
|
|
32
|
+
See [GRID.md](GRID.md) for the full specification.
|
package/grid.rip
ADDED
package/package.json
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@rip-lang/grid",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "High-performance reactive data grid for Rip UI",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "grid.rip",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": "./grid.rip"
|
|
9
|
+
},
|
|
10
|
+
"scripts": {
|
|
11
|
+
"test": "echo \"Tests coming soon\" && exit 0"
|
|
12
|
+
},
|
|
13
|
+
"keywords": [
|
|
14
|
+
"grid",
|
|
15
|
+
"datagrid",
|
|
16
|
+
"table",
|
|
17
|
+
"virtual-scroll",
|
|
18
|
+
"reactive",
|
|
19
|
+
"rip",
|
|
20
|
+
"rip-lang"
|
|
21
|
+
],
|
|
22
|
+
"repository": {
|
|
23
|
+
"type": "git",
|
|
24
|
+
"url": "git+https://github.com/shreeve/rip-lang.git",
|
|
25
|
+
"directory": "packages/grid"
|
|
26
|
+
},
|
|
27
|
+
"homepage": "https://github.com/shreeve/rip-lang/tree/main/packages/grid#readme",
|
|
28
|
+
"bugs": {
|
|
29
|
+
"url": "https://github.com/shreeve/rip-lang/issues"
|
|
30
|
+
},
|
|
31
|
+
"author": "Steve Shreeve <steve.shreeve@gmail.com>",
|
|
32
|
+
"license": "MIT",
|
|
33
|
+
"files": [
|
|
34
|
+
"grid.rip",
|
|
35
|
+
"README.md"
|
|
36
|
+
],
|
|
37
|
+
"peerDependencies": {
|
|
38
|
+
"@rip-lang/ui": ">=0.3.19"
|
|
39
|
+
},
|
|
40
|
+
"peerDependenciesMeta": {
|
|
41
|
+
"@rip-lang/ui": {
|
|
42
|
+
"optional": false
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|