Skip to content

Commit 9140ee5

Browse files
vanceingallsclaude
andcommitted
docs(sdk): pin editing-affordances availability to @hyperframes/[email protected]
Concrete version now that the /editing subpath shipped in v0.7.22 (review follow-up). Also forces a fresh Mintlify build to register the new SDK tab. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
1 parent 36e01f4 commit 9140ee5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎docs/sdk/guides/editing-affordances.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description: "Resolve capability flags and inspector sections for a selected ele
66
`resolveElementAffordances` answers the question "what can the user do with this element right now?" given a live DOM element and its SDK model entry. It returns two objects: `capabilities` (boolean flags for each edit action) and `sections` (which inspector panels apply). You use these to conditionally render controls in your editor's detail panel rather than showing a fixed field set for all elements.
77

88
<Note>
9-
This API lives on the `@hyperframes/sdk/editing` subpath, added in the editing-affordances change (merged to `main`). It is available in any `@hyperframes/sdk` build cut from `main` after that merge — if the import fails to resolve, upgrade to the latest `0.7.x`.
9+
This API lives on the `@hyperframes/sdk/editing` subpath, available since `@hyperframes/sdk@0.7.22`. If the import fails to resolve, upgrade: `npm install @hyperframes/sdk@latest`.
1010
</Note>
1111

1212
## Import

0 commit comments

Comments
 (0)