import{j as e}from"./iframe-B8FSoBNY.js";import{I as t}from"./item-section-AoQrVPNJ.js";import{M as r}from"./menu-item-CrqDaj9K.js";import{F as n}from"./file-text-D5m8MJlG.js";import{F as m}from"./folder-C5dba_Co.js";import{S as p}from"./settings-DUgg22A7.js";import{S as l}from"./stack-CN4X31TA.js";import{S as c}from"./star-CvcHIXRa.js";import{B as d}from"./index-B0y2_lLF.js";import"./preload-helper-PPVm8Dsz.js";import"./compiler-runtime-BXE7OOXE.js";import"./index-cFwdnc0b.js";import"./create-recipe-context-BU56IzEo.js";import"./factory-DAJZwK4o.js";import"./chevron-right-owK1wZnx.js";import"./createLucideIcon-CcBBUKX8.js";import"./flex-DAJL4AFZ.js";import"./collapsible-DBDG7h1r.js";import"./create-slot-recipe-context-DAhDE6G_.js";import"./factory-BR3bc_RM.js";import"./collapsible-content-B1Uq3jUM.js";import"./create-split-props-u5h9OPvL.js";import"./normalize-props-D7NI5JRu.js";import"./index-DaXC_qY_.js";import"./index-DpB4ozcR.js";import"./mutation-observer-CAfGweIM.js";import"./tabbable-DHAf8oAu.js";import"./computed-style-C0hzrq9-.js";import"./number-C92MPsRM.js";import"./tooltip-DZxUoouw.js";import"./portal-CZHfPTRw.js";import"./tooltip-C_a-XGZ8.js";import"./use-presence-context-DK2PGZth.js";import"./overflow-CkG1DOya.js";import"./icons-WRA1cA-W.js";import"./typeahead-CuY9WxfQ.js";import"./dismissable-layer-Cc5dFRd8.js";import"./icon-C8FN9JqD.js";import"./badge-CtgJasjB.js";const Z={title:"Components/ItemSection",component:t,decorators:[s=>e.jsx(d,{padding:"lg",background:"bg",maxWidth:"300px",children:e.jsx(s,{})})]},o={render:()=>e.jsxs(t,{title:"Files",children:[e.jsx(r,{primaryLabel:"Project Overview",leftIcon:n}),e.jsx(r,{primaryLabel:"Assets",leftIcon:m}),e.jsx(r,{primaryLabel:"Settings",leftIcon:p})]})},a={render:()=>e.jsxs(l,{gap:"sm",children:[e.jsxs(t,{title:"Favorites",children:[e.jsx(r,{primaryLabel:"Main Dashboard",leftIcon:c}),e.jsx(r,{primaryLabel:"Reports",leftIcon:n})]}),e.jsxs(t,{title:"Recent",defaultOpen:!1,children:[e.jsx(r,{primaryLabel:"Project Alpha",leftIcon:m}),e.jsx(r,{primaryLabel:"Project Beta",leftIcon:m})]})]})},i={render:()=>e.jsxs(t,{title:"Members",children:[e.jsx(r,{primaryLabel:"John Doe",secondaryLabel:"Admin"}),e.jsx(r,{primaryLabel:"Jane Smith",secondaryLabel:"Editor"}),e.jsx(r,{primaryLabel:"Bob Wilson",secondaryLabel:"Viewer",isDisabled:!0})]})};o.parameters={...o.parameters,docs:{...o.parameters?.docs,source:{originalSource:`{
  render: () => <ItemSection title="Files">
      <MenuItem primaryLabel="Project Overview" leftIcon={FileText} />
      <MenuItem primaryLabel="Assets" leftIcon={Folder} />
      <MenuItem primaryLabel="Settings" leftIcon={Settings} />
    </ItemSection>
}`,...o.parameters?.docs?.source}}};a.parameters={...a.parameters,docs:{...a.parameters?.docs,source:{originalSource:`{
  render: () => <Stack gap="sm">
      <ItemSection title="Favorites">
        <MenuItem primaryLabel="Main Dashboard" leftIcon={Star} />
        <MenuItem primaryLabel="Reports" leftIcon={FileText} />
      </ItemSection>
      <ItemSection title="Recent" defaultOpen={false}>
        <MenuItem primaryLabel="Project Alpha" leftIcon={Folder} />
        <MenuItem primaryLabel="Project Beta" leftIcon={Folder} />
      </ItemSection>
    </Stack>
}`,...a.parameters?.docs?.source}}};i.parameters={...i.parameters,docs:{...i.parameters?.docs,source:{originalSource:`{
  render: () => <ItemSection title="Members">
      <MenuItem primaryLabel="John Doe" secondaryLabel="Admin" />
      <MenuItem primaryLabel="Jane Smith" secondaryLabel="Editor" />
      <MenuItem primaryLabel="Bob Wilson" secondaryLabel="Viewer" isDisabled />
    </ItemSection>
}`,...i.parameters?.docs?.source}}};const $=["Default","MultipleSections","WithSecondaryLabels"];export{o as Default,a as MultipleSections,i as WithSecondaryLabels,$ as __namedExportsOrder,Z as default};
