Layout tree (as in design/layout.json)
{
"pattern": "list.terminal-ls-listing",
"kind": "list",
"grid": {
"perms": "1-1",
"size": "2-3",
"name": "4-6",
"date": "7-12"
},
"slots": [
"sectionLabel",
"items[4..12]"
],
"tree": {
"el": "box",
"gap": 2,
"children": [
{
"el": "text",
"color": "textMuted",
"slot": "sectionLabel",
"role": "small"
},
{
"el": "repeat",
"slot": "items",
"min": 4,
"max": 12,
"layout": "list",
"gap": 1,
"of": {
"el": "grid",
"gap": 2,
"children": [
{
"el": "text",
"span": "1-1",
"mobile": "hide",
"color": "textMuted",
"slot": "number",
"role": "small"
},
{
"el": "text",
"span": "2-3",
"mobile": "hide",
"color": "textMuted",
"slot": "meta",
"role": "small"
},
{
"el": "text",
"span": "4-6",
"color": "link",
"slot": "title",
"role": "small"
},
{
"el": "text",
"span": "7-12",
"color": "textMuted",
"slot": "body",
"role": "small"
}
]
}
}
]
}
}