"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="https://nice2dev.com/schemas/component-doc-v1.json",o="NiceColorPicker",s="Color Picker",t="1.0.0",r="stable",a="editors",n="color",c="Color picker with hex input, preset swatches, and random color generator.",i="1.0.0",l=["web","desktop"],d=["color","picker","hex","palette","swatches"],p=[{name:"value",type:"string",required:!1,default:"'#3b82f6'",description:"Hex color value."},{name:"presets",type:"string[]",required:!1,description:"Preset color swatches (default: 12 colors)."},{name:"showInput",type:"boolean",required:!1,default:"true",description:"Show hex input field."},{name:"showRandom",type:"boolean",required:!1,default:"true",description:"Show random color button."}],m=[{name:"onChange",parameters:[{name:"color",type:"string"}],description:"Fires with new hex color."}],u=[],h=[{title:"Basic Color Picker",code:`<NiceColorPicker
  label="Brand Color"
  value={color}
  onChange={setColor}
/>`,language:"tsx"},{title:"Custom Presets",code:`<NiceColorPicker
  presets={['#ff0000', '#00ff00', '#0000ff']}
  showRandom={false}
/>`,language:"tsx"}],f=[{name:"NiceGradientPicker",relationship:"specialized"},{name:"NiceColorPalette",relationship:"similar"}],g={$schema:e,name:o,displayName:s,version:t,status:r,category:a,subcategory:n,package:"@nicetoDev/ui",description:c,since:i,platforms:l,keywords:d,props:p,events:m,cssVariables:u,examples:h,related:f};exports.$schema=e;exports.category=a;exports.cssVariables=u;exports.default=g;exports.description=c;exports.displayName=s;exports.events=m;exports.examples=h;exports.keywords=d;exports.name=o;exports.platforms=l;exports.props=p;exports.related=f;exports.since=i;exports.status=r;exports.subcategory=n;exports.version=t;
