mirror of
https://github.com/home-assistant/frontend.git
synced 2026-10-11 01:54:44 +01:00
* Migrate from Yarn to pnpm Switch the package manager to pnpm 11, keeping every resolved dependency version from yarn.lock. - Move resolutions to pnpm overrides and Yarn patches to patches/ - Enable supply-chain protection: 3 day minimum release age, trust policy that blocks provenance downgrades, and dependency build scripts denied by default - Declare dependencies that were imported but only available through Yarn's hoisting: zrender, @lezer/common, zxing-wasm, @babel/helper-compilation-targets, core-js-compat, @types/geojson - Look up pinned license overrides in pnpm's node_modules layout - Update CI, scripts, git hooks, Renovate, and documentation * Cache the pnpm store with node_modules in CI Jobs that restore the shared node_modules cache skip the install, so the pnpm store is empty there. The license file generation runs `pnpm licenses list`, which reads package metadata from the store and fails without it. * Point the demo e2e comment at the real test:e2e:demo script --------- Co-authored-by: Claude <noreply@anthropic.com>
23 lines
1.0 KiB
Diff
23 lines
1.0 KiB
Diff
diff --git a/mwc-formfield-base.js b/mwc-formfield-base.js
|
|
index 7b763326d7d51835ad52646bfbc80fe21989abd3..f2baa8224e6d03df1fdb0b9fd03f5c6d77fc8747 100644
|
|
--- a/mwc-formfield-base.js
|
|
+++ b/mwc-formfield-base.js
|
|
@@ -9,7 +9,7 @@ import { BaseElement } from '@material/mwc-base/base-element.js';
|
|
import { FormElement } from '@material/mwc-base/form-element.js';
|
|
import { observer } from '@material/mwc-base/observer.js';
|
|
import { html } from 'lit';
|
|
-import { property, query, queryAssignedNodes } from 'lit/decorators.js';
|
|
+import { property, query, queryAssignedElements } from 'lit/decorators.js';
|
|
import { classMap } from 'lit/directives/class-map.js';
|
|
export class FormfieldBase extends BaseElement {
|
|
constructor() {
|
|
@@ -96,7 +96,7 @@ __decorate([
|
|
query('.mdc-form-field')
|
|
], FormfieldBase.prototype, "mdcRoot", void 0);
|
|
__decorate([
|
|
- queryAssignedNodes('', true, '*')
|
|
+ queryAssignedElements({ slot: "", flatten: true, selector: "*" })
|
|
], FormfieldBase.prototype, "slottedInputs", void 0);
|
|
__decorate([
|
|
query('label')
|