mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-06 17:46:03 +00:00
This reverts commit 3b53bfd2f7.
This commit is contained in:
@@ -1,53 +0,0 @@
|
||||
{
|
||||
"$schema": "https://hyperframes.heygen.com/schema/registry-item.json",
|
||||
"name": "toggle-flip",
|
||||
"type": "hyperframes:component",
|
||||
"title": "Toggle Flip",
|
||||
"description": "An oversized UI toggle switch that flips with real physicality: thumb overshoot, track color crossfade, and a soft press-compress before release. The reference prop of the ui-props family.",
|
||||
"tags": ["prop", "ui-props", "toggle", "interaction", "reference-prop", "demonstrate"],
|
||||
"jobs": ["demonstrate"],
|
||||
"family": "ui-props",
|
||||
"profile": "interaction",
|
||||
"evidence": "fixture; the reference prop",
|
||||
"files": [
|
||||
{
|
||||
"path": "toggle-flip.html",
|
||||
"target": "compositions/components/toggle-flip.html",
|
||||
"type": "hyperframes:snippet"
|
||||
}
|
||||
],
|
||||
"variables": [
|
||||
{
|
||||
"id": "direction",
|
||||
"type": "enum",
|
||||
"role": "content",
|
||||
"label": "Flip direction",
|
||||
"description": "Target end state the flip lands on.",
|
||||
"default": "on",
|
||||
"options": [
|
||||
{ "value": "on", "label": "Off → On" },
|
||||
{ "value": "off", "label": "On → Off" }
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "label",
|
||||
"type": "string",
|
||||
"role": "content",
|
||||
"label": "Caption",
|
||||
"description": "Optional caption under the toggle. Blank hides the line.",
|
||||
"default": "Auto-save"
|
||||
},
|
||||
{
|
||||
"id": "size",
|
||||
"type": "number",
|
||||
"role": "layout",
|
||||
"label": "Size",
|
||||
"description": "Toggle width as a percent of the host box width.",
|
||||
"default": 40,
|
||||
"min": 20,
|
||||
"max": 70,
|
||||
"step": 1,
|
||||
"unit": "%"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user