@waveform-playlist/browser 5.0.0-alpha.0 → 5.0.0-alpha.1
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 +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +8 -8
package/dist/index.mjs
CHANGED
|
@@ -19188,7 +19188,7 @@ var B0 = $.div.attrs((s) => ({
|
|
|
19188
19188
|
top: 0;
|
|
19189
19189
|
background: ${(s) => s.$color};
|
|
19190
19190
|
height: 100%;
|
|
19191
|
-
z-index:
|
|
19191
|
+
z-index: 60; /* Above clips (z-index: 10) and fades (z-index: 50), below playhead (z-index: 100) */
|
|
19192
19192
|
pointer-events: none;
|
|
19193
19193
|
opacity: 0.3;
|
|
19194
19194
|
`, $0 = ({
|
|
@@ -19197,7 +19197,7 @@ var B0 = $.div.attrs((s) => ({
|
|
|
19197
19197
|
color: e = "#00ff00"
|
|
19198
19198
|
}) => {
|
|
19199
19199
|
const n = Math.max(0, t - s);
|
|
19200
|
-
return n <= 0 ? null : /* @__PURE__ */ R.jsx(B0, { $left: s, $width: n, $color: e });
|
|
19200
|
+
return n <= 0 ? null : /* @__PURE__ */ R.jsx(B0, { $left: s, $width: n, $color: e, "data-selection": !0 });
|
|
19201
19201
|
};
|
|
19202
19202
|
function Hn(s, t) {
|
|
19203
19203
|
const e = Math.floor(s / 3600) % 24, n = Math.floor(s / 60) % 60, i = (s % 60).toFixed(t);
|
|
@@ -23352,7 +23352,7 @@ const qu = he(null), ju = he(null), Lu = he(null), zu = he(null), Zu = he(null),
|
|
|
23352
23352
|
const p = (r.current ?? 0) * l / c + t;
|
|
23353
23353
|
e.current.style.transform = `translate3d(${p}px, 0, 0)`;
|
|
23354
23354
|
}
|
|
23355
|
-
}), /* @__PURE__ */ R.jsx(ky, { ref: e, $color: s, $width: u });
|
|
23355
|
+
}), /* @__PURE__ */ R.jsx(ky, { ref: e, $color: s, $width: u, "data-playhead": !0 });
|
|
23356
23356
|
}, Dy = $.div`
|
|
23357
23357
|
position: relative;
|
|
23358
23358
|
`, Ry = $.div`
|