import{a as e,n as t}from"./chunk-BneVvdWh.js";import{t as n}from"./react-C7IZe2D1.js";import{ht as r,t as i,w as a,x as o,y as s}from"./dist-DtfJeYQK.js";import{t as c}from"./jsx-runtime-C2wGStra.js";import{n as l,t as u}from"./dist-Cc1j9Pjk.js";import{n as d,t as f}from"./filterAttributesPassedByRadixUIAtRuntime-CGiuUnR2.js";import{c as p,s as m}from"./layout-relative.module-C0ke0xP4.js";var h,g,_=t((()=>{h=`Box__T6Fyt`,g={Box:h,"Box--box-radius-0":`Box--box-radius-0__FWPBJ`,"Box--box-radius-2":`Box--box-radius-2__IXJHQ`,"Box--box-radius-4":`Box--box-radius-4__aoSlX`,"Box--box-radius-8":`Box--box-radius-8__-BuzF`,"Box--box-radius-16":`Box--box-radius-16__n3666`,"Box--box-radius-300":`Box--box-radius-300__MyFTq`,"Box--narrow-l--box-radius-0":`Box--narrow-l--box-radius-0__rbA8v`,"Box--narrow-l--box-radius-2":`Box--narrow-l--box-radius-2__Cn0nB`,"Box--narrow-l--box-radius-4":`Box--narrow-l--box-radius-4__dXX4d`,"Box--narrow-l--box-radius-8":`Box--narrow-l--box-radius-8__c2qTs`,"Box--narrow-l--box-radius-16":`Box--narrow-l--box-radius-16__7yiZ2`,"Box--narrow-l--box-radius-300":`Box--narrow-l--box-radius-300__Ic2BC`,"Box--medium-s--box-radius-0":`Box--medium-s--box-radius-0__6dX4D`,"Box--medium-s--box-radius-2":`Box--medium-s--box-radius-2__h-yhf`,"Box--medium-s--box-radius-4":`Box--medium-s--box-radius-4__YmbvG`,"Box--medium-s--box-radius-8":`Box--medium-s--box-radius-8__NOIeK`,"Box--medium-s--box-radius-16":`Box--medium-s--box-radius-16__Q-4Io`,"Box--medium-s--box-radius-300":`Box--medium-s--box-radius-300__fynf3`,"Box--medium-l--box-radius-0":`Box--medium-l--box-radius-0__-HCNC`,"Box--medium-l--box-radius-2":`Box--medium-l--box-radius-2__cWx-n`,"Box--medium-l--box-radius-4":`Box--medium-l--box-radius-4__ibcr4`,"Box--medium-l--box-radius-8":`Box--medium-l--box-radius-8__zm-dC`,"Box--medium-l--box-radius-16":`Box--medium-l--box-radius-16__o3E1Q`,"Box--medium-l--box-radius-300":`Box--medium-l--box-radius-300__Hsi3C`,"Box--wide-s--box-radius-0":`Box--wide-s--box-radius-0__H9zOa`,"Box--wide-s--box-radius-2":`Box--wide-s--box-radius-2__FnsdM`,"Box--wide-s--box-radius-4":`Box--wide-s--box-radius-4__G4jL0`,"Box--wide-s--box-radius-8":`Box--wide-s--box-radius-8__7Mz6S`,"Box--wide-s--box-radius-16":`Box--wide-s--box-radius-16__or-lk`,"Box--wide-s--box-radius-300":`Box--wide-s--box-radius-300__rPeg0`,"Box--wide-l--box-radius-0":`Box--wide-l--box-radius-0__HQ2Tn`,"Box--wide-l--box-radius-2":`Box--wide-l--box-radius-2__GYO54`,"Box--wide-l--box-radius-4":`Box--wide-l--box-radius-4__267az`,"Box--wide-l--box-radius-8":`Box--wide-l--box-radius-8__1hPOR`,"Box--wide-l--box-radius-16":`Box--wide-l--box-radius-16__gp8Ov`,"Box--wide-l--box-radius-300":`Box--wide-l--box-radius-300__NiuZR`,"Box--background-primary":`Box--background-primary__00zVu`,"Box--background-secondary":`Box--background-secondary__hY7w0`,"Box--background-tertiary":`Box--background-tertiary__cIPge`,"Box--background-overlay":`Box--background-overlay__vbs8V`,"Box--background-disabled":`Box--background-disabled__81WYT`,"Box--background-brand":`Box--background-brand__2W0VB`,"Box--background-brandB2b":`Box--background-brandB2b__KQrLm`,"Box--background-accentLight":`Box--background-accentLight__x6RrQ`,"Box--background-accentDark":`Box--background-accentDark__agpDd`,"Box--background-positiveLight":`Box--background-positiveLight__67dRq`,"Box--background-positiveDark":`Box--background-positiveDark__lYghV`,"Box--background-infoLight":`Box--background-infoLight__u-TX4`,"Box--background-infoDark":`Box--background-infoDark__ud4qs`,"Box--background-warningLight":`Box--background-warningLight__JtSuS`,"Box--background-warningDark":`Box--background-warningDark__SIgOQ`,"Box--background-criticalLight":`Box--background-criticalLight__uPTDs`,"Box--background-criticalDark":`Box--background-criticalDark__12Zft`,"Box--background-statusOnline":`Box--background-statusOnline__5PZcQ`,"Box--background-statusOffline":`Box--background-statusOffline__Vh0CO`,"Box--background-primaryInverted":`Box--background-primaryInverted__TePy2`,"Box--background-secondaryInverted":`Box--background-secondaryInverted__tMytW`,"Box--background-tertiaryInverted":`Box--background-tertiaryInverted__K2wU5`}})),v,y,b,x=t((()=>{a(),i(),v=e(n(),1),d(),p(),_(),u(),y=c(),b=(0,v.forwardRef)(function({children:e,background:t=`primary`,radius:n=`16`,padding:i=`24`,tag:a,dataset:c,...u},d){let p=s(g,l.Box,[o(`box-radius`,n),o(`background`,t)]),h=m(i),_=a??`div`,v=[...p,...h];return(0,y.jsx)(_,{...f(u),ref:d,className:v.join(` `),...r(c,{preplyDsComponent:l.Box}),children:e})});try{b.displayName=`Box`,b.__docgenInfo={description:`A styleable container.

Use this with \`Layout*\` components to create complex content containers.`,displayName:`Box`,props:{background:{defaultValue:{value:`primary`},description:``,name:`background`,required:!1,type:{name:`enum`,value:[{value:`"disabled"`},{value:`"accentDark"`},{value:`"primary"`},{value:`"secondary"`},{value:`"tertiary"`},{value:`"overlay"`},{value:`"brand"`},{value:`"brandB2b"`},{value:`"accentLight"`},{value:`"positiveLight"`},{value:`"positiveDark"`},{value:`"infoLight"`},{value:`"infoDark"`},{value:`"warningLight"`},{value:`"warningDark"`},{value:`"criticalLight"`},{value:`"criticalDark"`},{value:`"statusOnline"`},{value:`"statusOffline"`},{value:`"primaryInverted"`},{value:`"secondaryInverted"`},{value:`"tertiaryInverted"`}]}},radius:{defaultValue:{value:`16`},description:``,name:`radius`,required:!1,type:{name:`enum`,value:[{value:`"0"`},{value:`"2"`},{value:`"4"`},{value:`"8"`},{value:`"16"`},{value:`"300"`},{value:`ResponsiveProp<BoxRadius>`}]}},tag:{defaultValue:null,description:``,name:`tag`,required:!1,type:{name:`enum`,value:[{value:`"article"`},{value:`"caption"`},{value:`"div"`},{value:`"fieldset"`},{value:`"figcaption"`},{value:`"figure"`},{value:`"footer"`},{value:`"header"`},{value:`"li"`},{value:`"main"`},{value:`"ol"`},{value:`"p"`},{value:`"section"`},{value:`"span"`},{value:`"table"`},{value:`"tbody"`},{value:`"td"`},{value:`"tfoot"`},{value:`"th"`},{value:`"thead"`},{value:`"tr"`},{value:`"ul"`}]}},padding:{defaultValue:{value:`24`},description:``,name:`padding`,required:!1,type:{name:`enum`,value:[{value:`"64"`},{value:`"96"`},{value:`"160"`},{value:`"0"`},{value:`"2"`},{value:`"4"`},{value:`"8"`},{value:`"16"`},{value:`"1"`},{value:`"6"`},{value:`"12"`},{value:`"20"`},{value:`"24"`},{value:`"32"`},{value:`"48"`},{value:`[BoxPadding, BoxPadding]`},{value:`[BoxPadding, BoxPadding, BoxPadding]`},{value:`[BoxPadding, BoxPadding, BoxPadding, BoxPadding]`},{value:`ResponsiveProp<ShortHand<BoxPadding>>`}]}},dataset:{defaultValue:null,description:``,name:`dataset`,required:!1,type:{name:`enum`,value:[{value:`Dataset`}]}}}}}catch{}}));export{x as n,b as t};