- #3632
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. -
Updated dependencies [
b95c86e5
,e00f6f52
,88a40177
]:- lit@2.7.0
-
#3507
b152db29
- Make @consume decorator work with optional fields -
#3507
b152db29
- Allow ContextProvider to be added lazily and still work with ContextRoot -
#3507
b152db29
- Rename @contextProvided and @contextProvider to @consume and @provide -
Updated dependencies [
b152db29
]:- @lit/reactive-element@1.5.0
- lit@2.5.0
- #3132
2fe2053f
- Added "types" entry to package exports. This tells newer versions of TypeScript where to look for typings for each module.
-
#2979
09156025
- Fixes@contextProvider
when multiple instances of an element are created; updates docs to consistently reference@contextProvided
. -
#2858
5b4edbb6
- An element can now provide and request the same context. This lets elements redefine the context binding in terms of what was provided by the parent.