import{N as a,aC as l,R as r,H as s,f as c,aI as i,O as C}from"./iframe-DvhcA1iZ.js";import"./preload-helper-PPVm8Dsz.js";const f={title:"Components/UI/Selector",component:a,tags:["autodocs","ui"],args:{values:["Recent","Categories","Whole Disk"],value:"Recent"},argTypes:{onChange:{action:"onChange"}}},g={render:e=>{const[n,o]=l.useState(e.value??"");return r.createElement(a,{...e,value:n,onChange:t=>{o(t),e.onChange&&e.onChange(t)}})}},S={render:e=>{const[n,o]=l.useState(e.value??"");return r.createElement(s,null,r.createElement(a,{...e,value:n,onChange:t=>{o(t),e.onChange&&e.onChange(t)}}))}},m=i(a,{backgroundColor:"$blue2",borderRadius:"8px","&&":{"--selector-active":"$colors$green1"},[`& ${C}`]:{fontFamily:"serif",fontWeight:"bold"}}),v={render:e=>{const[n,o]=l.useState(e.value??"");return r.createElement(m,{...e,value:n,onChange:t=>{o(t),e.onChange&&e.onChange(t)}})},args:{values:["Music","Video","Photos","Documents"]}},u=["First element","Apple","Pie","Dogs and cats","Flying vehicles","Random text that is very long","Computer","Leaflet","Jar of nuts","POE Network Switch"],y={render:e=>{const[n,o]=l.useState(e.value??"");return r.createElement(s,null,r.createElement(a,{...e,multiLine:!0,value:n,values:u,onChange:t=>{o(t),e.onChange&&e.onChange(t)}}))}},p={render:e=>{const[n,o]=l.useState(e.value??"");return r.createElement(s,{css:{[`& ${c}`]:{overflow:"hidden"}}},r.createElement(a,{...e,values:u,multiLine:!1,value:n,onChange:t=>{o(t),e.onChange&&e.onChange(t)}}))}},E=["Primary","WithinHeader","CustomStyled","Lengthy","MultiLine"];export{v as CustomStyled,p as Lengthy,y as MultiLine,g as Primary,S as WithinHeader,E as __namedExportsOrder,f as default};
