@gem-sdk/components 2.0.0-dev.357 → 2.0.0-dev.358
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/banner/components/HeroBannerItem.js +15 -13
- package/dist/cjs/banner/components/HeroBannerItem.liquid.js +1 -1
- package/dist/cjs/post-purchase/product/settings/product-image/setting-v2.js +2 -5
- package/dist/cjs/post-purchase/product/settings/product-image/uiV2.js +1 -1
- package/dist/esm/banner/components/HeroBannerItem.js +15 -13
- package/dist/esm/banner/components/HeroBannerItem.liquid.js +1 -1
- package/dist/esm/post-purchase/product/settings/product-image/setting-v2.js +2 -5
- package/dist/esm/post-purchase/product/settings/product-image/uiV2.js +1 -1
- package/package.json +1 -1
|
@@ -126,24 +126,26 @@ const HeroBannerItem = (props)=>{
|
|
|
126
126
|
className: containerClasses,
|
|
127
127
|
style: containerStyle,
|
|
128
128
|
children: [
|
|
129
|
-
/*#__PURE__*/ jsxRuntime.
|
|
129
|
+
/*#__PURE__*/ jsxRuntime.jsxs("div", {
|
|
130
130
|
ref: elementRef,
|
|
131
131
|
"aria-label": "Background Image",
|
|
132
132
|
role: "banner",
|
|
133
133
|
className: containBackgroundClasses,
|
|
134
134
|
style: containBackground,
|
|
135
|
-
children:
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
135
|
+
children: [
|
|
136
|
+
/*#__PURE__*/ jsxRuntime.jsx("div", {
|
|
137
|
+
ref: bgRef,
|
|
138
|
+
className: backgroundClasses,
|
|
139
|
+
style: backgroundStyle,
|
|
140
|
+
children: embed
|
|
141
|
+
}),
|
|
142
|
+
!!overlayColor && /*#__PURE__*/ jsxRuntime.jsx("div", {
|
|
143
|
+
"aria-label": "Overlay",
|
|
144
|
+
role: "banner",
|
|
145
|
+
className: overlayClasses,
|
|
146
|
+
style: overlayStyle
|
|
147
|
+
})
|
|
148
|
+
]
|
|
147
149
|
}),
|
|
148
150
|
/*#__PURE__*/ jsxRuntime.jsx(Row.default, {
|
|
149
151
|
className: rowClasses,
|
|
@@ -145,8 +145,8 @@ const HeroBannerItem = (props)=>{
|
|
|
145
145
|
${backgroundImageLazyload()}
|
|
146
146
|
${embed()}
|
|
147
147
|
</div>
|
|
148
|
+
${system.If(!!overlayColor, core.template`<div aria-label="Overlay" role="banner" class="${overlayClasses}" style="${overlayStyle}"></div>`)}
|
|
148
149
|
</div>
|
|
149
|
-
${system.If(!!overlayColor?.normal, core.template`<div aria-label="Overlay" role="banner" class="${overlayClasses}" style="${overlayStyle}"></div>`)}
|
|
150
150
|
${Row_liquid.default({
|
|
151
151
|
className: rowClasses,
|
|
152
152
|
style: rowStyle,
|
|
@@ -122,24 +122,26 @@ const HeroBannerItem = (props)=>{
|
|
|
122
122
|
className: containerClasses,
|
|
123
123
|
style: containerStyle,
|
|
124
124
|
children: [
|
|
125
|
-
/*#__PURE__*/
|
|
125
|
+
/*#__PURE__*/ jsxs("div", {
|
|
126
126
|
ref: elementRef,
|
|
127
127
|
"aria-label": "Background Image",
|
|
128
128
|
role: "banner",
|
|
129
129
|
className: containBackgroundClasses,
|
|
130
130
|
style: containBackground,
|
|
131
|
-
children:
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
131
|
+
children: [
|
|
132
|
+
/*#__PURE__*/ jsx("div", {
|
|
133
|
+
ref: bgRef,
|
|
134
|
+
className: backgroundClasses,
|
|
135
|
+
style: backgroundStyle,
|
|
136
|
+
children: embed
|
|
137
|
+
}),
|
|
138
|
+
!!overlayColor && /*#__PURE__*/ jsx("div", {
|
|
139
|
+
"aria-label": "Overlay",
|
|
140
|
+
role: "banner",
|
|
141
|
+
className: overlayClasses,
|
|
142
|
+
style: overlayStyle
|
|
143
|
+
})
|
|
144
|
+
]
|
|
143
145
|
}),
|
|
144
146
|
/*#__PURE__*/ jsx(Row, {
|
|
145
147
|
className: rowClasses,
|
|
@@ -141,8 +141,8 @@ const HeroBannerItem = (props)=>{
|
|
|
141
141
|
${backgroundImageLazyload()}
|
|
142
142
|
${embed()}
|
|
143
143
|
</div>
|
|
144
|
+
${If(!!overlayColor, template`<div aria-label="Overlay" role="banner" class="${overlayClasses}" style="${overlayStyle}"></div>`)}
|
|
144
145
|
</div>
|
|
145
|
-
${If(!!overlayColor?.normal, template`<div aria-label="Overlay" role="banner" class="${overlayClasses}" style="${overlayStyle}"></div>`)}
|
|
146
146
|
${Row({
|
|
147
147
|
className: rowClasses,
|
|
148
148
|
style: rowStyle,
|