"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="https://nice2dev.com/schemas/component-doc-v1.json",o="NiceColorPalette",t="Color Palette",s="1.0.0",a="stable",r="tools",n="color",i="Color palette generator with color theory utilities, harmony modes, and WCAG contrast calculation.",l="1.0.0",c=["web","desktop"],d=["color","palette","harmony","contrast","generator"],p=[{name:"baseColor",type:"string",required:!1,description:"Base color for generation."},{name:"harmonyMode",type:"'monochromatic' | 'complementary' | 'split-complementary' | 'analogous' | 'triadic' | 'tetradic' | 'square'",required:!1,default:"'analogous'",description:"Color harmony mode."},{name:"preset",type:"'lightest-pastel' | 'bright-pastel' | 'shiny' | 'pastel' | 'full' | 'dark' | 'deep' | 'muted' | 'earth'",required:!1,description:"Preset color style."},{name:"showTints",type:"boolean",required:!1,description:"Show tint variations."},{name:"showShades",type:"boolean",required:!1,description:"Show shade variations."},{name:"showContrastInfo",type:"boolean",required:!1,description:"Show WCAG contrast ratios."}],m=[{name:"onColorSelect",parameters:[{name:"color",type:"string"}],description:"Called when color selected from palette."},{name:"onPaletteChange",parameters:[{name:"colors",type:"string[]"}],description:"Called when palette changes."}],h=[{name:"hsvToRgb",signature:"(h, s, v) => { r, g, b }",description:"Convert HSV to RGB."},{name:"rgbToHex",signature:"(r, g, b) => string",description:"Convert RGB to hex."},{name:"getContrastRatio",signature:"(color1, color2) => number",description:"Calculate WCAG contrast ratio."}],g=[],u=[{title:"Color Palette Generator",code:`<NiceColorPalette
  baseColor="#3b82f6"
  harmonyMode="triadic"
  showTints
  showShades
  showContrastInfo
  onColorSelect={setSelectedColor}
/>`,language:"tsx"}],y=[{name:"NiceColorPicker",relationship:"simple"}],C={$schema:e,name:o,displayName:t,version:s,status:a,category:r,subcategory:n,package:"@nicetoDev/ui",description:i,since:l,platforms:c,keywords:d,props:p,events:m,methods:h,cssVariables:g,examples:u,related:y};exports.$schema=e;exports.category=r;exports.cssVariables=g;exports.default=C;exports.description=i;exports.displayName=t;exports.events=m;exports.examples=u;exports.keywords=d;exports.methods=h;exports.name=o;exports.platforms=c;exports.props=p;exports.related=y;exports.since=l;exports.status=a;exports.subcategory=n;exports.version=s;
