import{__rest as e}from"../../../_virtual/_tslib.js";import{camelCase as s}from"es-toolkit";import{getStyle as t}from"../../helpers/typesciptCssModulesHelper.js";import i from"classnames";import o,{forwardRef as r,useRef as a}from"react";import l from"../../hooks/useMergeRef.js";import{DialogType as d,DialogSize as m}from"../Dialog/DialogConstants.js";import{withStaticProps as p}from"../../types/withStaticProps.js";import"../../utils/colors-vars-map.js";import{getTestId as n,ComponentDefaultTestId as c}from"../../tests/testIds.js";import y from"./DialogContentContainer.module.scss.js";var b=p(r((function(r,d){var m=r.id,p=r.className,b=void 0===p?"":p,f=r.ariaLabelledby,v=void 0===f?"":f,u=r.ariaDescribedby,j=void 0===u?"":u,C=r.type,g=void 0===C?"popover":C,N=r.size,D=void 0===N?"small":N,h=r.children,z=r.style,O=r.role,_=r["data-testid"],E=void 0===_?n(c.DIALOG_CONTENT_CONTAINER,m):_,I=e(r,["id","className","ariaLabelledby","ariaDescribedby","type","size","children","style","role","data-testid"]),L=a(null),T=l(d,L);return o.createElement("div",Object.assign({id:m,role:null===O?void 0:O||"dialog","data-testid":E,"aria-labelledby":v,"aria-describedby":j,ref:T,style:z,className:i(y.dialogContentContainer,b,t(y,s("type--"+g)),t(y,s("size--"+D)))},I),h)})),{types:d,sizes:m});export{b as default};
//# sourceMappingURL=DialogContentContainer.js.map
