import{j as e}from"./jsx-runtime-CnH95YSl.js";import{O as f}from"./OdysseyStorybookThemeDecorator-BuDiOG2V.js";import{M as x}from"./Fieldset-D7_59eeI.js";import{M as s}from"./TextField-BhK0y2Zt.js";import{M as D}from"./Callout-FZxPpigF.js";import"./index-NdkWRN8K.js";import"./_commonjsHelpers-gnU0ypJ3.js";import"./OdysseyThemeProvider-Bh0Bu-2o.js";import"./index-BJTM6NaI.js";import"./OdysseyProvider-qIn9QVYS.js";import"./Field-DH3L8v09.js";import"./Box-1mvP3NLW.js";import"./Box-BcMTQ_R2.js";import"./createBox-Dxawkfow.js";import"./List-CmjR1pNu.js";import"./ListItem-C0ExFtXb.js";import"./utils-iop7lDec.js";import"./useFormControl-BMISTZuX.js";import"./FormLabel-CiGre9wK.js";import"./useIsFocusVisible-DH0qxT5e.js";import"./isHostComponent-DVu5iVWx.js";import"./ButtonBase-BNqa2TMD.js";import"./assertThisInitialized-B9jnkVVz.js";import"./inheritsLoose-CJ6Ie9dp.js";import"./TransitionGroupContext-DAL84N7p.js";import"./ScreenReaderText-CebALBsG.js";import"./visuallyHidden-Dan1xhjv.js";import"./FormHelperText-CsNAE1E3.js";import"./FieldHint-B3Jif_Up.js";import"./Typography-Cz6D417Y.js";import"./Typography-ClQ35Rr-.js";import"./useUniqueId-Bsgqe1tm.js";import"./createUniqueId-ByTaVY63.js";import"./inputUtils-Dbi8XkA6.js";import"./InputBase-DeB4_faH.js";import"./ownerWindow-HkKU3E4x.js";import"./ownerDocument-DW-IO8s5.js";import"./debounce-Be36O1Ab.js";import"./InputAdornment-CdR3XT6f.js";import"./Link-BDoLypER.js";import"./Link-DNIf0luC.js";import"./ExternalLink-D0l1c5Cz.js";import"./AlertTitle-q6ff_Zkl.js";import"./useSlot-CvpE2t6D.js";import"./resolveComponentProps-DXQ8X87i.js";import"./createSvgIcon-ClUWwDzL.js";import"./Close-OXBt1nIe.js";import"./IconButton-5qShmnSr.js";import"./Paper-D-_O-EjU.js";const he={component:x,decorators:[f],tags:["autodocs"],argTypes:{alert:{description:"A Callout indicating a Fieldset-wide error or status update",table:{type:{summary:"ReactElement<typeof Callout>"}}},children:{control:"object",description:"Field components within the Fieldset",table:{type:{summary:"ReactElement | Array<ReactElement>"}},type:{required:!0,name:"other",value:"ReactElement | Array<ReactElement>"}},description:{control:"text",description:"A supplementary description",table:{type:{summary:"string"}}},id:{control:"text",description:"Defines a unique identifier (ID) for the Fieldset",table:{type:{summary:"string"}}},isDisabled:{control:"boolean",description:"Disables the component and any wrapped input fields.",table:{type:{summary:"boolean"}}},legend:{control:"text",description:"The title of the Fieldset",table:{type:{summary:"string"}},type:{required:!0,name:"string"}},name:{control:"text",description:"The name associated with the group",table:{type:{summary:"string"}}}},args:{children:e.jsxs(e.Fragment,{children:[e.jsx(s,{label:"Vessel name"}),e.jsx(s,{isMultiline:!0,label:"Reason for visit"})]}),legend:"Docking registration"}},t={},r={args:{description:"Register your ship before docking with the station."}},o={args:{alert:e.jsx(D,{role:"alert",severity:"error",title:"Something went wrong",children:"Please try your request again later."})}},i={args:{isDisabled:!0}};var a,m,p;t.parameters={...t.parameters,docs:{...(a=t.parameters)==null?void 0:a.docs,source:{originalSource:"{}",...(p=(m=t.parameters)==null?void 0:m.docs)==null?void 0:p.source}}};var n,l,c;r.parameters={...r.parameters,docs:{...(n=r.parameters)==null?void 0:n.docs,source:{originalSource:`{
  args: {
    description: "Register your ship before docking with the station."
  }
}`,...(c=(l=r.parameters)==null?void 0:l.docs)==null?void 0:c.source}}};var d,u,g;o.parameters={...o.parameters,docs:{...(d=o.parameters)==null?void 0:d.docs,source:{originalSource:`{
  args: {
    alert: <Callout role="alert" severity="error" title="Something went wrong">
        Please try your request again later.
      </Callout>
  }
}`,...(g=(u=o.parameters)==null?void 0:u.docs)==null?void 0:g.source}}};var y,h,b;i.parameters={...i.parameters,docs:{...(y=i.parameters)==null?void 0:y.docs,source:{originalSource:`{
  args: {
    isDisabled: true
  }
}`,...(b=(h=i.parameters)==null?void 0:h.docs)==null?void 0:b.source}}};const be=["Simple","Description","Alert","Disabled"];export{o as Alert,r as Description,i as Disabled,t as Simple,be as __namedExportsOrder,he as default};
