@gem-sdk/components 2.0.0-staging.127 → 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
  });
@@ -59,6 +59,7 @@ const Row = ({ className, children, setting, builderAttrs, builderProps, styles,
59
59
  return core.template`
60
60
  ${core.RenderIf(!!styles?.preloadBgImage, `${core.RenderIf(!!background?.desktop?.image?.src, `<link rel="preload" href="${background?.desktop?.image?.src}" as="image" />`)}${core.RenderIf(!!background?.tablet?.image?.src, `<link rel="preload" href="${background?.tablet?.image?.src}" as="image" />`)}${core.RenderIf(!!background?.mobile?.image?.src, `<link rel="preload" href="${background?.mobile?.image?.src}" as="image" />`)}`)}
61
61
  ${core.template`
62
+ ${core.RenderIf(!!isSection, `{% assign locationOrigin = request.origin | append: routes.root_url | split: '/' | join: '/' %}`)}
62
63
  <${elementTag}
63
64
  class="gp-max-w-full ${isSection ? helpers.getSettingPreloadData('gps-lazy') : ''}"
64
65
  data-same-height-display-contents="${!!setting?.allowSameHeight}"
@@ -72,7 +72,11 @@ const getInsertLinkData = (defaultWrap, setting, htmlType)=>{
72
72
  const isShopifyDomain = isHyperlink && !regexHttp.test(urlHref) && regexPageType.test(urlHref);
73
73
  const isDomain = isHyperlink && regexHttp.test(urlHref);
74
74
  if (isShopifyDomain || isHomePageHref) {
75
- urlHref = "{{ request.origin }}{{ routes.root_url | split: '/' | join: '/' }}" + urlHref;
75
+ if (setting?.isTranslate) {
76
+ urlHref = '$locationOrigin' + urlHref;
77
+ } else {
78
+ urlHref = "{{ request.origin }}{{ routes.root_url | split: '/' | join: '/' }}" + urlHref;
79
+ }
76
80
  }
77
81
  const isLink = ()=>{
78
82
  if (URL_START_WITH.find((el)=>urlHref.startsWith(el))) return true;
@@ -97,6 +101,25 @@ const getInsertLinkData = (defaultWrap, setting, htmlType)=>{
97
101
  shouldRenderLink
98
102
  };
99
103
  };
104
+ const replaceLinkData = (text)=>{
105
+ const regex = /<a\s[^>]*>.*?<\/a>/;
106
+ if (text && regex.test(text)) {
107
+ const regex = // eslint-disable-next-line regexp/no-super-linear-backtracking, regexp/no-unused-capturing-group
108
+ /<a\s+(?:[^>]*?\s+)?href=["']([^"']*)["'](?:\s+[^>]*?)?(?:target=["']([^"']*)["'])?.*?>.*?<\/a>/gi;
109
+ let newText = text.toString();
110
+ let match;
111
+ while((match = regex.exec(newText)) !== null){
112
+ const href = match[1];
113
+ const { urlData } = getInsertLinkData('', {
114
+ link: href,
115
+ isTranslate: true
116
+ });
117
+ newText = newText.replace(match[0], match[0].replace(/(href=['"])([^'"]*)(['"])/i, `$1${urlData.href}$3`));
118
+ }
119
+ return newText;
120
+ }
121
+ return text;
122
+ };
100
123
 
101
124
  exports.getDynamicSourceLocales = getDynamicSourceLocales;
102
125
  exports.getInsertLinkData = getInsertLinkData;
@@ -105,4 +128,5 @@ exports.getStaticLocale = getStaticLocale;
105
128
  exports.isHexTransparent = isHexTransparent;
106
129
  exports.isTransparentColor = isTransparentColor;
107
130
  exports.isTransparentRGBA = isTransparentRGBA;
131
+ exports.replaceLinkData = replaceLinkData;
108
132
  exports.youtubeShortsRegex = youtubeShortsRegex;
package/dist/cjs/index.js CHANGED
@@ -302,6 +302,7 @@ require('react/jsx-runtime');
302
302
  require('@gem-sdk/core');
303
303
  require('react');
304
304
  var _const = require('./common/const.js');
305
+ var helpers = require('./helpers.js');
305
306
  var index$N = require('./post-purchase/text/setting/index.js');
306
307
  var Text$1 = require('./post-purchase/text/Text.js');
307
308
 
@@ -606,5 +607,14 @@ exports.liquidComponents = index_liquid;
606
607
  exports.builderComponent = builder.default;
607
608
  exports.componentSettings = setting.default;
608
609
  exports.ELEMENT_Z_INDEX = _const.ELEMENT_Z_INDEX;
610
+ exports.getDynamicSourceLocales = helpers.getDynamicSourceLocales;
611
+ exports.getInsertLinkData = helpers.getInsertLinkData;
612
+ exports.getSettingPreloadData = helpers.getSettingPreloadData;
613
+ exports.getStaticLocale = helpers.getStaticLocale;
614
+ exports.isHexTransparent = helpers.isHexTransparent;
615
+ exports.isTransparentColor = helpers.isTransparentColor;
616
+ exports.isTransparentRGBA = helpers.isTransparentRGBA;
617
+ exports.replaceLinkData = helpers.replaceLinkData;
618
+ exports.youtubeShortsRegex = helpers.youtubeShortsRegex;
609
619
  exports.postPurchaseTextSetting = index$N.default;
610
620
  exports.PostPurchaseText = Text$1.default;
@@ -18,23 +18,13 @@ const Text = ({ styles, builderAttrs, style, setting, advanced, builderProps, cl
18
18
  return classList;
19
19
  };
20
20
  let displayText = '';
21
- let renderText = '';
22
- const regexCheckHasTagLink = /<a\s[^>]*>.*?<\/a>/;
23
- if (text && regexCheckHasTagLink.test(text)) {
24
- const regex = // eslint-disable-next-line regexp/no-super-linear-backtracking, regexp/no-unused-capturing-group
25
- /<a\s+(?:[^>]*?\s+)?href=["']([^"']*)["'](?:\s+[^>]*?)?(?:target=["']([^"']*)["'])?.*?>.*?<\/a>/gi;
26
- let newText = text.toString();
27
- let match;
28
- while((match = regex.exec(newText)) !== null){
29
- const href = match[1];
30
- const { urlData } = helpers.getInsertLinkData('', {
31
- link: href
32
- });
33
- newText = newText.replace(match[0], match[0].replace(/(href=['"])([^'"]*)(['"])/i, `$1${urlData.href}$3`));
34
- }
35
- renderText = newText;
36
- } else {
37
- renderText = text;
21
+ const isHeadingOrTextComponent = [
22
+ 'Heading',
23
+ 'Text'
24
+ ].includes(builderProps?.builderData?.tag ?? '');
25
+ let renderText = text;
26
+ if (isHeadingOrTextComponent) {
27
+ renderText = helpers.replaceLinkData(text?.toString());
38
28
  }
39
29
  if (isForceValue) {
40
30
  displayText = renderText;
@@ -45,8 +35,12 @@ const Text = ({ styles, builderAttrs, style, setting, advanced, builderProps, cl
45
35
  settingId: setting?.translate,
46
36
  pageContext,
47
37
  isCapitalize: styles?.typo?.attrs?.transform === 'capitalize',
48
- translate: setting.translate
38
+ translate: setting.translate,
39
+ isLiquid: isHeadingOrTextComponent
49
40
  });
41
+ if (isHeadingOrTextComponent) {
42
+ displayText = `{{ ${displayText} | replace: '$locationOrigin', locationOrigin }}`;
43
+ }
50
44
  } else {
51
45
  displayText = styles?.typo?.attrs?.transform === 'capitalize' ? renderText?.toString().toLocaleLowerCase() : renderText;
52
46
  }
@@ -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
  });
@@ -1,5 +1,5 @@
1
1
  import { template, cls, RenderIf, isLocalEnv, baseAssetURL } from '@gem-sdk/core';
2
- import { getDynamicSourceLocales, getInsertLinkData, getSettingPreloadData, getStaticLocale } from '../../../helpers.js';
2
+ import { getDynamicSourceLocales, getStaticLocale, getInsertLinkData, getSettingPreloadData } from '../../../helpers.js';
3
3
 
4
4
  const Newsletter = ({ builderProps, setting, children, style, formType, advanced, pageContext })=>{
5
5
  const errorMessage = getDynamicSourceLocales({
@@ -55,6 +55,7 @@ const Row = ({ className, children, setting, builderAttrs, builderProps, styles,
55
55
  return template`
56
56
  ${RenderIf(!!styles?.preloadBgImage, `${RenderIf(!!background?.desktop?.image?.src, `<link rel="preload" href="${background?.desktop?.image?.src}" as="image" />`)}${RenderIf(!!background?.tablet?.image?.src, `<link rel="preload" href="${background?.tablet?.image?.src}" as="image" />`)}${RenderIf(!!background?.mobile?.image?.src, `<link rel="preload" href="${background?.mobile?.image?.src}" as="image" />`)}`)}
57
57
  ${template`
58
+ ${RenderIf(!!isSection, `{% assign locationOrigin = request.origin | append: routes.root_url | split: '/' | join: '/' %}`)}
58
59
  <${elementTag}
59
60
  class="gp-max-w-full ${isSection ? getSettingPreloadData('gps-lazy') : ''}"
60
61
  data-same-height-display-contents="${!!setting?.allowSameHeight}"
@@ -70,7 +70,11 @@ const getInsertLinkData = (defaultWrap, setting, htmlType)=>{
70
70
  const isShopifyDomain = isHyperlink && !regexHttp.test(urlHref) && regexPageType.test(urlHref);
71
71
  const isDomain = isHyperlink && regexHttp.test(urlHref);
72
72
  if (isShopifyDomain || isHomePageHref) {
73
- urlHref = "{{ request.origin }}{{ routes.root_url | split: '/' | join: '/' }}" + urlHref;
73
+ if (setting?.isTranslate) {
74
+ urlHref = '$locationOrigin' + urlHref;
75
+ } else {
76
+ urlHref = "{{ request.origin }}{{ routes.root_url | split: '/' | join: '/' }}" + urlHref;
77
+ }
74
78
  }
75
79
  const isLink = ()=>{
76
80
  if (URL_START_WITH.find((el)=>urlHref.startsWith(el))) return true;
@@ -95,5 +99,24 @@ const getInsertLinkData = (defaultWrap, setting, htmlType)=>{
95
99
  shouldRenderLink
96
100
  };
97
101
  };
102
+ const replaceLinkData = (text)=>{
103
+ const regex = /<a\s[^>]*>.*?<\/a>/;
104
+ if (text && regex.test(text)) {
105
+ const regex = // eslint-disable-next-line regexp/no-super-linear-backtracking, regexp/no-unused-capturing-group
106
+ /<a\s+(?:[^>]*?\s+)?href=["']([^"']*)["'](?:\s+[^>]*?)?(?:target=["']([^"']*)["'])?.*?>.*?<\/a>/gi;
107
+ let newText = text.toString();
108
+ let match;
109
+ while((match = regex.exec(newText)) !== null){
110
+ const href = match[1];
111
+ const { urlData } = getInsertLinkData('', {
112
+ link: href,
113
+ isTranslate: true
114
+ });
115
+ newText = newText.replace(match[0], match[0].replace(/(href=['"])([^'"]*)(['"])/i, `$1${urlData.href}$3`));
116
+ }
117
+ return newText;
118
+ }
119
+ return text;
120
+ };
98
121
 
99
- export { getDynamicSourceLocales, getInsertLinkData, getSettingPreloadData, getStaticLocale, isHexTransparent, isTransparentColor, isTransparentRGBA, youtubeShortsRegex };
122
+ export { getDynamicSourceLocales, getInsertLinkData, getSettingPreloadData, getStaticLocale, isHexTransparent, isTransparentColor, isTransparentRGBA, replaceLinkData, youtubeShortsRegex };
package/dist/esm/index.js CHANGED
@@ -301,5 +301,6 @@ import 'react/jsx-runtime';
301
301
  import '@gem-sdk/core';
302
302
  import 'react';
303
303
  export { ELEMENT_Z_INDEX } from './common/const.js';
304
+ export { getDynamicSourceLocales, getInsertLinkData, getSettingPreloadData, getStaticLocale, isHexTransparent, isTransparentColor, isTransparentRGBA, replaceLinkData, youtubeShortsRegex } from './helpers.js';
304
305
  export { default as postPurchaseTextSetting } from './post-purchase/text/setting/index.js';
305
306
  export { default as PostPurchaseText } from './post-purchase/text/Text.js';
@@ -1,5 +1,5 @@
1
1
  import { makeGlobalSize, composeTypographyClassName, composeTypographyStyle, template, makeStyle, makeStyleResponsive, cls, getGlobalColorClass, getGlobalColorStateClass, getStyleShadowState, getStyleShadow, makeLineClamp, getGlobalColorStyle, getGlobalColorStateStyle, getStyleBackgroundByDevice, getGradientBgrStyleByDevice, getCornerStyle } from '@gem-sdk/core';
2
- import { getInsertLinkData, getDynamicSourceLocales } from '../../helpers.js';
2
+ import { replaceLinkData, getDynamicSourceLocales } from '../../helpers.js';
3
3
 
4
4
  const Text = ({ styles, builderAttrs, style, setting, advanced, builderProps, className, isText, pageContext, elementAttrs, ...props })=>{
5
5
  const { text, htmlTag: Element = 'div', tagWidth, excludeFlex, isForceValue } = setting ?? {};
@@ -14,23 +14,13 @@ const Text = ({ styles, builderAttrs, style, setting, advanced, builderProps, cl
14
14
  return classList;
15
15
  };
16
16
  let displayText = '';
17
- let renderText = '';
18
- const regexCheckHasTagLink = /<a\s[^>]*>.*?<\/a>/;
19
- if (text && regexCheckHasTagLink.test(text)) {
20
- const regex = // eslint-disable-next-line regexp/no-super-linear-backtracking, regexp/no-unused-capturing-group
21
- /<a\s+(?:[^>]*?\s+)?href=["']([^"']*)["'](?:\s+[^>]*?)?(?:target=["']([^"']*)["'])?.*?>.*?<\/a>/gi;
22
- let newText = text.toString();
23
- let match;
24
- while((match = regex.exec(newText)) !== null){
25
- const href = match[1];
26
- const { urlData } = getInsertLinkData('', {
27
- link: href
28
- });
29
- newText = newText.replace(match[0], match[0].replace(/(href=['"])([^'"]*)(['"])/i, `$1${urlData.href}$3`));
30
- }
31
- renderText = newText;
32
- } else {
33
- renderText = text;
17
+ const isHeadingOrTextComponent = [
18
+ 'Heading',
19
+ 'Text'
20
+ ].includes(builderProps?.builderData?.tag ?? '');
21
+ let renderText = text;
22
+ if (isHeadingOrTextComponent) {
23
+ renderText = replaceLinkData(text?.toString());
34
24
  }
35
25
  if (isForceValue) {
36
26
  displayText = renderText;
@@ -41,8 +31,12 @@ const Text = ({ styles, builderAttrs, style, setting, advanced, builderProps, cl
41
31
  settingId: setting?.translate,
42
32
  pageContext,
43
33
  isCapitalize: styles?.typo?.attrs?.transform === 'capitalize',
44
- translate: setting.translate
34
+ translate: setting.translate,
35
+ isLiquid: isHeadingOrTextComponent
45
36
  });
37
+ if (isHeadingOrTextComponent) {
38
+ displayText = `{{ ${displayText} | replace: '$locationOrigin', locationOrigin }}`;
39
+ }
46
40
  } else {
47
41
  displayText = styles?.typo?.attrs?.transform === 'capitalize' ? renderText?.toString().toLocaleLowerCase() : renderText;
48
42
  }
@@ -7799,4 +7799,32 @@ declare const ELEMENT_Z_INDEX: {
7799
7799
  CART_DRAWER_CONFIRM_MODAL: number;
7800
7800
  };
7801
7801
 
7802
- export { Accordion$1 as Accordion, AccordionItem$1 as AccordionItem, AccordionItemProps, AccordionProps, AftershipEmailMarketingsms$1 as AftershipEmailMarketingsms, AftershipEmailMarketingsmsProps, AirProductReviewsAppUgc$1 as AirProductReviewsAppUgc, AirProductReviewsAppUgcProps, AliReviews$1 as AliReviews, AliReviewsProps, AppointmentBookingCowlendar$1 as AppointmentBookingCowlendar, AppointmentBookingCowlendarProps, AppstleSubscriptions$1 as AppstleSubscriptions, AppstleSubscriptionsProps, ArticleAuthor$1 as ArticleAuthor, ArticleCategory$1 as ArticleCategory, ArticleContent$1 as ArticleContent, ArticleDate$1 as ArticleDate, ArticleExcerpt$1 as ArticleExcerpt, ArticleImage$1 as ArticleImage, ArticleList$1 as ArticleList, ArticlePagination$1 as ArticlePagination, ArticleReadMore$1 as ArticleReadMore, ArticleTag$1 as ArticleTag, ArticleTitle$1 as ArticleTitle, BgImage as BackgroundImage, BackgroundImageProps, BasicHeader, BestBuyFulfillment$1 as BestBuyFulfillment, BestBuyFulfillmentProps, BirdChime$1 as BirdChime, BirdChimeProps, Bogos$1 as Bogos, BogosProps, BoldProductOptions$1 as BoldProductOptions, BoldProductOptionsProps, BoldSubscriptions$1 as BoldSubscriptions, BoldSubscriptionsProps, BonLoyaltyRewardsReferrals$1 as BonLoyaltyRewardsReferrals, BonLoyaltyRewardsReferralsProps, BoostAISearchDiscovery$1 as BoostAISearchDiscovery, BoostAISearchDiscoveryProps, Breadcrumb$1 as Breadcrumb, Breadcrumb$1 as BreadcrumbProps, Bundler$1 as Bundler, BundlerProps, Button$2 as Button, ButtonProps, CSSCode$1 as CSSCode, CSSCodeProps, Carousel$1 as Carousel, CarouselItem$1 as CarouselItem, CarouselItemProps, CarouselProps, CarouselSettings, CarouselStyles, Cart, CartCheckout, CartDiscount, CartLineAttribute, CartLineImage, CartLinePrice, CartLineVariant, CartList, CartOrderNote, CartProps, CartTotalItem, CartTotalPrice, CheckoutNow, CleanSizeChartProps, CleanSizeCharts$1 as CleanSizeCharts, Column$1 as Col, ColProps$1 as ColProps, CollectionBanner$1 as CollectionBanner, CollectionBannerProps, CollectionDescription$1 as CollectionDescription, CollectionDescriptionProps, CollectionPaginator$1 as CollectionPaginator, CollectionPaginatorProps, CollectionTitle$1 as CollectionTitle, CollectionTitleProps, CollectionToolbar$1 as CollectionToolbar, CollectionToolbarProps, ContactForm$1 as ContactForm, Countdown$1 as Countdown, CountdownProps, Coupon$1 as Coupon, CouponList, CouponProps, CrossSellCartUpsell$1 as CrossSellCartUpsell, CrossSellCartUpsellProps, CustomProductOptionsVariant$1 as CustomProductOptionsVariant, CustomProductOptionsVariantProps, DataVideoType, DesktopMenu, Dialog$1 as Dialog, DiscountInput, DiscountyBulkDiscountSales$1 as DiscountyBulkDiscountSales, DiscountyBulkDiscountSalesProps, DynamicCheckout$1 as DynamicCheckout, DynamicCheckoutProps, ELEMENT_Z_INDEX, EasifyProductOptions$1 as EasifyProductOptions, EasifyProductOptionsProps, EasyBundleBuilderSkailama$1 as EasyBundleBuilderSkailama, EasyBundleBuilderSkailamaProps, EasySell as EasySellCOD, EasySellProps, EstimateDate$1 as EstimateDate, EstimateDateProps, FastBundleBundlesDiscounts$1 as FastBundleBundlesDiscounts, FastBundleBundlesDiscountsProps, FeraReviews$1 as FeraReviews, FeraReviewsProps, FileUpload$1 as FileUpload, FileUploadProps, FirePush$1 as FirePush, FirePushProps, FlyBundlesUpsellsFbt$1 as FlyBundlesUpsellsFbt, FlyBundlesUpsellsFbtProps, FordeerProductLabels$1 as FordeerProductLabels, FordeerProductLabelsProps, FormCheckbox, FormCheckboxProps, FormDropdown$1 as FormDropdown, FormDropdownProps, FormEmail$1 as FormEmail, FormEmailProps, FormTextArea as FormTextarea, FrequentlyBoughtTogether$1 as FrequentlyBoughtTogether, FrequentlyBoughtTogetherProps, GloboProductOptionsVariant$1 as GloboProductOptionsVariant, GloboProductOptionsVariantProps, GoogleReviewsByReputon$1 as GoogleReviewsByReputon, GoogleReviewsByReputonProps, Growave$1 as Growave, GrowaveProps, Header, HeaderProps, Heading$1 as Heading, HeadingProps, HeroBanner$1 as HeroBanner, HeroBannerProps, HulkFormBuilder$1 as HulkFormBuilder, HulkFormBuilderProps, HulkProductOptions$1 as HulkProductOptions, HulkProductOptionsProps, Icon$1 as Icon, IconList$1 as IconList, IconListHoz$1 as IconListHoz, IconListHozItem, IconListHozProps, IconListItem$1 as IconListItem, IconListItemProps$3 as IconListItemProps, IconListProps$2 as IconListProps, IconListV2$1 as IconListV2, IconProps$1 as IconProps, Image$1 as Image, ImageComparison$1 as ImageComparison, ImageDetection, ImageDetectionProps, ImageProps, InfiniteOptions$1 as InfiniteOptions, InfiniteOptionsProps, Input, InputProps, Instafeed$1 as Instafeed, InstafeedProps, InstantJudgemeReviews, InstantJudgemeReviewsProps, InstantKlaviyo, InstantKlaviyoProps, InstantLooxReviews, InstantLooxReviewsProps, InstantYotpoLoyalty, InstantYotpoLoyaltyProps, InstasellShoppableInstagram$1 as InstasellShoppableInstagram, InstasellShoppableInstagramProps, JudgemeReviews$1 as JudgemeReviews, JudgemeReviewsProps, JunipProductReviewsUgc$1 as JunipProductReviewsUgc, JunipProductReviewsUgcProps, KachingBundles$1 as KachingBundles, KachingBundlesProps, KingProductOptions$1 as KingProductOptions, KingProductOptionsProps, KiteFreeGiftDiscount$1 as KiteFreeGiftDiscount, KiteFreeGiftDiscountProps, KlarnaMessaging$1 as KlarnaMessaging, KlarnaMessagingProps, Klaviyo$1 as Klaviyo, KlaviyoProps, KoalaBundleQuantityDiscount$1 as KoalaBundleQuantityDiscount, KoalaBundleQuantityDiscountProps, LaiProductReviews$1 as LaiProductReviews, LaiProductReviewsProps, Line$2 as Line, LineProps$1 as LineProps, Link$1 as Link, LinkProps$1 as LinkProps, LoloyalLoyaltyReferrals$1 as LoloyalLoyaltyReferrals, LoloyalLoyaltyReferralsProps, LoopSubscriptions$1 as LoopSubscriptions, LoopSubscriptionsProps, LooxReviews$1 as LooxReviews, LooxReviewsProps, Marquee$1 as Marquee, _default$3 as MarqueeItem, MarqueeItemProps, MarqueeProps, MaxbundleProductBundles$1 as MaxbundleProductBundles, MaxbundleProductBundlesProps, MbcBundleVolumeDiscount$1 as MbcBundleVolumeDiscount, MbcBundleVolumeDiscountProps, Menu, MenuProps, MobileMenu, Modal, ModernHeader, MyappgurusProductReviews$1 as MyappgurusProductReviews, MyappgurusProductReviewsProps, Newsletter$1 as Newsletter, NewsletterProps, Notify as Notice, NotificationAPI, NotificationConfig, NotifyBackInStockPreOrder$1 as NotifyBackInStockPreOrder, NotifyBackInStockPreOrderProps, Omnisend$1 as Omnisend, OmnisendProps, Opinew$1 as Opinew, OpinewProps, Pagination, PaginationProps, ParcelPanel$1 as ParcelPanel, ParcelPanelProps, PickyStory$1 as PickyStory, PickyStoryProps, PostPurchaseAcceptButton, PostPurchaseAcceptButtonProps, PostPurchaseAdvancedList, PostPurchaseAdvancedListItem, PostPurchaseAdvancedListProps, Button$1 as PostPurchaseButton, PostPurchaseButtonProps, CalloutBox as PostPurchaseCalloutBox, CalloutText as PostPurchaseCalloutText, PostPurchaseCountdownTimer, PostPurchaseHeading, PostPurchaseImage, PostPurchaseImageProps, Line$1 as PostPurchaseLine, PostPurchaseLineProps, Link as PostPurchaseLink, PostPurchaseLinkProps, PostPurchaseProductDescription, PostPurchaseProductDescriptionProps, PostPurchaseProductDiscountTag, PostPurchaseProductDiscountTagProps, PostPurchaseProductImages, PostPurchaseProductImagesProps, PostPurchaseProductOffer, PostPurchaseProductOfferProps, PostPurchaseProductPrice, PostPurchaseProductPriceBreakdown, PostPurchaseProductPriceBreakdownProps, PostPurchaseProductPriceProps, PostPurchaseProductQuantity, PostPurchaseProductQuantityProps, PostPurchaseProductTitle, PostPurchaseProductTitleProps, PostPurchaseProductVariants, PostPurchaseProductVariantsProps, Text$1 as PostPurchaseText, PostPurchaseTextProps, PowerfulContactFormBuilder$1 as PowerfulContactFormBuilder, PowerfulContactFormBuilderProps, PreorderNowPreOrderPq$1 as PreorderNowPreOrderPq, PreorderNowPreOrderPqProps, PreorderNowWodPresale$1 as PreorderNowWodPresale, PreorderNowWodPresaleProps, Product$1 as Product, ProductBadge$1 as ProductBadge, ProductBadgeProps, ProductBundleDiscount$1 as ProductBundleDiscount, ProductBundleDiscountItem$1 as ProductBundleDiscountItem, ProductButton$1 as ProductButton, ProductButtonProps, ProductDescription$1 as ProductDescription, ProductDescriptionProps$1 as ProductDescriptionProps, ProductImages$2 as ProductImages, ProductImagesProps, ProductImagesV2, ProductList$1 as ProductList, ProductList$1 as ProductListProps, ProductOptionsCustomizer$1 as ProductOptionsCustomizer, ProductOptionsCustomizerProps, ProductOptionsVariantOption$1 as ProductOptionsVariantOption, ProductOptionsVariantOptionProps, ProductPrice$1 as ProductPrice, ProductPriceProps, ProductPropertiesProps, ProductProperties$1 as ProductPropertyInput, ProductProps, ProductQuantity$1 as ProductQuantity, ProductQuantityBreakItemProps, ProductQuantityBreakProps, ProductQuantityProps, QuickView as ProductQuickView, ProductReviews$1 as ProductReviews, ProductReviewsProps, ProductSku$1 as ProductSku, ProductTag$1 as ProductTag, ProductTagProps, ProductTitle$1 as ProductTitle, ProductTitleProps, ProductVariants$1 as ProductVariants, ProductVariantsProps, ProductVendor$1 as ProductVendor, ProductViewMore$1 as ProductViewMore, ProductViewMoreProps, PumperBundlesVolumeDiscount$1 as PumperBundlesVolumeDiscount, PumperBundlesVolumeDiscountProps, PushOwl$1 as PushOwl, PushOwlProps, QikifyUpsell$1 as QikifyUpsell, QikifyUpsellProps, Radio, RadioProps, RapiBundleQuantityBreaks$1 as RapiBundleQuantityBreaks, RapiBundleQuantityBreaksProps, RechargeSubscriptions$1 as RechargeSubscriptions, RechargeSubscriptionsProps, RecurpaySubscriptionApp$1 as RecurpaySubscriptionApp, RecurpaySubscriptionAppProps, Releasit$1 as Releasit, ReleasitProps, RequestQuoteHidePrice$1 as RequestQuoteHidePrice, RequestQuoteHidePriceProps, ReviewxpoProductReviewsApp$1 as ReviewxpoProductReviewsApp, ReviewxpoProductReviewsAppProps, Rivyo$1 as Rivyo, RivyoProps, Root$1 as Root, RootProps$1 as RootProps, Row$1 as Row, RowProps$1 as RowProps, Ryviu$1 as Ryviu, RyviuProps, SealSubscriptions$1 as SealSubscriptions, SealSubscriptionsProps, Section$1 as Section, SegunoEmailMarketing$1 as SegunoEmailMarketing, SegunoEmailMarketingProps, Select, SelectProps, Selleasy$1 as Selleasy, SelleasyProps, SeoantTrustBadgesIcon$1 as SeoantTrustBadgesIcon, SeoantTrustBadgesIconProps, ShopPayButton$1 as ShopPayButton, ShopPayButtonProps, ShopPayInstallments$1 as ShopPayInstallments, ShopifyForms$1 as ShopifyForms, ShopifyFormsProps, ShopifySubscriptions$1 as ShopifySubscriptions, ShopifySubscriptionsProps, SimpleBundlesKits$1 as SimpleBundlesKits, SimpleBundlesKitsProps, SkioSubscriptionsYcS20$1 as SkioSubscriptionsYcS20, SkioSubscriptionsYcS20Props, SkuProps, SmartSearchBarAndFilters$1 as SmartSearchBarAndFilters, SmartSearchBarAndFiltersProps, SproutPlantTreesGrowSales$1 as SproutPlantTreesGrowSales, SproutPlantTreesGrowSalesProps, Stamped$1 as Stamped, StampedProps, Sticky$1 as Sticky, StickyProps, StockCounter$1 as StockCounter, StockCounterProps$1 as StockCounterProps, SubifySubscriptionsApp$1 as SubifySubscriptionsApp, SubifySubscriptionsAppProps, SubmitButton$1 as SubmitButton, SubmitButtonProps, TabItem$1 as TabItem, TabItemProps, Tabs$1 as Tabs, TabsProps, TagembedSocialPostReview$1 as TagembedSocialPostReview, TagembedSocialPostReviewProps, TagshopShoppableVideosUgc$1 as TagshopShoppableVideosUgc, TagshopShoppableVideosUgcProps, TeeinblueProductPersonalizer$1 as TeeinblueProductPersonalizer, TeeinblueProductPersonalizerProps, Text$2 as Text, TextAreaProps, TextField$1 as TextField, TextFieldProps, TextProps$1 as TextProps, TextArea as Textarea, TextareaProps, ThirdPartySlot$1 as ThirdPartySlot, TrustMe$1 as TrustMe, TrustMeProps, Trustoo$1 as Trustoo, TrustooProps, TrustreviewsProductReviews$1 as TrustreviewsProductReviews, TrustreviewsProductReviewsProps, TrustshopProductReviews$1 as TrustshopProductReviews, TrustshopProductReviewsProps, UltimateSalesBoost$1 as UltimateSalesBoost, UltimateSalesBoostProps, UnlimitedBundlesDiscounts$1 as UnlimitedBundlesDiscounts, UnlimitedBundlesDiscountsProps, VendorProps, Video$1 as Video, Vitals$1 as Vitals, VitalsProps, WhatmoreShoppableVideosreel$1 as WhatmoreShoppableVideosreel, WhatmoreShoppableVideosreelProps, WideBundle$1 as WideBundle, WideBundleProps, Wiser$1 as Wiser, WiserProps, WishlistKing$1 as WishlistKing, WishlistKingProps, WishlistPlus$1 as WishlistPlus, WishlistPlusProps, YotpoLoyalty, YotpoLoyaltyProps, YotpoReviews$1 as YotpoReviews, YotpoReviewsProps, _default$U as accordionSetting, _default$5 as articleListSetting, _default$s as bannerSetting, _default$T as breadcrumbSetting, _default$1 as builderComponent, _default$S as buttonSetting, _default$Q as carouselSetting, _default$N as cartSetting, _default$q as codeSetting, _default$M as collectionSetting, _default as componentSettings, _default$m as contactFormSetting, _default$L as countdownSetting, _default$R as couponSetting, _default$n as dialogSetting, _default$6 as estimateDeliverySetting, _default$O as gridSetting, _default$J as headerSetting, _default$K as headingSetting, _default$p as iconListHozSetting, _default$r as iconListSetting, _default$g as iconListSettingV2, _default$I as iconSetting, _default$k as imageComparisonSetting, _default$l as imageDetectionSetting, _default$P as imageSetting, _default$H as inputSetting, _default$G as lineSetting, _default$F as linkSetting, index_liquid as liquidComponents, _default$4 as marqueeSetting, _default$v as menuSetting, _default$E as modalSetting, _default$2 as nextComponent, openConfirm, _default$D as paginationSetting, _default$9 as postPurchaseAdvancedListSetting, _default$d as postPurchaseButtonSetting, _default$b as postPurchaseCalloutBoxSetting, _default$8 as postPurchaseCountdownTimerSetting, _default$e as postPurchaseImageSetting, _default$a as postPurchaseLineSetting, _default$7 as postPurchaseLinkSetting, postPurchaseProduct1Col, postPurchaseProduct2Col, postPurchaseProductDefault, _default$c as postPurchaseProductSetting, _default$f as postPurchaseTextSetting, _default$C as productSetting, _default$A as radioSetting, _default$z as selectSetting, _default$i as shopPayInstallmentSetting, _default$h as stickySetting, _default$o as stockCounterSetting, _default$y as tabSetting, _default$B as textSetting, _default$x as textareaSetting, _default$t as thirdPartyInstantSetting, _default$u as thirdPartySetting, _default$j as thirdPartySlotSetting, useInView, useNotification, _default$w as videoSetting };
7802
+ type DynamicSource = {
7803
+ val: React.ReactNode;
7804
+ uid?: string;
7805
+ settingId: string;
7806
+ isLiquid?: boolean;
7807
+ pageContext?: PageContext;
7808
+ isCapitalize?: boolean;
7809
+ defaultVal?: string;
7810
+ translate?: string;
7811
+ };
7812
+ declare const isTransparentColor: (str?: string) => boolean;
7813
+ declare const isTransparentRGBA: (rgbStr: string) => boolean;
7814
+ declare const isHexTransparent: (hex: string) => boolean;
7815
+ declare const youtubeShortsRegex: RegExp;
7816
+ declare const getDynamicSourceLocales: ({ val, uid, settingId, isLiquid, pageContext, isCapitalize, defaultVal, translate, }: DynamicSource) => string | number | boolean | React.ReactElement<any, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode>;
7817
+ declare const getStaticLocale: (tag: string, key: string) => string;
7818
+ declare const getSettingPreloadData: (disabledValue: string, enabledValue?: string) => string;
7819
+ declare const getInsertLinkData: (defaultWrap: string, setting?: {
7820
+ link?: string;
7821
+ target?: string;
7822
+ isTranslate?: boolean;
7823
+ }, htmlType?: React.ButtonHTMLAttributes<HTMLButtonElement>['type'] | 'link') => {
7824
+ Wrap: string;
7825
+ urlData: Record<string, any>;
7826
+ shouldRenderLink: boolean;
7827
+ };
7828
+ declare const replaceLinkData: (text?: string) => string | undefined;
7829
+
7830
+ export { Accordion$1 as Accordion, AccordionItem$1 as AccordionItem, AccordionItemProps, AccordionProps, AftershipEmailMarketingsms$1 as AftershipEmailMarketingsms, AftershipEmailMarketingsmsProps, AirProductReviewsAppUgc$1 as AirProductReviewsAppUgc, AirProductReviewsAppUgcProps, AliReviews$1 as AliReviews, AliReviewsProps, AppointmentBookingCowlendar$1 as AppointmentBookingCowlendar, AppointmentBookingCowlendarProps, AppstleSubscriptions$1 as AppstleSubscriptions, AppstleSubscriptionsProps, ArticleAuthor$1 as ArticleAuthor, ArticleCategory$1 as ArticleCategory, ArticleContent$1 as ArticleContent, ArticleDate$1 as ArticleDate, ArticleExcerpt$1 as ArticleExcerpt, ArticleImage$1 as ArticleImage, ArticleList$1 as ArticleList, ArticlePagination$1 as ArticlePagination, ArticleReadMore$1 as ArticleReadMore, ArticleTag$1 as ArticleTag, ArticleTitle$1 as ArticleTitle, BgImage as BackgroundImage, BackgroundImageProps, BasicHeader, BestBuyFulfillment$1 as BestBuyFulfillment, BestBuyFulfillmentProps, BirdChime$1 as BirdChime, BirdChimeProps, Bogos$1 as Bogos, BogosProps, BoldProductOptions$1 as BoldProductOptions, BoldProductOptionsProps, BoldSubscriptions$1 as BoldSubscriptions, BoldSubscriptionsProps, BonLoyaltyRewardsReferrals$1 as BonLoyaltyRewardsReferrals, BonLoyaltyRewardsReferralsProps, BoostAISearchDiscovery$1 as BoostAISearchDiscovery, BoostAISearchDiscoveryProps, Breadcrumb$1 as Breadcrumb, Breadcrumb$1 as BreadcrumbProps, Bundler$1 as Bundler, BundlerProps, Button$2 as Button, ButtonProps, CSSCode$1 as CSSCode, CSSCodeProps, Carousel$1 as Carousel, CarouselItem$1 as CarouselItem, CarouselItemProps, CarouselProps, CarouselSettings, CarouselStyles, Cart, CartCheckout, CartDiscount, CartLineAttribute, CartLineImage, CartLinePrice, CartLineVariant, CartList, CartOrderNote, CartProps, CartTotalItem, CartTotalPrice, CheckoutNow, CleanSizeChartProps, CleanSizeCharts$1 as CleanSizeCharts, Column$1 as Col, ColProps$1 as ColProps, CollectionBanner$1 as CollectionBanner, CollectionBannerProps, CollectionDescription$1 as CollectionDescription, CollectionDescriptionProps, CollectionPaginator$1 as CollectionPaginator, CollectionPaginatorProps, CollectionTitle$1 as CollectionTitle, CollectionTitleProps, CollectionToolbar$1 as CollectionToolbar, CollectionToolbarProps, ContactForm$1 as ContactForm, Countdown$1 as Countdown, CountdownProps, Coupon$1 as Coupon, CouponList, CouponProps, CrossSellCartUpsell$1 as CrossSellCartUpsell, CrossSellCartUpsellProps, CustomProductOptionsVariant$1 as CustomProductOptionsVariant, CustomProductOptionsVariantProps, DataVideoType, DesktopMenu, Dialog$1 as Dialog, DiscountInput, DiscountyBulkDiscountSales$1 as DiscountyBulkDiscountSales, DiscountyBulkDiscountSalesProps, DynamicCheckout$1 as DynamicCheckout, DynamicCheckoutProps, ELEMENT_Z_INDEX, EasifyProductOptions$1 as EasifyProductOptions, EasifyProductOptionsProps, EasyBundleBuilderSkailama$1 as EasyBundleBuilderSkailama, EasyBundleBuilderSkailamaProps, EasySell as EasySellCOD, EasySellProps, EstimateDate$1 as EstimateDate, EstimateDateProps, FastBundleBundlesDiscounts$1 as FastBundleBundlesDiscounts, FastBundleBundlesDiscountsProps, FeraReviews$1 as FeraReviews, FeraReviewsProps, FileUpload$1 as FileUpload, FileUploadProps, FirePush$1 as FirePush, FirePushProps, FlyBundlesUpsellsFbt$1 as FlyBundlesUpsellsFbt, FlyBundlesUpsellsFbtProps, FordeerProductLabels$1 as FordeerProductLabels, FordeerProductLabelsProps, FormCheckbox, FormCheckboxProps, FormDropdown$1 as FormDropdown, FormDropdownProps, FormEmail$1 as FormEmail, FormEmailProps, FormTextArea as FormTextarea, FrequentlyBoughtTogether$1 as FrequentlyBoughtTogether, FrequentlyBoughtTogetherProps, GloboProductOptionsVariant$1 as GloboProductOptionsVariant, GloboProductOptionsVariantProps, GoogleReviewsByReputon$1 as GoogleReviewsByReputon, GoogleReviewsByReputonProps, Growave$1 as Growave, GrowaveProps, Header, HeaderProps, Heading$1 as Heading, HeadingProps, HeroBanner$1 as HeroBanner, HeroBannerProps, HulkFormBuilder$1 as HulkFormBuilder, HulkFormBuilderProps, HulkProductOptions$1 as HulkProductOptions, HulkProductOptionsProps, Icon$1 as Icon, IconList$1 as IconList, IconListHoz$1 as IconListHoz, IconListHozItem, IconListHozProps, IconListItem$1 as IconListItem, IconListItemProps$3 as IconListItemProps, IconListProps$2 as IconListProps, IconListV2$1 as IconListV2, IconProps$1 as IconProps, Image$1 as Image, ImageComparison$1 as ImageComparison, ImageDetection, ImageDetectionProps, ImageProps, InfiniteOptions$1 as InfiniteOptions, InfiniteOptionsProps, Input, InputProps, Instafeed$1 as Instafeed, InstafeedProps, InstantJudgemeReviews, InstantJudgemeReviewsProps, InstantKlaviyo, InstantKlaviyoProps, InstantLooxReviews, InstantLooxReviewsProps, InstantYotpoLoyalty, InstantYotpoLoyaltyProps, InstasellShoppableInstagram$1 as InstasellShoppableInstagram, InstasellShoppableInstagramProps, JudgemeReviews$1 as JudgemeReviews, JudgemeReviewsProps, JunipProductReviewsUgc$1 as JunipProductReviewsUgc, JunipProductReviewsUgcProps, KachingBundles$1 as KachingBundles, KachingBundlesProps, KingProductOptions$1 as KingProductOptions, KingProductOptionsProps, KiteFreeGiftDiscount$1 as KiteFreeGiftDiscount, KiteFreeGiftDiscountProps, KlarnaMessaging$1 as KlarnaMessaging, KlarnaMessagingProps, Klaviyo$1 as Klaviyo, KlaviyoProps, KoalaBundleQuantityDiscount$1 as KoalaBundleQuantityDiscount, KoalaBundleQuantityDiscountProps, LaiProductReviews$1 as LaiProductReviews, LaiProductReviewsProps, Line$2 as Line, LineProps$1 as LineProps, Link$1 as Link, LinkProps$1 as LinkProps, LoloyalLoyaltyReferrals$1 as LoloyalLoyaltyReferrals, LoloyalLoyaltyReferralsProps, LoopSubscriptions$1 as LoopSubscriptions, LoopSubscriptionsProps, LooxReviews$1 as LooxReviews, LooxReviewsProps, Marquee$1 as Marquee, _default$3 as MarqueeItem, MarqueeItemProps, MarqueeProps, MaxbundleProductBundles$1 as MaxbundleProductBundles, MaxbundleProductBundlesProps, MbcBundleVolumeDiscount$1 as MbcBundleVolumeDiscount, MbcBundleVolumeDiscountProps, Menu, MenuProps, MobileMenu, Modal, ModernHeader, MyappgurusProductReviews$1 as MyappgurusProductReviews, MyappgurusProductReviewsProps, Newsletter$1 as Newsletter, NewsletterProps, Notify as Notice, NotificationAPI, NotificationConfig, NotifyBackInStockPreOrder$1 as NotifyBackInStockPreOrder, NotifyBackInStockPreOrderProps, Omnisend$1 as Omnisend, OmnisendProps, Opinew$1 as Opinew, OpinewProps, Pagination, PaginationProps, ParcelPanel$1 as ParcelPanel, ParcelPanelProps, PickyStory$1 as PickyStory, PickyStoryProps, PostPurchaseAcceptButton, PostPurchaseAcceptButtonProps, PostPurchaseAdvancedList, PostPurchaseAdvancedListItem, PostPurchaseAdvancedListProps, Button$1 as PostPurchaseButton, PostPurchaseButtonProps, CalloutBox as PostPurchaseCalloutBox, CalloutText as PostPurchaseCalloutText, PostPurchaseCountdownTimer, PostPurchaseHeading, PostPurchaseImage, PostPurchaseImageProps, Line$1 as PostPurchaseLine, PostPurchaseLineProps, Link as PostPurchaseLink, PostPurchaseLinkProps, PostPurchaseProductDescription, PostPurchaseProductDescriptionProps, PostPurchaseProductDiscountTag, PostPurchaseProductDiscountTagProps, PostPurchaseProductImages, PostPurchaseProductImagesProps, PostPurchaseProductOffer, PostPurchaseProductOfferProps, PostPurchaseProductPrice, PostPurchaseProductPriceBreakdown, PostPurchaseProductPriceBreakdownProps, PostPurchaseProductPriceProps, PostPurchaseProductQuantity, PostPurchaseProductQuantityProps, PostPurchaseProductTitle, PostPurchaseProductTitleProps, PostPurchaseProductVariants, PostPurchaseProductVariantsProps, Text$1 as PostPurchaseText, PostPurchaseTextProps, PowerfulContactFormBuilder$1 as PowerfulContactFormBuilder, PowerfulContactFormBuilderProps, PreorderNowPreOrderPq$1 as PreorderNowPreOrderPq, PreorderNowPreOrderPqProps, PreorderNowWodPresale$1 as PreorderNowWodPresale, PreorderNowWodPresaleProps, Product$1 as Product, ProductBadge$1 as ProductBadge, ProductBadgeProps, ProductBundleDiscount$1 as ProductBundleDiscount, ProductBundleDiscountItem$1 as ProductBundleDiscountItem, ProductButton$1 as ProductButton, ProductButtonProps, ProductDescription$1 as ProductDescription, ProductDescriptionProps$1 as ProductDescriptionProps, ProductImages$2 as ProductImages, ProductImagesProps, ProductImagesV2, ProductList$1 as ProductList, ProductList$1 as ProductListProps, ProductOptionsCustomizer$1 as ProductOptionsCustomizer, ProductOptionsCustomizerProps, ProductOptionsVariantOption$1 as ProductOptionsVariantOption, ProductOptionsVariantOptionProps, ProductPrice$1 as ProductPrice, ProductPriceProps, ProductPropertiesProps, ProductProperties$1 as ProductPropertyInput, ProductProps, ProductQuantity$1 as ProductQuantity, ProductQuantityBreakItemProps, ProductQuantityBreakProps, ProductQuantityProps, QuickView as ProductQuickView, ProductReviews$1 as ProductReviews, ProductReviewsProps, ProductSku$1 as ProductSku, ProductTag$1 as ProductTag, ProductTagProps, ProductTitle$1 as ProductTitle, ProductTitleProps, ProductVariants$1 as ProductVariants, ProductVariantsProps, ProductVendor$1 as ProductVendor, ProductViewMore$1 as ProductViewMore, ProductViewMoreProps, PumperBundlesVolumeDiscount$1 as PumperBundlesVolumeDiscount, PumperBundlesVolumeDiscountProps, PushOwl$1 as PushOwl, PushOwlProps, QikifyUpsell$1 as QikifyUpsell, QikifyUpsellProps, Radio, RadioProps, RapiBundleQuantityBreaks$1 as RapiBundleQuantityBreaks, RapiBundleQuantityBreaksProps, RechargeSubscriptions$1 as RechargeSubscriptions, RechargeSubscriptionsProps, RecurpaySubscriptionApp$1 as RecurpaySubscriptionApp, RecurpaySubscriptionAppProps, Releasit$1 as Releasit, ReleasitProps, RequestQuoteHidePrice$1 as RequestQuoteHidePrice, RequestQuoteHidePriceProps, ReviewxpoProductReviewsApp$1 as ReviewxpoProductReviewsApp, ReviewxpoProductReviewsAppProps, Rivyo$1 as Rivyo, RivyoProps, Root$1 as Root, RootProps$1 as RootProps, Row$1 as Row, RowProps$1 as RowProps, Ryviu$1 as Ryviu, RyviuProps, SealSubscriptions$1 as SealSubscriptions, SealSubscriptionsProps, Section$1 as Section, SegunoEmailMarketing$1 as SegunoEmailMarketing, SegunoEmailMarketingProps, Select, SelectProps, Selleasy$1 as Selleasy, SelleasyProps, SeoantTrustBadgesIcon$1 as SeoantTrustBadgesIcon, SeoantTrustBadgesIconProps, ShopPayButton$1 as ShopPayButton, ShopPayButtonProps, ShopPayInstallments$1 as ShopPayInstallments, ShopifyForms$1 as ShopifyForms, ShopifyFormsProps, ShopifySubscriptions$1 as ShopifySubscriptions, ShopifySubscriptionsProps, SimpleBundlesKits$1 as SimpleBundlesKits, SimpleBundlesKitsProps, SkioSubscriptionsYcS20$1 as SkioSubscriptionsYcS20, SkioSubscriptionsYcS20Props, SkuProps, SmartSearchBarAndFilters$1 as SmartSearchBarAndFilters, SmartSearchBarAndFiltersProps, SproutPlantTreesGrowSales$1 as SproutPlantTreesGrowSales, SproutPlantTreesGrowSalesProps, Stamped$1 as Stamped, StampedProps, Sticky$1 as Sticky, StickyProps, StockCounter$1 as StockCounter, StockCounterProps$1 as StockCounterProps, SubifySubscriptionsApp$1 as SubifySubscriptionsApp, SubifySubscriptionsAppProps, SubmitButton$1 as SubmitButton, SubmitButtonProps, TabItem$1 as TabItem, TabItemProps, Tabs$1 as Tabs, TabsProps, TagembedSocialPostReview$1 as TagembedSocialPostReview, TagembedSocialPostReviewProps, TagshopShoppableVideosUgc$1 as TagshopShoppableVideosUgc, TagshopShoppableVideosUgcProps, TeeinblueProductPersonalizer$1 as TeeinblueProductPersonalizer, TeeinblueProductPersonalizerProps, Text$2 as Text, TextAreaProps, TextField$1 as TextField, TextFieldProps, TextProps$1 as TextProps, TextArea as Textarea, TextareaProps, ThirdPartySlot$1 as ThirdPartySlot, TrustMe$1 as TrustMe, TrustMeProps, Trustoo$1 as Trustoo, TrustooProps, TrustreviewsProductReviews$1 as TrustreviewsProductReviews, TrustreviewsProductReviewsProps, TrustshopProductReviews$1 as TrustshopProductReviews, TrustshopProductReviewsProps, UltimateSalesBoost$1 as UltimateSalesBoost, UltimateSalesBoostProps, UnlimitedBundlesDiscounts$1 as UnlimitedBundlesDiscounts, UnlimitedBundlesDiscountsProps, VendorProps, Video$1 as Video, Vitals$1 as Vitals, VitalsProps, WhatmoreShoppableVideosreel$1 as WhatmoreShoppableVideosreel, WhatmoreShoppableVideosreelProps, WideBundle$1 as WideBundle, WideBundleProps, Wiser$1 as Wiser, WiserProps, WishlistKing$1 as WishlistKing, WishlistKingProps, WishlistPlus$1 as WishlistPlus, WishlistPlusProps, YotpoLoyalty, YotpoLoyaltyProps, YotpoReviews$1 as YotpoReviews, YotpoReviewsProps, _default$U as accordionSetting, _default$5 as articleListSetting, _default$s as bannerSetting, _default$T as breadcrumbSetting, _default$1 as builderComponent, _default$S as buttonSetting, _default$Q as carouselSetting, _default$N as cartSetting, _default$q as codeSetting, _default$M as collectionSetting, _default as componentSettings, _default$m as contactFormSetting, _default$L as countdownSetting, _default$R as couponSetting, _default$n as dialogSetting, _default$6 as estimateDeliverySetting, getDynamicSourceLocales, getInsertLinkData, getSettingPreloadData, getStaticLocale, _default$O as gridSetting, _default$J as headerSetting, _default$K as headingSetting, _default$p as iconListHozSetting, _default$r as iconListSetting, _default$g as iconListSettingV2, _default$I as iconSetting, _default$k as imageComparisonSetting, _default$l as imageDetectionSetting, _default$P as imageSetting, _default$H as inputSetting, isHexTransparent, isTransparentColor, isTransparentRGBA, _default$G as lineSetting, _default$F as linkSetting, index_liquid as liquidComponents, _default$4 as marqueeSetting, _default$v as menuSetting, _default$E as modalSetting, _default$2 as nextComponent, openConfirm, _default$D as paginationSetting, _default$9 as postPurchaseAdvancedListSetting, _default$d as postPurchaseButtonSetting, _default$b as postPurchaseCalloutBoxSetting, _default$8 as postPurchaseCountdownTimerSetting, _default$e as postPurchaseImageSetting, _default$a as postPurchaseLineSetting, _default$7 as postPurchaseLinkSetting, postPurchaseProduct1Col, postPurchaseProduct2Col, postPurchaseProductDefault, _default$c as postPurchaseProductSetting, _default$f as postPurchaseTextSetting, _default$C as productSetting, _default$A as radioSetting, replaceLinkData, _default$z as selectSetting, _default$i as shopPayInstallmentSetting, _default$h as stickySetting, _default$o as stockCounterSetting, _default$y as tabSetting, _default$B as textSetting, _default$x as textareaSetting, _default$t as thirdPartyInstantSetting, _default$u as thirdPartySetting, _default$j as thirdPartySlotSetting, useInView, useNotification, _default$w as videoSetting, youtubeShortsRegex };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/components",
3
- "version": "2.0.0-staging.127",
3
+ "version": "2.0.0-staging.129",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",