@gem-sdk/pages 1.53.0-staging.4 → 1.53.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/cjs/pages/static-v2.js +25 -22
- package/dist/esm/pages/static-v2.js +25 -22
- package/package.json +5 -5
|
@@ -73,29 +73,32 @@ const StaticPageV2 = ({ components, builderData, sectionData, seo, themeStyle, f
|
|
|
73
73
|
/*#__PURE__*/ jsxRuntime.jsx(core.PageProvider, {
|
|
74
74
|
productOffers: productOffers,
|
|
75
75
|
publicStoreFrontData: publicStoreFrontData,
|
|
76
|
-
children: /*#__PURE__*/ jsxRuntime.
|
|
76
|
+
children: /*#__PURE__*/ jsxRuntime.jsx(core.BuilderComponentProvider, {
|
|
77
77
|
components: components,
|
|
78
|
-
children:
|
|
79
|
-
isPostPurchase
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
78
|
+
children: /*#__PURE__*/ jsxRuntime.jsxs("div", {
|
|
79
|
+
className: `${isPostPurchase ? 'gp-bg-white' : ''} `,
|
|
80
|
+
children: [
|
|
81
|
+
isPostPurchase && /*#__PURE__*/ jsxRuntime.jsx(Header.default, {
|
|
82
|
+
pageType: "POST_PURCHASE"
|
|
83
|
+
}),
|
|
84
|
+
/*#__PURE__*/ jsxRuntime.jsx(core.SectionProvider, {
|
|
85
|
+
data: sectionData,
|
|
86
|
+
children: builderData?.map((builder)=>/*#__PURE__*/ jsxRuntime.jsx(core.BuilderProvider, {
|
|
87
|
+
state: builder.data,
|
|
88
|
+
lazy: builder.lazy,
|
|
89
|
+
priority: builder.priority,
|
|
90
|
+
isPostPurchase: isPostPurchase,
|
|
91
|
+
isPreview: isPreview,
|
|
92
|
+
children: /*#__PURE__*/ jsxRuntime.jsx(core.Render, {
|
|
93
|
+
uid: builder.uid
|
|
94
|
+
})
|
|
95
|
+
}, builder.uid))
|
|
96
|
+
}),
|
|
97
|
+
isPostPurchase && /*#__PURE__*/ jsxRuntime.jsx(FooterForPostPurchase.default, {
|
|
98
|
+
shopName: shopName || ''
|
|
99
|
+
})
|
|
100
|
+
]
|
|
101
|
+
})
|
|
99
102
|
})
|
|
100
103
|
})
|
|
101
104
|
]
|
|
@@ -71,29 +71,32 @@ const StaticPageV2 = ({ components, builderData, sectionData, seo, themeStyle, f
|
|
|
71
71
|
/*#__PURE__*/ jsx(PageProvider, {
|
|
72
72
|
productOffers: productOffers,
|
|
73
73
|
publicStoreFrontData: publicStoreFrontData,
|
|
74
|
-
children: /*#__PURE__*/
|
|
74
|
+
children: /*#__PURE__*/ jsx(BuilderComponentProvider, {
|
|
75
75
|
components: components,
|
|
76
|
-
children:
|
|
77
|
-
isPostPurchase
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
76
|
+
children: /*#__PURE__*/ jsxs("div", {
|
|
77
|
+
className: `${isPostPurchase ? 'gp-bg-white' : ''} `,
|
|
78
|
+
children: [
|
|
79
|
+
isPostPurchase && /*#__PURE__*/ jsx(Header, {
|
|
80
|
+
pageType: "POST_PURCHASE"
|
|
81
|
+
}),
|
|
82
|
+
/*#__PURE__*/ jsx(SectionProvider, {
|
|
83
|
+
data: sectionData,
|
|
84
|
+
children: builderData?.map((builder)=>/*#__PURE__*/ jsx(BuilderProvider, {
|
|
85
|
+
state: builder.data,
|
|
86
|
+
lazy: builder.lazy,
|
|
87
|
+
priority: builder.priority,
|
|
88
|
+
isPostPurchase: isPostPurchase,
|
|
89
|
+
isPreview: isPreview,
|
|
90
|
+
children: /*#__PURE__*/ jsx(Render, {
|
|
91
|
+
uid: builder.uid
|
|
92
|
+
})
|
|
93
|
+
}, builder.uid))
|
|
94
|
+
}),
|
|
95
|
+
isPostPurchase && /*#__PURE__*/ jsx(FooterForPostPurchase, {
|
|
96
|
+
shopName: shopName || ''
|
|
97
|
+
})
|
|
98
|
+
]
|
|
99
|
+
})
|
|
97
100
|
})
|
|
98
101
|
})
|
|
99
102
|
]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gem-sdk/pages",
|
|
3
|
-
"version": "1.53.0
|
|
3
|
+
"version": "1.53.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
@@ -26,10 +26,10 @@
|
|
|
26
26
|
"next": "latest"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
|
-
"@gem-sdk/core": "1.53.0
|
|
30
|
-
"@gem-sdk/plugin-cookie-bar": "1.53.0
|
|
31
|
-
"@gem-sdk/plugin-quick-view": "1.53.0
|
|
32
|
-
"@gem-sdk/plugin-sticky-add-to-cart": "1.53.0
|
|
29
|
+
"@gem-sdk/core": "1.53.0",
|
|
30
|
+
"@gem-sdk/plugin-cookie-bar": "1.53.0",
|
|
31
|
+
"@gem-sdk/plugin-quick-view": "1.53.0",
|
|
32
|
+
"@gem-sdk/plugin-sticky-add-to-cart": "1.53.0"
|
|
33
33
|
},
|
|
34
34
|
"peerDependencies": {
|
|
35
35
|
"next": ">=13"
|