"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="https://nice2dev.com/schemas/component-doc-v1.json",t="NiceUnitConverter",n="Unit converter for various measurement types.",i="tools",o="1.0.0",r="planned",s=[{name:"value",type:"number",required:!0,description:"Input value"},{name:"onChange",type:"(value: number) => void",required:!0,description:"Change callback"},{name:"fromUnit",type:"string",required:!0,description:"Source unit"},{name:"toUnit",type:"string",required:!0,description:"Target unit"},{name:"onFromUnitChange",type:"(unit: string) => void",description:"From unit change"},{name:"onToUnitChange",type:"(unit: string) => void",description:"To unit change"},{name:"category",type:"'length' | 'weight' | 'temperature' | 'volume' | 'area' | 'speed'",required:!0,description:"Unit category"},{name:"showSwap",type:"boolean",default:"true",description:"Show swap button"},{name:"precision",type:"number",default:"4",description:"Decimal precision"}],a=[{title:"Unit Converter",description:"Convert units",code:`<NiceUnitConverter
  value={inputValue}
  onChange={setInputValue}
  fromUnit="km"
  toUnit="mi"
  onFromUnitChange={setFromUnit}
  onToUnitChange={setToUnit}
  category="length"
  showSwap
/>`}],c={keyboard:["Tab through fields"],aria:["Unit converter","Input and output values"]},u=["NiceCalculator","NiceNumericInput"],p={$schema:e,name:t,description:n,category:i,since:o,status:r,props:s,examples:a,accessibility:c,seeAlso:u};exports.$schema=e;exports.accessibility=c;exports.category=i;exports.default=p;exports.description=n;exports.examples=a;exports.name=t;exports.props=s;exports.seeAlso=u;exports.since=o;exports.status=r;
