"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="https://nice2dev.com/schemas/component-doc-v1.json",a="NiceProgress",r="Progress Bar",t="1.0.0",s="stable",i="display",n="indicator",o="A horizontal progress bar with optional label, percentage display, and animated stripes.",c="1.0.0",l=["web","mobile","desktop"],p=["progress","bar","loading","percentage"],d=[{name:"value",type:"number",required:!0,description:"Current value."},{name:"max",type:"number",required:!1,default:"100",description:"Maximum value."},{name:"label",type:"string",required:!1,description:"Text label displayed above the bar."},{name:"showValue",type:"boolean",required:!1,default:"true",description:"Show the numeric percentage text."},{name:"variant",type:"'primary' | 'success' | 'warning' | 'error' | 'info'",required:!1,default:"'primary'",description:"Color variant."},{name:"size",type:"NiceSize",required:!1,default:"'md'",description:"Track height."},{name:"striped",type:"boolean",required:!1,description:"Add diagonal stripe pattern."},{name:"animated",type:"boolean",required:!1,description:"Animate the stripe pattern."},{name:"formatValue",type:"(value: number, max: number) => string",required:!1,description:"Custom display formatter for the value text."}],u=[],m=[{name:"--nice-progress-track-bg",default:"var(--nice-surface-alt)",description:"Track background"},{name:"--nice-progress-height",default:"8px",description:"Bar height"}],g={aria:['role="progressbar"',"aria-valuenow","aria-valuemin","aria-valuemax"]},b=[{title:"Basic Progress",code:'<NiceProgress value={75} label="Uploading..." />',language:"tsx"},{title:"Striped Animated",code:'<NiceProgress value={50} striped animated variant="success" />',language:"tsx"}],y=[{name:"NiceLinearGauge",relationship:"similar"},{name:"NiceSpinner",relationship:"alternative"}],v={$schema:e,name:a,displayName:r,version:t,status:s,category:i,subcategory:n,package:"@nicetoDev/ui",description:o,since:c,platforms:l,keywords:p,props:d,events:u,cssVariables:m,accessibility:g,examples:b,related:y};exports.$schema=e;exports.accessibility=g;exports.category=i;exports.cssVariables=m;exports.default=v;exports.description=o;exports.displayName=r;exports.events=u;exports.examples=b;exports.keywords=p;exports.name=a;exports.platforms=l;exports.props=d;exports.related=y;exports.since=c;exports.status=s;exports.subcategory=n;exports.version=t;
