"use strict";const e=require("./main-BnSpWlaf.cjs"),S=require("./jsx-runtime-Dszzpdy0.cjs"),t=require("./css-B0VZnJIa.cjs"),_=({itemKey:n,className:o,onClick:s,size:r,...u})=>{const{onClick:C,selected:c,level:l="p",gap:T,background:i}=e.useContext$2(),E=a=>{C(n),s?.(a)},x=c===n;return S.jsxRuntimeExports.jsx(e.Button,{contrast:i,level:l,overflow:"nowrap",onClick:E,variant:"text",className:t.CSS(t.CSS.B("menu-item"),t.CSS.selected(x),o),size:r,gap:T,...u})},d=Object.freeze(Object.defineProperty({__proto__:null,CONTEXT_MENU_CLASS:e.CONTEXT_MENU_CLASS,CONTEXT_SELECTED:e.CONTEXT_SELECTED,CONTEXT_TARGET:e.CONTEXT_TARGET,ContextMenu:e.ContextMenu,Divider:e.Divider,Item:_,Menu:e.Menu,useContext:e.useContext$2,useContextMenu:e.useContextMenu},Symbol.toStringTag,{value:"Module"}));exports.external=d;
