"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="https://nice2dev.com/schemas/component-doc-v1.json",a="NiceSlider",n="Slider",t="1.0.0",i="stable",r="editors",s="numeric",o="Single-thumb range slider for numeric input with tick marks and value display.",l="1.0.0",c=["web","mobile","desktop"],u=["slider","range","numeric","track"],m=[{name:"value",type:"number",required:!1,default:"0",description:"Current value."},{name:"min",type:"number",required:!1,default:"0",description:"Minimum value."},{name:"max",type:"number",required:!1,default:"100",description:"Maximum value."},{name:"step",type:"number",required:!1,default:"1",description:"Step increment."},{name:"showValue",type:"boolean",required:!1,default:"true",description:"Display current numeric value."},{name:"showMinMax",type:"boolean",required:!1,default:"false",description:"Display min/max labels at ends."},{name:"formatValue",type:"(v: number) => string",required:!1,description:"Custom value formatter."},{name:"showTicks",type:"boolean",required:!1,description:"Show tick marks on track."}],d=[{name:"onChange",parameters:[{name:"value",type:"number"}],description:"Called when value changes."}],p=[{name:"--nice-slider-track-bg",default:"var(--nice-border-color)",description:"Track background"},{name:"--nice-slider-fill-bg",default:"var(--nice-primary)",description:"Filled track color"}],b={aria:['role="slider"',"aria-valuenow","aria-valuemin","aria-valuemax"],keyboard:[{key:"ArrowLeft/Right",action:"Adjust value"}]},v=[{title:"Volume Control",code:`<NiceSlider
  label="Volume"
  value={volume}
  onChange={setVolume}
  showMinMax
/>`,language:"tsx"},{title:"Price Range",code:`<NiceSlider
  min={0}
  max={1000}
  step={10}
  formatValue={(v) => \`$\${v}\`}
/>`,language:"tsx"}],f=[{name:"NiceRangeSlider",relationship:"multi-thumb"},{name:"NiceNumberInput",relationship:"alternative"}],y={$schema:e,name:a,displayName:n,version:t,status:i,category:r,subcategory:s,package:"@nicetoDev/ui",description:o,since:l,platforms:c,keywords:u,props:m,events:d,cssVariables:p,accessibility:b,examples:v,related:f};exports.$schema=e;exports.accessibility=b;exports.category=r;exports.cssVariables=p;exports.default=y;exports.description=o;exports.displayName=n;exports.events=d;exports.examples=v;exports.keywords=u;exports.name=a;exports.platforms=c;exports.props=m;exports.related=f;exports.since=l;exports.status=i;exports.subcategory=s;exports.version=t;
