Skip to content

Releases: ibm-js/delite

0.4.0

23 Oct 12:13
Compare
Choose a tag to compare
0.4.0 Pre-release
Pre-release

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 calling dropdown.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 to delite-before-show and delite-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, emit delite-activated and delite-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() to startup().
    Also, make createdCallback() and attachedCallback() automatically chain.
    Removed 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

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

17 Oct 12:22
Compare
Choose a tag to compare
0.4.0-beta Pre-release
Pre-release

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

09 Oct 12:05
Compare
Choose a tag to compare
0.4.0-alpha.2 Pre-release
Pre-release

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, emit delite-activated and delite-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 calling dropdown.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

25 Sep 05:08
Compare
Choose a tag to compare
0.4.0-alpha Pre-release
Pre-release

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

15 Sep 11:54
Compare
Choose a tag to compare
0.3.0 Pre-release
Pre-release

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

11 Sep 12:06
Compare
Choose a tag to compare
0.3.0-alpha Pre-release
Pre-release

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

01 Aug 05:45
Compare
Choose a tag to compare
0.2.0-dev Pre-release
Pre-release

Fixes to template engine, and more documentation updates.

See 0.2.0-beta...0.2.0-dev for details.

0.2.0-beta

29 Jul 09:20
Compare
Choose a tag to compare
0.2.0-beta Pre-release
Pre-release

Lots of documentation, and reporting changes to underscore properties
0.1.9-dev...0.2.0-beta

0.1.10-dev

25 Jul 09:12
Compare
Choose a tag to compare
0.1.10-dev Pre-release
Pre-release

Don't load page-level CSS by default

0.1.9-dev...0.1.10-dev

0.1.9-dev

25 Jul 06:28
Compare
Choose a tag to compare
0.1.9-dev Pre-release
Pre-release

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.