lit

Lit is a simple library for building fast, lightweight web components.

BSD-3-CLAUSE License

Downloads
46.4M
Stars
18.6K
Committers
190

Bot releases are hidden (Show)

lit - @lit/[email protected]

Published by augustjk over 1 year ago

Patch Changes

lit - @lit-labs/[email protected]

Published by augustjk over 1 year ago

Patch Changes

lit - @lit-labs/[email protected]

Published by augustjk over 1 year ago

Patch Changes

lit - @lit-labs/[email protected]

Published by augustjk over 1 year ago

Patch Changes

lit - [email protected]

Published by augustjk over 1 year ago

Minor Changes

  • #3667 e00f6f52 - [SSR only] Improved how nodes with attribute/property/event/element bindings are rendered in SSR, to avoid adding comments inside of "raw text elements" like <textarea>. Fixes #3663.

    Note: @lit-labs/ssr and lit-html must be updated together.

Patch Changes

  • #3615 4d698430 - Don't throw in ChildPart.parentNode if the parentNode is null

  • #3583 88a40177 - [SSR only] Add more detail to some hydration errors

lit - [email protected]

Published by augustjk over 1 year ago

Minor Changes

  • #3677 b95c86e5 - [SSR only] Reflect ARIA attributes onto server rendered Lit elements with attached internals during SSR and remove them upon hydration.

Patch Changes

lit - [email protected]

Published by augustjk over 1 year ago

Minor Changes

  • #3677 b95c86e5 - [SSR only] Reflect ARIA attributes onto server rendered Lit elements with attached internals during SSR and remove them upon hydration.

  • #3667 e00f6f52 - [SSR only] Improved how nodes with attribute/property/event/element bindings are rendered in SSR, to avoid adding comments inside of "raw text elements" like <textarea>. Fixes #3663.

    Note: @lit-labs/ssr and lit-html must be updated together.

Patch Changes

lit - @lit-labs/[email protected]

Published by augustjk over 1 year ago

Minor Changes

  • #3660 65df149f - Fix the change-in-update warning from Tasks by delaying the initial host update
lit - @lit-labs/[email protected]

Published by augustjk over 1 year ago

Minor Changes

  • #3605 b731bb5e - Initial release of @lit-labs/ssr-react package.

    This package contains tools to deeply server render Lit components being used in React projects.

lit - @lit-labs/[email protected]

Published by augustjk over 1 year ago

Minor Changes

  • #3677 b95c86e5 - Add rough support for HTMLElement.prototype.attachInternals
lit - @lit-labs/[email protected]

Published by augustjk over 1 year ago

Minor Changes

  • #3599 ca74ff6e - Forwards compatibility for Declarative Shadow DOM's shadowrootmode rename

  • #3677 b95c86e5 - Reflect ARIA attributes onto server rendered Lit elements with attached internals during SSR and remove them upon hydration.

  • #3667 e00f6f52 - Improved how nodes with attribute/property/event/element bindings are rendered in SSR, to avoid adding comments inside of "raw text elements" like <textarea>. Fixes #3663.

    Note: @lit-labs/ssr and lit-html must be updated together.

Patch Changes

lit - @lit-labs/[email protected]

Published by augustjk over 1 year ago

Minor Changes

  • #3613 be182929 - Initial release of @lit-labs/nextjs package.

    This package contains a plugin for Next.js that enables deep server rendering of Lit components.

lit - @lit-labs/[email protected]

Published by augustjk over 1 year ago

Minor Changes

  • #3632 2fa009f3 - Add options object to ContextConsumer and ContextProvider constructors. Deprecate positional forms.

Patch Changes

lit - @lit-labs/[email protected]

Published by augustjk over 1 year ago

Minor Changes

  • #3529 389d0c55 - Added CLI improvements:

    • Add support for --exclude options (important for excluding test files from e.g. manifest or wrapper generation)

    Added more analysis support and manifest emit:

    • TS enum type variables
    • description, summary, and deprecated for all models
    • module-level description & summary
    • ClassField and ClassMethod

Patch Changes

lit - @lit-labs/[email protected]

Published by augustjk over 1 year ago

Minor Changes

  • #3621 dfdc3f71 - Added analysys of vanilla custom elements that extend HTMLElement.

  • #3662 cabc6189 - Added support for analyzing const variables initialized to class or function expressions as ClassDeclaration and FunctionDeclaration, respectively.

  • #3658 b7b01c0d - JSDoc types in TS files now have no effect on the analyzer's output, matching TS itself.

  • #3702 520b4713 - Adds support for overloaded functions. Methods of model objects that accept a
    string key will now specifically return the FunctionDeclaration of the
    implementation signature of an overloaded function, which has a new overloads
    field containing a FunctionOverloadDeclaration for each overload signature.

  • #3648 39ac5275 - Fix support for static class members by storing them in separate maps by name.

  • #3655 7e20a528 - Added support for analyzing function declarations.

  • #3529 389d0c55 - Added CLI improvements:

    • Add support for --exclude options (important for excluding test files from e.g. manifest or wrapper generation)

    Added more analysis support and manifest emit:

    • TS enum type variables
    • description, summary, and deprecated for all models
    • module-level description & summary
    • ClassField and ClassMethod
lit - @lit-labs/[email protected]

Published by augustjk over 1 year ago

Major Changes

  • #3624 e51ff229 - ResizeObserver polyfill is no longer automatically loaded. If you target older browsers without native ResizeObserver support, see the docs for guidance on manual polyfill loading.

Minor Changes

  • #3609 54046b0b - RangeChangedEvent and VisibilityChangedEvent both no longer bubble up. Listeners for these events must be placed on the lit-virtualizer or virtualize directive's host element.

Patch Changes

lit - @lit/[email protected]

Published by aomarks almost 3 years ago

Minor Changes

  • #2327 49ecf623 - Add queryAssignedElements decorator for a declarative API that calls HTMLSlotElement.assignedElements() on a specified slot. selector option allows filtering returned elements with a CSS selector.

Patch Changes

  • #2338 26e3fb7b - Deprecate @queryAssignedNodes API in preference for the new options object API which
    mirrors the @queryAssignedElements API. Update the documentation for both
    @queryAssignedNodes and @queryAssignedElements to better document the expected
    return type annotation.
lit - @lit/[email protected]

Published by aomarks almost 3 years ago

Minor Changes

  • #2327 49ecf623 - Add queryAssignedElements decorator for a declarative API that calls HTMLSlotElement.assignedElements() on a specified slot. selector option allows filtering returned elements with a CSS selector.

Patch Changes

  • #2360 08e7fc56 - Update @queryAssignedNodes and @queryAssignedElements documentation for better lit.dev API generation.

  • #2267 eb5c5d2b - Make willUpdate lifecycle hook protected

  • #2338 26e3fb7b - Deprecate @queryAssignedNodes API in preference for the new options object API which
    mirrors the @queryAssignedElements API. Update the documentation for both
    @queryAssignedNodes and @queryAssignedElements to better document the expected
    return type annotation.

lit - [email protected]

Published by aomarks almost 3 years ago

Minor Changes

Patch Changes

  • #2307 221cb0a9 - Added an additional check to prevent spoofing of internal lit types in data bindings.
lit - [email protected]

Published by aomarks almost 3 years ago

Minor Changes

  • #2327 49ecf623 - Add queryAssignedElements decorator for a declarative API that calls HTMLSlotElement.assignedElements() on a specified slot. selector option allows filtering returned elements with a CSS selector.

Patch Changes