"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="https://nice2dev.com/schemas/component-doc-v1.json",n="NiceNumberInput",t="Number Input",s="1.0.0",i="stable",r="editors",a="numeric",o="Numeric input with stepper buttons, min/max clamping, and precision control.",c="1.0.0",l=["web","mobile","desktop"],p=["number","numeric","stepper","input"],u=[{name:"value",type:"number | null",required:!1,description:"Controlled value (null = empty)."},{name:"placeholder",type:"string",required:!1,description:"Placeholder text."},{name:"min",type:"number",required:!1,description:"Minimum allowed value."},{name:"max",type:"number",required:!1,description:"Maximum allowed value."},{name:"step",type:"number",required:!1,default:"1",description:"Increment/decrement step."},{name:"precision",type:"number",required:!1,description:"Decimal precision."},{name:"prefix",type:"ReactNode",required:!1,description:"Prefix content (e.g. currency symbol)."},{name:"suffix",type:"ReactNode",required:!1,description:"Suffix content (e.g. unit)."},{name:"showStepper",type:"boolean",required:!1,default:"true",description:"Show ▲/▼ stepper buttons."}],m=[{name:"onChange",parameters:[{name:"value",type:"number | null"}],description:"Fires with new value or null when cleared."}],d=[],y={keyboard:[{key:"ArrowUp/Down",action:"Increment/decrement value"}]},b=[{title:"Quantity Input",code:`<NiceNumberInput
  label="Quantity"
  value={qty}
  onChange={setQty}
  min={0}
  max={100}
/>`,language:"tsx"},{title:"Currency",code:`<NiceNumberInput
  prefix="$"
  precision={2}
  step={0.01}
/>`,language:"tsx"}],f=[{name:"NiceSlider",relationship:"alternative"},{name:"NiceCurrencyInput",relationship:"specialized"}],g={$schema:e,name:n,displayName:t,version:s,status:i,category:r,subcategory:a,package:"@nicetoDev/ui",description:o,since:c,platforms:l,keywords:p,props:u,events:m,cssVariables:d,accessibility:y,examples:b,related:f};exports.$schema=e;exports.accessibility=y;exports.category=r;exports.cssVariables=d;exports.default=g;exports.description=o;exports.displayName=t;exports.events=m;exports.examples=b;exports.keywords=p;exports.name=n;exports.platforms=l;exports.props=u;exports.related=f;exports.since=c;exports.status=i;exports.subcategory=a;exports.version=s;
