"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="https://nice2dev.com/schemas/component-doc-v1.json",a="NiceTreeMap",o="Tree Map",t="1.0.0",n="stable",s="charts",i="hierarchy",r="A squarified treemap visualization for hierarchical data. Rectangle areas represent values proportionally.",c="1.0.0",l=["web","desktop"],d=["treemap","hierarchy","nested","proportional","area"],p=[{name:"data",type:"NiceTreeMapNode",required:!0,description:"Root node with key, label, value, optional color and children."},{name:"width",type:"number",required:!1,default:"600",description:"SVG width in pixels."},{name:"height",type:"number",required:!1,default:"400",description:"SVG height in pixels."},{name:"onNodeClick",type:"(node: NiceTreeMapNode) => void",required:!1,description:"Called when a leaf node is clicked."},{name:"colors",type:"string[]",required:!1,description:"Color palette for nodes."}],m=[{name:"onNodeClick",parameters:[{name:"node",type:"NiceTreeMapNode"}],description:"Fired when a node is clicked."}],u=[],h=[{title:"Disk Usage",code:`<NiceTreeMap
  data={{
    key: 'root',
    label: 'Disk',
    value: 100,
    children: [
      { key: 'docs', label: 'Documents', value: 30 },
      { key: 'photos', label: 'Photos', value: 45 },
      { key: 'videos', label: 'Videos', value: 25 }
    ]
  }}
  onNodeClick={(node) => console.log(node.label)}
/>`,language:"tsx"}],y=[{name:"NiceOrganizationChart",relationship:"similar"},{name:"NiceHeatMap",relationship:"alternative"}],v={$schema:e,name:a,displayName:o,version:t,status:n,category:s,subcategory:i,package:"@nicetoDev/ui",description:r,since:c,platforms:l,keywords:d,props:p,events:m,cssVariables:u,examples:h,related:y};exports.$schema=e;exports.category=s;exports.cssVariables=u;exports.default=v;exports.description=r;exports.displayName=o;exports.events=m;exports.examples=h;exports.keywords=d;exports.name=a;exports.platforms=l;exports.props=p;exports.related=y;exports.since=c;exports.status=n;exports.subcategory=i;exports.version=t;
