"use strict";const n=require("./Menu-58O-OOPJ.cjs"),u=require("./jsx-runtime-nZSsnGb7.cjs"),e=require("./css-D3NdC2sx.cjs");;/* empty css                   */const v=require("./Box-D27bV7QJ.cjs"),m=require("./Button-BSek5HG5.cjs"),i=require("./Animated-Dvm2k_z_.cjs"),c=({className:r,padded:t=!1,color:o,...s})=>(t===!0&&(t="center"),u.jsxRuntimeExports.jsx(v.Box$1,{className:e.CSS(e.CSS.B("divider"),t!==!1&&e.CSS.BM("divider","padded"),typeof t=="string"&&e.CSS.loc(t),r),borderColor:o,color:o,...s})),M=Object.freeze(Object.defineProperty({__proto__:null,Divider:c},Symbol.toStringTag,{value:"Module"})),j=()=>u.jsxRuntimeExports.jsx(c,{className:e.CSS.BE("menu","divider"),x:!0,padded:!0}),p=({itemKey:r,className:t,onClick:o,size:s,...C})=>{const{onClick:l,selected:S,level:x="p",gap:a,background:E}=n.useContext(),T=_=>{l(r),o?.(_)},d=S===r;return u.jsxRuntimeExports.jsx(m.Button,{contrast:E,level:x,overflow:"nowrap",onClick:T,variant:"text",className:e.CSS(e.CSS.B("menu-item"),e.CSS.selected(d),t),size:s,gap:a,propagateClick:!0,...C})},N=Object.freeze(Object.defineProperty({__proto__:null,CONTEXT_MENU_CLASS:i.CONTEXT_MENU_CLASS,CONTEXT_SELECTED:i.CONTEXT_SELECTED,CONTEXT_TARGET:i.CONTEXT_TARGET,ContextMenu:n.ContextMenu,Divider:j,Item:p,Menu:n.Menu,useContext:n.useContext,useContextMenu:n.useContextMenu},Symbol.toStringTag,{value:"Module"}));exports.Divider=c;exports.Divider$1=M;exports.external=N;
