How to extend shim/mixin?

Dear Ionic-Community,

I want ::theme support for my Stencil components using GitHub - PolymerLabs/part-theme: Experimental proof of concept shim for ::part/::theme css.. Polymer’s demo gives an usage example by extending like this:

class PartThemeElement extends PartThemeMixin(HTMLElement) {} [1]

But Stencil errors: Classes decorated with @Component can not extend from a base class.

Is there any other way I can make use of the mixin?

Thanks in advance,
Jonas


[1] part-theme/basic.html at 77d8f9d83f70e4debe2e1f9bc1802876a8d95d4c · PolymerLabs/part-theme · GitHub

Hi Jonas,

At this time, there is no way to make use of this Mixin in Stencil. However, there is an open PR from a community member that the team is internally considering. Please consider giving that an upvote if it meets your needs!

Thanks!