"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="https://nice2dev.com/schemas/component-doc-v1.json",s="NicePullToRefresh",r="Pull to Refresh",t="1.0.0",n="stable",a="mobile",o="interaction",c="Touch-friendly pull-down refresh with rubber-band effect and haptic feedback.",i="1.0.0",l=["mobile","web"],d=["pull-to-refresh","mobile","touch","refresh"],p=[{name:"children",type:"ReactNode",required:!0,description:"Scrollable content."},{name:"threshold",type:"number",required:!1,default:"80",description:"Pull distance to trigger (px)."},{name:"maxPull",type:"number",required:!1,default:"150",description:"Maximum pull distance (px)."},{name:"resistance",type:"number",required:!1,default:"0.4",description:"Pull resistance (0-1)."},{name:"completionDuration",type:"number",required:!1,description:"Success/error display duration (ms)."},{name:"hapticFeedback",type:"boolean",required:!1,description:"Enable vibration feedback."},{name:"indicator",type:"ReactNode",required:!1,description:"Custom indicator component."}],u=[{name:"onRefresh",parameters:[],description:"Async refresh handler."},{name:"onPullStart",parameters:[],description:"Called when pull starts."},{name:"onPullProgress",parameters:[{name:"progress",type:"number"}],description:"Called during pull (0-1)."},{name:"onRefreshSuccess",parameters:[],description:"Called on successful refresh."},{name:"onRefreshError",parameters:[{name:"error",type:"Error"}],description:"Called on refresh error."}],m=[],f=[{title:"Pull to Refresh List",code:`<NicePullToRefresh
  onRefresh={async () => {
    await fetchLatestData();
  }}
  hapticFeedback
>
  <NiceList items={items} />
</NicePullToRefresh>`,language:"tsx"}],h=[],b={$schema:e,name:s,displayName:r,version:t,status:n,category:a,subcategory:o,package:"@nicetoDev/ui",description:c,since:i,platforms:l,keywords:d,props:p,events:u,cssVariables:m,examples:f,related:h};exports.$schema=e;exports.category=a;exports.cssVariables=m;exports.default=b;exports.description=c;exports.displayName=r;exports.events=u;exports.examples=f;exports.keywords=d;exports.name=s;exports.platforms=l;exports.props=p;exports.related=h;exports.since=i;exports.status=n;exports.subcategory=o;exports.version=t;
