@clyrex-digital/clyrex-controls-dev 0.8.1-dev.20260731062325 → 0.8.1-dev.20260803102521

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.
@@ -326,8 +326,16 @@ var HlsPlayer = React.memo(
326
326
  loop,
327
327
  playsInline: true,
328
328
  preload: playOptions === "autoplay" ? "auto" : "none",
329
- onClick: handleVideoClick,
330
- onDoubleClick: handleVideoDoubleClick,
329
+ onClick: (e) => {
330
+ e.preventDefault();
331
+ e.stopPropagation();
332
+ handleVideoClick();
333
+ },
334
+ onDoubleClick: (e) => {
335
+ e.preventDefault();
336
+ e.stopPropagation();
337
+ handleVideoDoubleClick();
338
+ },
331
339
  children: playOptions === "autoplay" && resolvedSources.map(({ src, media }, i) => /* @__PURE__ */ jsx(
332
340
  "source",
333
341
  {
@@ -449,6 +457,7 @@ var HlsPlayer = React.memo(
449
457
  "aria-label": isPlaying ? "Pause" : "Play",
450
458
  className: "hls-play-btn",
451
459
  onClick: (e) => {
460
+ e.preventDefault();
452
461
  e.stopPropagation();
453
462
  handlePlayPause();
454
463
  },
@@ -556,6 +565,7 @@ var HlsPlayer = React.memo(
556
565
  type: "button",
557
566
  "aria-label": isMuted ? "Unmute" : "Mute",
558
567
  onClick: (e) => {
568
+ e.preventDefault();
559
569
  e.stopPropagation();
560
570
  handleMuteToggle();
561
571
  },
@@ -577,6 +587,7 @@ var HlsPlayer = React.memo(
577
587
  type: "button",
578
588
  "aria-label": isFullscreen ? "Exit fullscreen" : "Enter fullscreen",
579
589
  onClick: (e) => {
590
+ e.preventDefault();
580
591
  e.stopPropagation();
581
592
  handleFullscreenToggle();
582
593
  },
@@ -328,8 +328,16 @@ var HlsPlayer = React.memo(
328
328
  loop,
329
329
  playsInline: true,
330
330
  preload: playOptions === "autoplay" ? "auto" : "none",
331
- onClick: handleVideoClick,
332
- onDoubleClick: handleVideoDoubleClick,
331
+ onClick: (e) => {
332
+ e.preventDefault();
333
+ e.stopPropagation();
334
+ handleVideoClick();
335
+ },
336
+ onDoubleClick: (e) => {
337
+ e.preventDefault();
338
+ e.stopPropagation();
339
+ handleVideoDoubleClick();
340
+ },
333
341
  children: playOptions === "autoplay" && resolvedSources.map(({ src, media }, i) => /* @__PURE__ */ jsx(
334
342
  "source",
335
343
  {
@@ -451,6 +459,7 @@ var HlsPlayer = React.memo(
451
459
  "aria-label": isPlaying ? "Pause" : "Play",
452
460
  className: "hls-play-btn",
453
461
  onClick: (e) => {
462
+ e.preventDefault();
454
463
  e.stopPropagation();
455
464
  handlePlayPause();
456
465
  },
@@ -558,6 +567,7 @@ var HlsPlayer = React.memo(
558
567
  type: "button",
559
568
  "aria-label": isMuted ? "Unmute" : "Mute",
560
569
  onClick: (e) => {
570
+ e.preventDefault();
561
571
  e.stopPropagation();
562
572
  handleMuteToggle();
563
573
  },
@@ -579,6 +589,7 @@ var HlsPlayer = React.memo(
579
589
  type: "button",
580
590
  "aria-label": isFullscreen ? "Exit fullscreen" : "Enter fullscreen",
581
591
  onClick: (e) => {
592
+ e.preventDefault();
582
593
  e.stopPropagation();
583
594
  handleFullscreenToggle();
584
595
  },
package/dist/index.js CHANGED
@@ -522,8 +522,16 @@ var init_HlsPlayer = __esm({
522
522
  loop,
523
523
  playsInline: true,
524
524
  preload: playOptions === "autoplay" ? "auto" : "none",
525
- onClick: handleVideoClick,
526
- onDoubleClick: handleVideoDoubleClick,
525
+ onClick: (e) => {
526
+ e.preventDefault();
527
+ e.stopPropagation();
528
+ handleVideoClick();
529
+ },
530
+ onDoubleClick: (e) => {
531
+ e.preventDefault();
532
+ e.stopPropagation();
533
+ handleVideoDoubleClick();
534
+ },
527
535
  children: playOptions === "autoplay" && resolvedSources.map(({ src, media }, i) => /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
528
536
  "source",
529
537
  {
@@ -645,6 +653,7 @@ var init_HlsPlayer = __esm({
645
653
  "aria-label": isPlaying ? "Pause" : "Play",
646
654
  className: "hls-play-btn",
647
655
  onClick: (e) => {
656
+ e.preventDefault();
648
657
  e.stopPropagation();
649
658
  handlePlayPause();
650
659
  },
@@ -752,6 +761,7 @@ var init_HlsPlayer = __esm({
752
761
  type: "button",
753
762
  "aria-label": isMuted ? "Unmute" : "Mute",
754
763
  onClick: (e) => {
764
+ e.preventDefault();
755
765
  e.stopPropagation();
756
766
  handleMuteToggle();
757
767
  },
@@ -773,6 +783,7 @@ var init_HlsPlayer = __esm({
773
783
  type: "button",
774
784
  "aria-label": isFullscreen ? "Exit fullscreen" : "Enter fullscreen",
775
785
  onClick: (e) => {
786
+ e.preventDefault();
776
787
  e.stopPropagation();
777
788
  handleFullscreenToggle();
778
789
  },
package/dist/index.mjs CHANGED
@@ -137,7 +137,7 @@ import React3 from "react";
137
137
  // src/components/DeviceAssetSelector.tsx
138
138
  import dynamic2 from "next/dynamic";
139
139
  import { jsx as jsx3 } from "react/jsx-runtime";
140
- var HlsPlayer = dynamic2(() => import("./HlsPlayer-5AWFZ2P6.mjs"), { ssr: false });
140
+ var HlsPlayer = dynamic2(() => import("./HlsPlayer-IW52N5RG.mjs"), { ssr: false });
141
141
  var FORMAT_CLASSES = {
142
142
  center: "justify-center",
143
143
  left: "justify-start",
@@ -509,7 +509,7 @@ import React14 from "react";
509
509
  // src/components/pageRenderingEngine/nodes/ImageNode.tsx
510
510
  import dynamic5 from "next/dynamic";
511
511
  import { jsx as jsx17 } from "react/jsx-runtime";
512
- var HlsPlayer2 = dynamic5(() => import("./HlsPlayer-5AWFZ2P6.mjs"), { ssr: false });
512
+ var HlsPlayer2 = dynamic5(() => import("./HlsPlayer-IW52N5RG.mjs"), { ssr: false });
513
513
  var getNestedValue = (obj, path) => {
514
514
  if (!obj || !path) return void 0;
515
515
  return path.split(".").reduce((current, key) => {
@@ -1431,7 +1431,7 @@ var NoDataFound_default = NoDataFound;
1431
1431
  // src/components/pageRenderingEngine/nodes/ImageGalleryNode.tsx
1432
1432
  import dynamic9 from "next/dynamic";
1433
1433
  import { Fragment as Fragment5, jsx as jsx32, jsxs as jsxs11 } from "react/jsx-runtime";
1434
- var HlsPlayer3 = dynamic9(() => import("./HlsPlayer-5AWFZ2P6.mjs"), { ssr: false });
1434
+ var HlsPlayer3 = dynamic9(() => import("./HlsPlayer-IW52N5RG.mjs"), { ssr: false });
1435
1435
  var deviceToMediaQuery = (device) => {
1436
1436
  switch (device) {
1437
1437
  case "lg":
package/dist/server.js CHANGED
@@ -365,8 +365,16 @@ var init_HlsPlayer = __esm({
365
365
  loop,
366
366
  playsInline: true,
367
367
  preload: playOptions === "autoplay" ? "auto" : "none",
368
- onClick: handleVideoClick,
369
- onDoubleClick: handleVideoDoubleClick,
368
+ onClick: (e) => {
369
+ e.preventDefault();
370
+ e.stopPropagation();
371
+ handleVideoClick();
372
+ },
373
+ onDoubleClick: (e) => {
374
+ e.preventDefault();
375
+ e.stopPropagation();
376
+ handleVideoDoubleClick();
377
+ },
370
378
  children: playOptions === "autoplay" && resolvedSources.map(({ src, media }, i) => /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
371
379
  "source",
372
380
  {
@@ -488,6 +496,7 @@ var init_HlsPlayer = __esm({
488
496
  "aria-label": isPlaying ? "Pause" : "Play",
489
497
  className: "hls-play-btn",
490
498
  onClick: (e) => {
499
+ e.preventDefault();
491
500
  e.stopPropagation();
492
501
  handlePlayPause();
493
502
  },
@@ -595,6 +604,7 @@ var init_HlsPlayer = __esm({
595
604
  type: "button",
596
605
  "aria-label": isMuted ? "Unmute" : "Mute",
597
606
  onClick: (e) => {
607
+ e.preventDefault();
598
608
  e.stopPropagation();
599
609
  handleMuteToggle();
600
610
  },
@@ -616,6 +626,7 @@ var init_HlsPlayer = __esm({
616
626
  type: "button",
617
627
  "aria-label": isFullscreen ? "Exit fullscreen" : "Enter fullscreen",
618
628
  onClick: (e) => {
629
+ e.preventDefault();
619
630
  e.stopPropagation();
620
631
  handleFullscreenToggle();
621
632
  },
package/dist/server.mjs CHANGED
@@ -122,7 +122,7 @@ import dynamic2 from "next/dynamic";
122
122
  // src/components/DeviceAssetSelector.tsx
123
123
  import dynamic from "next/dynamic";
124
124
  import { jsx as jsx3 } from "react/jsx-runtime";
125
- var HlsPlayer = dynamic(() => import("./HlsPlayer-57543DTW.mjs"), { ssr: false });
125
+ var HlsPlayer = dynamic(() => import("./HlsPlayer-BVS6BVF7.mjs"), { ssr: false });
126
126
  var FORMAT_CLASSES = {
127
127
  center: "justify-center",
128
128
  left: "justify-start",
@@ -197,7 +197,7 @@ var DeviceAssetSelector_default = DeviceAssetSelector;
197
197
 
198
198
  // src/components/pageRenderingEngine/nodes/ImageNode.tsx
199
199
  import { jsx as jsx4 } from "react/jsx-runtime";
200
- var HlsPlayer2 = dynamic2(() => import("./HlsPlayer-57543DTW.mjs"), { ssr: false });
200
+ var HlsPlayer2 = dynamic2(() => import("./HlsPlayer-BVS6BVF7.mjs"), { ssr: false });
201
201
  var getNestedValue = (obj, path) => {
202
202
  if (!obj || !path) return void 0;
203
203
  return path.split(".").reduce((current, key) => {
@@ -1412,7 +1412,7 @@ var NoDataFound_default = NoDataFound;
1412
1412
  // src/components/pageRenderingEngine/nodes/ImageGalleryNode.tsx
1413
1413
  import dynamic8 from "next/dynamic";
1414
1414
  import { Fragment as Fragment5, jsx as jsx32, jsxs as jsxs11 } from "react/jsx-runtime";
1415
- var HlsPlayer3 = dynamic8(() => import("./HlsPlayer-57543DTW.mjs"), { ssr: false });
1415
+ var HlsPlayer3 = dynamic8(() => import("./HlsPlayer-BVS6BVF7.mjs"), { ssr: false });
1416
1416
  var deviceToMediaQuery = (device) => {
1417
1417
  switch (device) {
1418
1418
  case "lg":
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clyrex-digital/clyrex-controls-dev",
3
- "version": "0.8.1-dev.20260731062325",
3
+ "version": "0.8.1-dev.20260803102521",
4
4
  "description": "Reusable React components",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",