Releases: vigetlabs/colonel-kurtz
Version 2.17.0
- The content object of a block is always defined as an object.
Version 2.16.2
- Bump react-ink to 0.4
Version 2.16.1
- Lock down a few dependencies to prevent installation of React 0.14
Version 2.16.0
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 acceptstitle
andheadingComponent
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
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
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
Breaking changes
- Custom menu items are no longer defined in
statics
. Instead, they
are returned from agetMenuItems
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
v2.12.1
v2.12.0
Breaking changes
- Addons are now available directly under
colonel-kurtz/addons
, theircolonel-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')