import o from"./modal.js";import{mode as t}from"../../../../theme-tools/dist/esm/component.js";function e(){return(e=Object.assign||function(o){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&(o[l]=e[l])}return o}).apply(this,arguments)}var l=o.parts;function r(o){return"full"===o?{dialog:{maxW:"100vw",h:"100vh"}}:{dialog:{maxW:o}}}var a={bg:"blackAlpha.600",zIndex:"overlay"},n={display:"flex",zIndex:"modal",justifyContent:"center"};function i(o){var{isFullHeight:l}=o;return e({},l&&{height:"100vh"},{zIndex:"modal",maxH:"100vh",bg:t("white","gray.700")(o),color:"inherit",boxShadow:t("lg","dark-lg")(o)})}var s={px:6,py:4,fontSize:"xl",fontWeight:"semibold"},d={position:"absolute",top:2,insetEnd:3},p={px:6,py:2,flex:1,overflow:"auto"},f={px:6,py:4},x={parts:l,baseStyle:o=>({overlay:a,dialogContainer:n,dialog:i(o),header:s,closeButton:d,body:p,footer:f}),sizes:{xs:r("xs"),sm:r("md"),md:r("lg"),lg:r("2xl"),xl:r("4xl"),full:r("full")},defaultProps:{size:"xs"}};export default x;
//# sourceMappingURL=drawer.js.map
