@uniformdev/canvas-react 18.6.0 → 18.7.0
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/dist/index.esm.js +3 -0
- package/dist/index.js +3 -0
- package/dist/index.mjs +3 -0
- package/package.json +5 -5
package/dist/index.esm.js
CHANGED
|
@@ -360,6 +360,9 @@ var useUniformContextualEditing = ({
|
|
|
360
360
|
if (existingScript) {
|
|
361
361
|
return;
|
|
362
362
|
}
|
|
363
|
+
window.__UNIFORM_CONTEXTUAL_EDITING__ = {
|
|
364
|
+
framework: "React"
|
|
365
|
+
};
|
|
363
366
|
const script = document.createElement("script");
|
|
364
367
|
script.id = IN_CONTEXT_EDITOR_EMBED_SCRIPT_ID;
|
|
365
368
|
script.src = getCanvasInContextEmbedScriptUrl();
|
package/dist/index.js
CHANGED
|
@@ -393,6 +393,9 @@ var useUniformContextualEditing = ({
|
|
|
393
393
|
if (existingScript) {
|
|
394
394
|
return;
|
|
395
395
|
}
|
|
396
|
+
window.__UNIFORM_CONTEXTUAL_EDITING__ = {
|
|
397
|
+
framework: "React"
|
|
398
|
+
};
|
|
396
399
|
const script = document.createElement("script");
|
|
397
400
|
script.id = import_canvas5.IN_CONTEXT_EDITOR_EMBED_SCRIPT_ID;
|
|
398
401
|
script.src = getCanvasInContextEmbedScriptUrl();
|
package/dist/index.mjs
CHANGED
|
@@ -360,6 +360,9 @@ var useUniformContextualEditing = ({
|
|
|
360
360
|
if (existingScript) {
|
|
361
361
|
return;
|
|
362
362
|
}
|
|
363
|
+
window.__UNIFORM_CONTEXTUAL_EDITING__ = {
|
|
364
|
+
framework: "React"
|
|
365
|
+
};
|
|
363
366
|
const script = document.createElement("script");
|
|
364
367
|
script.id = IN_CONTEXT_EDITOR_EMBED_SCRIPT_ID;
|
|
365
368
|
script.src = getCanvasInContextEmbedScriptUrl();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/canvas-react",
|
|
3
|
-
"version": "18.
|
|
3
|
+
"version": "18.7.0",
|
|
4
4
|
"description": "React SDK for Uniform Canvas",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -23,9 +23,9 @@
|
|
|
23
23
|
"format": "prettier --write \"src/**/*.{js,ts,tsx}\""
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@uniformdev/canvas": "18.
|
|
27
|
-
"@uniformdev/context": "18.
|
|
28
|
-
"@uniformdev/context-react": "18.
|
|
26
|
+
"@uniformdev/canvas": "18.7.0",
|
|
27
|
+
"@uniformdev/context": "18.7.0",
|
|
28
|
+
"@uniformdev/context-react": "18.7.0"
|
|
29
29
|
},
|
|
30
30
|
"peerDependencies": {
|
|
31
31
|
"react": ">= 16 || 17 || 18",
|
|
@@ -42,5 +42,5 @@
|
|
|
42
42
|
"publishConfig": {
|
|
43
43
|
"access": "public"
|
|
44
44
|
},
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "eaf3d0e5c1c124d6b449a2f2b16b327d6f3d3666"
|
|
46
46
|
}
|