@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.mjs
CHANGED
|
@@ -133,10 +133,12 @@ var ImageControl = ({
|
|
|
133
133
|
"w-full h-full",
|
|
134
134
|
className
|
|
135
135
|
);
|
|
136
|
+
console.log(!!(imageUrl && imageUrlExternal));
|
|
136
137
|
if (!!(imageUrl && imageUrlExternal)) {
|
|
137
138
|
/* @__PURE__ */ jsx5("div", { className: imageClass, children: /* @__PURE__ */ jsx5("img", { src: image_placeholder_default, alt: altText, className: "opacity-50", width: 50, height: 50 }) });
|
|
138
139
|
}
|
|
139
140
|
const url = imageUrlExternal || imageUrl;
|
|
141
|
+
console.log(url);
|
|
140
142
|
return /* @__PURE__ */ jsx5("img", { src: url, alt: altText, className: defaultImgClass, style });
|
|
141
143
|
};
|
|
142
144
|
var Image_default = ImageControl;
|