mikuru 1.0.35 → 1.0.36

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/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.0.36 - 2026-05-17
4
+
5
+ - Stabilized `MikuruVideoPlayer` settings interactions so playback speed and keyboard skip selections defer UI updates out of the click stack, matching the other media controls and avoiding recursive update freezes.
6
+
3
7
  ## 1.0.35 - 2026-05-17
4
8
 
5
9
  - Added package-exported tabs, accordion, form controls, select, combobox, header, footer, and side menu components with typed exports and dogfood coverage.
@@ -619,20 +619,24 @@ function selectQuality(id) {
619
619
 
620
620
  function setPlaybackRate(nextRate) {
621
621
  if (isDisposed) return;
622
- playbackRateValue.value = nextRate;
623
- settingsOpen.value = false;
624
622
  window.setTimeout(() => {
625
623
  if (isDisposed) return;
624
+ playbackRateValue.value = nextRate;
625
+ settingsOpen.value = false;
626
626
  const media = getMedia();
627
627
  if (!media) return;
628
+ ignoreMediaEventsFor(80);
628
629
  media.playbackRate = nextRate;
629
630
  }, 0);
630
631
  }
631
632
 
632
633
  function setSkipSeconds(nextSeconds) {
633
634
  if (isDisposed) return;
634
- skipSeconds.value = nextSeconds;
635
- settingsOpen.value = false;
635
+ window.setTimeout(() => {
636
+ if (isDisposed) return;
637
+ skipSeconds.value = nextSeconds;
638
+ settingsOpen.value = false;
639
+ }, 0);
636
640
  }
637
641
 
638
642
  function handleDocumentPointerDown(event) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mikuru",
3
- "version": "1.0.35",
3
+ "version": "1.0.36",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "A compile-first JavaScript framework with Vue-like authoring and Svelte-like generated DOM updates.",