Lit is a simple library for building fast, lightweight web components.
BSD-3-CLAUSE License
Bot releases are hidden (Show)
Published by augustjk over 1 year ago
Published by augustjk over 1 year ago
Published by augustjk over 1 year ago
Published by augustjk over 1 year ago
Published by augustjk over 1 year ago
Published by augustjk over 1 year ago
b95c86e5
- [SSR only] Reflect ARIA attributes onto server rendered Lit elements with attached internals during SSR and remove them upon hydration.4d698430
, b95c86e5
, e00f6f52
, 88a40177
]:
Published by augustjk over 1 year ago
#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.
Published by augustjk over 1 year ago
Published by augustjk over 1 year ago
Published by augustjk over 1 year ago
Published by augustjk over 1 year ago
#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.
Published by augustjk over 1 year ago
Published by augustjk over 1 year ago
2fa009f3
- Add options object to ContextConsumer and ContextProvider constructors. Deprecate positional forms.#3691 4fa03114
- Work around a common bug in compilers that target ES5 when extending built in classes like Event.
#3628 61ce8148
- Add type parameter for key to createContext()
#3451 7c93499c
- Make ContextRoot deduplicate context requests by element and callback identity
#3698 b9c27c51
- Explicitly annotate the this value of a set function. This makes some tooling happier.
Published by augustjk over 1 year ago
#3529 389d0c55
- Added CLI improvements:
Added more analysis support and manifest emit:
Published by augustjk over 1 year ago
#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:
Added more analysis support and manifest emit:
Published by augustjk over 1 year ago
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.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.#3624 e51ff229
- Additional fix for #3481: Error when immediately re-rendering; initialization code significantly simplified
Published by aomarks almost 3 years ago
Published by aomarks almost 3 years ago
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.#2360 08e7fc56
- Update @queryAssignedNodes
and @queryAssignedElements
documentation for better lit.dev API generation.
#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.
Published by aomarks almost 3 years ago
Published by aomarks almost 3 years ago
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.