From dc7b07e369c73db461f0f82bb41fb014fbe6b309 Mon Sep 17 00:00:00 2001 From: Brian Ferry Date: Thu, 2 Nov 2023 14:43:38 -0400 Subject: [PATCH] fix(accordion): removing base accordion styles variable (#2643) --- elements/pf-accordion/BaseAccordion.ts | 2 -- elements/pf-accordion/pf-accordion.ts | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/elements/pf-accordion/BaseAccordion.ts b/elements/pf-accordion/BaseAccordion.ts index 879e0a6def..794bc8f1d2 100644 --- a/elements/pf-accordion/BaseAccordion.ts +++ b/elements/pf-accordion/BaseAccordion.ts @@ -30,8 +30,6 @@ export class AccordionCollapseEvent extends ComposedEvent { } export abstract class BaseAccordion extends LitElement { - static readonly styles = []; - static isAccordion(target: EventTarget | null): target is BaseAccordion { return target instanceof BaseAccordion; } diff --git a/elements/pf-accordion/pf-accordion.ts b/elements/pf-accordion/pf-accordion.ts index da6055a0e8..dbdb92cdd7 100644 --- a/elements/pf-accordion/pf-accordion.ts +++ b/elements/pf-accordion/pf-accordion.ts @@ -28,7 +28,7 @@ import style from './pf-accordion.css'; */ @customElement('pf-accordion') export class PfAccordion extends BaseAccordion { - static readonly styles = [...BaseAccordion.styles, style]; + static readonly styles = [style]; /** When true, only one accordion panel may be expanded at a time */ @property({ reflect: true, type: Boolean }) single = false;