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

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
  });
@@ -100,7 +100,12 @@ const Image = ({ styles, className, setting, builderAttrs, builderProps, style,
100
100
  ...core.makeStyleResponsive('jc', styles?.align)
101
101
  },
102
102
  children: [
103
- isShowNoDataState ? /*#__PURE__*/ jsxRuntime.jsx(NoDataImage.default, {}) : setting?.isAdaptive ? /*#__PURE__*/ jsxRuntime.jsx(AdaptiveImage.default, {
103
+ isShowNoDataState ? /*#__PURE__*/ jsxRuntime.jsx(NoDataImage.default, {
104
+ style: {
105
+ ...imageWidth,
106
+ ...imageHeight
107
+ }
108
+ }) : setting?.isAdaptive ? /*#__PURE__*/ jsxRuntime.jsx(AdaptiveImage.default, {
104
109
  srcSet: setting.srcSet,
105
110
  pictureClass: "gp-contents",
106
111
  className: core.cls(className, 'gp-w-full gp-max-w-full', core.handleConvertClassColor(styles?.borderImg)),
@@ -4,111 +4,130 @@
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
6
  var jsxRuntime = require('react/jsx-runtime');
7
+ var AdaptiveImage = require('./AdaptiveImage.js');
7
8
 
8
- const NoDataImage = ()=>{
9
- return /*#__PURE__*/ jsxRuntime.jsx("div", {
9
+ const NoDataImage = ({ style })=>{
10
+ return /*#__PURE__*/ jsxRuntime.jsxs("div", {
10
11
  className: "gp-w-full gp-h-full gp-bg-[#F9F9F9] gp-flex gp-items-center gp-justify-center",
11
- children: /*#__PURE__*/ jsxRuntime.jsxs("svg", {
12
- width: "40",
13
- height: "40",
14
- viewBox: "0 0 40 40",
15
- fill: "none",
16
- xmlns: "http://www.w3.org/2000/svg",
17
- children: [
18
- /*#__PURE__*/ jsxRuntime.jsxs("g", {
19
- clipPath: "url(#clip0_942_39561)",
12
+ children: [
13
+ AdaptiveImage.default({
14
+ pictureClass: 'gp-w-full',
15
+ srcSet: {
16
+ desktop: {
17
+ src: 'https://cdn.shopify.com/s/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c_large.gif'
18
+ }
19
+ },
20
+ style: {
21
+ ...style,
22
+ '--op': 0,
23
+ '--z': -1
24
+ }
25
+ }),
26
+ /*#__PURE__*/ jsxRuntime.jsx("div", {
27
+ className: "gp-absolute gp-flex gp-justify-center gp-items-center",
28
+ children: /*#__PURE__*/ jsxRuntime.jsxs("svg", {
29
+ width: "40",
30
+ height: "40",
31
+ viewBox: "0 0 40 40",
32
+ fill: "none",
33
+ xmlns: "http://www.w3.org/2000/svg",
20
34
  children: [
21
- /*#__PURE__*/ jsxRuntime.jsx("rect", {
22
- width: "40",
23
- height: "40",
24
- fill: "#F9F9F9"
25
- }),
26
- /*#__PURE__*/ jsxRuntime.jsx("rect", {
27
- x: "4",
28
- width: "32",
29
- height: "40",
30
- rx: "2",
31
- fill: "#E2E2E2"
32
- }),
33
- /*#__PURE__*/ jsxRuntime.jsx("rect", {
34
- y: "26",
35
- width: "40",
36
- height: "14",
37
- fill: "url(#paint0_linear_942_39561)"
38
- }),
39
- /*#__PURE__*/ jsxRuntime.jsx("rect", {
40
- x: "8",
41
- y: "4",
42
- width: "24",
43
- height: "24",
44
- rx: "1",
45
- fill: "#F9F9F9"
46
- }),
47
- /*#__PURE__*/ jsxRuntime.jsx("circle", {
48
- cx: "15.2809",
49
- cy: "11.3688",
50
- r: "1.36884",
51
- fill: "#D2D2D2"
52
- }),
53
- /*#__PURE__*/ jsxRuntime.jsx("path", {
54
- d: "M13.1916 17.7343L15.3456 15.0797C15.4185 14.9896 15.5086 14.9168 15.6101 14.8659C15.7115 14.815 15.822 14.7872 15.9343 14.7844C16.0466 14.7815 16.1583 14.8036 16.2619 14.8492C16.3656 14.8949 16.459 14.963 16.536 15.0492L17.5432 16.1758L21.4803 11.2146C21.5573 11.1174 21.6542 11.0397 21.7637 10.9874C21.8732 10.9351 21.9925 10.9094 22.1127 10.9123C22.2329 10.9153 22.3509 10.9467 22.458 11.0043C22.5651 11.0619 22.6585 11.1442 22.7312 11.245L27.4383 17.7671C27.5283 17.8921 27.5834 18.0411 27.5974 18.1973C27.6114 18.3535 27.5838 18.5108 27.5176 18.6513C27.4514 18.7919 27.3493 18.9102 27.2228 18.993C27.0963 19.0758 26.9503 19.1198 26.8014 19.12L13.8002 19.1251C13.6473 19.1251 13.4975 19.0789 13.3688 18.992C13.24 18.9051 13.1375 18.7812 13.0735 18.6348C13.0095 18.4885 12.9866 18.326 13.0075 18.1664C13.0285 18.0068 13.0923 17.8569 13.1916 17.7343Z",
55
- fill: "#D2D2D2"
56
- }),
57
- /*#__PURE__*/ jsxRuntime.jsx("rect", {
58
- x: "24.3333",
59
- y: "24.3333",
60
- width: "15.3333",
61
- height: "15.3333",
62
- rx: "7.66667",
63
- fill: "white"
64
- }),
65
- /*#__PURE__*/ jsxRuntime.jsx("rect", {
66
- x: "24.3333",
67
- y: "24.3333",
68
- width: "15.3333",
69
- height: "15.3333",
70
- rx: "7.66667",
71
- stroke: "#C4C4C4",
72
- strokeWidth: "0.666667"
73
- }),
74
- /*#__PURE__*/ jsxRuntime.jsx("path", {
75
- d: "M33.813 34.5199C34.0083 34.7152 34.3249 34.7152 34.5201 34.5199C34.7154 34.3246 34.7154 34.0081 34.5201 33.8128L32.707 31.9997L34.5201 30.1866C34.7154 29.9913 34.7154 29.6747 34.5201 29.4795C34.3249 29.2842 34.0083 29.2842 33.813 29.4795L31.9999 31.2926L30.1868 29.4795C29.9915 29.2842 29.675 29.2842 29.4797 29.4795C29.2844 29.6747 29.2844 29.9913 29.4797 30.1866L31.2928 31.9997L29.4797 33.8128C29.2844 34.0081 29.2844 34.3246 29.4797 34.5199C29.675 34.7152 29.9915 34.7152 30.1868 34.5199L31.9999 32.7068L33.813 34.5199Z",
76
- fill: "#676767"
77
- })
78
- ]
79
- }),
80
- /*#__PURE__*/ jsxRuntime.jsxs("defs", {
81
- children: [
82
- /*#__PURE__*/ jsxRuntime.jsxs("linearGradient", {
83
- id: "paint0_linear_942_39561",
84
- x1: "20",
85
- y1: "26",
86
- x2: "20",
87
- y2: "40",
88
- gradientUnits: "userSpaceOnUse",
35
+ /*#__PURE__*/ jsxRuntime.jsxs("g", {
36
+ clipPath: "url(#clip0_942_39561)",
89
37
  children: [
90
- /*#__PURE__*/ jsxRuntime.jsx("stop", {
91
- stopColor: "#F9F9F9",
92
- stopOpacity: "0"
38
+ /*#__PURE__*/ jsxRuntime.jsx("rect", {
39
+ width: "40",
40
+ height: "40",
41
+ fill: "#F9F9F9"
93
42
  }),
94
- /*#__PURE__*/ jsxRuntime.jsx("stop", {
95
- offset: "1",
96
- stopColor: "#F9F9F9"
43
+ /*#__PURE__*/ jsxRuntime.jsx("rect", {
44
+ x: "4",
45
+ width: "32",
46
+ height: "40",
47
+ rx: "2",
48
+ fill: "#E2E2E2"
49
+ }),
50
+ /*#__PURE__*/ jsxRuntime.jsx("rect", {
51
+ y: "26",
52
+ width: "40",
53
+ height: "14",
54
+ fill: "url(#paint0_linear_942_39561)"
55
+ }),
56
+ /*#__PURE__*/ jsxRuntime.jsx("rect", {
57
+ x: "8",
58
+ y: "4",
59
+ width: "24",
60
+ height: "24",
61
+ rx: "1",
62
+ fill: "#F9F9F9"
63
+ }),
64
+ /*#__PURE__*/ jsxRuntime.jsx("circle", {
65
+ cx: "15.2809",
66
+ cy: "11.3688",
67
+ r: "1.36884",
68
+ fill: "#D2D2D2"
69
+ }),
70
+ /*#__PURE__*/ jsxRuntime.jsx("path", {
71
+ d: "M13.1916 17.7343L15.3456 15.0797C15.4185 14.9896 15.5086 14.9168 15.6101 14.8659C15.7115 14.815 15.822 14.7872 15.9343 14.7844C16.0466 14.7815 16.1583 14.8036 16.2619 14.8492C16.3656 14.8949 16.459 14.963 16.536 15.0492L17.5432 16.1758L21.4803 11.2146C21.5573 11.1174 21.6542 11.0397 21.7637 10.9874C21.8732 10.9351 21.9925 10.9094 22.1127 10.9123C22.2329 10.9153 22.3509 10.9467 22.458 11.0043C22.5651 11.0619 22.6585 11.1442 22.7312 11.245L27.4383 17.7671C27.5283 17.8921 27.5834 18.0411 27.5974 18.1973C27.6114 18.3535 27.5838 18.5108 27.5176 18.6513C27.4514 18.7919 27.3493 18.9102 27.2228 18.993C27.0963 19.0758 26.9503 19.1198 26.8014 19.12L13.8002 19.1251C13.6473 19.1251 13.4975 19.0789 13.3688 18.992C13.24 18.9051 13.1375 18.7812 13.0735 18.6348C13.0095 18.4885 12.9866 18.326 13.0075 18.1664C13.0285 18.0068 13.0923 17.8569 13.1916 17.7343Z",
72
+ fill: "#D2D2D2"
73
+ }),
74
+ /*#__PURE__*/ jsxRuntime.jsx("rect", {
75
+ x: "24.3333",
76
+ y: "24.3333",
77
+ width: "15.3333",
78
+ height: "15.3333",
79
+ rx: "7.66667",
80
+ fill: "white"
81
+ }),
82
+ /*#__PURE__*/ jsxRuntime.jsx("rect", {
83
+ x: "24.3333",
84
+ y: "24.3333",
85
+ width: "15.3333",
86
+ height: "15.3333",
87
+ rx: "7.66667",
88
+ stroke: "#C4C4C4",
89
+ strokeWidth: "0.666667"
90
+ }),
91
+ /*#__PURE__*/ jsxRuntime.jsx("path", {
92
+ d: "M33.813 34.5199C34.0083 34.7152 34.3249 34.7152 34.5201 34.5199C34.7154 34.3246 34.7154 34.0081 34.5201 33.8128L32.707 31.9997L34.5201 30.1866C34.7154 29.9913 34.7154 29.6747 34.5201 29.4795C34.3249 29.2842 34.0083 29.2842 33.813 29.4795L31.9999 31.2926L30.1868 29.4795C29.9915 29.2842 29.675 29.2842 29.4797 29.4795C29.2844 29.6747 29.2844 29.9913 29.4797 30.1866L31.2928 31.9997L29.4797 33.8128C29.2844 34.0081 29.2844 34.3246 29.4797 34.5199C29.675 34.7152 29.9915 34.7152 30.1868 34.5199L31.9999 32.7068L33.813 34.5199Z",
93
+ fill: "#676767"
97
94
  })
98
95
  ]
99
96
  }),
100
- /*#__PURE__*/ jsxRuntime.jsx("clipPath", {
101
- id: "clip0_942_39561",
102
- children: /*#__PURE__*/ jsxRuntime.jsx("rect", {
103
- width: "40",
104
- height: "40",
105
- fill: "white"
106
- })
97
+ /*#__PURE__*/ jsxRuntime.jsxs("defs", {
98
+ children: [
99
+ /*#__PURE__*/ jsxRuntime.jsxs("linearGradient", {
100
+ id: "paint0_linear_942_39561",
101
+ x1: "20",
102
+ y1: "26",
103
+ x2: "20",
104
+ y2: "40",
105
+ gradientUnits: "userSpaceOnUse",
106
+ children: [
107
+ /*#__PURE__*/ jsxRuntime.jsx("stop", {
108
+ stopColor: "#F9F9F9",
109
+ stopOpacity: "0"
110
+ }),
111
+ /*#__PURE__*/ jsxRuntime.jsx("stop", {
112
+ offset: "1",
113
+ stopColor: "#F9F9F9"
114
+ })
115
+ ]
116
+ }),
117
+ /*#__PURE__*/ jsxRuntime.jsx("clipPath", {
118
+ id: "clip0_942_39561",
119
+ children: /*#__PURE__*/ jsxRuntime.jsx("rect", {
120
+ width: "40",
121
+ height: "40",
122
+ fill: "white"
123
+ })
124
+ })
125
+ ]
107
126
  })
108
127
  ]
109
128
  })
110
- ]
111
- })
129
+ })
130
+ ]
112
131
  });
113
132
  };
114
133
 
@@ -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
  });
@@ -96,7 +96,12 @@ const Image = ({ styles, className, setting, builderAttrs, builderProps, style,
96
96
  ...makeStyleResponsive('jc', styles?.align)
97
97
  },
98
98
  children: [
99
- isShowNoDataState ? /*#__PURE__*/ jsx(NoDataImage, {}) : setting?.isAdaptive ? /*#__PURE__*/ jsx(AdaptiveImage, {
99
+ isShowNoDataState ? /*#__PURE__*/ jsx(NoDataImage, {
100
+ style: {
101
+ ...imageWidth,
102
+ ...imageHeight
103
+ }
104
+ }) : setting?.isAdaptive ? /*#__PURE__*/ jsx(AdaptiveImage, {
100
105
  srcSet: setting.srcSet,
101
106
  pictureClass: "gp-contents",
102
107
  className: cls(className, 'gp-w-full gp-max-w-full', handleConvertClassColor(styles?.borderImg)),
@@ -1,110 +1,129 @@
1
1
  'use client';
2
- import { jsx, jsxs } from 'react/jsx-runtime';
2
+ import { jsxs, jsx } from 'react/jsx-runtime';
3
+ import AdaptiveImage from './AdaptiveImage.js';
3
4
 
4
- const NoDataImage = ()=>{
5
- return /*#__PURE__*/ jsx("div", {
5
+ const NoDataImage = ({ style })=>{
6
+ return /*#__PURE__*/ jsxs("div", {
6
7
  className: "gp-w-full gp-h-full gp-bg-[#F9F9F9] gp-flex gp-items-center gp-justify-center",
7
- children: /*#__PURE__*/ jsxs("svg", {
8
- width: "40",
9
- height: "40",
10
- viewBox: "0 0 40 40",
11
- fill: "none",
12
- xmlns: "http://www.w3.org/2000/svg",
13
- children: [
14
- /*#__PURE__*/ jsxs("g", {
15
- clipPath: "url(#clip0_942_39561)",
8
+ children: [
9
+ AdaptiveImage({
10
+ pictureClass: 'gp-w-full',
11
+ srcSet: {
12
+ desktop: {
13
+ src: 'https://cdn.shopify.com/s/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c_large.gif'
14
+ }
15
+ },
16
+ style: {
17
+ ...style,
18
+ '--op': 0,
19
+ '--z': -1
20
+ }
21
+ }),
22
+ /*#__PURE__*/ jsx("div", {
23
+ className: "gp-absolute gp-flex gp-justify-center gp-items-center",
24
+ children: /*#__PURE__*/ jsxs("svg", {
25
+ width: "40",
26
+ height: "40",
27
+ viewBox: "0 0 40 40",
28
+ fill: "none",
29
+ xmlns: "http://www.w3.org/2000/svg",
16
30
  children: [
17
- /*#__PURE__*/ jsx("rect", {
18
- width: "40",
19
- height: "40",
20
- fill: "#F9F9F9"
21
- }),
22
- /*#__PURE__*/ jsx("rect", {
23
- x: "4",
24
- width: "32",
25
- height: "40",
26
- rx: "2",
27
- fill: "#E2E2E2"
28
- }),
29
- /*#__PURE__*/ jsx("rect", {
30
- y: "26",
31
- width: "40",
32
- height: "14",
33
- fill: "url(#paint0_linear_942_39561)"
34
- }),
35
- /*#__PURE__*/ jsx("rect", {
36
- x: "8",
37
- y: "4",
38
- width: "24",
39
- height: "24",
40
- rx: "1",
41
- fill: "#F9F9F9"
42
- }),
43
- /*#__PURE__*/ jsx("circle", {
44
- cx: "15.2809",
45
- cy: "11.3688",
46
- r: "1.36884",
47
- fill: "#D2D2D2"
48
- }),
49
- /*#__PURE__*/ jsx("path", {
50
- d: "M13.1916 17.7343L15.3456 15.0797C15.4185 14.9896 15.5086 14.9168 15.6101 14.8659C15.7115 14.815 15.822 14.7872 15.9343 14.7844C16.0466 14.7815 16.1583 14.8036 16.2619 14.8492C16.3656 14.8949 16.459 14.963 16.536 15.0492L17.5432 16.1758L21.4803 11.2146C21.5573 11.1174 21.6542 11.0397 21.7637 10.9874C21.8732 10.9351 21.9925 10.9094 22.1127 10.9123C22.2329 10.9153 22.3509 10.9467 22.458 11.0043C22.5651 11.0619 22.6585 11.1442 22.7312 11.245L27.4383 17.7671C27.5283 17.8921 27.5834 18.0411 27.5974 18.1973C27.6114 18.3535 27.5838 18.5108 27.5176 18.6513C27.4514 18.7919 27.3493 18.9102 27.2228 18.993C27.0963 19.0758 26.9503 19.1198 26.8014 19.12L13.8002 19.1251C13.6473 19.1251 13.4975 19.0789 13.3688 18.992C13.24 18.9051 13.1375 18.7812 13.0735 18.6348C13.0095 18.4885 12.9866 18.326 13.0075 18.1664C13.0285 18.0068 13.0923 17.8569 13.1916 17.7343Z",
51
- fill: "#D2D2D2"
52
- }),
53
- /*#__PURE__*/ jsx("rect", {
54
- x: "24.3333",
55
- y: "24.3333",
56
- width: "15.3333",
57
- height: "15.3333",
58
- rx: "7.66667",
59
- fill: "white"
60
- }),
61
- /*#__PURE__*/ jsx("rect", {
62
- x: "24.3333",
63
- y: "24.3333",
64
- width: "15.3333",
65
- height: "15.3333",
66
- rx: "7.66667",
67
- stroke: "#C4C4C4",
68
- strokeWidth: "0.666667"
69
- }),
70
- /*#__PURE__*/ jsx("path", {
71
- d: "M33.813 34.5199C34.0083 34.7152 34.3249 34.7152 34.5201 34.5199C34.7154 34.3246 34.7154 34.0081 34.5201 33.8128L32.707 31.9997L34.5201 30.1866C34.7154 29.9913 34.7154 29.6747 34.5201 29.4795C34.3249 29.2842 34.0083 29.2842 33.813 29.4795L31.9999 31.2926L30.1868 29.4795C29.9915 29.2842 29.675 29.2842 29.4797 29.4795C29.2844 29.6747 29.2844 29.9913 29.4797 30.1866L31.2928 31.9997L29.4797 33.8128C29.2844 34.0081 29.2844 34.3246 29.4797 34.5199C29.675 34.7152 29.9915 34.7152 30.1868 34.5199L31.9999 32.7068L33.813 34.5199Z",
72
- fill: "#676767"
73
- })
74
- ]
75
- }),
76
- /*#__PURE__*/ jsxs("defs", {
77
- children: [
78
- /*#__PURE__*/ jsxs("linearGradient", {
79
- id: "paint0_linear_942_39561",
80
- x1: "20",
81
- y1: "26",
82
- x2: "20",
83
- y2: "40",
84
- gradientUnits: "userSpaceOnUse",
31
+ /*#__PURE__*/ jsxs("g", {
32
+ clipPath: "url(#clip0_942_39561)",
85
33
  children: [
86
- /*#__PURE__*/ jsx("stop", {
87
- stopColor: "#F9F9F9",
88
- stopOpacity: "0"
34
+ /*#__PURE__*/ jsx("rect", {
35
+ width: "40",
36
+ height: "40",
37
+ fill: "#F9F9F9"
89
38
  }),
90
- /*#__PURE__*/ jsx("stop", {
91
- offset: "1",
92
- stopColor: "#F9F9F9"
39
+ /*#__PURE__*/ jsx("rect", {
40
+ x: "4",
41
+ width: "32",
42
+ height: "40",
43
+ rx: "2",
44
+ fill: "#E2E2E2"
45
+ }),
46
+ /*#__PURE__*/ jsx("rect", {
47
+ y: "26",
48
+ width: "40",
49
+ height: "14",
50
+ fill: "url(#paint0_linear_942_39561)"
51
+ }),
52
+ /*#__PURE__*/ jsx("rect", {
53
+ x: "8",
54
+ y: "4",
55
+ width: "24",
56
+ height: "24",
57
+ rx: "1",
58
+ fill: "#F9F9F9"
59
+ }),
60
+ /*#__PURE__*/ jsx("circle", {
61
+ cx: "15.2809",
62
+ cy: "11.3688",
63
+ r: "1.36884",
64
+ fill: "#D2D2D2"
65
+ }),
66
+ /*#__PURE__*/ jsx("path", {
67
+ d: "M13.1916 17.7343L15.3456 15.0797C15.4185 14.9896 15.5086 14.9168 15.6101 14.8659C15.7115 14.815 15.822 14.7872 15.9343 14.7844C16.0466 14.7815 16.1583 14.8036 16.2619 14.8492C16.3656 14.8949 16.459 14.963 16.536 15.0492L17.5432 16.1758L21.4803 11.2146C21.5573 11.1174 21.6542 11.0397 21.7637 10.9874C21.8732 10.9351 21.9925 10.9094 22.1127 10.9123C22.2329 10.9153 22.3509 10.9467 22.458 11.0043C22.5651 11.0619 22.6585 11.1442 22.7312 11.245L27.4383 17.7671C27.5283 17.8921 27.5834 18.0411 27.5974 18.1973C27.6114 18.3535 27.5838 18.5108 27.5176 18.6513C27.4514 18.7919 27.3493 18.9102 27.2228 18.993C27.0963 19.0758 26.9503 19.1198 26.8014 19.12L13.8002 19.1251C13.6473 19.1251 13.4975 19.0789 13.3688 18.992C13.24 18.9051 13.1375 18.7812 13.0735 18.6348C13.0095 18.4885 12.9866 18.326 13.0075 18.1664C13.0285 18.0068 13.0923 17.8569 13.1916 17.7343Z",
68
+ fill: "#D2D2D2"
69
+ }),
70
+ /*#__PURE__*/ jsx("rect", {
71
+ x: "24.3333",
72
+ y: "24.3333",
73
+ width: "15.3333",
74
+ height: "15.3333",
75
+ rx: "7.66667",
76
+ fill: "white"
77
+ }),
78
+ /*#__PURE__*/ jsx("rect", {
79
+ x: "24.3333",
80
+ y: "24.3333",
81
+ width: "15.3333",
82
+ height: "15.3333",
83
+ rx: "7.66667",
84
+ stroke: "#C4C4C4",
85
+ strokeWidth: "0.666667"
86
+ }),
87
+ /*#__PURE__*/ jsx("path", {
88
+ d: "M33.813 34.5199C34.0083 34.7152 34.3249 34.7152 34.5201 34.5199C34.7154 34.3246 34.7154 34.0081 34.5201 33.8128L32.707 31.9997L34.5201 30.1866C34.7154 29.9913 34.7154 29.6747 34.5201 29.4795C34.3249 29.2842 34.0083 29.2842 33.813 29.4795L31.9999 31.2926L30.1868 29.4795C29.9915 29.2842 29.675 29.2842 29.4797 29.4795C29.2844 29.6747 29.2844 29.9913 29.4797 30.1866L31.2928 31.9997L29.4797 33.8128C29.2844 34.0081 29.2844 34.3246 29.4797 34.5199C29.675 34.7152 29.9915 34.7152 30.1868 34.5199L31.9999 32.7068L33.813 34.5199Z",
89
+ fill: "#676767"
93
90
  })
94
91
  ]
95
92
  }),
96
- /*#__PURE__*/ jsx("clipPath", {
97
- id: "clip0_942_39561",
98
- children: /*#__PURE__*/ jsx("rect", {
99
- width: "40",
100
- height: "40",
101
- fill: "white"
102
- })
93
+ /*#__PURE__*/ jsxs("defs", {
94
+ children: [
95
+ /*#__PURE__*/ jsxs("linearGradient", {
96
+ id: "paint0_linear_942_39561",
97
+ x1: "20",
98
+ y1: "26",
99
+ x2: "20",
100
+ y2: "40",
101
+ gradientUnits: "userSpaceOnUse",
102
+ children: [
103
+ /*#__PURE__*/ jsx("stop", {
104
+ stopColor: "#F9F9F9",
105
+ stopOpacity: "0"
106
+ }),
107
+ /*#__PURE__*/ jsx("stop", {
108
+ offset: "1",
109
+ stopColor: "#F9F9F9"
110
+ })
111
+ ]
112
+ }),
113
+ /*#__PURE__*/ jsx("clipPath", {
114
+ id: "clip0_942_39561",
115
+ children: /*#__PURE__*/ jsx("rect", {
116
+ width: "40",
117
+ height: "40",
118
+ fill: "white"
119
+ })
120
+ })
121
+ ]
103
122
  })
104
123
  ]
105
124
  })
106
- ]
107
- })
125
+ })
126
+ ]
108
127
  });
109
128
  };
110
129
 
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.130",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",