This repository has been archived by the owner on Jun 26, 2020. It is now read-only.
v0.10.0
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 usemousedown
instead ofmouseup
event. Closes #281. (6b980b6) - The
Template
class should not throw an error when a child view in the definition has anid
attribute set without a value. Closes #289. (d7072ba) - The
TooltipView
should hide when theTooltipView#text
is empty. TheButtonView's
ability to get a tooltip should not be restricted afterView
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
andLabeledInputView#isReadOnly
states. Closes #266. Closes #268. (111a728) -
Allowed
BalloonPanelView
position limiter defined as a function. MadeContextualBalloon
position limiter configurable via#positionLimiter
property. Closes #260. (322563e) -
Implemented placeholder in
InputTextView
. Closes #220. (5d91d18)
Other changes
- Add support for multiple context elements in the
clickOutsideHandler
helper. Closes #261. (9da5bf7) - Added the
beforeShow
event to theContextualToolbar
plugin. Closes #222. (835d0ac) - Implemented public
show()
andhide()
methods in theContextualToolbar
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. TheContextualToolbar#beforeShow
event has been replaced byContextualToolbar#show
. Closes #269. Closes #232. (d83d07d)
BREAKING CHANGES
StickyToolbarView#limiterOffset
has been renamed toStickyToolbarView#limiterBottomOffset
.ContextualToolbar#beforeShow
is no longer available. Please refer toContextualToolbar#show
instead.- The
clickOutsideHandler
helper'scontextElement
config option is now anArray
namedcontextElements
. View#init()
,View#destroy()
(alsoViewCollection#init()
,ViewCollection#destroy()
andViewCollection#add()
) no longer returnPromise
. It may require updates in UI components which inherit fromView
and rely on the value returned by these methods.- Various UI components switched to synchronous
init()
anddestroy()
(no longer returningPromise
), 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.