import{_ as _extends}from"./_rollupPluginBabelHelpers-B5fk9IVe.js";import React__default,{createContext}from"react";import PropTypes from"prop-types";import{q as qe}from"./menu-DiwXZMR-.js";const baseStyles=`
	jn-overflow-hidden
	jn-flex
	jn-flex-col
	jn-rounded
	jn-bg-theme-background-lvl-1
`,smallStyles=`
	jn-text-sm
`,normalStyles=`
	jn-text-base
`,variantStyles=a=>"small"===a?smallStyles:normalStyles,MenuContext=createContext(),Menu=a=>{let{children:c=null,variant:d="normal",className:e="",...b}=a;return React__default.createElement(MenuContext.Provider,{value:{variant:d}},React__default.createElement(qe,null,React__default.createElement("div",_extends({className:`
					juno-menu 
					juno-menu-${d} 
					${baseStyles} 
					${variantStyles(d)} 
					${e}
				`,role:"menu"},b),c)))};Menu.propTypes={children:PropTypes.node,variant:PropTypes.oneOf(["small","normal"]),className:PropTypes.string};export{Menu as M,MenuContext as a};