import{r as registerInstance,h,e as Host,c as getElement}from"./index-15028158.js";var defaultCodeDependenciesCss=".sc-stencila-code-dependencies-default-h stencila-menu-item[divider].sc-stencila-code-dependencies-default,stencila-code-dependencies.sc-stencila-code-dependencies-default stencila-menu-item[divider].sc-stencila-code-dependencies-default{background-color:#e9eaf1;background-color:var(--color-neutral-50,#e9eaf1);font-size:.75rem;height:auto;line-height:1rem;line-height:2}";var codeDependenciesMaterialCss=".sc-stencila-code-dependencies-material-h stencila-menu-item[divider].sc-stencila-code-dependencies-material,stencila-code-dependencies.sc-stencila-code-dependencies-material stencila-menu-item[divider].sc-stencila-code-dependencies-material{background-color:#e9eaf1;background-color:var(--color-neutral-50,#e9eaf1);font-size:.75rem;height:auto;line-height:1rem;line-height:2}";var CodeDependencies=function(){function e(e){registerInstance(this,e)}e.prototype.render=function(){var e,n,i,t;return h(Host,null,((n=(e=this.el)===null||e===void 0?void 0:e.children.length)!==null&&n!==void 0?n:0)>0&&(((i=this.el)===null||i===void 0?void 0:i.slot)==="code-dependencies"?h("stencila-menu-item",{divider:true},"Upstream dependencies"):((t=this.el)===null||t===void 0?void 0:t.slot)==="code-dependents"?h("stencila-menu-item",{divider:true},"Downstream dependents"):null),h("slot",null))};Object.defineProperty(e.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();CodeDependencies.style={default:defaultCodeDependenciesCss,material:codeDependenciesMaterialCss};export{CodeDependencies as stencila_code_dependencies};
//# sourceMappingURL=stencila-code-dependencies.entry.js.map