@deneb-ui/ui 2.0.69 → 2.0.70
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/SiteDataProvider.js +8 -0
- package/package.json +2 -2
package/dist/SiteDataProvider.js
CHANGED
|
@@ -422,6 +422,14 @@ function SiteDataProvider({ children, initialSiteData, fallbackSiteData, liveCat
|
|
|
422
422
|
return;
|
|
423
423
|
if (isData && isRecord(event.data.siteData)) {
|
|
424
424
|
applyIncomingSiteData(event.data.siteData);
|
|
425
|
+
try {
|
|
426
|
+
const target = parentOrigin && parentOrigin !== 'null' ? parentOrigin : '*';
|
|
427
|
+
const appliedFull = event.data.full !== false;
|
|
428
|
+
window.parent.postMessage({ type: 'FIVORA_PREVIEW_SITE_DATA_APPLIED', full: appliedFull }, target);
|
|
429
|
+
}
|
|
430
|
+
catch {
|
|
431
|
+
// ignore
|
|
432
|
+
}
|
|
425
433
|
return;
|
|
426
434
|
}
|
|
427
435
|
if (isStylePatch) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deneb-ui/ui",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.70",
|
|
4
4
|
"description": "Visual-first React component library for editable commerce storefronts. Built for Next.js and Fivora.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
],
|
|
51
51
|
"license": "MIT",
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@deneb-ui/core": "^2.0.
|
|
53
|
+
"@deneb-ui/core": "^2.0.70"
|
|
54
54
|
},
|
|
55
55
|
"peerDependencies": {
|
|
56
56
|
"react": "^18.0.0 || ^19.0.0",
|