react-helios 2.7.5 → 2.8.0

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/styles.css CHANGED
@@ -562,6 +562,69 @@
562
562
  transition: none;
563
563
  }
564
564
 
565
+ /* ─── Waveform progress bar (audio mode) ────────────────────────────────── */
566
+
567
+ /*
568
+ * Sits absolutely inside .progressContainer, aligned to the bottom.
569
+ * Does not affect container height (position: absolute).
570
+ */
571
+ .rvp-waveform {
572
+ position: absolute;
573
+ left: 0;
574
+ right: 0;
575
+ bottom: 10px; /* match .progressContainer padding */
576
+ height: 22px;
577
+ pointer-events: none;
578
+ }
579
+
580
+ .rvp-waveform-base,
581
+ .rvp-waveform-filled {
582
+ position: absolute;
583
+ inset: 0;
584
+ display: grid;
585
+ grid-template-columns: repeat(200, 1fr);
586
+ gap: 2px;
587
+ align-items: end;
588
+ }
589
+
590
+ /* Dot — unplayed portion (short nub at baseline) */
591
+ .rvp-waveform-dot {
592
+ min-width: 0;
593
+ height: 3px;
594
+ background: rgba(255, 255, 255, 0.28);
595
+ border-radius: 1.5px;
596
+ }
597
+
598
+ /* Buffered layer — same grid layout, gray bars clipped to buffered range */
599
+ .rvp-waveform-buffered {
600
+ position: absolute;
601
+ inset: 0;
602
+ display: grid;
603
+ grid-template-columns: repeat(200, 1fr);
604
+ gap: 2px;
605
+ align-items: end;
606
+ }
607
+
608
+ .rvp-waveform-buffered-bar {
609
+ min-width: 0;
610
+ background: rgba(255, 255, 255, 0.35);
611
+ border-radius: 2px 2px 0 0;
612
+ }
613
+
614
+ /* Filled bar — played portion; height set inline as % of container */
615
+ .rvp-waveform-bar {
616
+ min-width: 0;
617
+ background: #3b82f6;
618
+ border-radius: 2px 2px 0 0;
619
+ /* height set inline as % of container (28px) */
620
+ }
621
+
622
+ /* clip-path: inset(0 RIGHT% 0 0) — updated imperatively on timeupdate */
623
+ .rvp-waveform-filled {
624
+ overflow: visible;
625
+ }
626
+
627
+
565
628
 
566
629
  /* ─── Audio Mode Overlay ───────────────────────────────────────────────────── */
567
630
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-helios",
3
- "version": "2.7.5",
3
+ "version": "2.8.0",
4
4
  "description": "Production-grade React video player with HLS, zero-cost audio mode, adaptive quality, live streams, subtitles, and VTT sprite thumbnail preview",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",