diff --git a/src/components.d.ts b/src/components.d.ts index ccbccf32..d5f421d6 100644 --- a/src/components.d.ts +++ b/src/components.d.ts @@ -14,9 +14,11 @@ export namespace Components { } interface EclAccordionItem { "expanded": boolean; + "itemId": string; "label": string; "styleClass": string; "theme": string; + "titleId": string; } interface EclBanner { "bannerTitle": string; @@ -296,6 +298,7 @@ export namespace Components { "theme": string; } interface EclGallery { + "ariaLabel": string; "closeLabel": string; "counterLabel": string; "counterSeparator": string; @@ -358,6 +361,7 @@ export namespace Components { "sprite": string; "styleClass": string; "theme": string; + "titleTag": string; "transform": string; } interface EclInpageNavigation { @@ -1348,9 +1352,11 @@ declare namespace LocalJSX { } interface EclAccordionItem { "expanded"?: boolean; + "itemId"?: string; "label"?: string; "styleClass"?: string; "theme"?: string; + "titleId"?: string; } interface EclBanner { "bannerTitle"?: string; @@ -1633,6 +1639,7 @@ declare namespace LocalJSX { "theme"?: string; } interface EclGallery { + "ariaLabel"?: string; "closeLabel"?: string; "counterLabel"?: string; "counterSeparator"?: string; @@ -1695,6 +1702,7 @@ declare namespace LocalJSX { "sprite"?: string; "styleClass"?: string; "theme"?: string; + "titleTag"?: string; "transform"?: string; } interface EclInpageNavigation { diff --git a/src/components/ecl-accordion/ecl-accordion-item.tsx b/src/components/ecl-accordion/ecl-accordion-item.tsx index 850a8ee5..15bf6be0 100644 --- a/src/components/ecl-accordion/ecl-accordion-item.tsx +++ b/src/components/ecl-accordion/ecl-accordion-item.tsx @@ -12,6 +12,8 @@ export class EclAccordionItem { @Element() el: HTMLElement; @Prop() styleClass: string; @Prop() label: string; + @Prop() itemId: string; + @Prop() titleId: string; @Prop({reflect:true}) expanded: boolean; @Prop() theme: string = 'ec'; @@ -25,8 +27,15 @@ export class EclAccordionItem { render() { return ( -