@acoustte-digital-services/digitalstore-controls-dev 0.8.1-dev.20260328113654 → 0.8.1-dev.20260328114717
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 +6 -0
- package/dist/index.mjs +6 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5161,6 +5161,11 @@ var ImageGalleryNode = (props) => {
|
|
|
5161
5161
|
const intrinsicHeight = parseMaybeNumber(img.intrinsicHeight);
|
|
5162
5162
|
const isHls = imageUrl.endsWith(".m3u8");
|
|
5163
5163
|
const alt = img.title || "Gallery image";
|
|
5164
|
+
const styles = {};
|
|
5165
|
+
if (img.height) styles.height = img.height;
|
|
5166
|
+
if (img.borderRadius)
|
|
5167
|
+
styles.borderRadius = img.borderRadius;
|
|
5168
|
+
if (img.width) styles.width = img.width;
|
|
5164
5169
|
return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("div", { className: "max-w-full", children: isHls ? /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
5165
5170
|
HlsPlayer1,
|
|
5166
5171
|
{
|
|
@@ -5180,6 +5185,7 @@ var ImageGalleryNode = (props) => {
|
|
|
5180
5185
|
"img",
|
|
5181
5186
|
{
|
|
5182
5187
|
loading: "lazy",
|
|
5188
|
+
style: styles,
|
|
5183
5189
|
className: "object-cover max-w-full",
|
|
5184
5190
|
src: imageUrl,
|
|
5185
5191
|
width: intrinsicWidth,
|
package/dist/index.mjs
CHANGED
|
@@ -4193,6 +4193,11 @@ var ImageGalleryNode = (props) => {
|
|
|
4193
4193
|
const intrinsicHeight = parseMaybeNumber(img.intrinsicHeight);
|
|
4194
4194
|
const isHls = imageUrl.endsWith(".m3u8");
|
|
4195
4195
|
const alt = img.title || "Gallery image";
|
|
4196
|
+
const styles = {};
|
|
4197
|
+
if (img.height) styles.height = img.height;
|
|
4198
|
+
if (img.borderRadius)
|
|
4199
|
+
styles.borderRadius = img.borderRadius;
|
|
4200
|
+
if (img.width) styles.width = img.width;
|
|
4196
4201
|
return /* @__PURE__ */ jsx58("div", { className: "max-w-full", children: isHls ? /* @__PURE__ */ jsx58(
|
|
4197
4202
|
HlsPlayer1,
|
|
4198
4203
|
{
|
|
@@ -4212,6 +4217,7 @@ var ImageGalleryNode = (props) => {
|
|
|
4212
4217
|
"img",
|
|
4213
4218
|
{
|
|
4214
4219
|
loading: "lazy",
|
|
4220
|
+
style: styles,
|
|
4215
4221
|
className: "object-cover max-w-full",
|
|
4216
4222
|
src: imageUrl,
|
|
4217
4223
|
width: intrinsicWidth,
|
package/package.json
CHANGED