mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-07 01:56:04 +00:00
This reverts commit 3b53bfd2f7.
This commit is contained in:
@@ -1,66 +0,0 @@
|
||||
{
|
||||
"$schema": "https://hyperframes.heygen.com/schema/registry-item.json",
|
||||
"name": "menu-morph",
|
||||
"type": "hyperframes:component",
|
||||
"title": "Menu Morph",
|
||||
"description": "A transitions.dev-inspired hamburger and plus-menu morph primitive for compact action menus",
|
||||
"tags": ["video-primitive", "transition-primitive", "transitions-dev-port", "menu", "morph"],
|
||||
"files": [
|
||||
{
|
||||
"path": "menu-morph.html",
|
||||
"target": "compositions/components/menu-morph.html",
|
||||
"type": "hyperframes:snippet"
|
||||
}
|
||||
],
|
||||
"variables": [
|
||||
{
|
||||
"id": "actions",
|
||||
"type": "string",
|
||||
"role": "content",
|
||||
"label": "Actions",
|
||||
"description": "Comma separated labels for the pills that fan out under the button. Up to six.",
|
||||
"default": "Text, Image, Audio"
|
||||
},
|
||||
{
|
||||
"id": "tone",
|
||||
"type": "enum",
|
||||
"role": "style",
|
||||
"label": "Tone",
|
||||
"description": "Colour of the round button behind the white bars.",
|
||||
"default": "ink",
|
||||
"options": [
|
||||
{
|
||||
"value": "ink",
|
||||
"label": "Ink"
|
||||
},
|
||||
{
|
||||
"value": "green",
|
||||
"label": "Green"
|
||||
},
|
||||
{
|
||||
"value": "blue",
|
||||
"label": "Blue"
|
||||
},
|
||||
{
|
||||
"value": "violet",
|
||||
"label": "Violet"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "size",
|
||||
"type": "number",
|
||||
"role": "layout",
|
||||
"label": "Button size",
|
||||
"description": "Diameter of the round button in pixels. The bars scale with it.",
|
||||
"default": 68,
|
||||
"min": 52,
|
||||
"max": 112,
|
||||
"step": 4,
|
||||
"unit": "px"
|
||||
}
|
||||
],
|
||||
"preview": {
|
||||
"poster": "https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/menu-morph.png"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user