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 - [email protected]

Published by github-actions[bot] over 1 year ago

Patch Changes

  • 26292441: Change return type from Assertion to Promise
open-wc - @open-wc/[email protected]

Published by github-actions[bot] over 1 year ago

Patch Changes

  • f047282c: feat(eslint-config): support import assertions
open-wc - @open-wc/[email protected]

Published by github-actions[bot] over 1 year ago

Patch Changes

  • 285eb1d0: fix(eslint-config): use latest ecmaversion for static class fields su…
open-wc - @open-wc/[email protected]

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

Minor Changes

  • e5fa8a8f: feat: update eslint-plugin-lit
open-wc - @open-wc/[email protected]

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

Minor Changes

  • 8e2b6b4e: feat(eslint-config): add resolver for package exports/imports for eslint-plugin-import
open-wc - @open-wc/[email protected]

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

Patch Changes

  • 89fb5601: Add type entrypoint which enables you to get more advanced type information like

    import { ScopedElementsHost } from '@open-wc/scoped-elements/types.js';
    
open-wc - @open-wc/[email protected]

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

Minor Changes

  • 2a32c226: Update es-module-shims dependency to latest
  • aefc03a5: Update lru-cache dependency to 6.0.0
open-wc - @open-wc/[email protected]

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

Major Changes

  • 6525833a: Update aria-query to v5, fix switch role rules
  • 9779c746: Update eslint-plugin-html to 7.1.0
  • dcc4e759: Update eslint-plugin-no-only-tests to 3.1.0

Patch Changes

open-wc - [email protected]

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

Minor Changes

  • 6525833a: Update aria-query to v5, fix switch role rules
open-wc - @open-wc/[email protected]

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

Patch Changes

  • 7c9e5c42: Include spread types and exclude their TS source
open-wc - @open-wc/[email protected]

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

Patch Changes

  • 45094384: Update terser dependency version to 4.8.1
  • Updated dependencies [45094384]
open-wc - @open-wc/[email protected]

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

Patch Changes

  • 45094384: Update terser dependency version to 4.8.1
open-wc - @open-wc/[email protected]

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

Minor Changes

  • d009faae: Update dependency @rollup/plugin-node-resolve to v13
open-wc - @open-wc/[email protected]

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

Minor Changes

  • 027e58b0: Update dependency clean-css to v5

Patch Changes

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

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

Minor Changes

  • 027e58b0: Update dependency clean-css to v5
open-wc - @open-wc/[email protected]

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

Minor Changes

  • 8c71b085: Support node 17 & 18 by using md5 hashing
open-wc - @open-wc/[email protected]

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

Patch Changes

  • b187c0bc: Add missing types export when using node16 module resolution
open-wc - @open-wc/[email protected]

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

Patch Changes

  • b187c0bc: Add types export for node16 module resolution
  • Updated dependencies [b187c0bc]
open-wc - @open-wc/[email protected]

Published by github-actions[bot] about 2 years ago

Minor Changes

  • 667b6786: Add "spread", "spreadEvents", and "spreadProps" directives to support spreading objects of data onto elements in a lit-html template literal.

    Example of spread:

    import { spread } from '@open-wc/lit-helpers';
    
    const elementTemplate = (
      obj = {
        'my-attribute': 'foo',
        '?my-boolean-attribute': true,
        '@my-event': () => console.log('my-event fired'),
        '.myProperty': { foo: 'bar' },
      },
    ) => html` <custom-element ${spread(obj)}></custom-element> `;
    

    Example of spreadEvents:

    import { spreadEvents } from '@open-wc/lit-helpers';
    
    const elementTemplate = (
      obj = {
        'my-event': () => {
          console.log('my-event');
        },
        'my-other-event': () => {
          console.log('my-other-event');
        },
        'my-additional-event': () => {
          console.log('my-additional-event');
        },
      },
    ) => html` <custom-element ${spreadEvents(obj)}></custom-element> `;
    

    Example of spreadProps:

    import { spreadProps } from '@open-wc/lit-helpers';
    
    const elementTemplate = (
      obj = {
        string: 'string',
        number: 10,
        array: ['This', 'is', 'an', 'array.'],
        object: {
          foo: 'bar',
          baz: true,
          bar: false,
        },
      },
    ) => html` <custom-element ${spreadProps(obj)}></custom-element> `;
    
open-wc - [email protected]

Published by github-actions[bot] about 2 years ago

Patch Changes

  • fc3e9317: Fix bug #2490 in scope rule