import*as e from"react";import{chakra as r}from"../../../system/dist/esm/system.js";import{__DEV__ as t}from"../../../utils/dist/esm/assertion.js";import{forwardRef as s}from"../../../system/dist/esm/forward-ref.js";function n(){return(n=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s])}return e}).apply(this,arguments)}function i(e,r){if(null==e)return{};var t,s,n={},i=Object.keys(e);for(s=0;s<i.length;s++)t=i[s],r.indexOf(t)>=0||(n[t]=e[t]);return n}var a=r("div");t&&(a.displayName="Box");var o=s(((r,t)=>{var{size:s,centerContent:o=!0}=r,f=i(r,["size","centerContent"]),m=o?{display:"flex",alignItems:"center",justifyContent:"center"}:{};return e.createElement(a,n({ref:t,boxSize:s,__css:n({},m,{flexShrink:0,flexGrow:0})},f))}));t&&(o.displayName="Square");var f=s(((r,t)=>{var{size:s}=r,a=i(r,["size"]);return e.createElement(o,n({size:s,ref:t,borderRadius:"9999px"},a))}));t&&(f.displayName="Circle");export{a as Box,f as Circle,o as Square};
//# sourceMappingURL=box.js.map
