mirror of
https://github.com/home-assistant/frontend.git
synced 2026-10-01 17:29:02 +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>
27 lines
1.3 KiB
Diff
27 lines
1.3 KiB
Diff
diff --git a/mwc-list-base.js b/mwc-list-base.js
|
|
index 1ba95b6a01dcecea4d85b5cbbbcc3dfb04c40d5f..dced13fdb7929c490d6661b1bbe7e9f96dcd2285 100644
|
|
--- a/mwc-list-base.js
|
|
+++ b/mwc-list-base.js
|
|
@@ -11,7 +11,7 @@ import { BaseElement } from '@material/mwc-base/base-element.js';
|
|
import { observer } from '@material/mwc-base/observer.js';
|
|
import { deepActiveElementPath, doesElementContainFocus, isNodeElement } from '@material/mwc-base/utils.js';
|
|
import { html } from 'lit';
|
|
-import { property, query, queryAssignedNodes } from 'lit/decorators.js';
|
|
+import { property, query, queryAssignedElements } from 'lit/decorators.js';
|
|
import { ifDefined } from 'lit/directives/if-defined.js';
|
|
import MDCListFoundation, { isIndexSet } from './mwc-list-foundation.js';
|
|
export { createSetFromIndex, isEventMulti, isIndexSet } from './mwc-list-foundation.js';
|
|
@@ -425,10 +425,10 @@ __decorate([
|
|
query('.mdc-deprecated-list')
|
|
], ListBase.prototype, "mdcRoot", void 0);
|
|
__decorate([
|
|
- queryAssignedNodes('', true, '*')
|
|
+ queryAssignedElements({ flatten: true, selector: "*" })
|
|
], ListBase.prototype, "assignedElements", void 0);
|
|
__decorate([
|
|
- queryAssignedNodes('', true, '[tabindex="0"]')
|
|
+ queryAssignedElements({ flatten: true, selector: '[tabindex="0"]' })
|
|
], ListBase.prototype, "tabbableElements", void 0);
|
|
__decorate([
|
|
property({ type: Boolean }),
|