Skip to content

v6.0.0-rc.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@ghaiklor ghaiklor released this 06 Jun 18:27
· 64 commits to master since this release

Bug Fixes

  • 🐛 canvas is not cleaning up when switching slides (e6c6dd9)
  • 🐛 deck could exit while rendering (387c15f)
  • 🐛 deck is not clearing up canvas when showing\exiting (2224e57)
  • 🐛 Deck uses an old call signature for creating slides (f595679)
  • 🐛 image shape is not rendering in iTerm (c9b0942)
  • 🐛 update terminal-canvas with fixed eraseScreen behaviour (f580d68)
  • 🐛 when passing custom canvas, it still resets the original (0748ffb)

Code Refactoring

  • 💡 move canvas property from deck decl to constructor (104953f)
  • 💡 swap order for canvas and declaration args in Slide (3de450f)

Features

  • 🎸 add a meta package kittik that reexports everything (54fdf7e)
  • 🎸 Deck extends an EventEmitter and produces exit event (2d28c52)
  • 🎸 DeckBuilder can accept a predefined shapes\animations (64988f6)
  • 🎸 SlideBuilder can be started with predefined shapes\anim (1738ed1)

BREAKING CHANGES

  • 🧨 DeckBuilder has no longer methods withShape(), withAnimation(). If you
    want to add a "global" shape, you can create a predefined set of
    shapes\animations and pass them into DeckBuilder.start(shapes,
    animations).
  • 🧨 DeckDeclaration no longer accepts canvas property. Instead, it must go
    into Deck constructor as a separate argument.
  • 🧨 Slide constructor() has changed its signature from (canvas, declaration)
    to (declaration, canvas)