"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="https://nice2dev.com/schemas/component-doc-v1.json",t="NiceRating",a="Rating",n="1.0.0",s="stable",o="editors",i="feedback",r="Star/icon rating input with half-step and custom icon support.",c="1.0.0",l=["web","mobile","desktop"],d=["rating","stars","review","score"],u=[{name:"value",type:"number",required:!1,default:"0",description:"Current value (0 to count)."},{name:"count",type:"number",required:!1,default:"5",description:"Number of stars/icons."},{name:"half",type:"boolean",required:!1,default:"false",description:"Allow half-star selection."},{name:"readOnly",type:"boolean",required:!1,default:"false",description:"Read-only display."},{name:"disabled",type:"boolean",required:!1,default:"false",description:"Disabled state."},{name:"size",type:"NiceSize",required:!1,default:"'md'",description:"Visual size."},{name:"label",type:"string",required:!1,description:"Label text."},{name:"icon",type:"(filled: 'full' | 'half' | 'empty') => ReactNode",required:!1,description:"Custom icon renderer."}],p=[{name:"onChange",parameters:[{name:"value",type:"number"}],description:"Fires with new rating value."}],m=[{name:"--nice-rating-color",default:"#f59e0b",description:"Star color"},{name:"--nice-rating-empty-color",default:"var(--nice-border-color)",description:"Empty star color"}],f=[{title:"Product Rating",code:`<NiceRating
  label="Rate this product"
  value={rating}
  onChange={setRating}
  half
/>`,language:"tsx"},{title:"Custom Icons",code:`<NiceRating
  icon={(filled) => filled === 'full' ? '❤️' : '🤍'}
  count={3}
/>`,language:"tsx"}],g=[],y={$schema:e,name:t,displayName:a,version:n,status:s,category:o,subcategory:i,package:"@nicetoDev/ui",description:r,since:c,platforms:l,keywords:d,props:u,events:p,cssVariables:m,examples:f,related:g};exports.$schema=e;exports.category=o;exports.cssVariables=m;exports.default=y;exports.description=r;exports.displayName=a;exports.events=p;exports.examples=f;exports.keywords=d;exports.name=t;exports.platforms=l;exports.props=u;exports.related=g;exports.since=c;exports.status=s;exports.subcategory=i;exports.version=n;
