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

v0.10.0

Compare
Choose a tag to compare
@Reinmar Reinmar released this 03 Sep 18:24
· 1421 commits to master since this release

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.