diff --git a/package-lock.json b/package-lock.json
index 3f945df..3190a66 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -11,8 +11,7 @@
"dependencies": {
"@lion/tabs": "^0.13.1",
"hex-to-css-filter": "^5.4.0",
- "lit": "^3.1.3",
- "wicg-inert": "^3.1.2"
+ "lit": "^3.1.3"
},
"devDependencies": {
"@rollup/plugin-node-resolve": "^15.2.3",
@@ -4034,11 +4033,6 @@
"node": ">= 8"
}
},
- "node_modules/wicg-inert": {
- "version": "3.1.2",
- "resolved": "https://registry.npmjs.org/wicg-inert/-/wicg-inert-3.1.2.tgz",
- "integrity": "sha512-Ba9tGNYxXwaqKEi9sJJvPMKuo063umUPsHN0JJsjrs2j8KDSzkWLMZGZ+MH1Jf1Fq4OWZ5HsESJID6nRza2ang=="
- },
"node_modules/word-wrap": {
"version": "1.2.5",
"resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.5.tgz",
diff --git a/package.json b/package.json
index a271d45..31c67d8 100644
--- a/package.json
+++ b/package.json
@@ -33,7 +33,6 @@
"dependencies": {
"@lion/tabs": "^0.13.1",
"hex-to-css-filter": "^5.4.0",
- "lit": "^3.1.3",
- "wicg-inert": "^3.1.2"
+ "lit": "^3.1.3"
}
-}
\ No newline at end of file
+}
diff --git a/rollup.config.js b/rollup.config.js
index fe7672d..89b22b1 100644
--- a/rollup.config.js
+++ b/rollup.config.js
@@ -86,10 +86,6 @@ export default [
patterns: [ 'fonts/*.woff2', 'meta/mashup.png' ],
rootDir: './site'
}),
- copy({
- patterns: [ 'inert.esm.js' ],
- rootDir: './node_modules/wicg-inert/dist'
- }),
// Print bundle summary
summary()
],
diff --git a/site/src/components/rec-carousel/rec-carousel.js b/site/src/components/rec-carousel/rec-carousel.js
index a34fd91..c70d9f8 100644
--- a/site/src/components/rec-carousel/rec-carousel.js
+++ b/site/src/components/rec-carousel/rec-carousel.js
@@ -2,7 +2,6 @@ import { LitElement, html, unsafeCSS, render } from 'lit';
import { repeat } from 'lit/directives/repeat.js';
import { styleMap } from 'lit/directives/style-map.js';
import styles from './rec-carousel.scss';
-import 'wicg-inert';
/**
* Allows a user to navigate through a set of images with captions.
@@ -300,7 +299,7 @@ export class RecCarousel extends LitElement {
}
}
- /* Running the inert polyfill is expensive, so shouldn't happen _during_ the animation */
+ /* Probably best not to set inert _during_ the animation */
requestIdleCallback(() => this._slides.forEach(slide => {
const hidden = slide.getAttribute('aria-hidden');
if (hidden === 'false') {
diff --git a/site/src/index.html b/site/src/index.html
index d85ecc3..93cd222 100644
--- a/site/src/index.html
+++ b/site/src/index.html
@@ -42,19 +42,6 @@
-
-
-