open-wc

Open Web Components: guides, tools and libraries for developing web components.

MIT License

Downloads
3.1M
Stars
2.2K
Committers
233

Bot releases are visible (Hide)

open-wc - @open-wc/[email protected]

Published by github-actions[bot] over 3 years ago

Patch Changes

  • b9b11adc: support snapshot testing with Web Test Runner
open-wc - @open-wc/[email protected]

Published by github-actions[bot] over 3 years ago

Minor Changes

  • b9b11adc: support snapshot testing with Web Test Runner

Patch Changes

open-wc - @open-wc/[email protected]

Published by github-actions[bot] over 3 years ago

Minor Changes

  • 1e54d297: Use the webcomponents polyfill instead of the forked one
open-wc - @open-wc/[email protected]

Published by github-actions[bot] over 3 years ago

Patch Changes

  • 0513917c: Keep deprecated static getScopedTagName function
open-wc - @open-wc/[email protected]

Published by github-actions[bot] over 3 years ago

Patch Changes

  • a0b5e360: fix getScopedTagName returning the tag that was passed in
open-wc - @open-wc/[email protected]

Published by github-actions[bot] over 3 years ago

Patch Changes

  • 89fdfa03: Do not generate chai plugins on user install. Do it only on monorepo install.
open-wc - @open-wc/[email protected]

Published by github-actions[bot] over 3 years ago

Major Changes

  • 689c9ea3: Upgrade to support latest lit package.

    • the exports html and unsafeStatic are now deprecated we recommend to import them directly from lit/static-html.js;

    • You need to load a polyfill for the scoped registry if you wanna use the scopedElements option

    • We now enforce our entrypoints via an export map

    • The side effect free import got renamed to pure

      // old
      import { fixture } from '@open-wc/testing-helpers/index-no-side-effects.js';
      // new
      import { fixture } from '@open-wc/testing-helpers/pure';
      
  • a5a79a25: We now use an es module version of chai from @esm-bundle/chai.

Patch Changes

open-wc - [email protected]

Published by github-actions[bot] over 3 years ago

Minor Changes

  • f411714e: Check tagged template literals of the package lit by default

All notable changes to this project will be documented in this file.
See Conventional Commits for commit guidelines.

open-wc - @open-wc/[email protected]

Published by github-actions[bot] over 3 years ago

Major Changes

  • 689c9ea3: Upgrade to support latest lit package.

    • the exports html and unsafeStatic are now deprecated we recommend to import them directly from lit/static-html.js;

    • You need to load a polyfill for the scoped registry if you wanna use the scopedElements option

    • We now enforce our entrypoints via an export map

    • The side effect free import got renamed to pure

      // old
      import { fixture } from '@open-wc/testing-helpers/index-no-side-effects.js';
      // new
      import { fixture } from '@open-wc/testing-helpers/pure';
      

Patch Changes

open-wc - @open-wc/[email protected]

Published by github-actions[bot] over 3 years ago

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

open-wc - @open-wc/[email protected]

Published by github-actions[bot] over 3 years ago

Minor Changes

  • f3cbb2a7: Removes directives from package

    • the live directive is in the official lit package.
    • the spread and spreadProps directives no longer work with the updated directive API of lit. They will need to be recreated and we will do this in lit-labs.
    • import { /* ... */ } from '@open-wc/lit-helpers'; is now the only valid entrypoint
open-wc - @open-wc/[email protected]

Published by github-actions[bot] over 3 years ago

Patch Changes

open-wc - @open-wc/[email protected]

Published by github-actions[bot] over 3 years ago

Patch Changes

  • ca91826b: Update babel dependency to use @babel/plugin-syntax-import-assertions.

  • 487d39fb: Add a preset for the new lit package which will patch imports like import { LitElement } from 'lit';

    import { hmrPlugin, presets } from '@open-wc/dev-server-hmr';
    
    export default {
      plugins: [
        hmrPlugin({
          presets: [presets.lit],
        }),
      ],
    };
    
open-wc - @open-wc/[email protected]

Published by github-actions[bot] over 3 years ago

Patch Changes

  • aee0ee63: export waitUntil from index-no-side-effects
open-wc - @open-wc/[email protected]

Published by github-actions[bot] over 3 years ago

Minor Changes

  • ad24cd57: added HTML extension
open-wc - @open-wc/[email protected]

Published by github-actions[bot] over 3 years ago

Minor Changes

  • b55fb7b7: Remove unneeded babel plugins
open-wc - https://github.com/open-wc/open-wc/releases/tag/@open-wc/[email protected]

Published by github-actions[bot] over 3 years ago

Patch Changes

  • a921eda0: Fixed module preload when creating link tags.

All notable changes to this project will be documented in this file.
See Conventional Commits for commit guidelines.

open-wc - https://github.com/open-wc/open-wc/releases/tag/@open-wc/[email protected]

Published by github-actions[bot] over 3 years ago

Patch Changes

  • e2f9240e: fix(dev-server-hmr): fix compatibility with scoped-elements
open-wc - https://github.com/open-wc/open-wc/releases/tag/@open-wc/[email protected]

Published by github-actions[bot] almost 4 years ago

Patch Changes

  • 31ff454a: Add constructor to ScopedElementsHost type so that base constructors have the same return type as extensions. See TypeScript issue.
open-wc - https://github.com/open-wc/open-wc/releases/tag/@open-wc/[email protected]

Published by github-actions[bot] almost 4 years ago

Patch Changes

  • f6159010: updated peer dependency version of lit-element to 2.x

All notable changes to this project will be documented in this file.
See Conventional Commits for commit guidelines.