import{r as u}from"./index-NdkWRN8K.js";import{d as f}from"./Typography-Cz6D417Y.js";import{u as h}from"./useUniqueId-Bsgqe1tm.js";import{j as o}from"./jsx-runtime-CnH95YSl.js";import{A as j,a as A,b}from"./AccordionSummary-BjqT0nEb.js";import{N as I}from"./OdysseyThemeProvider-Bh0Bu-2o.js";const M=({children:a,label:d,id:n,isDefaultExpanded:t,isDisabled:s,isExpanded:i,onChange:c,testId:m,translate:p,variant:l="default"})=>{const e=h(n),r=`${e}-header`,x=`${e}-content`;return o.jsxs(j,{"data-ods-variant":l,"data-se":m,defaultExpanded:t,disabled:s,disableGutters:!0,expanded:i,onChange:c,children:[o.jsx(A,{"aria-controls":x,expandIcon:o.jsx(I,{}),id:r,children:o.jsx(f,{component:"div",translate:p,children:d})}),o.jsx(b,{"aria-labelledby":r,children:a})]})},v=u.memo(M);v.displayName="Accordion";export{v as M};
