diff --git a/core/pfe-core/controllers/internals-controller.ts b/core/pfe-core/controllers/internals-controller.ts index 45cc6c4376..90eddcb560 100644 --- a/core/pfe-core/controllers/internals-controller.ts +++ b/core/pfe-core/controllers/internals-controller.ts @@ -269,14 +269,7 @@ export class InternalsController implements ReactiveController, ARIAMixin { globalThis._elementInternals.set(this.host, this.internals); } - /** - * We need to polyfill :disabled - * see https://github.com/calebdwilliams/element-internals-polyfill/issues/88 - */ #polyfillDisabledPseudo() { - // START polyfill-disabled - // We need to polyfill :disabled - // see https://github.com/calebdwilliams/element-internals-polyfill/issues/88 const orig = (this.element as FACE).formDisabledCallback; (this.element as FACE).formDisabledCallback = disabled => { this._formDisabled = disabled; diff --git a/docs/_data/importMap.cjs b/docs/_data/importMap.cjs index 3adacc0b80..44677854e5 100644 --- a/docs/_data/importMap.cjs +++ b/docs/_data/importMap.cjs @@ -27,7 +27,6 @@ module.exports = async function() { 'tslib': readPackageVersion('tslib'), '@rhds/elements': readPackageVersion('@rhds/elements'), 'prismjs': readPackageVersion('prismjs'), - 'element-internals-polyfill': readPackageVersion('element-internals-polyfill'), 'fuse.js': readPackageVersion('fuse.js'), 'lit': readPackageVersion('lit'), '@lit-labs/ssr-client': readPackageVersion('@lit-labs/ssr-client'), diff --git a/docs/_plugins/pfe-assets.cjs b/docs/_plugins/pfe-assets.cjs index 07965ef88a..8b11e3003e 100644 --- a/docs/_plugins/pfe-assets.cjs +++ b/docs/_plugins/pfe-assets.cjs @@ -16,9 +16,7 @@ function getFilesToCopy(options) { return null; } - const files = { - [path.join(cwd, 'node_modules/element-internals-polyfill')]: 'element-internals-polyfill', - }; + const files = {}; const corePkgs = fs.readdirSync(path.join(cwd, 'core')); diff --git a/docs/components/demos.html b/docs/components/demos.html index 9716c96064..b80d87641a 100644 --- a/docs/components/demos.html +++ b/docs/components/demos.html @@ -24,7 +24,7 @@ - +