mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-11 14:50:02 +00:00
This reverts commit 3b53bfd2f7.
This commit is contained in:
@@ -1,54 +0,0 @@
|
||||
{
|
||||
"$schema": "https://hyperframes.heygen.com/schema/registry-item.json",
|
||||
"name": "input-feedback",
|
||||
"type": "hyperframes:component",
|
||||
"title": "Input Feedback",
|
||||
"description": "A transitions.dev-inspired input feedback primitive with shake, clear affordance, and success state",
|
||||
"tags": ["transition-primitive", "transitions-dev-port", "input", "feedback"],
|
||||
"files": [
|
||||
{
|
||||
"path": "input-feedback.html",
|
||||
"target": "compositions/components/input-feedback.html",
|
||||
"type": "hyperframes:snippet"
|
||||
}
|
||||
],
|
||||
"variables": [
|
||||
{
|
||||
"id": "status",
|
||||
"type": "enum",
|
||||
"role": "style",
|
||||
"label": "Status",
|
||||
"description": "Whether the field reads as accepted or rejected, colouring the border, chip and hint.",
|
||||
"default": "valid",
|
||||
"options": [
|
||||
{
|
||||
"value": "valid",
|
||||
"label": "Valid"
|
||||
},
|
||||
{
|
||||
"value": "error",
|
||||
"label": "Error"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "value",
|
||||
"type": "string",
|
||||
"role": "content",
|
||||
"label": "Value",
|
||||
"description": "Text held by the field.",
|
||||
"default": "mia@example.com"
|
||||
},
|
||||
{
|
||||
"id": "hint",
|
||||
"type": "string",
|
||||
"role": "content",
|
||||
"label": "Hint",
|
||||
"description": "Helper line under the field.",
|
||||
"default": "Looks good."
|
||||
}
|
||||
],
|
||||
"preview": {
|
||||
"poster": "https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/input-feedback.png"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user