"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="https://nice2dev.com/schemas/component-doc-v1.json",t="NiceSwipeActions",i="Swipe Actions",n="1.0.0",s="stable",o="mobile",a="interaction",c="Swipe to reveal hidden actions on list items, iOS-style.",r="1.0.0",d=["mobile","web"],l=["swipe","actions","mobile","gesture","list"],p=[{name:"children",type:"ReactNode",required:!0,description:"Item content."},{name:"leftActions",type:"SwipeAction[]",required:!1,description:"Left swipe actions."},{name:"rightActions",type:"SwipeAction[]",required:!1,description:"Right swipe actions."},{name:"actionWidth",type:"number",required:!1,default:"72",description:"Action button width (px)."},{name:"threshold",type:"number",required:!1,default:"0.4",description:"Trigger threshold (0-1)."},{name:"direction",type:"'left' | 'right' | 'both'",required:!1,default:"'both'",description:"Allowed swipe directions."},{name:"exclusive",type:"boolean",required:!1,description:"Close others when opening."},{name:"hapticFeedback",type:"boolean",required:!1,description:"Enable vibration."}],m=[{name:"onSwipeStart",parameters:[],description:"Called when swipe starts."},{name:"onSwipeEnd",parameters:[],description:"Called when swipe ends."},{name:"onAction",parameters:[{name:"action",type:"SwipeAction"}],description:"Called when action triggered."}],u=[],b=[{title:"Swipeable List Item",code:`<NiceSwipeActions
  rightActions={[
    { id: 'edit', label: 'Edit', icon: <EditIcon />, background: '#3b82f6' },
    { id: 'delete', label: 'Delete', icon: <DeleteIcon />, background: '#ef4444', destructive: true }
  ]}
  onAction={(action) => action.id === 'delete' && handleDelete()}
>
  <ListItem data={item} />
</NiceSwipeActions>`,language:"tsx"}],w=[{name:"NiceList",relationship:"parent"}],h={$schema:e,name:t,displayName:i,version:n,status:s,category:o,subcategory:a,package:"@nicetoDev/ui",description:c,since:r,platforms:d,keywords:l,props:p,events:m,cssVariables:u,examples:b,related:w};exports.$schema=e;exports.category=o;exports.cssVariables=u;exports.default=h;exports.description=c;exports.displayName=i;exports.events=m;exports.examples=b;exports.keywords=l;exports.name=t;exports.platforms=d;exports.props=p;exports.related=w;exports.since=r;exports.status=s;exports.subcategory=a;exports.version=n;
