import{M as m,aC as n,R as e,B as d,L as c,i as r,C as p,s as i,y as u,p as s}from"./iframe-DvhcA1iZ.js";import"./preload-helper-PPVm8Dsz.js";const k={title:"Components/UI/Modal",component:m,tags:["autodocs","ui"]},E=()=>{},f={args:{},render:()=>{const[a,l]=n.useState(!1),t=n.useCallback(()=>{l(!1)},[]),o=n.useCallback(()=>{l(!0)},[]);return e.createElement("div",null,e.createElement(d,{onClick:o},"Open modal"),e.createElement(m,{onClose:t,isOpen:a,title:"95.5 MHz",position:"bottom",full:!0},e.createElement(c,null,e.createElement(r,{placeholder:"New station"})),e.createElement(c,null,e.createElement(p,{name:"",onChange:E,checked:!0},"Remember me")),e.createElement(i,null,e.createElement(i.Button,{onClick:t},"Cancel"),e.createElement(i.Button,{variant:"main",onClick:t},"Ok"))))}},O={args:{},render:()=>{const[a,l]=n.useState(!1),t=n.useCallback(()=>{l(!1)},[]),o=n.useCallback(()=>{l(!0)},[]);return e.createElement("div",null,e.createElement(d,{onClick:o},"Open modal"),e.createElement(m,{onClose:t,isOpen:a,position:"bottom",full:!0},e.createElement(u,null,e.createElement(c,null,e.createElement(r,{placeholder:"New station"}))),e.createElement(c,null,e.createElement(r,{placeholder:"New station"})),e.createElement(u,null,e.createElement(c,null,e.createElement(r,{placeholder:"New station"})))))}},b={args:{},render:()=>{const[a,l]=n.useState(!1),t=n.useCallback(()=>{l(!1)},[]),o=n.useCallback(()=>{l(!0)},[]);return e.createElement("div",null,e.createElement(d,{onClick:o},"Open modal"),e.createElement(m,{onClose:t,isOpen:a,position:"bottom",full:!0},e.createElement(u,null,e.createElement(s,{inset:!0},e.createElement(s.Item,{selected:!1,onClick:t},"First item"),e.createElement(s.Item,{selected:!0,onClick:t},"Second item"),e.createElement(s.Item,{selected:!1,onClick:t},"Third item"),e.createElement(s.Item,{selected:!1,onClick:t},"Last option")))))}},I=["Primary","WithRemovedPaddingSections","WithList"];export{f as Primary,b as WithList,O as WithRemovedPaddingSections,I as __namedExportsOrder,k as default};
