Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Releases: ckeditor/ckeditor5-ui

v1.0.0-alpha.1

03 Oct 12:30
Compare
Choose a tag to compare

Bug fixes

  • ContextualBalloon should remember position passed to #updatePosition(). Closes #305. Closes ckeditor/ckeditor5-image#141. (c787c0d)
  • ContextualToolbar should not be positioned to a zero–width DOM rect when invoked for a multi-line forward selection. Closes #308. (00b701b)
  • ContextualToolbar will accept the object format of config.contextualToolbar. Closes #316. (d71cad8)
  • Fixed sticky panel's z-index so it's correctly rendered above images (or other relatively positioned elements). Closes #315. (00f2add)
  • The content of the BalloonPanelView should be selectable. Closes #294. Closes ckeditor/ckeditor5#498. (e5315df)

Features

  • Implemented View#removeChildren(), the opposite of View#addChildren(). Closes #303. (0f1ea5a)
  • Replaced StickyToolbarView with a generic StickyPanelView. Closes #297. (b10b43c)

Other changes

  • ToolbarView#fillFromConfig() will warn when the factory does not provide a component. Closes #291. Closes ckeditor/ckeditor5#526. (2e63e70)
  • The escPressHandler function should be replaced by the KeystrokeHandler. Closes #150. (b322744)

BREAKING CHANGES

  • Toolbar#fillFromConfig() cannot be now called with an undefined. Make sure to use normalizeToolbarConfig() to get a reliable object.
  • The escPressHandler is no longer available. Please
    refer to the KeystrokeHandler helper to learn more.
  • The StickyToolbarView and corresponding CSS .ck-sticky-panel classes are no longer available. StickyPanelView + ToolbarView combo should be used instead.

v0.10.0

03 Sep 18:24
Compare
Choose a tag to compare

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.

v0.9.0

07 May 21:48
Compare
Choose a tag to compare

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_.

  • Updated translations. (3455fe7)

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_.

v0.8.0

05 Apr 17:08
Compare
Choose a tag to compare

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.

v0.7.1

06 Mar 16:53
Compare
Choose a tag to compare

Bug fixes

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

Features

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

Other changes

v0.1.0 – first demo-able version (2016-07-08)

08 Jul 15:24
Compare
Choose a tag to compare