@acoustte-digital-services/digitalstore-controls-dev 0.8.1-dev.20260603093340 → 0.8.1-dev.20260604041835

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.
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  HlsPlayer_default
4
- } from "./chunk-4XZGG725.mjs";
4
+ } from "./chunk-DPFBQY2N.mjs";
5
5
  export {
6
6
  HlsPlayer_default as default
7
7
  };
@@ -36,7 +36,8 @@ var HlsPlayer = React.memo(
36
36
  showControls = true,
37
37
  loop = false,
38
38
  playOptions = "autoplay",
39
- placementCode = ""
39
+ placementCode = "",
40
+ styles
40
41
  }) => {
41
42
  const containerRef = useRef(null);
42
43
  const videoRef = useRef(null);
@@ -305,7 +306,8 @@ var HlsPlayer = React.memo(
305
306
  "div",
306
307
  {
307
308
  ref: containerRef,
308
- className: "relative w-full aspect-video bg-black",
309
+ className: "relative w-full overflow-hidden aspect-video bg-black",
310
+ style: styles,
309
311
  onMouseEnter: handleMouseEnter,
310
312
  onMouseLeave: handleMouseLeave,
311
313
  onMouseMove: handleMouseMove,
@@ -314,7 +316,7 @@ var HlsPlayer = React.memo(
314
316
  "video",
315
317
  {
316
318
  ref: videoRef,
317
- className: "w-full h-full object-contain",
319
+ className: "w-full h-full object-cover",
318
320
  poster: fallbackPoster,
319
321
  controls: showControls && (isMobile || isPlaying),
320
322
  muted: startsMuted,
package/dist/index.js CHANGED
@@ -200,7 +200,8 @@ var init_HlsPlayer = __esm({
200
200
  showControls = true,
201
201
  loop = false,
202
202
  playOptions = "autoplay",
203
- placementCode = ""
203
+ placementCode = "",
204
+ styles
204
205
  }) => {
205
206
  const containerRef = (0, import_react4.useRef)(null);
206
207
  const videoRef = (0, import_react4.useRef)(null);
@@ -469,7 +470,8 @@ var init_HlsPlayer = __esm({
469
470
  "div",
470
471
  {
471
472
  ref: containerRef,
472
- className: "relative w-full aspect-video bg-black",
473
+ className: "relative w-full overflow-hidden aspect-video bg-black",
474
+ style: styles,
473
475
  onMouseEnter: handleMouseEnter,
474
476
  onMouseLeave: handleMouseLeave,
475
477
  onMouseMove: handleMouseMove,
@@ -478,7 +480,7 @@ var init_HlsPlayer = __esm({
478
480
  "video",
479
481
  {
480
482
  ref: videoRef,
481
- className: "w-full h-full object-contain",
483
+ className: "w-full h-full object-cover",
482
484
  poster: fallbackPoster,
483
485
  controls: showControls && (isMobile || isPlaying),
484
486
  muted: startsMuted,
package/dist/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  HlsPlayer_default
3
- } from "./chunk-4XZGG725.mjs";
3
+ } from "./chunk-DPFBQY2N.mjs";
4
4
  import {
5
5
  Button_default,
6
6
  ClientButton_default,
@@ -2055,7 +2055,7 @@ import React30 from "react";
2055
2055
  // src/components/pageRenderingEngine/nodes/ImageNode.tsx
2056
2056
  import dynamic3 from "next/dynamic";
2057
2057
  import { jsx as jsx39 } from "react/jsx-runtime";
2058
- var HlsPlayer = dynamic3(() => import("./HlsPlayer-SM3WGJSW.mjs"), { ssr: false });
2058
+ var HlsPlayer = dynamic3(() => import("./HlsPlayer-JXH6KK7T.mjs"), { ssr: false });
2059
2059
  var getNestedValue = (obj, path) => {
2060
2060
  if (!obj || !path) return void 0;
2061
2061
  return path.split(".").reduce((current, key) => {
@@ -3715,7 +3715,7 @@ var Pagination_default = Pagination;
3715
3715
  // src/components/pageRenderingEngine/nodes/ImageGalleryNode.tsx
3716
3716
  import dynamic7 from "next/dynamic";
3717
3717
  import { Fragment as Fragment7, jsx as jsx58, jsxs as jsxs31 } from "react/jsx-runtime";
3718
- var HlsPlayer2 = dynamic7(() => import("./HlsPlayer-SM3WGJSW.mjs"), { ssr: false });
3718
+ var HlsPlayer2 = dynamic7(() => import("./HlsPlayer-JXH6KK7T.mjs"), { ssr: false });
3719
3719
  var deviceToMediaQuery = (device) => {
3720
3720
  switch (device) {
3721
3721
  case "sm":
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.20260603093340",
3
+ "version": "0.8.1-dev.20260604041835",
4
4
  "description": "Reusable React components",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",