@acoustte-digital-services/digitalstore-controls-dev 0.8.1-dev.20260328113051 → 0.8.1-dev.20260328113654
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 -1
- package/dist/index.mjs +2 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5132,6 +5132,7 @@ var shouldRenderForDevice = (imageDevice, currentDevice) => {
|
|
|
5132
5132
|
var ImageGalleryNode = (props) => {
|
|
5133
5133
|
const resolveImageUrl = (imageUrl) => {
|
|
5134
5134
|
if (!imageUrl) return "";
|
|
5135
|
+
if (imageUrl.startsWith("http")) return imageUrl;
|
|
5135
5136
|
const base = props.assetBaseUrl.replace(/\/$/, "");
|
|
5136
5137
|
const path = imageUrl.replace(/^\//, "");
|
|
5137
5138
|
return `${base}/${path}`;
|
|
@@ -5180,7 +5181,7 @@ var ImageGalleryNode = (props) => {
|
|
|
5180
5181
|
{
|
|
5181
5182
|
loading: "lazy",
|
|
5182
5183
|
className: "object-cover max-w-full",
|
|
5183
|
-
src:
|
|
5184
|
+
src: imageUrl,
|
|
5184
5185
|
width: intrinsicWidth,
|
|
5185
5186
|
height: intrinsicHeight,
|
|
5186
5187
|
alt
|
package/dist/index.mjs
CHANGED
|
@@ -4164,6 +4164,7 @@ var shouldRenderForDevice = (imageDevice, currentDevice) => {
|
|
|
4164
4164
|
var ImageGalleryNode = (props) => {
|
|
4165
4165
|
const resolveImageUrl = (imageUrl) => {
|
|
4166
4166
|
if (!imageUrl) return "";
|
|
4167
|
+
if (imageUrl.startsWith("http")) return imageUrl;
|
|
4167
4168
|
const base = props.assetBaseUrl.replace(/\/$/, "");
|
|
4168
4169
|
const path = imageUrl.replace(/^\//, "");
|
|
4169
4170
|
return `${base}/${path}`;
|
|
@@ -4212,7 +4213,7 @@ var ImageGalleryNode = (props) => {
|
|
|
4212
4213
|
{
|
|
4213
4214
|
loading: "lazy",
|
|
4214
4215
|
className: "object-cover max-w-full",
|
|
4215
|
-
src:
|
|
4216
|
+
src: imageUrl,
|
|
4216
4217
|
width: intrinsicWidth,
|
|
4217
4218
|
height: intrinsicHeight,
|
|
4218
4219
|
alt
|
package/package.json
CHANGED