@uniformdev/canvas-react 20.67.1-alpha.27 → 20.68.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/core.js CHANGED
@@ -51,7 +51,7 @@ var PureContextualEditingComponentWrapper = ({
51
51
  }) => {
52
52
  var _a, _b, _c, _d;
53
53
  return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement(
54
- "template",
54
+ "script",
55
55
  {
56
56
  "data-role": import_canvas.IN_CONTEXT_EDITOR_COMPONENT_START_ROLE,
57
57
  "data-parent-id": parentComponent == null ? void 0 : parentComponent._id,
@@ -66,7 +66,7 @@ var PureContextualEditingComponentWrapper = ({
66
66
  "data-component-title": (_d = (_c = (_b = component == null ? void 0 : component.parameters) == null ? void 0 : _b.title) == null ? void 0 : _c.value) != null ? _d : "",
67
67
  "data-is-readonly": isReadOnly
68
68
  }
69
- ), children, /* @__PURE__ */ import_react.default.createElement("template", { "data-role": import_canvas.IN_CONTEXT_EDITOR_COMPONENT_END_ROLE }));
69
+ ), children, /* @__PURE__ */ import_react.default.createElement("script", { "data-role": import_canvas.IN_CONTEXT_EDITOR_COMPONENT_END_ROLE }));
70
70
  };
71
71
 
72
72
  // src/components/PureUniformText.tsx
package/dist/core.mjs CHANGED
@@ -19,7 +19,7 @@ var PureContextualEditingComponentWrapper = ({
19
19
  }) => {
20
20
  var _a, _b, _c, _d;
21
21
  return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
22
- "template",
22
+ "script",
23
23
  {
24
24
  "data-role": IN_CONTEXT_EDITOR_COMPONENT_START_ROLE,
25
25
  "data-parent-id": parentComponent == null ? void 0 : parentComponent._id,
@@ -34,7 +34,7 @@ var PureContextualEditingComponentWrapper = ({
34
34
  "data-component-title": (_d = (_c = (_b = component == null ? void 0 : component.parameters) == null ? void 0 : _b.title) == null ? void 0 : _c.value) != null ? _d : "",
35
35
  "data-is-readonly": isReadOnly
36
36
  }
37
- ), children, /* @__PURE__ */ React.createElement("template", { "data-role": IN_CONTEXT_EDITOR_COMPONENT_END_ROLE }));
37
+ ), children, /* @__PURE__ */ React.createElement("script", { "data-role": IN_CONTEXT_EDITOR_COMPONENT_END_ROLE }));
38
38
  };
39
39
 
40
40
  // src/components/PureUniformText.tsx
package/dist/index.esm.js CHANGED
@@ -326,7 +326,7 @@ var PureContextualEditingComponentWrapper = ({
326
326
  }) => {
327
327
  var _a, _b, _c, _d;
328
328
  return /* @__PURE__ */ React2.createElement(React2.Fragment, null, /* @__PURE__ */ React2.createElement(
329
- "template",
329
+ "script",
330
330
  {
331
331
  "data-role": IN_CONTEXT_EDITOR_COMPONENT_START_ROLE,
332
332
  "data-parent-id": parentComponent == null ? void 0 : parentComponent._id,
@@ -341,7 +341,7 @@ var PureContextualEditingComponentWrapper = ({
341
341
  "data-component-title": (_d = (_c = (_b = component == null ? void 0 : component.parameters) == null ? void 0 : _b.title) == null ? void 0 : _c.value) != null ? _d : "",
342
342
  "data-is-readonly": isReadOnly
343
343
  }
344
- ), children, /* @__PURE__ */ React2.createElement("template", { "data-role": IN_CONTEXT_EDITOR_COMPONENT_END_ROLE }));
344
+ ), children, /* @__PURE__ */ React2.createElement("script", { "data-role": IN_CONTEXT_EDITOR_COMPONENT_END_ROLE }));
345
345
  };
346
346
 
347
347
  // src/components/ContextualEditingComponentWrapper.tsx
package/dist/index.js CHANGED
@@ -349,7 +349,7 @@ var PureContextualEditingComponentWrapper = ({
349
349
  }) => {
350
350
  var _a, _b, _c, _d;
351
351
  return /* @__PURE__ */ import_react5.default.createElement(import_react5.default.Fragment, null, /* @__PURE__ */ import_react5.default.createElement(
352
- "template",
352
+ "script",
353
353
  {
354
354
  "data-role": import_canvas5.IN_CONTEXT_EDITOR_COMPONENT_START_ROLE,
355
355
  "data-parent-id": parentComponent == null ? void 0 : parentComponent._id,
@@ -364,7 +364,7 @@ var PureContextualEditingComponentWrapper = ({
364
364
  "data-component-title": (_d = (_c = (_b = component == null ? void 0 : component.parameters) == null ? void 0 : _b.title) == null ? void 0 : _c.value) != null ? _d : "",
365
365
  "data-is-readonly": isReadOnly
366
366
  }
367
- ), children, /* @__PURE__ */ import_react5.default.createElement("template", { "data-role": import_canvas5.IN_CONTEXT_EDITOR_COMPONENT_END_ROLE }));
367
+ ), children, /* @__PURE__ */ import_react5.default.createElement("script", { "data-role": import_canvas5.IN_CONTEXT_EDITOR_COMPONENT_END_ROLE }));
368
368
  };
369
369
 
370
370
  // src/components/ContextualEditingComponentWrapper.tsx
package/dist/index.mjs CHANGED
@@ -326,7 +326,7 @@ var PureContextualEditingComponentWrapper = ({
326
326
  }) => {
327
327
  var _a, _b, _c, _d;
328
328
  return /* @__PURE__ */ React2.createElement(React2.Fragment, null, /* @__PURE__ */ React2.createElement(
329
- "template",
329
+ "script",
330
330
  {
331
331
  "data-role": IN_CONTEXT_EDITOR_COMPONENT_START_ROLE,
332
332
  "data-parent-id": parentComponent == null ? void 0 : parentComponent._id,
@@ -341,7 +341,7 @@ var PureContextualEditingComponentWrapper = ({
341
341
  "data-component-title": (_d = (_c = (_b = component == null ? void 0 : component.parameters) == null ? void 0 : _b.title) == null ? void 0 : _c.value) != null ? _d : "",
342
342
  "data-is-readonly": isReadOnly
343
343
  }
344
- ), children, /* @__PURE__ */ React2.createElement("template", { "data-role": IN_CONTEXT_EDITOR_COMPONENT_END_ROLE }));
344
+ ), children, /* @__PURE__ */ React2.createElement("script", { "data-role": IN_CONTEXT_EDITOR_COMPONENT_END_ROLE }));
345
345
  };
346
346
 
347
347
  // src/components/ContextualEditingComponentWrapper.tsx
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/canvas-react",
3
- "version": "20.67.1-alpha.27+003af30589",
3
+ "version": "20.68.0",
4
4
  "description": "React SDK for Uniform Canvas",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./dist/index.js",
@@ -44,10 +44,10 @@
44
44
  "apidocs-extract": "api-extractor run --local"
45
45
  },
46
46
  "dependencies": {
47
- "@uniformdev/canvas": "20.67.1-alpha.27+003af30589",
48
- "@uniformdev/context": "20.67.1-alpha.27+003af30589",
49
- "@uniformdev/context-react": "20.67.1-alpha.27+003af30589",
50
- "@uniformdev/richtext": "20.67.1-alpha.27+003af30589"
47
+ "@uniformdev/canvas": "20.68.0",
48
+ "@uniformdev/context": "20.68.0",
49
+ "@uniformdev/context-react": "20.68.0",
50
+ "@uniformdev/richtext": "20.68.0"
51
51
  },
52
52
  "peerDependencies": {
53
53
  "immer": ">= 10",
@@ -66,5 +66,5 @@
66
66
  "publishConfig": {
67
67
  "access": "public"
68
68
  },
69
- "gitHead": "003af30589ea6dc98fb59f0dba35d82d4ee939d2"
69
+ "gitHead": "4cf061e005944ea49491f5d54b3b272a187ac359"
70
70
  }