#3156ae6f6808 - Lit and its underlying libraries can now be imported directly from Node without crashing, without the need to load the @lit-labs/ssr dom-shim library. Note that actually rendering from a Node context still requires the @lit-labs/ssr dom-shim, and the appropriate integration between @lit-labs/ssr and your framework/tool.
Patch Changes
#3003daddeb34 - Lit's async-directive now re-exports everything from the directive module.
#31990725fdb4 - In DEV_MODE, render a warning instead of rendering a template's host in the template.
Most commonly this would happen when rendering ${this} in a LitElement's template, which has the counterintuitive behavior of removing the element from the DOM, because when rendering the element's template we attach it into its own shadow root, which removes it from the DOM, causing it simply disappear. This is especially problematic with a fast HMR system.
#31863766ae4c - StaticValue interface type is now exported.
lit@2.3.0
Minor Changes
#3156ae6f6808 - Lit and its underlying libraries can now be imported directly from Node without crashing, without the need to load the @lit-labs/ssr dom-shim library. Note that actually rendering from a Node context still requires the @lit-labs/ssr dom-shim, and the appropriate integration between @lit-labs/ssr and your framework/tool.
Patch Changes
#3003daddeb34 - Lit's async-directive now re-exports everything from the directive module.
#31206361a4b4 - Bind this to custom attribute converter methods
#31301f0567f1 - Export the underlying type of the keyed directive.
#31322fe2053f - Added "types" entry to package exports. This tells newer versions of TypeScript where to look for typings for each module.
lit@2.2.7
Patch Changes
#2978634d4560 - Changed the caching behavior of the css`` template literal tag so that same-text styles do not share a CSSStyleSheet. Note that this may be a breaking change in some very unusual scenarios on Chromium and Firefox > 101 only.
lit-html@2.2.7
Patch Changes
#31301f0567f1 - Export the underlying type of the keyed directive.
#31322fe2053f - Added "types" entry to package exports. This tells newer versions of TypeScript where to look for typings for each module.
#3222486739ec - Fix CSSStyleSheet is not defined error that would occur when importing a Lit component in Node when both static styles and the @property decorator were used.
#3156ae6f6808 - Lit and its underlying libraries can now be imported directly from Node without crashing, without the need to load the @lit-labs/ssr dom-shim library. Note that actually rendering from a Node context still requires the @lit-labs/ssr dom-shim, and the appropriate integration between @lit-labs/ssr and your framework/tool.
Patch Changes
#3003daddeb34 - Lit's async-directive now re-exports everything from the directive module.
#31206361a4b4 - Bind this to custom attribute converter methods
#31301f0567f1 - Export the underlying type of the keyed directive.
#31322fe2053f - Added "types" entry to package exports. This tells newer versions of TypeScript where to look for typings for each module.
2.2.7
Patch Changes
#2978634d4560 - Changed the caching behavior of the css`` template literal tag so that same-text styles do not share a CSSStyleSheet. Note that this may be a breaking change in some very unusual scenarios on Chromium and Firefox > 101 only.
2.2.6
Patch Changes
#2849b12e8d93 - Expand documentation for render and TemplateResult.
2.2.5
Patch Changes
#2952a78cc3b7 - Fix SSR hydration bug relating to and other void elements having attribute bindings.
This version was pushed to npm by lit-robot, a new releaser for lit since your current version.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps lit from 2.2.0 to 2.3.1.
Release notes
Sourced from lit's releases.
... (truncated)
Changelog
Sourced from lit's changelog.
... (truncated)
Commits
Maintainer changes
This version was pushed to npm by lit-robot, a new releaser for lit since your current version.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)