import{j as t}from"./jsx-runtime-CnH95YSl.js";import{u as d,h as l}from"./OdysseyThemeProvider-Bh0Bu-2o.js";import{O as u}from"./OdysseyStorybookThemeDecorator-BuDiOG2V.js";import{r as h}from"./index-NdkWRN8K.js";import{S as x}from"./Stack-B7OGvu7C.js";import"./_commonjsHelpers-gnU0ypJ3.js";import"./index-BJTM6NaI.js";import"./OdysseyProvider-qIn9QVYS.js";import"./createStyled-D6bTcpHC.js";import"./useThemeProps-DwvbKxez.js";const y=[0,1,2,3,4,5,6,7,8,9],s=["row","row-reverse","column","column-reverse"],g=({children:e,direction:m="column",spacing:p=2})=>t.jsx(x,{direction:m,spacing:p,children:e}),i=h.memo(g);i.displayName="Stack";const r=l.div(({odysseyDesignTokens:e})=>({display:"flex",alignItems:"center",justifyContent:"center",width:e.Spacing8,height:e.Spacing8,backgroundColor:e.HueNeutral100,border:`1px dashed ${e.PalettePrimaryDarker}`,borderRadius:e.BorderRadiusMain})),f=()=>{const e=d();return t.jsxs(t.Fragment,{children:[t.jsx(r,{odysseyDesignTokens:e,children:"1"}),t.jsx(r,{odysseyDesignTokens:e,children:"2"}),t.jsx(r,{odysseyDesignTokens:e,children:"3"}),t.jsx(r,{odysseyDesignTokens:e,children:"4"})]})},D={component:i,decorators:[u],tags:["autodocs"],argTypes:{children:{control:t.jsx(t.Fragment,{}),description:"The content of the component",table:{type:{summary:"ReactNode"}}},direction:{options:s,control:{type:"radio"},description:"The flex-direction applied to the Stack",table:{type:{summary:s.join(" | ")}},type:{name:"other",value:"radio"}},spacing:{control:"select",options:y.map(e=>e)},sx:{control:"object",description:"The system prop that allows defining system overrides as well as additional CSS styles. See the [MUI `sx` page](https://mui.com/system/getting-started/the-sx-prop/) for more details.",table:{type:{summary:"object"}}}},args:{children:t.jsx(f,{}),spacing:2}},o={};var a,c,n;o.parameters={...o.parameters,docs:{...(a=o.parameters)==null?void 0:a.docs,source:{originalSource:"{}",...(n=(c=o.parameters)==null?void 0:c.docs)==null?void 0:n.source}}};const E=["Default"];export{o as Default,E as __namedExportsOrder,D as default};
