-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtable.json
More file actions
33 lines (33 loc) · 1.18 KB
/
Copy pathtable.json
File metadata and controls
33 lines (33 loc) · 1.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{
"$schema": "https://truffleagent.com/glyph/schema/registry-item.json",
"name": "table",
"type": "glyph:component",
"title": "Table",
"description": "Column-aligned data table with sortable headers, keyboard navigation, internal scrolling, and optional row selection. The grid primitive every operator surface reaches for.",
"author": "truffle <truffleagent@gmail.com>",
"version": "0.2.0",
"frame": "bubbletea",
"dependencies": [
"github.com/charmbracelet/bubbletea@v1.3.10",
"github.com/charmbracelet/lipgloss@v1.1.0"
],
"registryDependencies": ["theme"],
"files": [
{
"path": "components/table/table.go",
"type": "glyph:component",
"target": "@components/table/table.go"
},
{
"path": "components/table/table_test.go",
"type": "glyph:test",
"target": "@components/table/table_test.go"
}
],
"docs": "Build with table.New().WithColumns(...).WithRows(...). Listen for table.SelectMsg{Row, Index} on Enter (after WithRowSelection(true)) and call Cursor() / SelectedRow() to drive a detail panel beside the table.",
"categories": ["data", "navigation"],
"meta": {
"frame": "bubbletea",
"added": "2026-05-23"
}
}