"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="https://nice2dev.com/schemas/component-doc-v1.json",t="NiceTag",a="Tag",o="1.0.0",c="stable",i="display",s="label",n="A compact label used for categorization, tags, or selection chips with optional remove button.",r="1.0.0",l=["web","mobile","desktop"],d=["tag","chip","label","category","filter"],g=[{name:"children",type:"React.ReactNode",required:!0,description:"Tag content."},{name:"size",type:"NiceSize",required:!1,default:"'md'",description:"Tag size."},{name:"selected",type:"boolean",required:!1,description:"Active/selected state."},{name:"removable",type:"boolean",required:!1,description:"Show a remove button."},{name:"color",type:"string",required:!1,description:"Custom accent color."},{name:"onClick",type:"() => void",required:!1,description:"Click handler (makes the tag clickable)."},{name:"onRemove",type:"() => void",required:!1,description:"Called when the remove button is clicked."}],p=[{name:"onClick",parameters:[],description:"Fired when tag is clicked."},{name:"onRemove",parameters:[],description:"Fired when remove button is clicked."}],m=[{name:"--nice-tag-bg",default:"var(--nice-surface-alt)",description:"Tag background"},{name:"--nice-tag-color",default:"var(--nice-text-color)",description:"Tag text color"}],u=[{title:"Basic Tags",code:`<NiceTag>React</NiceTag>
<NiceTag>TypeScript</NiceTag>`,language:"tsx"},{title:"Selectable Tags",code:`<NiceTag selected={isActive} onClick={() => toggle()}>
  Filter
</NiceTag>`,language:"tsx"},{title:"Removable",code:`<NiceTag removable onRemove={() => removeTag(tag)}>
  {tag}
</NiceTag>`,language:"tsx"}],b=[{name:"NiceBadge",relationship:"similar"},{name:"NiceTagBox",relationship:"parent"}],v={$schema:e,name:t,displayName:a,version:o,status:c,category:i,subcategory:s,package:"@nicetoDev/ui",description:n,since:r,platforms:l,keywords:d,props:g,events:p,cssVariables:m,examples:u,related:b};exports.$schema=e;exports.category=i;exports.cssVariables=m;exports.default=v;exports.description=n;exports.displayName=a;exports.events=p;exports.examples=u;exports.keywords=d;exports.name=t;exports.platforms=l;exports.props=g;exports.related=b;exports.since=r;exports.status=c;exports.subcategory=s;exports.version=o;
