Skip to content

Commit

Permalink
fix: add missing heading-levels for accordions (#3567)
Browse files Browse the repository at this point in the history
  • Loading branch information
alizedebray authored Sep 20, 2024
1 parent 5b730d9 commit 24ae008
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div class="my-4">
<h2>Post Accordion</h2>
<post-accordion>
<post-accordion [headingLevel]="3">
<post-accordion-item>
<span slot="header">Titulum 1</span>
<p>Contentus momentus vero siteos et accusam iretea et justo.</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ export class MigrationV45ManualListComponent extends LitElement {

render() {
return html`
<post-accordion multiple @change="${this._onChange}">
<post-accordion-item collapsed heading-level="5">
<post-accordion heading-level="5" multiple @change="${this._onChange}">
<post-accordion-item collapsed>
<span slot="header">
General
<span class="todo-list-status"> ${this._templateGroupTodoListStatus('general')} </span>
Expand Down Expand Up @@ -643,7 +643,7 @@ export class MigrationV45ManualListComponent extends LitElement {
</section>
</post-accordion-item>
<post-accordion-item collapsed heading-level="5">
<post-accordion-item collapsed>
<span slot="header">
Bootstrap
<span class="todo-list-status">
Expand Down Expand Up @@ -1610,7 +1610,7 @@ export class MigrationV45ManualListComponent extends LitElement {
</section>
</post-accordion-item>
<post-accordion-item collapsed heading-level="5">
<post-accordion-item collapsed>
<span slot="header">
NgBootstrap
<span class="todo-list-status">
Expand Down Expand Up @@ -1758,7 +1758,7 @@ export class MigrationV45ManualListComponent extends LitElement {
</div>
</post-accordion-item>
<post-accordion-item collapsed heading-level="5">
<post-accordion-item collapsed>
<span slot="header">
jQuery
<span class="todo-list-status"> ${this._templateGroupTodoListStatus('jquery')} </span>
Expand Down Expand Up @@ -1802,7 +1802,7 @@ export class MigrationV45ManualListComponent extends LitElement {
</div>
</post-accordion-item>
<post-accordion-item collapsed heading-level="5">
<post-accordion-item collapsed>
<span slot="header">
Post
<span class="todo-list-status"> ${this._templateGroupTodoListStatus('post')} </span>
Expand Down
2 changes: 1 addition & 1 deletion packages/nextjs-integration/src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ export default function Home() {
</PostTabPanel>
</PostTabs>
<h3>Frequently asked questions</h3>
<PostAccordion className="mt-big-r" multiple>
<PostAccordion headingLevel={4} className="mt-big-r" multiple>
<PostAccordionItem>
<span slot="header">Is this for real?</span>
<p>No, this is just a fantasy.</p>
Expand Down

0 comments on commit 24ae008

Please sign in to comment.