pattern-library

AXA CH UI component library. Please share, comment, create issues and work with us!

Downloads
7.7K
Stars
126
Committers
34

Bot releases are visible (Hide)

pattern-library - Support for built-in elements Latest Release

Published by AndyOGo almost 6 years ago

A new version 2.0.1-beta.217 of the patterns-library has just been released πŸŽ‰ including breaking changes πŸ’£ :

Migration

  1. Replace your existing polyfill:
    • remove old and broken polyfill import '@webcomponents/webcomponentsjs/bundles/webcomponents-ce';
    • and use shiny new working polyfill:
      // better to load this only if it's needed
      import 'document-register-element/'; // ES2015
      // load this for browsers which support customElements without builtin (webkit)
      import '@ungap/custom-elements-builtin';
      
  2. All constructors need to be replaced by init, like so:
    • construcor(...) { super(...); } -> init(...) {} super.init(...); }
Package Rankings
Top 3.58% on Npmjs.org
Top 6.75% on Proxy.golang.org
Badges
Extracted from project README
lerna npm version npm version npm version npm version npm version npm version npm version npm version npm version npm version npm version npm version npm version npm version npm version npm version npm version npm version npm version npm version npm version npm version npm version npm version npm version npm version npm version npm version npm version npm version
Related Projects