Breaking changes
TeleportingElement
This utility is deprecated. Consider using PortalElement instead, which is an iteration on the same concept but with less limitations.
No Internet Explorer 11 and pre-Chromium Edge support
The components and utilities no longer work in browsers without native Shadow DOM and CSS Custom Properties support.
StylableMixin
<style type="scoped" for="j-button"></style> -> <style media="j-button"></style>
Style elements in the global scope affect all matching element instances in any shadow root. There is no distinction about “scoped” or ”global” style sheets in the global scope.
New features
JInput
New component JInput, which is based on two new utility classes: NativeElementWrapper and NativeInputElementWrapper.
JButton is now also based on NativeElementWrapper, and therefore now has a shadow root as well (and no longer uses LightStyleElement).
PortalElement
Replaces the previous TeleportingElement experiment. PortalElement has less limitations.
Changes
JField
JField got a major refactoring. It now uses the browser’s built-in validation features more (such as localized validation messages).
MutationAnimationMixin
A new utility for easily animating element additions and removals from the DOM.
Docs for MutationAnimationMixin ›
Docs site
- Various improvements
Folder structure
- Components moved under
src/components - Utilities moved under
src/util