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