github open-wc/open-wc @open-wc/scoped-elements@2.0.0-next.0

Major Changes

  • edca5a82: Adds compatibility for lit with lit-html v2 and lit-element v3.

    • This version does NOT work with lit-element v2 - please use Scoped Elements v1 for it

    • Uses a CustomElementsRegistry instance for each component class instead of for each component instance. In case you need to have a registry for each component instance, you must override the registry get and set methods to bind the registry to the component instance

      /** @override */
      get registry() {
        return this.__registry;
      /** @override */
      set registry(registry) {
        this.__registry = registry;
      • getScopedTagName became deprecated - use the native el.tagName instead
latest releases: chai-a11y-axe@1.3.2-next.2, storybook-addon-markdown-docs@1.0.2-next.0, @open-wc/semantic-dom-diff@0.19.5-next.1...
pre-release4 months ago