const e = "https://nice2dev.com/schemas/component-doc-v1.json", t = "NicePieChart", a = "Pie Chart", n = "1.0.0", i = "stable", o = "charts", r = "visualization", l = "An SVG pie/donut chart with legend and percentage labels. Supports both pie and donut modes via innerRadius.", s = "1.0.0", c = ["web", "desktop"], d = ["pie", "donut", "chart", "visualization", "percentage"], u = [{ name: "data", type: "NicePieSlice[]", required: !0, description: "Slice data array with label, value, and optional color." }, { name: "width", type: "number", required: !1, default: "400", description: "Chart width in pixels." }, { name: "height", type: "number", required: !1, default: "400", description: "Chart height in pixels." }, { name: "innerRadius", type: "number", required: !1, default: "0", description: "Inner radius (> 0 creates donut chart)." }, { name: "title", type: "string", required: !1, description: "Chart title." }, { name: "showLegend", type: "boolean", required: !1, default: "true", description: "Show the legend." }, { name: "showLabels", type: "boolean", required: !1, default: "true", description: "Show percentage labels on slices." }], p = [], h = [{ name: "--nice-pie-label-color", default: "#fff", description: "Slice label color" }, { name: "--nice-pie-legend-color", default: "var(--nice-text-color)", description: "Legend text color" }], m = [{ title: "Basic Pie Chart", code: `<NicePieChart
  data={[
    { label: 'Chrome', value: 60 },
    { label: 'Firefox', value: 20 },
    { label: 'Safari', value: 15 },
    { label: 'Other', value: 5 }
  ]}
  title="Browser Market Share"
/>`, language: "tsx" }, { title: "Donut Chart", code: `<NicePieChart
  data={[
    { label: 'Complete', value: 75, color: '#22c55e' },
    { label: 'Remaining', value: 25, color: '#e5e7eb' }
  ]}
  innerRadius={60}
  showLegend={false}
/>`, language: "tsx" }], b = [{ name: "NiceChart", relationship: "alternative" }, { name: "NiceFunnel", relationship: "similar" }], f = {
  $schema: e,
  name: t,
  displayName: a,
  version: n,
  status: i,
  category: o,
  subcategory: r,
  package: "@nicetoDev/ui",
  description: l,
  since: s,
  platforms: c,
  keywords: d,
  props: u,
  events: p,
  cssVariables: h,
  examples: m,
  related: b
};
export {
  e as $schema,
  o as category,
  h as cssVariables,
  f as default,
  l as description,
  a as displayName,
  p as events,
  m as examples,
  d as keywords,
  t as name,
  c as platforms,
  u as props,
  b as related,
  s as since,
  i as status,
  r as subcategory,
  n as version
};
