@cmssy/react 9.7.0 → 9.7.1
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/client.cjs +1 -1
- package/dist/client.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +2 -2
package/dist/client.cjs
CHANGED
|
@@ -571,7 +571,7 @@ function CmssyBlock({
|
|
|
571
571
|
}
|
|
572
572
|
const base = resolvedContent ? { ...resolvedContent } : core.getBlockContentForLanguage(block.content, locale, defaultLocale);
|
|
573
573
|
const content = patchedContent ? { ...base, ...patchedContent } : base;
|
|
574
|
-
if (schema) core.normalizeRelationContent(content, schema);
|
|
574
|
+
if (schema) core.normalizeRelationContent(content, schema, resolvedContent);
|
|
575
575
|
const style = patchedStyle ? { ...core.asBucket(block.style), ...patchedStyle } : core.asBucket(block.style);
|
|
576
576
|
const advanced = patchedAdvanced ? { ...core.asBucket(block.advanced), ...patchedAdvanced } : core.asBucket(block.advanced);
|
|
577
577
|
return wrap(
|
package/dist/client.js
CHANGED
|
@@ -570,7 +570,7 @@ function CmssyBlock({
|
|
|
570
570
|
}
|
|
571
571
|
const base = resolvedContent ? { ...resolvedContent } : getBlockContentForLanguage(block.content, locale, defaultLocale);
|
|
572
572
|
const content = patchedContent ? { ...base, ...patchedContent } : base;
|
|
573
|
-
if (schema) normalizeRelationContent(content, schema);
|
|
573
|
+
if (schema) normalizeRelationContent(content, schema, resolvedContent);
|
|
574
574
|
const style = patchedStyle ? { ...asBucket(block.style), ...patchedStyle } : asBucket(block.style);
|
|
575
575
|
const advanced = patchedAdvanced ? { ...asBucket(block.advanced), ...patchedAdvanced } : asBucket(block.advanced);
|
|
576
576
|
return wrap(
|
package/dist/index.cjs
CHANGED
|
@@ -500,7 +500,7 @@ function CmssyBlock({
|
|
|
500
500
|
}
|
|
501
501
|
const base = resolvedContent ? { ...resolvedContent } : core.getBlockContentForLanguage(block.content, locale, defaultLocale);
|
|
502
502
|
const content = patchedContent ? { ...base, ...patchedContent } : base;
|
|
503
|
-
if (schema) core.normalizeRelationContent(content, schema);
|
|
503
|
+
if (schema) core.normalizeRelationContent(content, schema, resolvedContent);
|
|
504
504
|
const style = patchedStyle ? { ...core.asBucket(block.style), ...patchedStyle } : core.asBucket(block.style);
|
|
505
505
|
const advanced = patchedAdvanced ? { ...core.asBucket(block.advanced), ...patchedAdvanced } : core.asBucket(block.advanced);
|
|
506
506
|
return wrap(
|
package/dist/index.js
CHANGED
|
@@ -499,7 +499,7 @@ function CmssyBlock({
|
|
|
499
499
|
}
|
|
500
500
|
const base = resolvedContent ? { ...resolvedContent } : getBlockContentForLanguage(block.content, locale, defaultLocale);
|
|
501
501
|
const content = patchedContent ? { ...base, ...patchedContent } : base;
|
|
502
|
-
if (schema) normalizeRelationContent(content, schema);
|
|
502
|
+
if (schema) normalizeRelationContent(content, schema, resolvedContent);
|
|
503
503
|
const style = patchedStyle ? { ...asBucket(block.style), ...patchedStyle } : asBucket(block.style);
|
|
504
504
|
const advanced = patchedAdvanced ? { ...asBucket(block.advanced), ...patchedAdvanced } : asBucket(block.advanced);
|
|
505
505
|
return wrap(
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cmssy/react",
|
|
3
|
-
"version": "9.7.
|
|
3
|
+
"version": "9.7.1",
|
|
4
4
|
"description": "React blocks, renderers, data client and editor bridge for cmssy headless sites",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cmssy",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
},
|
|
63
63
|
"dependencies": {
|
|
64
64
|
"@cmssy/types": "0.29.0",
|
|
65
|
-
"@cmssy/core": "9.7.
|
|
65
|
+
"@cmssy/core": "9.7.1"
|
|
66
66
|
},
|
|
67
67
|
"scripts": {
|
|
68
68
|
"build": "tsup",
|