import{a as e,n as t}from"./chunk-BneVvdWh.js";import{t as n}from"./react-C7IZe2D1.js";import{C as r,Y as i,t as a,w as o}from"./dist-DtfJeYQK.js";import{t as s}from"./jsx-runtime-C2wGStra.js";import{n as c,t as l}from"./Loader-raMoSfHx.js";import{r as u,t as d}from"./storybook-utils-CaC0I5St.js";var f,p,m,h,g,_;t((()=>{o(),a(),e(n(),1),c(),d(),f=s(),p={title:`components/Loader`,component:l,argTypes:{size:{description:u}}},m=()=>(0,f.jsxs)(`div`,{style:{display:`flex`,alignItems:`end`,gap:`8px`},children:[(0,f.jsx)(l,{size:`default`}),(0,f.jsx)(l,{size:`large`})]}),h=()=>(0,f.jsx)(l,{inverted:!0}),h.decorators=[e=>(0,f.jsx)(`div`,{style:{backgroundColor:r(i.background.primaryInverted)},children:e()})],g={parameters:{chromatic:{disableSnapshot:!0}},decorators:[(e,{args:t})=>(0,f.jsx)(`div`,{style:{backgroundColor:t.inverted?`black`:void 0},children:e()})],args:{size:`default`,inverted:!1,dataset:{qaid:`loader`}},argTypes:{dataset:{control:`object`},size:{control:`select`},inverted:{control:`boolean`}}},m.parameters={...m.parameters,docs:{...m.parameters?.docs,source:{originalSource:`() => <div style={{
  display: 'flex',
  alignItems: 'end',
  gap: '8px'
}}>
        <Loader size="default" />
        <Loader size="large" />
    </div>`,...m.parameters?.docs?.source}}},h.parameters={...h.parameters,docs:{...h.parameters?.docs,source:{originalSource:`() => <Loader inverted />`,...h.parameters?.docs?.source}}},g.parameters={...g.parameters,docs:{...g.parameters?.docs,source:{originalSource:`{
  parameters: {
    chromatic: {
      disableSnapshot: true
    }
  },
  decorators: [(story, {
    args
  }) => <div style={{
    backgroundColor: args.inverted ? 'black' : undefined
  }}>{story()}</div>],
  args: {
    size: 'default',
    inverted: false,
    dataset: {
      qaid: 'loader'
    }
  },
  argTypes: {
    dataset: {
      control: 'object'
    },
    size: {
      control: 'select'
    },
    inverted: {
      control: 'boolean'
    }
  }
}`,...g.parameters?.docs?.source}}},_=[`Sizes`,`Inverted`,`Playground`]}))();export{h as Inverted,g as Playground,m as Sizes,_ as __namedExportsOrder,p as default};