@gem-sdk/components 2.1.13-staging.1 → 2.1.13-staging.3

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.
@@ -56,8 +56,12 @@ const ArticleList = ({ setting, styles, className, children, advanced, builderPr
56
56
  assign all_articles = all_articles | concat: articleByHandle
57
57
  endfor
58
58
  else
59
- assign all_articles = blogs['${blogHandle}'].articles | limit: limit | sort: "${articleOrderBy.replace('_REVERSE', '').toLowerCase()}" ${articleOrderBy.includes('_REVERSE') ? '| reverse' : ''}
60
- assign blogTitle = blogs['${blogHandle}'].title
59
+ assign current_blog_handle = blogs['${blogHandle}']
60
+ if gp_enable_custom_dynamic_blog == true
61
+ assign current_blog_handle = blogs[blog.handle]
62
+ endif
63
+ assign all_articles = current_blog_handle.articles | limit: limit | sort: "${articleOrderBy.replace('_REVERSE', '').toLowerCase()}" ${articleOrderBy.includes('_REVERSE') ? '| reverse' : ''}
64
+ assign blogTitle = current_blog_handle.title
61
65
  endif
62
66
 
63
67
  %}
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  const ELEMENT_Z_INDEX = {
4
- STICKY: 100000,
4
+ STICKY: 1000,
5
5
  DIALOG: 100001,
6
6
  CART_DRAWER: 100002,
7
7
  CART_DRAWER_CONFIRM_MODAL: 100003
@@ -8,10 +8,13 @@ var Link = require('../../link/components/Link.js');
8
8
  var AdaptiveImage = require('./AdaptiveImage.js');
9
9
  var NextImage = require('./NextImage.js');
10
10
  var helpers = require('./helpers.js');
11
+ var NoDataImage = require('./NoDataImage.js');
12
+ var React = require('react');
11
13
 
12
14
  const Image = ({ styles, className, setting, builderAttrs, builderProps, style, children, onClick, onLoad })=>{
13
15
  const { image, imageLink, srcSet, isNotLazyload } = setting ?? {};
14
16
  const { customAspectRadio } = styles ?? {};
17
+ const currentDevice = core.useCurrentDevice();
15
18
  const { shape } = styles ?? {};
16
19
  const WrapLink = imageLink?.link ? Link.default : 'div';
17
20
  const opacity = {
@@ -56,6 +59,18 @@ const Image = ({ styles, className, setting, builderAttrs, builderProps, style,
56
59
  custom: customAspectRadio
57
60
  })
58
61
  };
62
+ const isShowNoDataState = React.useMemo(()=>{
63
+ if (setting?.disableNoDataState) return false;
64
+ if (currentDevice === 'mobile') return !setting?.srcSet?.mobile?.src && !setting?.srcSet?.tablet?.src && !setting?.srcSet?.desktop?.src;
65
+ if (currentDevice === 'tablet') return !setting?.srcSet?.tablet?.src && !setting?.srcSet?.desktop?.src;
66
+ return !setting?.srcSet?.desktop?.src;
67
+ }, [
68
+ currentDevice,
69
+ setting?.disableNoDataState,
70
+ setting?.srcSet?.desktop?.src,
71
+ setting?.srcSet?.mobile?.src,
72
+ setting?.srcSet?.tablet?.src
73
+ ]);
59
74
  return /*#__PURE__*/ jsxRuntime.jsxs("div", {
60
75
  ...builderAttrs,
61
76
  "data-id": builderProps?.uid,
@@ -84,10 +99,15 @@ const Image = ({ styles, className, setting, builderAttrs, builderProps, style,
84
99
  ...core.makeStyleResponsive('jc', styles?.align)
85
100
  },
86
101
  children: [
87
- setting?.isAdaptive ? /*#__PURE__*/ jsxRuntime.jsx(AdaptiveImage.default, {
102
+ isShowNoDataState ? /*#__PURE__*/ jsxRuntime.jsx(NoDataImage.default, {
103
+ style: {
104
+ ...imageWidth,
105
+ ...imageHeight
106
+ }
107
+ }) : setting?.isAdaptive ? /*#__PURE__*/ jsxRuntime.jsx(AdaptiveImage.default, {
88
108
  srcSet: setting.srcSet,
89
109
  pictureClass: "gp-contents",
90
- className: core.cls(className, 'gp-w-full gp-max-w-full', core.handleConvertClassColor(styles?.borderImg)),
110
+ className: core.cls(className, 'gp-inline-block gp-w-full gp-max-w-full', core.handleConvertClassColor(styles?.borderImg)),
91
111
  alt: setting.alt,
92
112
  style: {
93
113
  ...imageWidth,
@@ -0,0 +1,133 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var jsxRuntime = require('react/jsx-runtime');
6
+ var AdaptiveImage = require('./AdaptiveImage.js');
7
+
8
+ const NoDataImage = ({ style })=>{
9
+ return /*#__PURE__*/ jsxRuntime.jsxs("div", {
10
+ className: "gp-w-full gp-h-full gp-bg-[#F9F9F9] gp-flex gp-items-center gp-justify-center",
11
+ children: [
12
+ AdaptiveImage.default({
13
+ pictureClass: 'gp-w-full',
14
+ srcSet: {
15
+ desktop: {
16
+ src: 'https://cdn.shopify.com/s/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c_large.gif'
17
+ }
18
+ },
19
+ style: {
20
+ ...style,
21
+ '--op': 0,
22
+ '--z': -1
23
+ }
24
+ }),
25
+ /*#__PURE__*/ jsxRuntime.jsx("div", {
26
+ className: "gp-absolute gp-flex gp-justify-center gp-items-center",
27
+ children: /*#__PURE__*/ jsxRuntime.jsxs("svg", {
28
+ width: "40",
29
+ height: "40",
30
+ viewBox: "0 0 40 40",
31
+ fill: "none",
32
+ xmlns: "http://www.w3.org/2000/svg",
33
+ children: [
34
+ /*#__PURE__*/ jsxRuntime.jsxs("g", {
35
+ clipPath: "url(#clip0_942_39561)",
36
+ children: [
37
+ /*#__PURE__*/ jsxRuntime.jsx("rect", {
38
+ width: "40",
39
+ height: "40",
40
+ fill: "#F9F9F9"
41
+ }),
42
+ /*#__PURE__*/ jsxRuntime.jsx("rect", {
43
+ x: "4",
44
+ width: "32",
45
+ height: "40",
46
+ rx: "2",
47
+ fill: "#E2E2E2"
48
+ }),
49
+ /*#__PURE__*/ jsxRuntime.jsx("rect", {
50
+ y: "26",
51
+ width: "40",
52
+ height: "14",
53
+ fill: "url(#paint0_linear_942_39561)"
54
+ }),
55
+ /*#__PURE__*/ jsxRuntime.jsx("rect", {
56
+ x: "8",
57
+ y: "4",
58
+ width: "24",
59
+ height: "24",
60
+ rx: "1",
61
+ fill: "#F9F9F9"
62
+ }),
63
+ /*#__PURE__*/ jsxRuntime.jsx("circle", {
64
+ cx: "15.2809",
65
+ cy: "11.3688",
66
+ r: "1.36884",
67
+ fill: "#D2D2D2"
68
+ }),
69
+ /*#__PURE__*/ jsxRuntime.jsx("path", {
70
+ 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",
71
+ fill: "#D2D2D2"
72
+ }),
73
+ /*#__PURE__*/ jsxRuntime.jsx("rect", {
74
+ x: "24.3333",
75
+ y: "24.3333",
76
+ width: "15.3333",
77
+ height: "15.3333",
78
+ rx: "7.66667",
79
+ fill: "white"
80
+ }),
81
+ /*#__PURE__*/ jsxRuntime.jsx("rect", {
82
+ x: "24.3333",
83
+ y: "24.3333",
84
+ width: "15.3333",
85
+ height: "15.3333",
86
+ rx: "7.66667",
87
+ stroke: "#C4C4C4",
88
+ strokeWidth: "0.666667"
89
+ }),
90
+ /*#__PURE__*/ jsxRuntime.jsx("path", {
91
+ 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",
92
+ fill: "#676767"
93
+ })
94
+ ]
95
+ }),
96
+ /*#__PURE__*/ jsxRuntime.jsxs("defs", {
97
+ children: [
98
+ /*#__PURE__*/ jsxRuntime.jsxs("linearGradient", {
99
+ id: "paint0_linear_942_39561",
100
+ x1: "20",
101
+ y1: "26",
102
+ x2: "20",
103
+ y2: "40",
104
+ gradientUnits: "userSpaceOnUse",
105
+ children: [
106
+ /*#__PURE__*/ jsxRuntime.jsx("stop", {
107
+ stopColor: "#F9F9F9",
108
+ stopOpacity: "0"
109
+ }),
110
+ /*#__PURE__*/ jsxRuntime.jsx("stop", {
111
+ offset: "1",
112
+ stopColor: "#F9F9F9"
113
+ })
114
+ ]
115
+ }),
116
+ /*#__PURE__*/ jsxRuntime.jsx("clipPath", {
117
+ id: "clip0_942_39561",
118
+ children: /*#__PURE__*/ jsxRuntime.jsx("rect", {
119
+ width: "40",
120
+ height: "40",
121
+ fill: "white"
122
+ })
123
+ })
124
+ ]
125
+ })
126
+ ]
127
+ })
128
+ })
129
+ ]
130
+ });
131
+ };
132
+
133
+ exports.default = NoDataImage;
@@ -9,7 +9,6 @@ var React = require('react');
9
9
  const Text = /*#__PURE__*/ React.forwardRef(({ styles, builderAttrs, style, setting, advanced, builderProps, className, children, ...props }, ref)=>{
10
10
  const { text, htmlTag: Element = 'div', options, tagWidth, excludeFlex } = setting ?? {};
11
11
  const composeGlobalSize = core.makeGlobalSize(setting?.globalSize);
12
- console.log('Text: ', text);
13
12
  const mode = core.useEditorMode();
14
13
  const getPlaceHolderWhenContentNone = ()=>{
15
14
  let classList = '';
@@ -52,8 +52,12 @@ const ArticleList = ({ setting, styles, className, children, advanced, builderPr
52
52
  assign all_articles = all_articles | concat: articleByHandle
53
53
  endfor
54
54
  else
55
- assign all_articles = blogs['${blogHandle}'].articles | limit: limit | sort: "${articleOrderBy.replace('_REVERSE', '').toLowerCase()}" ${articleOrderBy.includes('_REVERSE') ? '| reverse' : ''}
56
- assign blogTitle = blogs['${blogHandle}'].title
55
+ assign current_blog_handle = blogs['${blogHandle}']
56
+ if gp_enable_custom_dynamic_blog == true
57
+ assign current_blog_handle = blogs[blog.handle]
58
+ endif
59
+ assign all_articles = current_blog_handle.articles | limit: limit | sort: "${articleOrderBy.replace('_REVERSE', '').toLowerCase()}" ${articleOrderBy.includes('_REVERSE') ? '| reverse' : ''}
60
+ assign blogTitle = current_blog_handle.title
57
61
  endif
58
62
 
59
63
  %}
@@ -1,5 +1,5 @@
1
1
  const ELEMENT_Z_INDEX = {
2
- STICKY: 100000,
2
+ STICKY: 1000,
3
3
  DIALOG: 100001,
4
4
  CART_DRAWER: 100002,
5
5
  CART_DRAWER_CONFIRM_MODAL: 100003
@@ -1,13 +1,16 @@
1
1
  import { jsxs, jsx } from 'react/jsx-runtime';
2
- import { makeStyleResponsive, getWidthByShapeGlobalSize, makeWidth, getHeightByShapeGlobalSize, cls, getStyleShadowState, handleConvertClassColor, getBorderStyle, getBorderRadiusStyle, getStyleShadow, getAspectRatioGlobalSize, getGlobalColorStateClass, getGlobalColorStateStyle, makeStyleState, getCornerCSSFromGlobal } from '@gem-sdk/core';
2
+ import { useCurrentDevice, makeStyleResponsive, getWidthByShapeGlobalSize, makeWidth, getHeightByShapeGlobalSize, cls, getStyleShadowState, handleConvertClassColor, getBorderStyle, getBorderRadiusStyle, getStyleShadow, getAspectRatioGlobalSize, getGlobalColorStateClass, getGlobalColorStateStyle, makeStyleState, getCornerCSSFromGlobal } from '@gem-sdk/core';
3
3
  import Link from '../../link/components/Link.js';
4
4
  import AdaptiveImage from './AdaptiveImage.js';
5
5
  import NextImage from './NextImage.js';
6
6
  import { composeAspectRatio } from './helpers.js';
7
+ import NoDataImage from './NoDataImage.js';
8
+ import { useMemo } from 'react';
7
9
 
8
10
  const Image = ({ styles, className, setting, builderAttrs, builderProps, style, children, onClick, onLoad })=>{
9
11
  const { image, imageLink, srcSet, isNotLazyload } = setting ?? {};
10
12
  const { customAspectRadio } = styles ?? {};
13
+ const currentDevice = useCurrentDevice();
11
14
  const { shape } = styles ?? {};
12
15
  const WrapLink = imageLink?.link ? Link : 'div';
13
16
  const opacity = {
@@ -52,6 +55,18 @@ const Image = ({ styles, className, setting, builderAttrs, builderProps, style,
52
55
  custom: customAspectRadio
53
56
  })
54
57
  };
58
+ const isShowNoDataState = useMemo(()=>{
59
+ if (setting?.disableNoDataState) return false;
60
+ if (currentDevice === 'mobile') return !setting?.srcSet?.mobile?.src && !setting?.srcSet?.tablet?.src && !setting?.srcSet?.desktop?.src;
61
+ if (currentDevice === 'tablet') return !setting?.srcSet?.tablet?.src && !setting?.srcSet?.desktop?.src;
62
+ return !setting?.srcSet?.desktop?.src;
63
+ }, [
64
+ currentDevice,
65
+ setting?.disableNoDataState,
66
+ setting?.srcSet?.desktop?.src,
67
+ setting?.srcSet?.mobile?.src,
68
+ setting?.srcSet?.tablet?.src
69
+ ]);
55
70
  return /*#__PURE__*/ jsxs("div", {
56
71
  ...builderAttrs,
57
72
  "data-id": builderProps?.uid,
@@ -80,10 +95,15 @@ const Image = ({ styles, className, setting, builderAttrs, builderProps, style,
80
95
  ...makeStyleResponsive('jc', styles?.align)
81
96
  },
82
97
  children: [
83
- setting?.isAdaptive ? /*#__PURE__*/ jsx(AdaptiveImage, {
98
+ isShowNoDataState ? /*#__PURE__*/ jsx(NoDataImage, {
99
+ style: {
100
+ ...imageWidth,
101
+ ...imageHeight
102
+ }
103
+ }) : setting?.isAdaptive ? /*#__PURE__*/ jsx(AdaptiveImage, {
84
104
  srcSet: setting.srcSet,
85
105
  pictureClass: "gp-contents",
86
- className: cls(className, 'gp-w-full gp-max-w-full', handleConvertClassColor(styles?.borderImg)),
106
+ className: cls(className, 'gp-inline-block gp-w-full gp-max-w-full', handleConvertClassColor(styles?.borderImg)),
87
107
  alt: setting.alt,
88
108
  style: {
89
109
  ...imageWidth,
@@ -0,0 +1,129 @@
1
+ import { jsxs, jsx } from 'react/jsx-runtime';
2
+ import AdaptiveImage from './AdaptiveImage.js';
3
+
4
+ const NoDataImage = ({ style })=>{
5
+ return /*#__PURE__*/ jsxs("div", {
6
+ className: "gp-w-full gp-h-full gp-bg-[#F9F9F9] gp-flex gp-items-center gp-justify-center",
7
+ children: [
8
+ AdaptiveImage({
9
+ pictureClass: 'gp-w-full',
10
+ srcSet: {
11
+ desktop: {
12
+ src: 'https://cdn.shopify.com/s/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c_large.gif'
13
+ }
14
+ },
15
+ style: {
16
+ ...style,
17
+ '--op': 0,
18
+ '--z': -1
19
+ }
20
+ }),
21
+ /*#__PURE__*/ jsx("div", {
22
+ className: "gp-absolute gp-flex gp-justify-center gp-items-center",
23
+ children: /*#__PURE__*/ jsxs("svg", {
24
+ width: "40",
25
+ height: "40",
26
+ viewBox: "0 0 40 40",
27
+ fill: "none",
28
+ xmlns: "http://www.w3.org/2000/svg",
29
+ children: [
30
+ /*#__PURE__*/ jsxs("g", {
31
+ clipPath: "url(#clip0_942_39561)",
32
+ children: [
33
+ /*#__PURE__*/ jsx("rect", {
34
+ width: "40",
35
+ height: "40",
36
+ fill: "#F9F9F9"
37
+ }),
38
+ /*#__PURE__*/ jsx("rect", {
39
+ x: "4",
40
+ width: "32",
41
+ height: "40",
42
+ rx: "2",
43
+ fill: "#E2E2E2"
44
+ }),
45
+ /*#__PURE__*/ jsx("rect", {
46
+ y: "26",
47
+ width: "40",
48
+ height: "14",
49
+ fill: "url(#paint0_linear_942_39561)"
50
+ }),
51
+ /*#__PURE__*/ jsx("rect", {
52
+ x: "8",
53
+ y: "4",
54
+ width: "24",
55
+ height: "24",
56
+ rx: "1",
57
+ fill: "#F9F9F9"
58
+ }),
59
+ /*#__PURE__*/ jsx("circle", {
60
+ cx: "15.2809",
61
+ cy: "11.3688",
62
+ r: "1.36884",
63
+ fill: "#D2D2D2"
64
+ }),
65
+ /*#__PURE__*/ jsx("path", {
66
+ 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",
67
+ fill: "#D2D2D2"
68
+ }),
69
+ /*#__PURE__*/ jsx("rect", {
70
+ x: "24.3333",
71
+ y: "24.3333",
72
+ width: "15.3333",
73
+ height: "15.3333",
74
+ rx: "7.66667",
75
+ fill: "white"
76
+ }),
77
+ /*#__PURE__*/ jsx("rect", {
78
+ x: "24.3333",
79
+ y: "24.3333",
80
+ width: "15.3333",
81
+ height: "15.3333",
82
+ rx: "7.66667",
83
+ stroke: "#C4C4C4",
84
+ strokeWidth: "0.666667"
85
+ }),
86
+ /*#__PURE__*/ jsx("path", {
87
+ 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",
88
+ fill: "#676767"
89
+ })
90
+ ]
91
+ }),
92
+ /*#__PURE__*/ jsxs("defs", {
93
+ children: [
94
+ /*#__PURE__*/ jsxs("linearGradient", {
95
+ id: "paint0_linear_942_39561",
96
+ x1: "20",
97
+ y1: "26",
98
+ x2: "20",
99
+ y2: "40",
100
+ gradientUnits: "userSpaceOnUse",
101
+ children: [
102
+ /*#__PURE__*/ jsx("stop", {
103
+ stopColor: "#F9F9F9",
104
+ stopOpacity: "0"
105
+ }),
106
+ /*#__PURE__*/ jsx("stop", {
107
+ offset: "1",
108
+ stopColor: "#F9F9F9"
109
+ })
110
+ ]
111
+ }),
112
+ /*#__PURE__*/ jsx("clipPath", {
113
+ id: "clip0_942_39561",
114
+ children: /*#__PURE__*/ jsx("rect", {
115
+ width: "40",
116
+ height: "40",
117
+ fill: "white"
118
+ })
119
+ })
120
+ ]
121
+ })
122
+ ]
123
+ })
124
+ })
125
+ ]
126
+ });
127
+ };
128
+
129
+ export { NoDataImage as default };
@@ -5,7 +5,6 @@ import { forwardRef, useMemo } from 'react';
5
5
  const Text = /*#__PURE__*/ forwardRef(({ styles, builderAttrs, style, setting, advanced, builderProps, className, children, ...props }, ref)=>{
6
6
  const { text, htmlTag: Element = 'div', options, tagWidth, excludeFlex } = setting ?? {};
7
7
  const composeGlobalSize = makeGlobalSize(setting?.globalSize);
8
- console.log('Text: ', text);
9
8
  const mode = useEditorMode();
10
9
  const getPlaceHolderWhenContentNone = ()=>{
11
10
  let classList = '';
@@ -446,6 +446,7 @@ type ImageSetting$1 = Pick<NextImageProps, 'priority' | 'quality' | 'vw'> & Pick
446
446
  };
447
447
  hoverEffect?: string;
448
448
  isNotLazyload?: boolean;
449
+ disableNoDataState?: boolean;
449
450
  } & Pick<AdaptiveImageProps, 'srcSet'>;
450
451
  type ImageStyleSetting$1 = {
451
452
  shape?: ObjectDevices<SizeSettingGlobal>;
@@ -6105,6 +6106,7 @@ declare const Image: ({ styles, className, setting, builderAttrs, builderProps,
6105
6106
  } | undefined;
6106
6107
  hoverEffect?: string | undefined;
6107
6108
  isNotLazyload?: boolean | undefined;
6109
+ disableNoDataState?: boolean | undefined;
6108
6110
  } & Pick<AdaptiveImageProps, "srcSet">, {
6109
6111
  shape?: Partial<Record<_gem_sdk_core.NameDevices, _gem_sdk_core.SizeSettingGlobal>> | undefined;
6110
6112
  customAspectRadio?: Partial<Record<_gem_sdk_core.NameDevices, _gem_sdk_core.Ratio>> | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/components",
3
- "version": "2.1.13-staging.1",
3
+ "version": "2.1.13-staging.3",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",