fix: register FolkChoiceConviction component in canvas
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
b52aa8298b
commit
f86c6234af
|
|
@ -1774,6 +1774,7 @@
|
|||
FolkChoiceVote,
|
||||
FolkChoiceRank,
|
||||
FolkChoiceSpider,
|
||||
FolkChoiceConviction,
|
||||
FolkSocialPost,
|
||||
FolkSplat,
|
||||
FolkBlender,
|
||||
|
|
@ -1892,6 +1893,7 @@
|
|||
FolkChoiceVote.define();
|
||||
FolkChoiceRank.define();
|
||||
FolkChoiceSpider.define();
|
||||
FolkChoiceConviction.define();
|
||||
FolkSocialPost.define();
|
||||
FolkSplat.define();
|
||||
FolkBlender.define();
|
||||
|
|
@ -2116,7 +2118,7 @@
|
|||
"folk-budget", "folk-packing-list", "folk-booking",
|
||||
"folk-token-mint", "folk-token-ledger",
|
||||
"folk-choice-vote", "folk-choice-rank", "folk-choice-spider",
|
||||
"folk-social-post",
|
||||
"folk-choice-conviction", "folk-social-post",
|
||||
"folk-splat", "folk-blender", "folk-drawfast",
|
||||
"folk-freecad", "folk-kicad",
|
||||
"folk-rapp",
|
||||
|
|
@ -2791,6 +2793,12 @@
|
|||
if (data.criteria) shape.criteria = data.criteria;
|
||||
if (data.scores) shape.scores = data.scores;
|
||||
break;
|
||||
case "folk-choice-conviction":
|
||||
shape = document.createElement("folk-choice-conviction");
|
||||
if (data.title) shape.title = data.title;
|
||||
if (data.options) shape.options = data.options;
|
||||
if (data.stakes) shape.stakes = data.stakes;
|
||||
break;
|
||||
case "folk-social-post":
|
||||
shape = document.createElement("folk-social-post");
|
||||
if (data.platform) shape.platform = data.platform;
|
||||
|
|
@ -2949,6 +2957,7 @@
|
|||
"folk-choice-vote": { width: 360, height: 400 },
|
||||
"folk-choice-rank": { width: 380, height: 480 },
|
||||
"folk-choice-spider": { width: 440, height: 540 },
|
||||
"folk-choice-conviction": { width: 380, height: 480 },
|
||||
"folk-social-post": { width: 300, height: 380 },
|
||||
"folk-splat": { width: 480, height: 420 },
|
||||
"folk-blender": { width: 420, height: 520 },
|
||||
|
|
|
|||
Loading…
Reference in New Issue