@algorisys/tinyfly 0.65.0 → 0.66.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/README.md CHANGED
@@ -189,11 +189,13 @@ Every release publishes browser bundles to the `cdn/` folder of
189
189
  its version, and [jsDelivr](https://www.jsdelivr.com/) serves them straight from
190
190
  GitHub. No npm required.
191
191
 
192
- `tinyfly.iife.js` (~29 KB gzipped) puts everything on one `tinyfly` global, with
193
- GSAP-shaped functions at the top level:
192
+ `tinyfly.iife.js` (~53 KB gzipped) puts everything on one `tinyfly` global, with
193
+ GSAP-shaped functions at the top level. Teaching embeds are included: add
194
+ `data-tinyfly-auto` to the script tag and every `[data-tinyfly-embed]` figure mounts
195
+ itself.
194
196
 
195
197
  ```html
196
- <script src="https://cdn.jsdelivr.net/gh/algorisys-oss/tinyfly@v0.65.0/cdn/tinyfly.iife.js"></script>
198
+ <script src="https://cdn.jsdelivr.net/gh/algorisys-oss/tinyfly@v0.66.0/cdn/tinyfly.iife.js"></script>
197
199
  <script>
198
200
  tinyfly.to('.box', { x: 200, rotate: 90, duration: 1, ease: 'power2.out' })
199
201
 
@@ -209,10 +211,11 @@ GSAP-shaped functions at the top level:
209
211
 
210
212
  | File | What |
211
213
  |---|---|
212
- | `cdn/tinyfly.iife.js` | Everything, on a `tinyfly` global |
214
+ | `cdn/tinyfly.iife.js` | Everything, on a `tinyfly` global, including teaching embeds |
213
215
  | `cdn/tinyfly.umd.js` | The same, as UMD |
214
216
  | `cdn/tinyfly.esm.js` | The same, as an ES module: `import { live } from '…/cdn/tinyfly.esm.js'` |
215
- | `cdn/tinyfly-player.iife.js` | Player only (~11 KB gzipped), for playing editor exports |
217
+ | `cdn/tinyfly-player.iife.js` | Player only (~17 KB gzipped), for playing editor exports |
218
+ | `cdn/tinyfly-embed.iife.js` | Only teaching figures (~19 KB gzipped): player, step controls, auto-mount |
216
219
 
217
220
  Replace `@v0.59.0` with the version you want. **Pin a version in production**:
218
221
  a tag's files never change. `@main` follows the latest release, which jsDelivr
@@ -417,7 +420,7 @@ Or skip the code entirely with declarative embeds (see [Teaching Animations](doc
417
420
  <svg viewBox="0 0 720 200">…</svg>
418
421
  <script type="application/json" data-tinyfly-timeline>{ …timeline JSON… }</script>
419
422
  </figure>
420
- <script src="https://cdn.jsdelivr.net/gh/algorisys-oss/tinyfly@v0.65.0/cdn/tinyfly-embed.iife.js" data-tinyfly-auto></script>
423
+ <script src="https://cdn.jsdelivr.net/gh/algorisys-oss/tinyfly@v0.66.0/cdn/tinyfly-embed.iife.js" data-tinyfly-auto></script>
421
424
  ```
422
425
 
423
426
  ### Audio / Video Sync