@loafmarkets/ui 0.1.388 → 0.1.389

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.mjs CHANGED
@@ -2606,26 +2606,38 @@ var PropertyTour = React5.forwardRef(
2606
2606
  ...props,
2607
2607
  children: [
2608
2608
  /* @__PURE__ */ jsx(CardHeader, { className: "px-6 pb-0 pt-6", children: /* @__PURE__ */ jsx(CardTitle, { className: "m-0 text-lg font-semibold text-white", children: title }) }),
2609
- /* @__PURE__ */ jsx("div", { className: "flex flex-1 flex-col px-6 pb-6 pt-5", style: { minHeight: 0 }, children: /* @__PURE__ */ jsx("div", { className: "relative flex-1 w-full overflow-hidden rounded-lg bg-black", children: /* @__PURE__ */ jsxs(
2610
- "video",
2611
- {
2612
- ref: videoRef,
2613
- className: "absolute inset-0 h-full w-full object-cover object-center",
2614
- controls,
2615
- controlsList: "nodownload noplaybackrate",
2616
- disablePictureInPicture: true,
2617
- onContextMenu: (e) => e.preventDefault(),
2618
- loop,
2619
- autoPlay,
2620
- muted,
2621
- playsInline,
2622
- poster,
2623
- children: [
2624
- /* @__PURE__ */ jsx("source", { src }),
2625
- "Your browser does not support the video tag."
2626
- ]
2627
- }
2628
- ) }) })
2609
+ /* @__PURE__ */ jsx("div", { className: "flex flex-1 flex-col px-6 pb-6 pt-5", style: { minHeight: 0 }, children: /* @__PURE__ */ jsxs("div", { className: "relative flex-1 w-full overflow-hidden rounded-lg bg-black", children: [
2610
+ /* @__PURE__ */ jsx("style", { children: `
2611
+ .loaf-muted-video::-webkit-media-controls-mute-button,
2612
+ .loaf-muted-video::-webkit-media-controls-volume-slider,
2613
+ .loaf-muted-video::-webkit-media-controls-volume-control-container {
2614
+ display: none !important;
2615
+ }
2616
+ ` }),
2617
+ /* @__PURE__ */ jsxs(
2618
+ "video",
2619
+ {
2620
+ ref: videoRef,
2621
+ className: "loaf-muted-video absolute inset-0 h-full w-full object-cover object-center",
2622
+ controls,
2623
+ controlsList: "nodownload noplaybackrate",
2624
+ disablePictureInPicture: true,
2625
+ onVolumeChange: (e) => {
2626
+ if (!e.currentTarget.muted) e.currentTarget.muted = true;
2627
+ },
2628
+ onContextMenu: (e) => e.preventDefault(),
2629
+ loop,
2630
+ autoPlay,
2631
+ muted,
2632
+ playsInline,
2633
+ poster,
2634
+ children: [
2635
+ /* @__PURE__ */ jsx("source", { src }),
2636
+ "Your browser does not support the video tag."
2637
+ ]
2638
+ }
2639
+ )
2640
+ ] }) })
2629
2641
  ]
2630
2642
  }
2631
2643
  );