@uniformdev/canvas-react 20.45.0 → 20.46.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 CHANGED
@@ -193,7 +193,9 @@ function useClientConditionsComposition(data) {
193
193
  try {
194
194
  return produce(data, (draft) => {
195
195
  walkNodeTree(draft, (context) => {
196
- evaluateWalkTreeNodeVisibility({ context, rules, showIndeterminate: false });
196
+ if (!evaluateWalkTreeNodeVisibility({ context, rules, showIndeterminate: false })) {
197
+ return;
198
+ }
197
199
  evaluateWalkTreePropertyCriteria({ node: context.node, rules, keepIndeterminate: false });
198
200
  });
199
201
  });
package/dist/index.js CHANGED
@@ -231,7 +231,9 @@ function useClientConditionsComposition(data) {
231
231
  try {
232
232
  return (0, import_immer.produce)(data, (draft) => {
233
233
  (0, import_canvas3.walkNodeTree)(draft, (context) => {
234
- (0, import_canvas3.evaluateWalkTreeNodeVisibility)({ context, rules, showIndeterminate: false });
234
+ if (!(0, import_canvas3.evaluateWalkTreeNodeVisibility)({ context, rules, showIndeterminate: false })) {
235
+ return;
236
+ }
235
237
  (0, import_canvas3.evaluateWalkTreePropertyCriteria)({ node: context.node, rules, keepIndeterminate: false });
236
238
  });
237
239
  });
package/dist/index.mjs CHANGED
@@ -193,7 +193,9 @@ function useClientConditionsComposition(data) {
193
193
  try {
194
194
  return produce(data, (draft) => {
195
195
  walkNodeTree(draft, (context) => {
196
- evaluateWalkTreeNodeVisibility({ context, rules, showIndeterminate: false });
196
+ if (!evaluateWalkTreeNodeVisibility({ context, rules, showIndeterminate: false })) {
197
+ return;
198
+ }
197
199
  evaluateWalkTreePropertyCriteria({ node: context.node, rules, keepIndeterminate: false });
198
200
  });
199
201
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/canvas-react",
3
- "version": "20.45.0",
3
+ "version": "20.46.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:prebuild": "api-extractor run --local"
46
46
  },
47
47
  "dependencies": {
48
- "@uniformdev/canvas": "20.45.0",
49
- "@uniformdev/context": "20.45.0",
50
- "@uniformdev/context-react": "20.45.0",
51
- "@uniformdev/richtext": "20.45.0"
48
+ "@uniformdev/canvas": "20.46.0",
49
+ "@uniformdev/context": "20.46.0",
50
+ "@uniformdev/context-react": "20.46.0",
51
+ "@uniformdev/richtext": "20.46.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": "a62de70dcd452b9649d45c388942016cd439eeef"
70
+ "gitHead": "a28087762e91360d73750aeeab47537f8c26fd4f"
71
71
  }