v0.6.0
BREAKING CHANGES:
- helper animateDropdown moved into
web-ui-pack/helpers/animateDropdown
- PopupElement. Fixed typo
$isHidding
to$isHiding
Fixes:
- helper
animateDropdown
. Wrong for left,right,top directions - PopupElement. Popup hides by mouseenter if was opened by target.mouseenter
- PopupElement. Popup impossible to hide by click if opened by hover
- NumberControl.
-234
showed as-,234
- error message min/max is not formatted as input
- useless inline style 'overflow' on focus
- Controls. Asterisk is visible on empty label when value is required
New/Features:
- DropdownElement demo
- Added ability to reuse built-in styles (scroll,button['submit'] etc.). See FAQ/sharedStyles
- SelectManyControl demo. Added ability to sort/order items via drag&drop OR Arrows + Shift
- Added helper animateStack
- PopupElement
- Added option animation: Animations.stack
- Added support for attribute [animation] ("stack","drawer","") :
<wup-popup animation="stack">...</wup-popup>
- Extended attribute placement. Now it has predefined opposite rules (so
right-middle
means[right-middle, left-middle]
) - Reduced memory consumption via significant refactoring listeners & callback
- Popup always closed by keydown Escape if wasn't prevented (if was opened via default listener)
- Popup always closed by focusLost of target & popup for accessibility purpose (if was opened via default listener)
- Ability to call $show() and $hide() with working listeners (previously manuall $show() removed all listeners)
- Controls. Able to setup
$defaults.validations
(likeWUPNumberControl.$validations = {min: 0}
etc.)
- Global. Added custom callbacks for events. So event
popup.addEventListner("$show",e=>...)
equal topopup.$onShow = (e)=>...