Axa Ch Webhub Cloud Pattern Library Versions Save

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

v2.0.1-beta.217

5 years ago

A new version 2.0.1-beta.217 of the patterns-library has just been released :tada: including breaking changes :bomb: :

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(...); }