@gem-sdk/components 2.0.0-staging.128 → 2.0.0-staging.129

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.
@@ -227,142 +227,145 @@ const HeroBanner = ({ builderAttrs, builderProps, setting, styles, style, childr
227
227
  })
228
228
  ]
229
229
  }),
230
- /*#__PURE__*/ jsxRuntime.jsxs("div", {
231
- ...builderAttrs,
232
- "data-id": builderProps?.uid,
233
- className: core.cls(builderProps?.uid, 'gp-group/hero gp-flex gp-w-full gp-flex-col gp-self-center gp-transition-colors gp-duration-200 gp-ease-in-out', common.getClassAlignBanner(alignBannerData)),
234
- style: {
235
- ...style,
236
- ...visibilityStyle,
237
- ...styleHeight,
238
- ...styleWidth,
239
- ...styleAspectRatio
240
- },
241
- onMouseEnter: onMouseEnterParallax,
242
- onMouseLeave: onMouseLeaveParallax,
243
- children: [
244
- /*#__PURE__*/ jsxRuntime.jsxs("div", {
245
- ref: refContainer,
246
- className: core.cls('gp-relative gp-flex gp-w-full gp-flex-col gp-items-center gp-overflow-hidden hero-banner-container', {
247
- 'gp-justify-center': contentPosition[currentDevice] === 'center',
248
- 'gp-justify-start': contentPosition[currentDevice] === 'top',
249
- 'gp-justify-end': contentPosition[currentDevice] === 'bottom'
250
- }),
251
- style: {
252
- ...styleHeight,
253
- ...styleAspectRatio,
254
- ...core.makeStyle({
255
- bs: borderBg?.border ?? borderBg?.border,
256
- bw: borderBg?.width ?? borderBg?.width,
257
- bc: core.getSingleColorVariable(borderBg?.color)
230
+ /*#__PURE__*/ jsxRuntime.jsx("div", {
231
+ className: "gp-flex",
232
+ children: /*#__PURE__*/ jsxRuntime.jsxs("div", {
233
+ ...builderAttrs,
234
+ "data-id": builderProps?.uid,
235
+ className: core.cls(builderProps?.uid, 'gp-group/hero gp-flex gp-w-full gp-flex-col gp-self-center gp-transition-colors gp-duration-200 gp-ease-in-out', common.getClassAlignBanner(alignBannerData)),
236
+ style: {
237
+ ...style,
238
+ ...visibilityStyle,
239
+ ...styleHeight,
240
+ ...styleWidth,
241
+ ...styleAspectRatio
242
+ },
243
+ onMouseEnter: onMouseEnterParallax,
244
+ onMouseLeave: onMouseLeaveParallax,
245
+ children: [
246
+ /*#__PURE__*/ jsxRuntime.jsxs("div", {
247
+ ref: refContainer,
248
+ className: core.cls('gp-relative gp-flex gp-w-full gp-flex-col gp-items-center gp-overflow-hidden hero-banner-container', {
249
+ 'gp-justify-center': contentPosition[currentDevice] === 'center',
250
+ 'gp-justify-start': contentPosition[currentDevice] === 'top',
251
+ 'gp-justify-end': contentPosition[currentDevice] === 'bottom'
258
252
  }),
259
- ...core.getRadiusStyleActiveState({
260
- ...cornerBg,
261
- active: {
262
- ...cornerBg || {},
263
- radiusType: 'custom'
264
- }
265
- }),
266
- ...core.getStyleShadow({
267
- value: shadowBg,
268
- styleAppliedFor: 'box-shadow',
269
- isEnableShadow: hasActiveShadow
270
- })
271
- },
272
- children: [
273
- /*#__PURE__*/ jsxRuntime.jsx("div", {
274
- ref: elementRef,
275
- "aria-label": "Background Image",
276
- role: "banner",
277
- className: "gp-absolute gp-overflow-hidden gp-w-full gp-h-full left-0 top-0",
278
- style: {
279
- clipPath: index.getClipPath(borderBg?.width, cornerBg)
280
- },
281
- children: /*#__PURE__*/ jsxRuntime.jsx("div", {
282
- ref: bgRef,
283
- className: core.cls('hero-banner-bg gp-hero-banner-image-background', {
284
- 'gp-duration-[var(--duration)] group-hover/hero:gp-scale-[var(--scale)]': hoverEffect,
285
- 'gp-transition-transform': hoverEffect
286
- }),
253
+ style: {
254
+ ...styleHeight,
255
+ ...styleAspectRatio,
256
+ ...core.makeStyle({
257
+ bs: borderBg?.border ?? borderBg?.border,
258
+ bw: borderBg?.width ?? borderBg?.width,
259
+ bc: core.getSingleColorVariable(borderBg?.color)
260
+ }),
261
+ ...core.getRadiusStyleActiveState({
262
+ ...cornerBg,
263
+ active: {
264
+ ...cornerBg || {},
265
+ radiusType: 'custom'
266
+ }
267
+ }),
268
+ ...core.getStyleShadow({
269
+ value: shadowBg,
270
+ styleAppliedFor: 'box-shadow',
271
+ isEnableShadow: hasActiveShadow
272
+ })
273
+ },
274
+ children: [
275
+ /*#__PURE__*/ jsxRuntime.jsx("div", {
276
+ ref: elementRef,
277
+ "aria-label": "Background Image",
278
+ role: "banner",
279
+ className: "gp-absolute gp-overflow-hidden gp-w-full gp-h-full left-0 top-0",
287
280
  style: {
288
- ...styleHeroBanner(),
289
- ...core.getStyleBackgroundByDevice(background, {
290
- ignoreBgAttachment: true,
291
- ignoreBackgroundImage: true,
292
- ignoreBackgroundColor: backgroundResponsive[currentDevice]?.type === 'video'
293
- }),
294
- ...core.makeStyleResponsive('bgi', {
295
- desktop: bgiEnableByDevice['desktop'] ? getBgImageByDeviceOnly('desktop') : 'url()',
296
- tablet: bgiEnableByDevice['tablet'] ? getBgImageByDeviceOnly('tablet') : 'url()',
297
- mobile: bgiEnableByDevice['mobile'] ? getBgImageByDeviceOnly('mobile') : 'url()'
281
+ clipPath: index.getClipPath(borderBg?.width, cornerBg)
282
+ },
283
+ children: /*#__PURE__*/ jsxRuntime.jsx("div", {
284
+ ref: bgRef,
285
+ className: core.cls('hero-banner-bg gp-hero-banner-image-background', {
286
+ 'gp-duration-[var(--duration)] group-hover/hero:gp-scale-[var(--scale)]': hoverEffect,
287
+ 'gp-transition-transform': hoverEffect
298
288
  }),
299
- ...core.getGradientBgrStyleByDevice(background, bgiEnableByDevice),
300
- position: attachment === 'fixed' ? 'fixed' : 'absolute',
301
- '--duration': `${hoverEffectDuration ?? 0}s`,
302
- '--scale': hoverEffectScale ?? 1,
303
- transform,
304
- transition: 'transform 300ms cubic-bezier(0,0,0,1)'
289
+ style: {
290
+ ...styleHeroBanner(),
291
+ ...core.getStyleBackgroundByDevice(background, {
292
+ ignoreBgAttachment: true,
293
+ ignoreBackgroundImage: true,
294
+ ignoreBackgroundColor: backgroundResponsive[currentDevice]?.type === 'video'
295
+ }),
296
+ ...core.makeStyleResponsive('bgi', {
297
+ desktop: bgiEnableByDevice['desktop'] ? getBgImageByDeviceOnly('desktop') : 'url()',
298
+ tablet: bgiEnableByDevice['tablet'] ? getBgImageByDeviceOnly('tablet') : 'url()',
299
+ mobile: bgiEnableByDevice['mobile'] ? getBgImageByDeviceOnly('mobile') : 'url()'
300
+ }),
301
+ ...core.getGradientBgrStyleByDevice(background, bgiEnableByDevice),
302
+ position: attachment === 'fixed' ? 'fixed' : 'absolute',
303
+ '--duration': `${hoverEffectDuration ?? 0}s`,
304
+ '--scale': hoverEffectScale ?? 1,
305
+ transform,
306
+ transition: 'transform 300ms cubic-bezier(0,0,0,1)'
307
+ },
308
+ children: embed
309
+ })
310
+ }),
311
+ overlayEnable && /*#__PURE__*/ jsxRuntime.jsx("div", {
312
+ "aria-label": "Overlay",
313
+ role: "banner",
314
+ className: core.cls('gp-absolute gp-inset-0 gp-left-[var(--left)] gp-top-[var(--top)] gp-z-1 gp-transition-all gp-duration-300 group-hover/hero:gp-bg-[color:var(--hvr-bgc,_var(--bgc))] group-hover/hero:gp-opacity-[var(--hvr-op,_var(--op))]', core.getGlobalColorStateClass('bg', overlayColor)),
315
+ style: {
316
+ ...core.getGlobalColorStateStyle('bgc', overlayColor),
317
+ ...core.makeStyleState('op', overlayOpacity),
318
+ '--top': 0,
319
+ '--left': 0
320
+ }
321
+ }),
322
+ !!link?.link && mode !== 'edit' && /*#__PURE__*/ jsxRuntime.jsx(Link.default, {
323
+ setting: {
324
+ href: link.link,
325
+ target: link.target
305
326
  },
306
- children: embed
307
- })
308
- }),
309
- overlayEnable && /*#__PURE__*/ jsxRuntime.jsx("div", {
310
- "aria-label": "Overlay",
311
- role: "banner",
312
- className: core.cls('gp-absolute gp-inset-0 gp-left-[var(--left)] gp-top-[var(--top)] gp-z-1 gp-transition-all gp-duration-300 group-hover/hero:gp-bg-[color:var(--hvr-bgc,_var(--bgc))] group-hover/hero:gp-opacity-[var(--hvr-op,_var(--op))]', core.getGlobalColorStateClass('bg', overlayColor)),
313
- style: {
314
- ...core.getGlobalColorStateStyle('bgc', overlayColor),
315
- ...core.makeStyleState('op', overlayOpacity),
316
- '--top': 0,
317
- '--left': 0
318
- }
319
- }),
320
- !!link?.link && mode !== 'edit' && /*#__PURE__*/ jsxRuntime.jsx(Link.default, {
321
- setting: {
322
- href: link.link,
323
- target: link.target
324
- },
325
- className: "gp-absolute gp-inset-0 gp-z-1"
326
- }),
327
- /*#__PURE__*/ jsxRuntime.jsx(Row.default, {
328
- className: core.cls('gp-hero-banner-row gp-z-1 gp-w-full', common.getClassForContentByFitContent(sizeSetting, background), common.getClassForStretchContent(verticalAlign), common.getClassSpaceBetween(setting?.layout || {}, styles?.contentPosition1Col || {}, styles?.contentPosition2Col || {})),
329
- setting: {
330
- layout,
331
- horizontalAlign: rowHorizontalAlign,
332
- verticalAlign,
333
- order
334
- },
335
- styles: {
336
- width: common.getWidth(contentWidth),
337
- verticalGutter,
338
- fullWidth: {
339
- desktop: false,
340
- tablet: false,
341
- mobile: false
327
+ className: "gp-absolute gp-inset-0 gp-z-1"
328
+ }),
329
+ /*#__PURE__*/ jsxRuntime.jsx(Row.default, {
330
+ className: core.cls('gp-hero-banner-row gp-z-1 gp-w-full', common.getClassForContentByFitContent(sizeSetting, background), common.getClassForStretchContent(verticalAlign), common.getClassSpaceBetween(setting?.layout || {}, styles?.contentPosition1Col || {}, styles?.contentPosition2Col || {})),
331
+ setting: {
332
+ layout,
333
+ horizontalAlign: rowHorizontalAlign,
334
+ verticalAlign,
335
+ order
336
+ },
337
+ styles: {
338
+ width: common.getWidth(contentWidth),
339
+ verticalGutter,
340
+ fullWidth: {
341
+ desktop: false,
342
+ tablet: false,
343
+ mobile: false
344
+ }
345
+ },
346
+ style: {
347
+ ...contentPaddingStyle
348
+ },
349
+ onBlur: (e)=>e?.target?.closest('div.gp-hero-banner-row')?.scrollTo(0, 0),
350
+ children: core.filterToolbarPreview(children)
351
+ }),
352
+ !isDisplayBGVideo && /*#__PURE__*/ jsxRuntime.jsx(AdaptiveImage.default, {
353
+ srcSet: common.getBgImage(background),
354
+ aspectRatio: core.getAspectRatioGlobalSize(sizeSetting),
355
+ pictureClass: "gp-w-full",
356
+ style: {
357
+ ...common.getDisplayStyleByFitContent(sizeSetting, background),
358
+ ...styleHeight,
359
+ ...styleWidth,
360
+ '--op': 0,
361
+ '--z': -1
342
362
  }
343
- },
344
- style: {
345
- ...contentPaddingStyle
346
- },
347
- onBlur: (e)=>e?.target?.closest('div.gp-hero-banner-row')?.scrollTo(0, 0),
348
- children: core.filterToolbarPreview(children)
349
- }),
350
- !isDisplayBGVideo && /*#__PURE__*/ jsxRuntime.jsx(AdaptiveImage.default, {
351
- srcSet: common.getBgImage(background),
352
- aspectRatio: core.getAspectRatioGlobalSize(sizeSetting),
353
- pictureClass: "gp-w-full",
354
- style: {
355
- ...common.getDisplayStyleByFitContent(sizeSetting, background),
356
- ...styleHeight,
357
- ...styleWidth,
358
- '--op': 0,
359
- '--z': -1
360
- }
361
- })
362
- ]
363
- }),
364
- core.filterToolbarPreview(children, true)
365
- ]
363
+ })
364
+ ]
365
+ }),
366
+ core.filterToolbarPreview(children, true)
367
+ ]
368
+ })
366
369
  })
367
370
  ]
368
371
  });
@@ -223,142 +223,145 @@ const HeroBanner = ({ builderAttrs, builderProps, setting, styles, style, childr
223
223
  })
224
224
  ]
225
225
  }),
226
- /*#__PURE__*/ jsxs("div", {
227
- ...builderAttrs,
228
- "data-id": builderProps?.uid,
229
- className: cls(builderProps?.uid, 'gp-group/hero gp-flex gp-w-full gp-flex-col gp-self-center gp-transition-colors gp-duration-200 gp-ease-in-out', getClassAlignBanner(alignBannerData)),
230
- style: {
231
- ...style,
232
- ...visibilityStyle,
233
- ...styleHeight,
234
- ...styleWidth,
235
- ...styleAspectRatio
236
- },
237
- onMouseEnter: onMouseEnterParallax,
238
- onMouseLeave: onMouseLeaveParallax,
239
- children: [
240
- /*#__PURE__*/ jsxs("div", {
241
- ref: refContainer,
242
- className: cls('gp-relative gp-flex gp-w-full gp-flex-col gp-items-center gp-overflow-hidden hero-banner-container', {
243
- 'gp-justify-center': contentPosition[currentDevice] === 'center',
244
- 'gp-justify-start': contentPosition[currentDevice] === 'top',
245
- 'gp-justify-end': contentPosition[currentDevice] === 'bottom'
246
- }),
247
- style: {
248
- ...styleHeight,
249
- ...styleAspectRatio,
250
- ...makeStyle({
251
- bs: borderBg?.border ?? borderBg?.border,
252
- bw: borderBg?.width ?? borderBg?.width,
253
- bc: getSingleColorVariable(borderBg?.color)
226
+ /*#__PURE__*/ jsx("div", {
227
+ className: "gp-flex",
228
+ children: /*#__PURE__*/ jsxs("div", {
229
+ ...builderAttrs,
230
+ "data-id": builderProps?.uid,
231
+ className: cls(builderProps?.uid, 'gp-group/hero gp-flex gp-w-full gp-flex-col gp-self-center gp-transition-colors gp-duration-200 gp-ease-in-out', getClassAlignBanner(alignBannerData)),
232
+ style: {
233
+ ...style,
234
+ ...visibilityStyle,
235
+ ...styleHeight,
236
+ ...styleWidth,
237
+ ...styleAspectRatio
238
+ },
239
+ onMouseEnter: onMouseEnterParallax,
240
+ onMouseLeave: onMouseLeaveParallax,
241
+ children: [
242
+ /*#__PURE__*/ jsxs("div", {
243
+ ref: refContainer,
244
+ className: cls('gp-relative gp-flex gp-w-full gp-flex-col gp-items-center gp-overflow-hidden hero-banner-container', {
245
+ 'gp-justify-center': contentPosition[currentDevice] === 'center',
246
+ 'gp-justify-start': contentPosition[currentDevice] === 'top',
247
+ 'gp-justify-end': contentPosition[currentDevice] === 'bottom'
254
248
  }),
255
- ...getRadiusStyleActiveState({
256
- ...cornerBg,
257
- active: {
258
- ...cornerBg || {},
259
- radiusType: 'custom'
260
- }
261
- }),
262
- ...getStyleShadow({
263
- value: shadowBg,
264
- styleAppliedFor: 'box-shadow',
265
- isEnableShadow: hasActiveShadow
266
- })
267
- },
268
- children: [
269
- /*#__PURE__*/ jsx("div", {
270
- ref: elementRef,
271
- "aria-label": "Background Image",
272
- role: "banner",
273
- className: "gp-absolute gp-overflow-hidden gp-w-full gp-h-full left-0 top-0",
274
- style: {
275
- clipPath: getClipPath(borderBg?.width, cornerBg)
276
- },
277
- children: /*#__PURE__*/ jsx("div", {
278
- ref: bgRef,
279
- className: cls('hero-banner-bg gp-hero-banner-image-background', {
280
- 'gp-duration-[var(--duration)] group-hover/hero:gp-scale-[var(--scale)]': hoverEffect,
281
- 'gp-transition-transform': hoverEffect
282
- }),
249
+ style: {
250
+ ...styleHeight,
251
+ ...styleAspectRatio,
252
+ ...makeStyle({
253
+ bs: borderBg?.border ?? borderBg?.border,
254
+ bw: borderBg?.width ?? borderBg?.width,
255
+ bc: getSingleColorVariable(borderBg?.color)
256
+ }),
257
+ ...getRadiusStyleActiveState({
258
+ ...cornerBg,
259
+ active: {
260
+ ...cornerBg || {},
261
+ radiusType: 'custom'
262
+ }
263
+ }),
264
+ ...getStyleShadow({
265
+ value: shadowBg,
266
+ styleAppliedFor: 'box-shadow',
267
+ isEnableShadow: hasActiveShadow
268
+ })
269
+ },
270
+ children: [
271
+ /*#__PURE__*/ jsx("div", {
272
+ ref: elementRef,
273
+ "aria-label": "Background Image",
274
+ role: "banner",
275
+ className: "gp-absolute gp-overflow-hidden gp-w-full gp-h-full left-0 top-0",
283
276
  style: {
284
- ...styleHeroBanner(),
285
- ...getStyleBackgroundByDevice(background, {
286
- ignoreBgAttachment: true,
287
- ignoreBackgroundImage: true,
288
- ignoreBackgroundColor: backgroundResponsive[currentDevice]?.type === 'video'
289
- }),
290
- ...makeStyleResponsive('bgi', {
291
- desktop: bgiEnableByDevice['desktop'] ? getBgImageByDeviceOnly('desktop') : 'url()',
292
- tablet: bgiEnableByDevice['tablet'] ? getBgImageByDeviceOnly('tablet') : 'url()',
293
- mobile: bgiEnableByDevice['mobile'] ? getBgImageByDeviceOnly('mobile') : 'url()'
277
+ clipPath: getClipPath(borderBg?.width, cornerBg)
278
+ },
279
+ children: /*#__PURE__*/ jsx("div", {
280
+ ref: bgRef,
281
+ className: cls('hero-banner-bg gp-hero-banner-image-background', {
282
+ 'gp-duration-[var(--duration)] group-hover/hero:gp-scale-[var(--scale)]': hoverEffect,
283
+ 'gp-transition-transform': hoverEffect
294
284
  }),
295
- ...getGradientBgrStyleByDevice(background, bgiEnableByDevice),
296
- position: attachment === 'fixed' ? 'fixed' : 'absolute',
297
- '--duration': `${hoverEffectDuration ?? 0}s`,
298
- '--scale': hoverEffectScale ?? 1,
299
- transform,
300
- transition: 'transform 300ms cubic-bezier(0,0,0,1)'
285
+ style: {
286
+ ...styleHeroBanner(),
287
+ ...getStyleBackgroundByDevice(background, {
288
+ ignoreBgAttachment: true,
289
+ ignoreBackgroundImage: true,
290
+ ignoreBackgroundColor: backgroundResponsive[currentDevice]?.type === 'video'
291
+ }),
292
+ ...makeStyleResponsive('bgi', {
293
+ desktop: bgiEnableByDevice['desktop'] ? getBgImageByDeviceOnly('desktop') : 'url()',
294
+ tablet: bgiEnableByDevice['tablet'] ? getBgImageByDeviceOnly('tablet') : 'url()',
295
+ mobile: bgiEnableByDevice['mobile'] ? getBgImageByDeviceOnly('mobile') : 'url()'
296
+ }),
297
+ ...getGradientBgrStyleByDevice(background, bgiEnableByDevice),
298
+ position: attachment === 'fixed' ? 'fixed' : 'absolute',
299
+ '--duration': `${hoverEffectDuration ?? 0}s`,
300
+ '--scale': hoverEffectScale ?? 1,
301
+ transform,
302
+ transition: 'transform 300ms cubic-bezier(0,0,0,1)'
303
+ },
304
+ children: embed
305
+ })
306
+ }),
307
+ overlayEnable && /*#__PURE__*/ jsx("div", {
308
+ "aria-label": "Overlay",
309
+ role: "banner",
310
+ className: cls('gp-absolute gp-inset-0 gp-left-[var(--left)] gp-top-[var(--top)] gp-z-1 gp-transition-all gp-duration-300 group-hover/hero:gp-bg-[color:var(--hvr-bgc,_var(--bgc))] group-hover/hero:gp-opacity-[var(--hvr-op,_var(--op))]', getGlobalColorStateClass('bg', overlayColor)),
311
+ style: {
312
+ ...getGlobalColorStateStyle('bgc', overlayColor),
313
+ ...makeStyleState('op', overlayOpacity),
314
+ '--top': 0,
315
+ '--left': 0
316
+ }
317
+ }),
318
+ !!link?.link && mode !== 'edit' && /*#__PURE__*/ jsx(Link, {
319
+ setting: {
320
+ href: link.link,
321
+ target: link.target
301
322
  },
302
- children: embed
303
- })
304
- }),
305
- overlayEnable && /*#__PURE__*/ jsx("div", {
306
- "aria-label": "Overlay",
307
- role: "banner",
308
- className: cls('gp-absolute gp-inset-0 gp-left-[var(--left)] gp-top-[var(--top)] gp-z-1 gp-transition-all gp-duration-300 group-hover/hero:gp-bg-[color:var(--hvr-bgc,_var(--bgc))] group-hover/hero:gp-opacity-[var(--hvr-op,_var(--op))]', getGlobalColorStateClass('bg', overlayColor)),
309
- style: {
310
- ...getGlobalColorStateStyle('bgc', overlayColor),
311
- ...makeStyleState('op', overlayOpacity),
312
- '--top': 0,
313
- '--left': 0
314
- }
315
- }),
316
- !!link?.link && mode !== 'edit' && /*#__PURE__*/ jsx(Link, {
317
- setting: {
318
- href: link.link,
319
- target: link.target
320
- },
321
- className: "gp-absolute gp-inset-0 gp-z-1"
322
- }),
323
- /*#__PURE__*/ jsx(Row, {
324
- className: cls('gp-hero-banner-row gp-z-1 gp-w-full', getClassForContentByFitContent(sizeSetting, background), getClassForStretchContent(verticalAlign), getClassSpaceBetween(setting?.layout || {}, styles?.contentPosition1Col || {}, styles?.contentPosition2Col || {})),
325
- setting: {
326
- layout,
327
- horizontalAlign: rowHorizontalAlign,
328
- verticalAlign,
329
- order
330
- },
331
- styles: {
332
- width: getWidth(contentWidth),
333
- verticalGutter,
334
- fullWidth: {
335
- desktop: false,
336
- tablet: false,
337
- mobile: false
323
+ className: "gp-absolute gp-inset-0 gp-z-1"
324
+ }),
325
+ /*#__PURE__*/ jsx(Row, {
326
+ className: cls('gp-hero-banner-row gp-z-1 gp-w-full', getClassForContentByFitContent(sizeSetting, background), getClassForStretchContent(verticalAlign), getClassSpaceBetween(setting?.layout || {}, styles?.contentPosition1Col || {}, styles?.contentPosition2Col || {})),
327
+ setting: {
328
+ layout,
329
+ horizontalAlign: rowHorizontalAlign,
330
+ verticalAlign,
331
+ order
332
+ },
333
+ styles: {
334
+ width: getWidth(contentWidth),
335
+ verticalGutter,
336
+ fullWidth: {
337
+ desktop: false,
338
+ tablet: false,
339
+ mobile: false
340
+ }
341
+ },
342
+ style: {
343
+ ...contentPaddingStyle
344
+ },
345
+ onBlur: (e)=>e?.target?.closest('div.gp-hero-banner-row')?.scrollTo(0, 0),
346
+ children: filterToolbarPreview(children)
347
+ }),
348
+ !isDisplayBGVideo && /*#__PURE__*/ jsx(AdaptiveImage, {
349
+ srcSet: getBgImage(background),
350
+ aspectRatio: getAspectRatioGlobalSize(sizeSetting),
351
+ pictureClass: "gp-w-full",
352
+ style: {
353
+ ...getDisplayStyleByFitContent(sizeSetting, background),
354
+ ...styleHeight,
355
+ ...styleWidth,
356
+ '--op': 0,
357
+ '--z': -1
338
358
  }
339
- },
340
- style: {
341
- ...contentPaddingStyle
342
- },
343
- onBlur: (e)=>e?.target?.closest('div.gp-hero-banner-row')?.scrollTo(0, 0),
344
- children: filterToolbarPreview(children)
345
- }),
346
- !isDisplayBGVideo && /*#__PURE__*/ jsx(AdaptiveImage, {
347
- srcSet: getBgImage(background),
348
- aspectRatio: getAspectRatioGlobalSize(sizeSetting),
349
- pictureClass: "gp-w-full",
350
- style: {
351
- ...getDisplayStyleByFitContent(sizeSetting, background),
352
- ...styleHeight,
353
- ...styleWidth,
354
- '--op': 0,
355
- '--z': -1
356
- }
357
- })
358
- ]
359
- }),
360
- filterToolbarPreview(children, true)
361
- ]
359
+ })
360
+ ]
361
+ }),
362
+ filterToolbarPreview(children, true)
363
+ ]
364
+ })
362
365
  })
363
366
  ]
364
367
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/components",
3
- "version": "2.0.0-staging.128",
3
+ "version": "2.0.0-staging.129",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",