import{defineProperty as r}from"../../_virtual/_rollupPluginBabelHelpers.js";import o,{forwardRef as a,useRef as d}from"react";import n from"classnames";import s from"../../hooks/useMergeRefs.js";import{DISABLED as i,BORDER as e,BORDER_COLOR as t,ROUNDED as m,SHADOW as g,MARGIN as p,MARGIN_X as l,MARGIN_Y as u,MARGIN_TOP as f,MARGIN_END as c,MARGIN_BOTTOM as b,MARGIN_START as B,PADDING as C,PADDING_X as v,PADDING_Y as x,PADDING_TOP as E,PADDING_END as j,PADDING_BOTTOM as S,PADDING_START as T,BACKGROUND_COLORS as h,COLORS as X}from"./BoxConstants.js";import Y from"./Box.module.scss.js";var k=a((function(a,e){var t=a.className,m=a.id,g=a.elementType,p=void 0===g?"div":g,l=a.children,u=a.disabled,f=a.border,c=a.borderColor,b=a.rounded,B=a.shadow,C=a.margin,v=a.marginX,x=a.marginY,E=a.marginTop,j=a.marginEnd,S=a.marginBottom,T=a.marginStart,h=a.padding,X=a.paddingX,k=a.paddingY,w=a.paddingTop,y=a.paddingEnd,D=a.paddingBottom,N=a.paddingStart,P=a.textColor,_=a.backgroundColor,A=d(null),H=s({refs:[e,A]});return o.createElement(p,{ref:H,className:n(Y.box,t,r({},i.DISABLED,u),f,c,b,B,C,v,x,E,j,S,T,h,X,k,w,y,D,N,P,_),id:m},l)}));Object.assign(k,{borders:e,borderColors:t,roundeds:m,shadows:g,margins:p,marginXs:l,marginYs:u,marginTops:f,marginEnds:c,marginBottoms:b,marginStarts:B,paddings:C,paddingXs:v,paddingYs:x,paddingTops:E,paddingEnds:j,paddingBottoms:S,paddingStarts:T,backgroundColors:h,textColors:X});var w=k;export{w as default};
