"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="https://nice2dev.com/schemas/component-doc-v1.json",t="NiceBadge",a="Badge",o="1.0.0",i="stable",s="display",n="indicator",c="A small status label or counter chip for displaying notifications, counts, or status indicators.",r="1.0.0",d=["web","mobile","desktop"],l=["badge","counter","notification","chip","status"],p=[{name:"children",type:"React.ReactNode",required:!0,description:"Badge content (text, number, etc.)."},{name:"variant",type:"NiceVariant",required:!1,default:"'primary'",description:"Visual variant controlling color scheme."},{name:"size",type:"NiceSize",required:!1,default:"'md'",description:"Badge size."},{name:"dot",type:"boolean",required:!1,description:"Show as a small dot instead of full badge."},{name:"outline",type:"boolean",required:!1,description:"Render with outlined border instead of filled background."},{name:"removable",type:"boolean",required:!1,description:"Show a remove (x) button inside the badge."},{name:"onRemove",type:"() => void",required:!1,description:"Called when remove button is clicked."}],m=[{name:"onRemove",parameters:[],description:"Fired when the remove button is clicked."}],u=[{name:"--nice-badge-bg",default:"var(--nice-primary)",description:"Background color"},{name:"--nice-badge-color",default:"#fff",description:"Text color"}],g=[{title:"Notification Badge",code:'<NiceBadge variant="danger">5</NiceBadge>',language:"tsx"},{title:"Dot Badge",code:'<NiceBadge dot variant="success" />',language:"tsx"},{title:"Removable",code:`<NiceBadge removable onRemove={() => setTags(prev => prev.filter(t => t !== tag))}>
  React
</NiceBadge>`,language:"tsx"}],b=[{name:"NiceTag",relationship:"similar"},{name:"NiceStatusBadge",relationship:"specialized"}],f={$schema:e,name:t,displayName:a,version:o,status:i,category:s,subcategory:n,package:"@nicetoDev/ui",description:c,since:r,platforms:d,keywords:l,props:p,events:m,cssVariables:u,examples:g,related:b};exports.$schema=e;exports.category=s;exports.cssVariables=u;exports.default=f;exports.description=c;exports.displayName=a;exports.events=m;exports.examples=g;exports.keywords=l;exports.name=t;exports.platforms=d;exports.props=p;exports.related=b;exports.since=r;exports.status=i;exports.subcategory=n;exports.version=o;
