@algorithm-shift/design-system 1.2.20 → 1.2.201
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -200,10 +200,12 @@ var ImageControl = ({
|
|
|
200
200
|
"w-full h-full",
|
|
201
201
|
className
|
|
202
202
|
);
|
|
203
|
+
console.log(!!(imageUrl && imageUrlExternal));
|
|
203
204
|
if (!!(imageUrl && imageUrlExternal)) {
|
|
204
205
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("div", { className: imageClass, children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("img", { src: image_placeholder_default, alt: altText, className: "opacity-50", width: 50, height: 50 }) });
|
|
205
206
|
}
|
|
206
207
|
const url = imageUrlExternal || imageUrl;
|
|
208
|
+
console.log(url);
|
|
207
209
|
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("img", { src: url, alt: altText, className: defaultImgClass, style });
|
|
208
210
|
};
|
|
209
211
|
var Image_default = ImageControl;
|