Initial commit

This commit is contained in:
Zhongwei Li
2025-11-30 09:02:33 +08:00
commit 0c40192593
82 changed files with 18699 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
{
"id": "{{id}}",
"type": "badge",
"version": "1.0.0",
"metadata": {
"name": "{{name}}",
"description": "{{description}}",
"created": "{{timestamp}}",
"modified": "{{timestamp}}",
"tags": ["badge", "{{screenContext}}"],
"category": "display",
"fidelity": "sketch"
},
"props": {
"text": "{{text}}"
},
"behavior": {
"states": [
{"name": "default", "properties": {}}
],
"accessibility": {
"role": "status",
"focusable": false
}
},
"ascii": {
"templateFile": "{{id}}.md",
"width": 15,
"height": 1
}
}

View File

@@ -0,0 +1,31 @@
{
"id": "{{id}}",
"type": "button",
"version": "1.0.0",
"metadata": {
"name": "{{name}}",
"description": "{{description}}",
"created": "{{timestamp}}",
"modified": "{{timestamp}}",
"tags": ["button", "{{screenContext}}"],
"category": "form",
"fidelity": "sketch"
},
"props": {
"label": "{{label}}"
},
"behavior": {
"states": [
{"name": "default", "properties": {}}
],
"accessibility": {
"role": "button",
"focusable": true
}
},
"ascii": {
"templateFile": "{{id}}.md",
"width": 20,
"height": 3
}
}

View File

@@ -0,0 +1,32 @@
{
"id": "{{id}}",
"type": "card",
"version": "1.0.0",
"metadata": {
"name": "{{name}}",
"description": "{{description}}",
"created": "{{timestamp}}",
"modified": "{{timestamp}}",
"tags": ["card", "{{screenContext}}"],
"category": "display",
"fidelity": "sketch"
},
"props": {
"title": "{{title}}",
"content": "{{content}}"
},
"behavior": {
"states": [
{"name": "default", "properties": {}}
],
"accessibility": {
"role": "article",
"focusable": false
}
},
"ascii": {
"templateFile": "{{id}}.md",
"width": 50,
"height": 10
}
}

View File

@@ -0,0 +1,32 @@
{
"id": "{{id}}",
"type": "checkbox",
"version": "1.0.0",
"metadata": {
"name": "{{name}}",
"description": "{{description}}",
"created": "{{timestamp}}",
"modified": "{{timestamp}}",
"tags": ["checkbox", "{{screenContext}}"],
"category": "form",
"fidelity": "sketch"
},
"props": {
"label": "{{label}}",
"checked": false
},
"behavior": {
"states": [
{"name": "default", "properties": {}}
],
"accessibility": {
"role": "checkbox",
"focusable": true
}
},
"ascii": {
"templateFile": "{{id}}.md",
"width": 30,
"height": 1
}
}

View File

@@ -0,0 +1,31 @@
{
"id": "{{id}}",
"type": "container",
"version": "1.0.0",
"metadata": {
"name": "{{name}}",
"description": "{{description}}",
"created": "{{timestamp}}",
"modified": "{{timestamp}}",
"tags": ["container", "{{screenContext}}"],
"category": "layout",
"fidelity": "sketch"
},
"props": {
"children": []
},
"behavior": {
"states": [
{"name": "default", "properties": {}}
],
"accessibility": {
"role": "region",
"focusable": false
}
},
"ascii": {
"templateFile": "{{id}}.md",
"width": 80,
"height": 30
}
}

View File

@@ -0,0 +1,31 @@
{
"id": "{{id}}",
"type": "form",
"version": "1.0.0",
"metadata": {
"name": "{{name}}",
"description": "{{description}}",
"created": "{{timestamp}}",
"modified": "{{timestamp}}",
"tags": ["form", "{{screenContext}}"],
"category": "form",
"fidelity": "sketch"
},
"props": {
"fields": []
},
"behavior": {
"states": [
{"name": "default", "properties": {}}
],
"accessibility": {
"role": "form",
"focusable": true
}
},
"ascii": {
"templateFile": "{{id}}.md",
"width": 60,
"height": 25
}
}

View File

@@ -0,0 +1,31 @@
{
"id": "{{id}}",
"type": "icon",
"version": "1.0.0",
"metadata": {
"name": "{{name}}",
"description": "{{description}}",
"created": "{{timestamp}}",
"modified": "{{timestamp}}",
"tags": ["icon", "{{screenContext}}"],
"category": "display",
"fidelity": "sketch"
},
"props": {
"symbol": "{{symbol}}"
},
"behavior": {
"states": [
{"name": "default", "properties": {}}
],
"accessibility": {
"role": "img",
"focusable": false
}
},
"ascii": {
"templateFile": "{{id}}.md",
"width": 3,
"height": 1
}
}

View File

@@ -0,0 +1,32 @@
{
"id": "{{id}}",
"type": "input",
"version": "1.0.0",
"metadata": {
"name": "{{name}}",
"description": "{{description}}",
"created": "{{timestamp}}",
"modified": "{{timestamp}}",
"tags": ["input", "{{screenContext}}"],
"category": "form",
"fidelity": "sketch"
},
"props": {
"placeholder": "{{placeholder}}",
"label": "{{label}}"
},
"behavior": {
"states": [
{"name": "default", "properties": {}}
],
"accessibility": {
"role": "textbox",
"focusable": true
}
},
"ascii": {
"templateFile": "{{id}}.md",
"width": 40,
"height": 3
}
}

View File

@@ -0,0 +1,31 @@
{
"id": "{{id}}",
"type": "list",
"version": "1.0.0",
"metadata": {
"name": "{{name}}",
"description": "{{description}}",
"created": "{{timestamp}}",
"modified": "{{timestamp}}",
"tags": ["list", "{{screenContext}}"],
"category": "display",
"fidelity": "sketch"
},
"props": {
"items": []
},
"behavior": {
"states": [
{"name": "default", "properties": {}}
],
"accessibility": {
"role": "list",
"focusable": false
}
},
"ascii": {
"templateFile": "{{id}}.md",
"width": 60,
"height": 20
}
}

View File

@@ -0,0 +1,32 @@
{
"id": "{{id}}",
"type": "modal",
"version": "1.0.0",
"metadata": {
"name": "{{name}}",
"description": "{{description}}",
"created": "{{timestamp}}",
"modified": "{{timestamp}}",
"tags": ["modal", "{{screenContext}}"],
"category": "overlay",
"fidelity": "sketch"
},
"props": {
"title": "{{title}}",
"content": "{{content}}"
},
"behavior": {
"states": [
{"name": "default", "properties": {}}
],
"accessibility": {
"role": "dialog",
"focusable": true
}
},
"ascii": {
"templateFile": "{{id}}.md",
"width": 60,
"height": 20
}
}

View File

@@ -0,0 +1,31 @@
{
"id": "{{id}}",
"type": "navigation",
"version": "1.0.0",
"metadata": {
"name": "{{name}}",
"description": "{{description}}",
"created": "{{timestamp}}",
"modified": "{{timestamp}}",
"tags": ["navigation", "{{screenContext}}"],
"category": "navigation",
"fidelity": "sketch"
},
"props": {
"items": []
},
"behavior": {
"states": [
{"name": "default", "properties": {}}
],
"accessibility": {
"role": "navigation",
"focusable": true
}
},
"ascii": {
"templateFile": "{{id}}.md",
"width": 80,
"height": 5
}
}