const e = "https://nice2dev.com/schemas/component-doc-v1.json", t = "NiceContextMenu", n = "Context Menu", o = "1.0.0", i = "stable", c = "navigation", s = "menu", a = "Right-click popup menu attached to a target element.", r = "1.0.0", m = ["web", "desktop"], l = ["context-menu", "right-click", "popup", "menu"], p = [{ name: "items", type: "NiceMenuItem[]", required: !0, description: "Menu items." }, { name: "target", type: "RefObject<HTMLElement>", required: !0, description: "Element ref that triggers menu." }, { name: "size", type: "NiceSize", required: !1, default: "'md'", description: "Size variant." }], u = [{ name: "onItemClick", parameters: [{ name: "item", type: "NiceMenuItem" }], description: "Called when item selected." }], d = [], g = { aria: ['role="menu"', 'role="menuitem"'], keyboard: [{ key: "Escape", action: "Close menu" }, { key: "ArrowUp/Down", action: "Navigate items" }] }, y = [{ title: "File Context Menu", code: `const targetRef = useRef<HTMLDivElement>(null);

<div ref={targetRef}>Right-click me</div>
<NiceContextMenu
  target={targetRef}
  items={[
    { key: 'copy', text: 'Copy', icon: <CopyIcon /> },
    { key: 'paste', text: 'Paste', icon: <PasteIcon /> },
    { key: 'delete', text: 'Delete', icon: <DeleteIcon /> }
  ]}
  onItemClick={handleAction}
/>`, language: "tsx" }], k = [{ name: "NiceMenu", relationship: "similar" }, { name: "NicePopover", relationship: "base" }], h = {
  $schema: e,
  name: t,
  displayName: n,
  version: o,
  status: i,
  category: c,
  subcategory: s,
  package: "@nicetoDev/ui",
  description: a,
  since: r,
  platforms: m,
  keywords: l,
  props: p,
  events: u,
  cssVariables: d,
  accessibility: g,
  examples: y,
  related: k
};
export {
  e as $schema,
  g as accessibility,
  c as category,
  d as cssVariables,
  h as default,
  a as description,
  n as displayName,
  u as events,
  y as examples,
  l as keywords,
  t as name,
  m as platforms,
  p as props,
  k as related,
  r as since,
  i as status,
  s as subcategory,
  o as version
};
