presently 0.19.0 → 0.20.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 844d33f102414b2087736e413c95f136363292add732cabb96cdb3910ed0f81c
4
- data.tar.gz: 6d1e4cbfa13f2efba5fb66bea2552b5107a09177ef40bdda42d5950b4a0d3d4e
3
+ metadata.gz: 44f63b8a685dbff7a9d834076b6f3df8e68cb512376a97a4953dd37ebad18b3d
4
+ data.tar.gz: ec2b552b9f5b72952bfed56f2aecdc55743ed18128f67cc391e52d9ec0064748
5
5
  SHA512:
6
- metadata.gz: 22cf5e3362dbd908de0e48e01d941913124927fd58d8fcd9d66ca83f9884f4426ea1fd8477473199a858171f63769841d876e95f35d12250e87ea72a84a779da
7
- data.tar.gz: 80c3ce3cf7540038cc69aa291c9ae7f8f5bd00122cf89846c4485fdef2da856f6b51a6fc032e931ffd91fcdddf6a735d3aa51c3aeb1b99392930d0c66fc0796b
6
+ metadata.gz: 5a1e4f78672691afb74bb33b7a1f464dfec183d1b4e691dd3a159da961d3d1a5d7950745614880bc6cef8d4a2b9c0e10f66164e079abd357f5ee3a5aefa73735
7
+ data.tar.gz: aef5cd14d684f9dfa245bcac914d587d4889bd1a07661513e1e1cc87697c6e18ea11fd7e9ca151664af30c6bc234140ea173426da30cebfd57aeb918cba24bac
checksums.yaml.gz.sig CHANGED
Binary file
@@ -5,5 +5,5 @@
5
5
 
6
6
  # @namespace
7
7
  module Presently
8
- VERSION = "0.19.0"
8
+ VERSION = "0.20.1"
9
9
  end
@@ -315,7 +315,13 @@ export class Slide {
315
315
  setTimeout(callback, delay) {
316
316
  if (this.#disposed) return null;
317
317
 
318
- const timeoutId = window.setTimeout(callback, delay);
318
+ const timeoutId = window.setTimeout(() => {
319
+ if (this.#animeScope) {
320
+ this.#animeScope.execute(() => callback());
321
+ } else {
322
+ callback();
323
+ }
324
+ }, delay);
319
325
  this.#timeouts.push(timeoutId);
320
326
  return timeoutId;
321
327
  }
@@ -760,6 +760,7 @@ body.playback[data-controls="false"] .playback-start-screen {
760
760
  display: flex;
761
761
  align-items: center;
762
762
  gap: 1rem;
763
+ min-width: 0;
763
764
  }
764
765
 
765
766
  .toolbar > button,
data/readme.md CHANGED
@@ -67,8 +67,13 @@ The task records the presentation at 1920×1080 and 30 frames per second by defa
67
67
 
68
68
  Please see the [project releases](https://socketry.github.io/presently/releases/index) for all releases.
69
69
 
70
+ ### v0.20.1
71
+
72
+ - Keep presenter toolbars within the viewport when slide paths are long.
73
+
70
74
  ### v0.19.0
71
75
 
76
+ - Keep Anime.js resources created by delayed slide callbacks bound to the slide lifecycle.
72
77
  - Support language-prefixed inline code such as `ruby:` for syntax highlighting.
73
78
  - Preserve blank lines within consistently indented HTML blocks in slide Markdown.
74
79
 
@@ -115,10 +120,6 @@ q
115
120
 
116
121
  - Add support for translation to code slide.
117
122
 
118
- ### v0.11.0
119
-
120
- - Add `Slide#element` and `SlideContext#element` getters — expose the slide body DOM element directly for cases where `find()` is not sufficient, such as measuring dimensions, attaching event listeners, or integrating third-party libraries.
121
-
122
123
  ## See Also
123
124
 
124
125
  - [lively](https://github.com/socketry/lively) — The real-time application framework that powers Presently.
data/releases.md CHANGED
@@ -1,7 +1,12 @@
1
1
  # Releases
2
2
 
3
+ ## v0.20.1
4
+
5
+ - Keep presenter toolbars within the viewport when slide paths are long.
6
+
3
7
  ## v0.19.0
4
8
 
9
+ - Keep Anime.js resources created by delayed slide callbacks bound to the slide lifecycle.
5
10
  - Support language-prefixed inline code such as `ruby:` for syntax highlighting.
6
11
  - Preserve blank lines within consistently indented HTML blocks in slide Markdown.
7
12
 
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: presently
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.19.0
4
+ version: 0.20.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
metadata.gz.sig CHANGED
Binary file