@uniformdev/canvas-react 19.202.0 → 19.203.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.d.mts CHANGED
@@ -294,6 +294,17 @@ declare const useUniformContextualEditing: ({ initialCompositionValue, enhance,
294
294
  [key: string]: any[];
295
295
  };
296
296
  variant?: string;
297
+ dataResources?: {
298
+ [key: string]: {
299
+ type: string;
300
+ isPatternParameter?: boolean;
301
+ ignorePatternParameterDefault?: boolean;
302
+ optionalPatternParameter?: boolean;
303
+ variables?: {
304
+ [key: string]: string;
305
+ };
306
+ };
307
+ };
297
308
  };
298
309
  };
299
310
  _overridability?: {
@@ -387,6 +398,17 @@ declare const useUniformContextualEditing: ({ initialCompositionValue, enhance,
387
398
  [key: string]: any[];
388
399
  };
389
400
  variant?: string;
401
+ dataResources?: {
402
+ [key: string]: {
403
+ type: string;
404
+ isPatternParameter?: boolean;
405
+ ignorePatternParameterDefault?: boolean;
406
+ optionalPatternParameter?: boolean;
407
+ variables?: {
408
+ [key: string]: string;
409
+ };
410
+ };
411
+ };
390
412
  };
391
413
  };
392
414
  _overridability?: {
@@ -595,7 +617,6 @@ type UseUniformContextualEditingStateReturnType = {
595
617
  * Returns the current preview mode in Canvas editor ("editor" or "preview").
596
618
  * Returns `undefined` when the app is not rendered inside Canvas editor.
597
619
  * Learn more about the preview modes: https://docs.uniform.app/docs/guides/composition/visual-editing#editing-and-preview-mode
598
- * @deprecated this is an experimental property, it might receive breaking changes in minor releases ⚠️
599
620
  */
600
621
  previewMode: UpdateContextualEditingStateInternalMessage['state']['previewMode'] | undefined;
601
622
  };
package/dist/index.d.ts CHANGED
@@ -294,6 +294,17 @@ declare const useUniformContextualEditing: ({ initialCompositionValue, enhance,
294
294
  [key: string]: any[];
295
295
  };
296
296
  variant?: string;
297
+ dataResources?: {
298
+ [key: string]: {
299
+ type: string;
300
+ isPatternParameter?: boolean;
301
+ ignorePatternParameterDefault?: boolean;
302
+ optionalPatternParameter?: boolean;
303
+ variables?: {
304
+ [key: string]: string;
305
+ };
306
+ };
307
+ };
297
308
  };
298
309
  };
299
310
  _overridability?: {
@@ -387,6 +398,17 @@ declare const useUniformContextualEditing: ({ initialCompositionValue, enhance,
387
398
  [key: string]: any[];
388
399
  };
389
400
  variant?: string;
401
+ dataResources?: {
402
+ [key: string]: {
403
+ type: string;
404
+ isPatternParameter?: boolean;
405
+ ignorePatternParameterDefault?: boolean;
406
+ optionalPatternParameter?: boolean;
407
+ variables?: {
408
+ [key: string]: string;
409
+ };
410
+ };
411
+ };
390
412
  };
391
413
  };
392
414
  _overridability?: {
@@ -595,7 +617,6 @@ type UseUniformContextualEditingStateReturnType = {
595
617
  * Returns the current preview mode in Canvas editor ("editor" or "preview").
596
618
  * Returns `undefined` when the app is not rendered inside Canvas editor.
597
619
  * Learn more about the preview modes: https://docs.uniform.app/docs/guides/composition/visual-editing#editing-and-preview-mode
598
- * @deprecated this is an experimental property, it might receive breaking changes in minor releases ⚠️
599
620
  */
600
621
  previewMode: UpdateContextualEditingStateInternalMessage['state']['previewMode'] | undefined;
601
622
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/canvas-react",
3
- "version": "19.202.0",
3
+ "version": "19.203.0",
4
4
  "description": "React SDK for Uniform Canvas",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./dist/index.js",
@@ -45,10 +45,10 @@
45
45
  "document": "api-extractor run --local"
46
46
  },
47
47
  "dependencies": {
48
- "@uniformdev/canvas": "19.202.0",
49
- "@uniformdev/context": "19.202.0",
50
- "@uniformdev/context-react": "19.202.0",
51
- "@uniformdev/richtext": "19.202.0"
48
+ "@uniformdev/canvas": "19.203.0",
49
+ "@uniformdev/context": "19.203.0",
50
+ "@uniformdev/context-react": "19.203.0",
51
+ "@uniformdev/richtext": "19.203.0"
52
52
  },
53
53
  "peerDependencies": {
54
54
  "immer": ">= 10",
@@ -67,5 +67,5 @@
67
67
  "publishConfig": {
68
68
  "access": "public"
69
69
  },
70
- "gitHead": "133a9ea4d2d3794e2d05ad8277f6bb3803d109d7"
70
+ "gitHead": "fd2dc597c7909df1e00d9a0eb307ffac2ff72991"
71
71
  }