Skip to content

Releases: brianyu28/vitality

v0.1.5

23 Aug 22:08
Compare
Choose a tag to compare

Vitality v0.1.5 includes:

New Features

  • Object groups. An object can have type: group, under which is an objects key that contains a list of all of the objects within it. Object groups can have transitions applied to them.
  • Printout mode. Typing p while on the page will bring up the printout view, which lines up all of the slides on the same page. Cropping and resizing may still need to be done separately.
  • The text object supports a spacing key that determines the line spacing between lines.
  • A bullet now supports a spacing key to determine its level of indentation.
  • Title-only slides are now supported. If a slide has a title key only, it will show up as a heading above the slide. The slide can also have objects associated with it to fill the slide.
  • Last slide shortcut. Typing x will automatically jump to the last slide.

Breaking Changes

  • The attributes dominant_baseline and text_anchor on the text attribute have been renamed to dominant-baseline and text-anchor, respectively, to line up with the SVG standard nomenclature.

v0.1.4

21 Aug 23:02
Compare
Choose a tag to compare

Vitality v0.1.4 includes

New Features

  • Added a control panel (accessible by pressing c) to control slides from a separate window
  • Support for multi-line text objects
  • Support for image objects

Enhancements

  • There is now a copy_objects property that can be used to automatically copy all objects (with an id) from the previous slide to the current slide.

Bug Fixes

  • Fix bug where go-to mode doesn't disable other key presses
  • Fix bug where text elements that contained only an integer would cause errors
  • Fix bug where multiple transitions for the same object in a row would not take effect
  • Fix resizing window bug for particularly wide screens

v0.1.3

20 Aug 05:07
Compare
Choose a tag to compare

Vitality v0.1.3 includes:

New Features

  • Arithmetic expressions can now be evaluated in the YAML file by prepending !calc
  • Added the ability to "go to" a slide, as by typing g then 2 then enter to go to slide 2 (slides are 0-indexed). The user can also can also go to a slide with a particular id by typing g followed by the id, and then enter. Slides can be given an id by adding an id key to the slide configuration; id must contain at least one alphabetic character.
    • Once the presenter has used the go-to feature to go to a particular slide, they can use b to go back to their previous slide (retaining build if needed).
    • If in the middle of a go-to, the escape key cancels the go-to.
  • Add pure HTML slides, by giving a slide a type: html as well as an html: key (if the latter is present, the former is assumed). HTML takes up the entire page, and can be used to add images, iframes, buttons, etc. to a page.
  • Add support for HTML objects as elements on a slide.
  • For HTML, added a .center class which can be used to center an element both horizontally and vertically.

Enhancements

  • Title slides without a type; if title and subtitle keys are present, then a title slide is assumed
  • Individual bullets can now have a custom color, by putting the bullet under a text: key and adding a color: key to the bullet. If no color key is present, the color of for the bullets overall is assumed.

Bug Fixes

  • Fixed bug where in --watch mode, files were not regenerated when in the current directory
  • Fixed bug where attr and style properties would not copy correctly to transitioned objects if the transitioned object also had an attr or style key

v0.1.2

19 Aug 04:56
Compare
Choose a tag to compare
v0.1.2 Pre-release
Pre-release

This version of vitality includes support for:

  • Navigating slides via arrow keys.
  • Template slides for title slides, section slides, bulleted slides, blank slides, and slides with objects.
  • Custom objects that can be any SVG-supported shape.
  • Inter-slide builds for bullets or objects.