8
0

CHANGELOG.md 13 KB

Changelog

0.10.0 (2017-09-03)

Bug fixes

  • ContextualToolbar should have proper editor toolbar styling. Closes #230. (4e2ee36)
  • BalloonPanelView should prevent native #selectstart event. Closes #243. (cba3fb1)
  • Button tooltip should not look blurry on low-DPI screens. Closes #142. Closes #133. (a497aff)
  • Clicking and dragging in a drop-down panel should not break the selection. Closes #228. (6066a09)
  • Contextual toolbar should re–position correctly on window scroll. Closes #227. (e5ea25f)
  • DropdownView should open upon arrow down key press. Closes #249. (c1e6afc)
  • List items should handle Enter and Space key press when focused. Closes #153. (403b64a)
  • The clickOutsideHandler helper should use mousedown instead of mouseup event. Closes #281. (6b980b6)
  • The Template class should not throw an error when a child view in the definition has an id attribute set without a value. Closes #289. (d7072ba)
  • The TooltipView should hide when the TooltipView#text is empty. The ButtonView's ability to get a tooltip should not be restricted after View initialization. Closes #283. (1588c82)
  • The dropdown menu should not open using the keyboard when disabled. Closes #238. (fc524b8)

Features

  • StickyToolbarView now supports a configurable vertical offset from the top of the page. Closes #277. (245f0fa)

Also implemented the normalizeToolbarConfig() utility.

  • Added TextInputView#isReadOnly and LabeledInputView#isReadOnly states. Closes #266. Closes #268. (111a728)
  • Added optional notification title. Closes #241. (abbb68f)
  • Allowed BalloonPanelView position limiter defined as a function. Made ContextualBalloon position limiter configurable via #positionLimiter property. Closes #260. (322563e)
  • Implemented placeholder in InputTextView. Closes #220. (5d91d18)
  • Introduced CommandFactory#names(). Closes #287. (4038da2)

Other changes

  • Add support for multiple context elements in the clickOutsideHandler helper. Closes #261. (9da5bf7)
  • Added the beforeShow event to the ContextualToolbar plugin. Closes #222. (835d0ac)
  • Implemented public show() and hide() methods in the ContextualToolbar plugin. Closes #263. (eb4caab)
  • Improvements in the BalloonPanelView–based components for the balloon toolbar editor. Closes #236. Closes #234. Closes #224. (737b55f)
  • Made the UI component initialization and destruction processes synchronous. Closes #225. (07e1502)
  • Made the UI destruction a fail–safe, repeatable process. Closes #248. (6f5ec0d)
  • The ContextualToolbar should not show up when all child items are disabled. The ContextualToolbar#beforeShow event has been replaced by ContextualToolbar#show. Closes #269. Closes #232. (d83d07d)

BREAKING CHANGES

  • StickyToolbarView#limiterOffset has been renamed to StickyToolbarView#limiterBottomOffset.
  • ContextualToolbar#beforeShow is no longer available. Please refer to ContextualToolbar#show instead.
  • The clickOutsideHandler helper's contextElement config option is now an Array named contextElements.
  • View#init(), View#destroy() (also ViewCollection#init(), ViewCollection#destroy() and ViewCollection#add()) no longer return Promise. It may require updates in UI components which inherit from View and rely on the value returned by these methods.
  • Various UI components switched to synchronous init() and destroy() (no longer returning Promise), which means that features using these components may need some updates to work properly.
  • The position names in BalloonPanelView.defaultPositions and their results have changed. Please refer to the latest API documentation to learn more.

0.9.0 (2017-05-07)

Bug fixes

  • BalloonPanelView should not be focusable. Closes #206. (f9e3bb7)

T/206a: BalloonPanelView should not be focusable

  • ContextualBalloon plugin should use BalloonPanelView#pin instead of #attachTo. Closes #192. (28dd457)
  • ContextualBalloon.view#element should be registered in editor's focus tracker. Closes #193. (cfbe329)
  • FocusCycler should ignore invisible views. Closes #209. (b8fbaf1)

T/209: FocusCycler should not consider invisible views.

  • ViewCollection#destroy should wait for all ViewCollection#add promises to resolve to avoid errors. Closes #203. (a7e7c94)

Features

  • Added keepAttachedTo() method to the BalloonPanelView. Closes #170. (101b465)
  • Introduced ContextualToolbar plugin. Closes #182. Closes #187. (66a30b1)

Introduced several new positions in BalloonPanelView#defaultPositions. Added className attribute to the BalloonPanelView interface.

BREAKING CHANGE: Default positions of the BalloonPanelView have been renamed.

BREAKING CHANGE: Class names controlling the arrow of the panel have been renamed.

  • Introduced ContextualBalloon plugin for managing contextual balloons. Closes #134. (3ceb6a6)
  • Introduced notification plugin. Closes #189. (f2dd63f)

Other changes

  • Improved ContextualBalloon so it supports asynchronous Views. Closes #200. (09067aa)
  • Merged FloatingPanelView into BalloonPanelView. Closes #191. (4b90faa)

BREAKING CHANGE: FloatingPanelView is no longer available. BREAKING CHANGE: BalloonPanelView#keepAttachedTo() has been replaced by pin(). BREAKING CHANGE: Default position names in BalloonPanelView.defaultPositions have changed. Now prefixed with arrow_.

BREAKING CHANGES

  • Default positions of the BalloonPanelView have been renamed.
  • Class names controlling the arrow of the panel have been renamed.
  • FloatingPanelView is no longer available.
  • BalloonPanelView#keepAttachedTo() has been replaced by pin().
  • Default position names in BalloonPanelView.defaultPositions have changed. Now prefixed with arrow_.

0.8.0 (2017-04-05)

Features

  • Allowed marking ListItemView active using the #isActive attribute. Closes #166. (a19d6c4)
  • Enabled styling via "class" attribute in ListItemView. Closes #162. (672bf82)
  • Implemented features necessary for creating inline editors UI – FloatingPanelView class, Template.revert() method and enableToolbarKeyboardFocus() util. Closes #152. (cb606d7)

Other changes

  • ComponentFactory will throw an error when attempting to create a non-existent component. Closes #174. (ef0a7f8)
  • Imported "ck-hidden" CSS class from ckeditor5-theme-lark. Closes #164. (486bb22)
  • Moved ViewCollection#bindTo method to Collection class in ckeditor5-utils. Closes #168. (5b55987)
  • Updated translations. (3b27e51)

BREAKING CHANGES

  • ViewCollection#bindTo.as is renamed to Collection#bindTo.using when mapping function is a parameter. SeeCollection#bindTo docs.
  • The ui/balloonpanel/balloonpanelview module was renamed to ui/panel/balloon/balloonpanelview. See #152.

0.7.1 (2017-03-06)

Bug fixes

  • Removed title from the editable element. Fixes #121. (71fb3eb)

Features

  • Added support for toolbar item separators. Closes #154. (f3cb75d)

Other changes