Releases: ibm-js/delite
0.4.0
Enhancements since 0.3
popups/dropdowns
- delite/place, delite/popup, and delite/HasDropDown have new "center" option for showing dialogs
- delite/HasDropDown forwards keystrokes to dropdown via
dropdown.emit("keydown", ...)
rather than callingdropdown.handleKey()
method - delite/HasDropDown emits events just like DisplayContainer (delite-display-load, delite-before-show, delite-after-show, delite-before-hide, delite-after-hide)
- removed code to call widget's
onOpen()
/onClose()
methods. instead widget can listen todelite-before-show
anddelite-after-hide
events
delite/KeyNav
- focusDescendants=false mode for ComboBox
- removed
_keyNavCodes
property; instead automatically call method (ex:spaceKeyHandler()
) if it's defined
delite/activationTracker
This was previously called delite/focus.
- Stopped calling _onFocus(), _onBlur(), onFocus(), and onBlur() on widgets.
Instead, emitdelite-activated
anddelite-deactivated
events on
widgets as they become or stop being active. - stopped setting "focused" property on active widgets, and removed "focused" from default list of properties CssState tracks
delite/CustomElement
- Prefer
attachedCallback()
tostartup()
.
Also, makecreatedCallback()
andattachedCallback()
automatically chain.
Removed chaining ofstartup()
though, since subclasses generally shouldn't
extend it anyway. - computeProperties() and refreshRendering() now get notification when the
attached
,started
, andcreated
properties are set to true
delite/Viewport
Lots of fixes about size estimation on iOS. Also split the event notification into "resize" and "scroll".
Miscellaneous
- work for supporting store as CustomElement
- Moved width100/height100 css classes to defaultapp.css
- moved delite/css to requirejs-dplugins/css
Name changes since 0.3
- KeyNav
- focusedChild --> navigatedDescendant
- childSelector --> descendantSelector
- focusFirstChild --> navigateToFirst
- focusLastChild --> navigateToLast
- focusChild --> navigateTo
- onKeyboardSearch --> _keyboardSearchHandler
- _deactivateHandler --> _keynavDeactiveHandler (so it doesn't conflict with HasDropDown)
- _onLeftArrow --> previousArrowKeyHandler
- _onRightArrow --> nextArrowKeyHandler
- _onUpArrow --> upArrowKeyHandler
- _onDownArrow --> downArrowKeyHandler
- _getNext --> getNext
- Widget
- preCreate() --> preRender(), buildRendering() --> render(), postCreate() --> postRender().
- Removed underscore from names of protected properties:
- CustomElement: _created, _attached, _parseAttr --> parseAttribute, _parseFunctionAttr --> parseFunctionAttribute
- HasDropDown: _buttonNode, _arrowWrapperNode, _popupStateNode, _aroundNode
- Widget: _started
See 0.3.0...0.4.0 for details.
0.4.0-beta
Changes since alpha-2:
- center option for showing dialog (working more-or-less)
- work for supporting store as CustomElement
0.4.0-alpha.2...0.4.0-beta for details.
0.4.0-alpha.2
Hopefully finishes all the renaming etc. for 0.4.0. Doesn't include the dialog work though.
Major changes since 0.4.0-alpha
focus.js
- Got rid of _onFocus(), _onBlur(), onFocus(), and onBlur().
Instead, emitdelite-activated
anddelite-deactivated
events on
widgets as they become or stop being active. - renamed focus.js to activationTracker.js
- stopped setting "focused" property on active widgets, and removed "focused" from default list of properties CssState tracks
KeyNav
- removed
_keyNavCodes
property; instead automatically call method (ex:spaceKeyHandler()
) if it's defined - focusDescendants=false mode for ComboBox
- renames
- focusedChild --> navigatedDescendant
- childSelector --> descendantSelector
- focusFirstChild --> navigateToFirst
- focusLastChild --> navigateToLast
- focusChild --> navigateTo
- onKeyboardSearch --> _keyboardSearchHandler
- _deactivateHandler --> _keynavDeactiveHandler (so it doesn't conflict with HasDropDown)
- onLeftArrow --> previousArrowKeyHandler
- onRightArrow --> nextArrowKeyHandler
- onUpArrow --> upArrowKeyHandler
- onDownArrow --> downArrowKeyHandler
HasDropDown
- forward keystrokes to dropdown via
dropdown.emit("keydown", ...)
rather than callingdropdown.handleKey()
method - emit events just like DisplayContainer (delite-display-load, delite-before-show, delite-after-show, delite-before-hide, delite-after-hide)
popup
- removed code to call widget's onOpen() / onClose() methods. instead widget can listen to delite-before-show and delite-after-hide events
0.4.0-alpha
Lots of name changes etc.:
- Prefer attachedCallback() to startup().
Also, make createdCallback() and attachedCallback() automatically chain.
Removes chaining of startup() though, since subclasses generally shouldn't
extend it anyway.- computeProperties() and refreshRendering() now get notification when the attached, started, and created properties are set to true
- Remove underscore from names of protected properties:
- CustomElement: _created, _attached, _parseAttr --> parseAttribute, _parseFunctionAttr --> parseFunctionAttribute
- HasDropDown: _buttonNode, _arrowWrapperNode, _popupStateNode, _aroundNode
- KeyNav: _onLeftArrow, _onRightArrow, _onUpArrow, _onDownArrow, _getNext
- Widget: _started
- Move width100/height100 classes to defaultapp.css
- move delite/css to requirejs-dplugins/css
- Rename preCreate() --> preRender(), buildRendering() --> render(), postCreate() --> postRender().
See 0.3.0...0.4.0-alpha for details
0.3.0
Major changes since 0.2.0:
- various fixes to template parsing
- lots of fixes, plus API changes for delite/popup and HasDropDown
- Container: support this.containerNode, and using native appendChild() and insertBefore() methods
- refactoring of CSS files
- FormWidget: send aria-* attributes to focusNode so screen readers work
See 0.2.0-dev...0.3.0 for details.
0.3.0-alpha
Major changes since 0.2.0:
- various fixes to template parsing
- lots of fixes, plus API changes for delite/popup and HasDropDown
- start of support for using native appendChild() and insertBefore() methods on Container subclasses (more in final release)
- refactoring of CSS files
- FormWidget: send aria-* attributes to focusNode so screen readers work
See 0.2.0-dev...0.3.0-alpha for details.
0.2.0-dev
Fixes to template engine, and more documentation updates.
See 0.2.0-beta...0.2.0-dev for details.
0.2.0-beta
Lots of documentation, and reporting changes to underscore properties
0.1.9-dev...0.2.0-beta
0.1.10-dev
Don't load page-level CSS by default
0.1.9-dev
Small release with:
- template improvements: support for binding expressions {{this.a + this.b}}
- new css loader that can load CSS files cross domain, plus support for CSS layers in builds
- documentation
See 0.1.8-dev...0.1.9-dev for details.