jcwillox / lovelace-canary

🐤 Adds many useful extensions to lovelace, such as templating secondary info, stacking within a card and more!
MIT License
97 stars 4 forks source link

build(deps): update dependency lit to v3 #50

Closed renovate[bot] closed 10 months ago

renovate[bot] commented 10 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
lit (source) 2.8.0 -> 3.0.2 age adoption passing confidence

Release Notes

lit/lit (lit) ### [`v3.0.2`](https://togithub.com/lit/lit/blob/HEAD/packages/lit/CHANGELOG.md#302) [Compare Source](https://togithub.com/lit/lit/compare/lit@3.0.1...lit@3.0.2) ##### Patch Changes - [#​4345](https://togithub.com/lit/lit/pull/4345) [`02b8d620`](https://togithub.com/lit/lit/commit/02b8d62003a16075ce3873ac3e40db43c0254ecf) - Add a dev mode warning if a static value such as `literal` or `unsafeStatic` is detected within the non-static `html` tag function. These should only be used with the static `html` tag function imported from `lit-html/static.js` or `lit/static-html.js`. ### [`v3.0.1`](https://togithub.com/lit/lit/blob/HEAD/packages/lit/CHANGELOG.md#301) [Compare Source](https://togithub.com/lit/lit/compare/lit@3.0.0...lit@3.0.1) ##### Patch Changes - [#​4240](https://togithub.com/lit/lit/pull/4240) [`edf998c9`](https://togithub.com/lit/lit/commit/edf998c9fe34183888ffc781dd330dc8a962dd7a) Thanks [@​remziatay](https://togithub.com/remziatay)! - Improved the type inferece of the `choose()` directive to properly restrict the case type inferred from provided value. **Note**: If this change creates a type error in your code, there must have been an unreachable case that can be removed, or the type of your `value` might be missing a valid case in the union. - [#​4310](https://togithub.com/lit/lit/pull/4310) [`8f674ab3`](https://togithub.com/lit/lit/commit/8f674ab319e4eadbf5b028f1c0bd15d276c02d0e) Thanks [@​megheaiulian](https://togithub.com/megheaiulian)! - The `when()` directive now calls the case functions with the provided condition value as an argument. This allows the narrowing of types for the condition value based on its truthiness when used as a parameter for the case function. - [#​4284](https://togithub.com/lit/lit/pull/4284) [`89a5b088`](https://togithub.com/lit/lit/commit/89a5b0882b3048e3e95a22eb739c649adc9de055) - Allow `null` to be in the type of `@query()` decorated fields ### [`v3.0.0`](https://togithub.com/lit/lit/blob/HEAD/packages/lit/CHANGELOG.md#300) [Compare Source](https://togithub.com/lit/lit/compare/lit@2.8.0...lit@3.0.0) ##### Major Changes - [#​3756](https://togithub.com/lit/lit/pull/3756) [`f06f7972`](https://togithub.com/lit/lit/commit/f06f7972a027d2937fe2c68ab5af0274dec57cf4) - Drop IE11 support - [#​4146](https://togithub.com/lit/lit/pull/4146) [`0f6878dc`](https://togithub.com/lit/lit/commit/0f6878dc45fd95bbeb8750f277349c1392e2b3ad) - Generated accessor for reactive properties now wrap user accessors and automatically call `this.requestUpdate()` in the setter. As in previous versions, users can still specify `noAccessor: true`, in which case they should call `this.requestUpdate()` themselves in the setter if they want to trigger a reactive update. - [#​3765](https://togithub.com/lit/lit/pull/3765) [`92cedaa2`](https://togithub.com/lit/lit/commit/92cedaa2c8cd8a306be3fe25d52e0e47bb044020) - Remove experimental hydrate modules. These are available from `@lit-labs/ssr-client`. - [#​3850](https://togithub.com/lit/lit/pull/3850) [`7e8491d4`](https://togithub.com/lit/lit/commit/7e8491d4ed9f0c39d974616c4678552ef50b81df) - Delete deprecated queryAssignedNodes behavior and arguments. Migrate deprecated usage with a selector argument to use `@queryAssignedElements`. E.g.: `@queryAssignedNodes('list', true, '.item')` to `@queryAssignedElements({slot: '', flatten: false, selector: '.item'})`. - [#​4254](https://togithub.com/lit/lit/pull/4254) [`1040f758`](https://togithub.com/lit/lit/commit/1040f75861b029527538b4ec36b2cfedcc32988a) - Change the type of `ReactiveElement.renderRoot` and return type of `ReactiveElement.createRenderRoot()` to be `HTMLElement | DocumentFragment` to match each other and lit-html's `render()` method. - [#​3759](https://togithub.com/lit/lit/pull/3759) [`1db01376`](https://togithub.com/lit/lit/commit/1db0137699b35d7e7bfac9b2ab274af4100fd7cf) - Use replaceWith() for SVG templates - [#​3751](https://togithub.com/lit/lit/pull/3751) [`dfd747cf`](https://togithub.com/lit/lit/commit/dfd747cf4f7239e0c3bb7134f8acb967d0157654) - Simplify lit-html attribute handling for standards-compliant browsers that iterate attributes in source order - [#​3750](https://togithub.com/lit/lit/pull/3750) [`c3e473b4`](https://togithub.com/lit/lit/commit/c3e473b499ff029b5e1aff01ca8799daf1ca1bbe) - Use toggleAttribute() to simplify boolean attribute parts - [#​3896](https://togithub.com/lit/lit/pull/3896) [`2eba6997`](https://togithub.com/lit/lit/commit/2eba69974c9e130e7483f44f9daca308345497d5) - Warn on async overrides of performUpdate() ##### Patch Changes - [#​4183](https://togithub.com/lit/lit/pull/4183) [`6470807f`](https://togithub.com/lit/lit/commit/6470807f3a0981f9d418cb26f05969912455d148) - Make the decorators work with the `accessor` keyword when `experimentalDecorators` is true. - [#​4141](https://togithub.com/lit/lit/pull/4141) [`6b515e43`](https://togithub.com/lit/lit/commit/6b515e43c3a24cc8a593247d3aa72d81bcc724d5) - Update TypeScript to ~5.2.0 - [#​3710](https://togithub.com/lit/lit/pull/3710) [`09949234`](https://togithub.com/lit/lit/commit/09949234445388d51bfb4ee24ff28a4c9f82fe17) - Add `undefined` to the return type of PropertyValues.get() - [#​3762](https://togithub.com/lit/lit/pull/3762) [`23c404fd`](https://togithub.com/lit/lit/commit/23c404fdec0cd7be834221b6ddf9b659c24ca8a2) - Remove Lit 1 -> Lit 2 migration warnings - [#​3918](https://togithub.com/lit/lit/pull/3918) [`2a01471a`](https://togithub.com/lit/lit/commit/2a01471a5f65fe34bad11e1099281811b8d0f79b) - Some code golf on ReactiveElement - [#​3809](https://togithub.com/lit/lit/pull/3809) [`6f2833fd`](https://togithub.com/lit/lit/commit/6f2833fd05f2ecde5386f72d291dafc9dbae0cf7) - Use for/of loops in more places - Updated dependencies: - [@​lit/reactive-element](https://togithub.com/lit/reactive-element)[@​2](https://togithub.com/2).0.0 - lit-html@3.0.0 - lit-element@4.0.0

Configuration

📅 Schedule: Branch creation - "before 4am on the first day of the month" in timezone Australia/Sydney, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Mend Renovate. View repository job log here.

github-actions[bot] commented 1 month ago

:tada: This issue has been resolved in version 0.5.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: