@uniformdev/canvas-react 18.2.2 → 18.3.1-alpha.22

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.d.ts CHANGED
@@ -90,6 +90,11 @@ declare const createApiEnhancer: ({ apiUrl }: {
90
90
  };
91
91
  } | undefined;
92
92
  variant?: string | undefined;
93
+ projectMapNodes?: {
94
+ id: string;
95
+ path: string;
96
+ projectMapId: string;
97
+ }[] | undefined;
93
98
  slots?: {
94
99
  [key: string]: {
95
100
  type: string;
@@ -171,6 +176,11 @@ declare const useUniformContextualEditing: ({ initialCompositionValue, enhance,
171
176
  };
172
177
  } | undefined;
173
178
  variant?: string | undefined;
179
+ projectMapNodes?: {
180
+ id: string;
181
+ path: string;
182
+ projectMapId: string;
183
+ }[] | undefined;
174
184
  slots?: {
175
185
  [key: string]: {
176
186
  type: string;
@@ -242,6 +252,11 @@ declare const useContextualEditing: ({ initialCompositionValue, enhance, }: UseU
242
252
  };
243
253
  } | undefined;
244
254
  variant?: string | undefined;
255
+ projectMapNodes?: {
256
+ id: string;
257
+ path: string;
258
+ projectMapId: string;
259
+ }[] | undefined;
245
260
  slots?: {
246
261
  [key: string]: {
247
262
  type: string;
package/dist/index.esm.js CHANGED
@@ -278,7 +278,7 @@ function UniformComponent({
278
278
  const resolvedChildren = resolveChildren({
279
279
  children,
280
280
  data,
281
- hasParentLayout: Boolean(parentData)
281
+ hasParentLayout: Boolean(parentData.data)
282
282
  });
283
283
  return /* @__PURE__ */ React4.createElement(UniformComponentContext.Provider, { value: contextValue }, contextContextProviderPresent ? /* @__PURE__ */ React4.createElement(TrackComponent, { behavior: enrichmentTags }, resolvedChildren) : resolvedChildren);
284
284
  }
package/dist/index.js CHANGED
@@ -317,7 +317,7 @@ function UniformComponent({
317
317
  const resolvedChildren = resolveChildren({
318
318
  children,
319
319
  data,
320
- hasParentLayout: Boolean(parentData)
320
+ hasParentLayout: Boolean(parentData.data)
321
321
  });
322
322
  return /* @__PURE__ */ import_react3.default.createElement(UniformComponentContext.Provider, { value: contextValue }, contextContextProviderPresent ? /* @__PURE__ */ import_react3.default.createElement(TrackComponent, { behavior: enrichmentTags }, resolvedChildren) : resolvedChildren);
323
323
  }
package/dist/index.mjs CHANGED
@@ -278,7 +278,7 @@ function UniformComponent({
278
278
  const resolvedChildren = resolveChildren({
279
279
  children,
280
280
  data,
281
- hasParentLayout: Boolean(parentData)
281
+ hasParentLayout: Boolean(parentData.data)
282
282
  });
283
283
  return /* @__PURE__ */ React4.createElement(UniformComponentContext.Provider, { value: contextValue }, contextContextProviderPresent ? /* @__PURE__ */ React4.createElement(TrackComponent, { behavior: enrichmentTags }, resolvedChildren) : resolvedChildren);
284
284
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/canvas-react",
3
- "version": "18.2.2",
3
+ "version": "18.3.1-alpha.22+61a3fbd5a",
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.2.2",
27
- "@uniformdev/context": "18.2.2",
28
- "@uniformdev/context-react": "18.2.2"
26
+ "@uniformdev/canvas": "18.3.1-alpha.22+61a3fbd5a",
27
+ "@uniformdev/context": "18.3.1-alpha.22+61a3fbd5a",
28
+ "@uniformdev/context-react": "18.3.1-alpha.22+61a3fbd5a"
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": "eb69f934f799579fdd71d5dc7dba0375bbb5c265"
45
+ "gitHead": "61a3fbd5aadff46369076445db0ede53fc229d34"
46
46
  }