- #4598
7cfb2274
Thanks @jun-sheaf! - Usetarget.set
instead of member assignment in@consume()
decorator.
- #4371
62df19da
Thanks @autopulated! -ContextProvider
can now be added to any HTML elements, not just custom elements implementing aReactiveControllerHost
.
- #4373
22919f6d
- Make property decorated with@provide()
with TypeScript experimental decorators configurable. This allows chaining additional decorators that modify the property like@property()
fromlit
.
-
#4329
df1980fe
- Remove dependency onlit
package. All implementation code only uses@lit/reactive-element
.lit
is moved to dev dependencies as it is still used for tests. -
#4286
1fb7a108
- Fix erroneous description for the JSDoc on the@provide()
decorator. -
#4287
4edf9bc8
- Broaden the host type of context controllers and decorators to be compatible with Lit 2
- #4210
cf7d96d4
- Graduate @lit-labs/context to @lit/context, its permanent location. @lit-labs/context is now just a proxy for @lit/context, so code need not be duplicated in projects that depend on both.
- #4210
cf7d96d4
- Graduate @lit-labs/context to @lit/context, its permanent location. @lit-labs/context is now just a proxy for @lit/context, so code need not be duplicated in projects that depend on both.
@lit/context graduated from its previous location at @lit-labs/context.
For details on its changelog before graduating, see https://github.com/lit/lit/blob/main/packages/labs/context/CHANGELOG.md