feat: add promoted template edit contracts (#3407)

* feat: add promoted template edit contracts

* fix: address template contract review feedback
This commit is contained in:
James Russo
2026-08-21 18:39:17 -07:00
committed by GitHub
parent 92a6076807
commit dac8f9f912
24 changed files with 590 additions and 82 deletions
@@ -0,0 +1,18 @@
# Share-Sheet Carousel editing contract
## Surface ownership
This template depicts an operating-system share sheet. The supplied website is the item or sender shown inside that interface; it does not own the surrounding system UI.
## Editable slots
Only defaults declared in `data-composition-variables` are editable:
- `shareTitle`, `senderName`, `itemLabel`, and `stripText`
- `acceptLabel` and `declineLabel`
Keep replacement copy within 20% of the original length.
## Protected
Preserve the share-sheet palette, typography, buttons, geometry, carousel layout, slide assets, logo asset, scene structure, duration, timing, easing, and tap animation. This contract does not declare replaceable image or color slots.