mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-26 02:36:37 +00:00
Use resize polyfill from lit virtualizer (#18886)
This commit is contained in:
parent
4d432fba57
commit
aa4acc6572
@ -126,7 +126,6 @@
|
|||||||
"punycode": "2.3.1",
|
"punycode": "2.3.1",
|
||||||
"qr-scanner": "1.4.2",
|
"qr-scanner": "1.4.2",
|
||||||
"qrcode": "1.5.3",
|
"qrcode": "1.5.3",
|
||||||
"resize-observer-polyfill": "1.5.1",
|
|
||||||
"roboto-fontface": "0.10.0",
|
"roboto-fontface": "0.10.0",
|
||||||
"rrule": "2.8.1",
|
"rrule": "2.8.1",
|
||||||
"sortablejs": "1.15.1",
|
"sortablejs": "1.15.1",
|
||||||
|
@ -1,11 +1,9 @@
|
|||||||
// Caution before editing - For latest builds, this module is replaced with emptiness and thus not imported (see build-scripts/bundle.js)
|
// Caution before editing - For latest builds, this module is replaced with emptiness and thus not imported (see build-scripts/bundle.js)
|
||||||
import "lit/polyfill-support";
|
import "lit/polyfill-support";
|
||||||
|
|
||||||
import ResizeObserver from "resize-observer-polyfill";
|
import ResizeObserver from "@lit-labs/virtualizer/polyfills/resize-observer-polyfill/ResizeObserver";
|
||||||
|
|
||||||
if (!window.ResizeObserver) {
|
|
||||||
window.ResizeObserver = ResizeObserver;
|
window.ResizeObserver = ResizeObserver;
|
||||||
}
|
|
||||||
|
|
||||||
// Source: https://github.com/jserz/js_piece/blob/master/DOM/ParentNode/append()/append().md
|
// Source: https://github.com/jserz/js_piece/blob/master/DOM/ParentNode/append()/append().md
|
||||||
(function (arr) {
|
(function (arr) {
|
||||||
|
@ -9761,7 +9761,6 @@ __metadata:
|
|||||||
punycode: "npm:2.3.1"
|
punycode: "npm:2.3.1"
|
||||||
qr-scanner: "npm:1.4.2"
|
qr-scanner: "npm:1.4.2"
|
||||||
qrcode: "npm:1.5.3"
|
qrcode: "npm:1.5.3"
|
||||||
resize-observer-polyfill: "npm:1.5.1"
|
|
||||||
roboto-fontface: "npm:0.10.0"
|
roboto-fontface: "npm:0.10.0"
|
||||||
rollup: "npm:2.79.1"
|
rollup: "npm:2.79.1"
|
||||||
rollup-plugin-string: "npm:3.0.0"
|
rollup-plugin-string: "npm:3.0.0"
|
||||||
@ -13725,13 +13724,6 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"resize-observer-polyfill@npm:1.5.1":
|
|
||||||
version: 1.5.1
|
|
||||||
resolution: "resize-observer-polyfill@npm:1.5.1"
|
|
||||||
checksum: e10ee50cd6cf558001de5c6fb03fee15debd011c2f694564b71f81742eef03fb30d6c2596d1d5bf946d9991cb692fcef529b7bd2e4057041377ecc9636c753ce
|
|
||||||
languageName: node
|
|
||||||
linkType: hard
|
|
||||||
|
|
||||||
"resolve-cwd@npm:^3.0.0":
|
"resolve-cwd@npm:^3.0.0":
|
||||||
version: 3.0.0
|
version: 3.0.0
|
||||||
resolution: "resolve-cwd@npm:3.0.0"
|
resolution: "resolve-cwd@npm:3.0.0"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user