import{j as D}from"./jsx-runtime-Dfk2JFgj.js";import{r as g}from"./index-CWN_QRa1.js";import{T as m}from"./index-DNsi8NHw.js";import"./index-CIVavKlu.js";import"./index-DllfNvuz.js";import"./DefaultPropsProvider-BPu7lNPC.js";import"./CheckGroup-BpaEcK_0.js";import"./v4-CtRu48qb.js";import"./index-6WYjB5r3.js";import"./index-Bk93qgka.js";import"./index-DnVHLn3F.js";import"./index-Cj3pldWQ.js";import"./tiny-invariant-CopsF_GD.js";import"./iframe-BT4Dhm0c.js";import"./index-DgIb9kCw.js";const _={title:"Components/TimePicker",component:m,argTypes:{id:{table:{disable:!0}},onChange:{table:{disable:!0}}}},p=c=>{const[d,l]=g.useState(new Date);return D.jsx(m,{...c,value:d,onChange:u=>l(u)})},e=p.bind({});e.parameters={};e.args={variant:"dropdown",timeIntervals:60,format:"h:mm A",placeholder:"Select a time",style:{width:"100%"}};const t=p.bind({});t.parameters={};t.args={variant:"inputs",format:"h:mm A",style:{}};var r,a,o;e.parameters={...e.parameters,docs:{...(r=e.parameters)==null?void 0:r.docs,source:{originalSource:`args => {
  const [date, setDate] = useState(new Date());
  return <TimePicker {...args} value={date} onChange={(newDate: any) => setDate(newDate)} />;
}`,...(o=(a=e.parameters)==null?void 0:a.docs)==null?void 0:o.source}}};var s,n,i;t.parameters={...t.parameters,docs:{...(s=t.parameters)==null?void 0:s.docs,source:{originalSource:`args => {
  const [date, setDate] = useState(new Date());
  return <TimePicker {...args} value={date} onChange={(newDate: any) => setDate(newDate)} />;
}`,...(i=(n=t.parameters)==null?void 0:n.docs)==null?void 0:i.source}}};const A=["DropdownSelection","InputsSelection"];export{e as DropdownSelection,t as InputsSelection,A as __namedExportsOrder,_ as default};
