diff --git a/packages/components/src/components/accordion/shadow.tsx b/packages/components/src/components/accordion/shadow.tsx index b14820d168..c4c2375372 100644 --- a/packages/components/src/components/accordion/shadow.tsx +++ b/packages/components/src/components/accordion/shadow.tsx @@ -1,5 +1,5 @@ // https://codepen.io/mbxtr/pen/OJPOYg?html-preprocessor=haml -import { Component, h, Host, Method, Prop, State, Watch } from '@stencil/core'; +import { Component, h, Method, Prop, State, Watch } from '@stencil/core'; import type { JSX } from '@stencil/core'; import type { AccordionAPI, @@ -71,7 +71,7 @@ export class KolAccordion implements AccordionAPI, FocusableElement { public render(): JSX.Element { const { _open, _label, _disabled, _level } = this.state; - const rootClass = 'accordion'; + const rootClass = 'kol-accordion'; const props: CollapsibleProps = { id: this.nonce, @@ -94,11 +94,9 @@ export class KolAccordion implements AccordionAPI, FocusableElement { }; return ( - - - - - + + + ); } diff --git a/packages/components/src/components/accordion/test/__snapshots__/snapshot.spec.tsx.snap b/packages/components/src/components/accordion/test/__snapshots__/snapshot.spec.tsx.snap index 11f80f1f90..2f4350023e 100644 --- a/packages/components/src/components/accordion/test/__snapshots__/snapshot.spec.tsx.snap +++ b/packages/components/src/components/accordion/test/__snapshots__/snapshot.spec.tsx.snap @@ -1,15 +1,15 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`kol-accordion should render with _label="Überschrift" _level=1 _open=false _disabled=false 1`] = ` - +