@acoustte-digital-services/digitalstore-controls-dev 0.8.1-dev.20260402052726 → 0.8.1-dev.20260402063318

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 CHANGED
@@ -5119,15 +5119,17 @@ var HlsPlayer1 = (0, import_dynamic5.default)(() => Promise.resolve().then(() =>
5119
5119
  ssr: false
5120
5120
  });
5121
5121
  var parseMaybeNumber = (value) => {
5122
- if (typeof value === "number")
5122
+ if (typeof value === "number") {
5123
5123
  return Number.isFinite(value) ? value : void 0;
5124
+ }
5124
5125
  if (typeof value !== "string") return void 0;
5125
5126
  const n = Number(value);
5126
5127
  return Number.isFinite(n) ? n : void 0;
5127
5128
  };
5128
5129
  var shouldRenderForDevice = (imageDevice, currentDevice) => {
5129
5130
  if (!imageDevice) return true;
5130
- return imageDevice == currentDevice;
5131
+ if (imageDevice === currentDevice) return true;
5132
+ return false;
5131
5133
  };
5132
5134
  var ImageGalleryNode = (props) => {
5133
5135
  const resolveImageUrl = (imageUrl) => {
@@ -5163,9 +5165,8 @@ var ImageGalleryNode = (props) => {
5163
5165
  const alt = img.title || "Gallery image";
5164
5166
  const styles = {};
5165
5167
  if (img.height) styles.height = img.height;
5166
- if (img.borderRadius)
5167
- styles.borderRadius = img.borderRadius;
5168
5168
  if (img.width) styles.width = img.width;
5169
+ if (img.borderRadius) styles.borderRadius = img.borderRadius;
5169
5170
  return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("div", { className: "max-w-full", children: isHls ? /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
5170
5171
  HlsPlayer1,
5171
5172
  {
@@ -5193,7 +5194,7 @@ var ImageGalleryNode = (props) => {
5193
5194
  alt
5194
5195
  }
5195
5196
  )
5196
- ) }, `${img.imageUrl}-${idx}`);
5197
+ ) }, `${idx}-${img.imageUrl}`);
5197
5198
  }) });
5198
5199
  };
5199
5200
  var ImageGalleryNode_default = ImageGalleryNode;
@@ -5436,7 +5437,8 @@ var DivContainer = async (props) => {
5436
5437
  breadcrumb: props2.breadcrumb,
5437
5438
  dataitem,
5438
5439
  href,
5439
- assetBaseUrl: props2.assetBaseUrl
5440
+ assetBaseUrl: props2.assetBaseUrl,
5441
+ device: props2.device
5440
5442
  }
5441
5443
  ) }, key);
5442
5444
  }
package/dist/index.mjs CHANGED
@@ -4151,15 +4151,17 @@ var HlsPlayer1 = dynamic5(() => import("./HlsPlayer-FFEIK6FG.mjs"), {
4151
4151
  ssr: false
4152
4152
  });
4153
4153
  var parseMaybeNumber = (value) => {
4154
- if (typeof value === "number")
4154
+ if (typeof value === "number") {
4155
4155
  return Number.isFinite(value) ? value : void 0;
4156
+ }
4156
4157
  if (typeof value !== "string") return void 0;
4157
4158
  const n = Number(value);
4158
4159
  return Number.isFinite(n) ? n : void 0;
4159
4160
  };
4160
4161
  var shouldRenderForDevice = (imageDevice, currentDevice) => {
4161
4162
  if (!imageDevice) return true;
4162
- return imageDevice == currentDevice;
4163
+ if (imageDevice === currentDevice) return true;
4164
+ return false;
4163
4165
  };
4164
4166
  var ImageGalleryNode = (props) => {
4165
4167
  const resolveImageUrl = (imageUrl) => {
@@ -4195,9 +4197,8 @@ var ImageGalleryNode = (props) => {
4195
4197
  const alt = img.title || "Gallery image";
4196
4198
  const styles = {};
4197
4199
  if (img.height) styles.height = img.height;
4198
- if (img.borderRadius)
4199
- styles.borderRadius = img.borderRadius;
4200
4200
  if (img.width) styles.width = img.width;
4201
+ if (img.borderRadius) styles.borderRadius = img.borderRadius;
4201
4202
  return /* @__PURE__ */ jsx58("div", { className: "max-w-full", children: isHls ? /* @__PURE__ */ jsx58(
4202
4203
  HlsPlayer1,
4203
4204
  {
@@ -4225,7 +4226,7 @@ var ImageGalleryNode = (props) => {
4225
4226
  alt
4226
4227
  }
4227
4228
  )
4228
- ) }, `${img.imageUrl}-${idx}`);
4229
+ ) }, `${idx}-${img.imageUrl}`);
4229
4230
  }) });
4230
4231
  };
4231
4232
  var ImageGalleryNode_default = ImageGalleryNode;
@@ -4468,7 +4469,8 @@ var DivContainer = async (props) => {
4468
4469
  breadcrumb: props2.breadcrumb,
4469
4470
  dataitem,
4470
4471
  href,
4471
- assetBaseUrl: props2.assetBaseUrl
4472
+ assetBaseUrl: props2.assetBaseUrl,
4473
+ device: props2.device
4472
4474
  }
4473
4475
  ) }, key);
4474
4476
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@acoustte-digital-services/digitalstore-controls-dev",
3
- "version": "0.8.1-dev.20260402052726",
3
+ "version": "0.8.1-dev.20260402063318",
4
4
  "description": "Reusable React components",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",