@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.
@@ -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.jsxs(core.BuilderComponentProvider, {
76
+ children: /*#__PURE__*/ jsxRuntime.jsx(core.BuilderComponentProvider, {
77
77
  components: components,
78
- children: [
79
- isPostPurchase && /*#__PURE__*/ jsxRuntime.jsx(Header.default, {
80
- pageType: "POST_PURCHASE"
81
- }),
82
- /*#__PURE__*/ jsxRuntime.jsx(core.SectionProvider, {
83
- data: sectionData,
84
- children: builderData?.map((builder)=>/*#__PURE__*/ jsxRuntime.jsx(core.BuilderProvider, {
85
- state: builder.data,
86
- lazy: builder.lazy,
87
- priority: builder.priority,
88
- isPostPurchase: isPostPurchase,
89
- isPreview: isPreview,
90
- children: /*#__PURE__*/ jsxRuntime.jsx(core.Render, {
91
- uid: builder.uid
92
- })
93
- }, builder.uid))
94
- }),
95
- isPostPurchase && /*#__PURE__*/ jsxRuntime.jsx(FooterForPostPurchase.default, {
96
- shopName: shopName || ''
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__*/ jsxs(BuilderComponentProvider, {
74
+ children: /*#__PURE__*/ jsx(BuilderComponentProvider, {
75
75
  components: components,
76
- children: [
77
- isPostPurchase && /*#__PURE__*/ jsx(Header, {
78
- pageType: "POST_PURCHASE"
79
- }),
80
- /*#__PURE__*/ jsx(SectionProvider, {
81
- data: sectionData,
82
- children: builderData?.map((builder)=>/*#__PURE__*/ jsx(BuilderProvider, {
83
- state: builder.data,
84
- lazy: builder.lazy,
85
- priority: builder.priority,
86
- isPostPurchase: isPostPurchase,
87
- isPreview: isPreview,
88
- children: /*#__PURE__*/ jsx(Render, {
89
- uid: builder.uid
90
- })
91
- }, builder.uid))
92
- }),
93
- isPostPurchase && /*#__PURE__*/ jsx(FooterForPostPurchase, {
94
- shopName: shopName || ''
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-staging.4",
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-staging.4",
30
- "@gem-sdk/plugin-cookie-bar": "1.53.0-staging.0",
31
- "@gem-sdk/plugin-quick-view": "1.53.0-staging.0",
32
- "@gem-sdk/plugin-sticky-add-to-cart": "1.53.0-staging.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"