smooth-player 2.0.0 → 2.1.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/SmoothPlayer.js
CHANGED
|
@@ -432,6 +432,7 @@ export class SmoothPlayer {
|
|
|
432
432
|
toggleButton.focus();
|
|
433
433
|
}
|
|
434
434
|
root.classList.toggle(openClassName, open);
|
|
435
|
+
panel.classList.toggle("is-open", open);
|
|
435
436
|
panel.setAttribute("aria-hidden", String(!open));
|
|
436
437
|
if (open) {
|
|
437
438
|
panel.removeAttribute("inert");
|
package/dist/smooth-player.css
CHANGED
|
@@ -346,6 +346,13 @@
|
|
|
346
346
|
z-index: 3;
|
|
347
347
|
}
|
|
348
348
|
|
|
349
|
+
.smooth-player__playlist.is-open {
|
|
350
|
+
transform: translateX(0);
|
|
351
|
+
opacity: 1;
|
|
352
|
+
visibility: visible;
|
|
353
|
+
pointer-events: auto;
|
|
354
|
+
}
|
|
355
|
+
|
|
349
356
|
.smooth-player__playlist-head {
|
|
350
357
|
display: flex;
|
|
351
358
|
align-items: center;
|
package/dist-cjs/SmoothPlayer.js
CHANGED
package/package.json
CHANGED
package/styles/common/_base.scss
CHANGED
|
@@ -372,6 +372,13 @@
|
|
|
372
372
|
z-index: 3;
|
|
373
373
|
}
|
|
374
374
|
|
|
375
|
+
.smooth-player__playlist.is-open {
|
|
376
|
+
transform: translateX(0);
|
|
377
|
+
opacity: 1;
|
|
378
|
+
visibility: visible;
|
|
379
|
+
pointer-events: auto;
|
|
380
|
+
}
|
|
381
|
+
|
|
375
382
|
.smooth-player__playlist-head {
|
|
376
383
|
display: flex;
|
|
377
384
|
align-items: center;
|