@ossclip/scenes 0.1.28 → 0.1.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ossclip/scenes",
3
- "version": "0.1.28",
3
+ "version": "0.1.30",
4
4
  "description": "ossclip's scene library and stage geometry — React components shared by preview and render",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -19,7 +19,7 @@
19
19
  ],
20
20
  "dependencies": {
21
21
  "zod": "^3.25.0",
22
- "@ossclip/core": "0.1.28"
22
+ "@ossclip/core": "0.1.30"
23
23
  },
24
24
  "peerDependencies": {
25
25
  "react": ">=18",
@@ -24,8 +24,12 @@ export const ScreenshotFrame: React.FC<{
24
24
  : null;
25
25
  return (
26
26
  <div
27
- data-edit-id="image"
28
- style={{ ...pop(p), position: "relative", width: "94%", ...editStyle(edits, "image") }}
27
+ // "src", not "image" (§153): the editor resolves a selected element as
28
+ // props[editId], so an id naming no prop yields no Text field and the
29
+ // element is silently uneditable — you could select the screenshot and
30
+ // never change which file it showed. The id IS the prop name.
31
+ data-edit-id="src"
32
+ style={{ ...pop(p), position: "relative", width: "94%", ...editStyle(edits, "src") }}
29
33
  >
30
34
  <div
31
35
  style={{