Skip to content

Releases: ibm-js/delite

0.9.5

19 Mar 08:24
Compare
Choose a tag to compare

Remove guard code to squelch repeated calls to connectedCallback()/disconnectedCallback().

Rename Widget lifecycle methods:

  • preRender() --> beforeInitializeRendering()
  • render() --> initializeRendering()
  • postRender() --> afterInitializeRendering()

Change from JSHint to ESLint.

Leverage native (or polyfilled) Promise, Element#classList, and Element#matches.

Get rid of Selection#updateRenderers().

0.9.4

17 Feb 10:19
Compare
Choose a tag to compare

Revert change to set Widget#effectiveDir on connect. It breaks too many existing widgets, which depend on it being set during widget creation.

0.9.3

16 Feb 01:32
Compare
Choose a tag to compare

Remove dependence on dpointer now that iOS 13 and Safari 13 support
pointer events natively.

Various fixes so widgets don't access document.body before it's created.
Also avoid using domReady! as a plugin since Webpack can't handle it.

0.9.2

29 Jan 13:08
Compare
Choose a tag to compare

Fix KeyNav when shift-tabbing in from browser address bar.

Make public a11y.getTabNavigable() method that returns list of tab navigable nodes, in order.

0.9.1

24 Jan 12:09
Compare
Choose a tag to compare

tabKeyHandler() can return false for browser to handle tab key.

0.9.0

15 Dec 07:56
Compare
Choose a tag to compare

What's new in this release?

Features
  • HasDropDown#openOnHover flag to open/close dropdowns on hover.
  • Allow for centered popups to be dragged/resized.
  • New a11y.getNextInTabbingOrder() method.
Enhancements
  • Upgrade to Custom Elements V1 spec.
  • Upgrade to DCL V2.
  • iOS 13 and Catalina support.
  • Support to restrict KeyNav behavior to a sub node.
  • Emit "popup-after-show" and "popup-before-hide" events on popup widgets.
  • Allow for "orient" parameter to popup.open() to be a function.
  • New HasDropDown#dropDownType and anchorNode properties.
  • New HasDropDown#openOnArrowDown flag.
  • Close dropdowns when anchor scrolled out of view.
  • Dialog: focus on first real field (if one exists) rather than the close icon.
  • delite/popup: add the ability to explicitly display/not display the underlay.
Other
  • Use ResizeObserver polyfill to test when popup's size changes.
  • Upgrade to Intern 4
  • Remove obsolete / half-implemented features: "textdir" property, "inherited-dir" has() flag, iOS and holodark themes, delite/theme! plugin.
  • Removed dependency on jQuery.
  • Publish on NPM rather than bower.

Also, numerous bug fixes.

See 0.8.2...0.9.0 for details.

0.8.2

18 Apr 21:42
Compare
Choose a tag to compare
0.8.2 Pre-release
Pre-release

What's new in this release?

Enhancement
  • Store: delay query until after subclass sets this.query (#442)
Bug Fixes
  • HasDropDown: should set aria-expanded initially (#441)
  • FormWidget: redundant aria-disabled attribute (#440)
  • on() should consistently report ESC key as "Escape" (#439)
  • regression in build for templates with embedded custom elements (#438)
  • interference when two templates set class on same node (#434)

0.8.1

20 Nov 10:30
Compare
Choose a tag to compare
0.8.1 Pre-release
Pre-release

What's new in this release?

API Changes
  • delite/on (and also Widget#on()) will set Event.key to "ArrowDown", "ArrowLeft", etc. rather than "Down", "Left", etc. This is to match the specification of Event.key, even though no browsers except the latest firefox
    match the specification.
Bug Fixes
  • Arrow key navigation broken in Firefox (#433)

0.8.0

13 Nov 11:10
Compare
Choose a tag to compare
0.8.0 Pre-release
Pre-release

What's new in this release?

New Features
  • support high contrast mode detection (#424)
  • delite/on module (#412)
Enhancements
  • compile templates at build time rather than at run time (#432)
  • FormWidget: add afterFormResetCallback() (#423)
  • Change widget template dynamically (#414)
  • CustomElement: make computeProperties() / refreshRendering() report changes to function/class properties too (#314)
  • delite/Store Array / Observable Array support (#278)
Bug Fixes
  • HasDropDown: focuses dropdown on tap even though focusOnPointerOpen === false (iOS, android) (#430)
  • delite/popup.open() doesn't call onExecute() when popup emits change/execute event (#429)
  • Handlebars parser is not handling JSON data correctly (#428)
  • shouldn't upgrade custom elements inside (#408)
  • DisplayContainer: Do no remove child on hide (#407)

0.8.0-beta.2

04 Oct 13:58
Compare
Choose a tag to compare
0.8.0-beta.2 Pre-release
Pre-release

Dynamic template support etc.

See 0.7.1...0.8.0-beta.2 for details.
Also, see 0.8.0-beta...0.8.0-beta.2 for changes since beta 1.