Skip to content

Releases: vigetlabs/colonel-kurtz

Version 2.17.0

12 May 20:54
Compare
Choose a tag to compare
  • The content object of a block is always defined as an object.

Version 2.16.2

12 May 20:53
Compare
Choose a tag to compare
  • Bump react-ink to 0.4

Version 2.16.1

12 May 20:52
Compare
Choose a tag to compare
  • Lock down a few dependencies to prevent installation of React 0.14

Version 2.16.0

12 May 14:27
Compare
Choose a tag to compare

Noticeable Changes

  • Slightly increased padding of switch navigation buttons. This is present when block type labels exceed the min-width of those buttons
  • Tweaked vertical alignment of secondary add block buttons
  • Increased contrast of button focus background for block menu
  • Improve animation for menus, add closing animation.
  • "Move Up" and "Move Down" have been renamed to "Move Before" and
    "Move After". This is in anticipation for block types that display children horizontally.
  • Dialog addon accepts title and headingComponent props for customizable headings.
  • Dialog y-axis overflow scrolls when necessary.

Upgrading

This releases an update to the stylesheet. If you are not including it from node_modules, be sure to pull down the latest files from ./style

v2.15.0

01 May 15:28
Compare
Choose a tag to compare

Noticeable Changes

  • The menu to add new blocks will now collapse when the escape key is
    pressed.
  • Refactored switch navigation to be smarter about secondary
    buttons.
  • Improved animation for switches. Refactored Switch css

Upgrading

This releases an update to the stylesheet. If you are not including it
from node_modules, be sure to pull down the latest files from ./style

v2.14.0

01 May 12:08
Compare
Choose a tag to compare

New style updates warranted a minor release, however we also
refactored some internal components related to block type navigation.

Noticeable Changes

  • Improved the appearance and opening animation of the dialog addon
  • Improved focus for switch navigation
  • Fixed a case where an error would be thrown related to menus of torn
    down blocks.

Upgrading

The stylesheetfor this release was updated, for a stylesheet specific
to this version, reference the style directory that is pulled down
with the npm module.

v2.13.0

01 May 12:08
Compare
Choose a tag to compare

Breaking changes

  • Custom menu items are no longer defined in statics. Instead, they
    are returned from a getMenuItems method on the component itself.
  • The component lifecycle method menuWillSelect has been
    removed. For the purposes it was required for, getMenuItems is sufficient

Upgrading

  • For those using custom menu items, see the updated menu.md doc for
    the updated API.

v2.12.2

01 May 12:09
Compare
Choose a tag to compare
  • react-ink was missing in the build. Originally it was compiled
    into the main payload, this changed when we updated the build
    process. react-ink is now a standard dependency.

v2.12.1

01 May 12:09
Compare
Choose a tag to compare
  • Publishing to NPM occurs by pushing the dist folder. Instead, the root folder was published

v2.12.0

01 May 12:09
Compare
Choose a tag to compare

Breaking changes

  • Addons are now available directly under
    colonel-kurtz/addons, their colonel-kurtz/build counterparts
    have been removed. This is due to a change in the build process to
    help expose components for use when building new UI.

Noticeable Changes

  • New menu items may now be added on an individual block type
    level. For more information, see ./docs/menus.md
  • Style for addons has been moved to ./style/addons so that it is
    easier to pull down all styles at once or reference the directory in
    node_modules.

Upgrading

This release has a breaking change to improve the ease of including
React components defined by Colonel Kurtz when building new block
types. If you are including addons, the following change is necessary:

In the case of the YouTube component addon, in the previous release it
can be included using:

let YouTube = require('colonel-kurtz/build/addons/youtube')

This has now become:

let YouTube = require('colonel-kurtz/addons/youtube')