System.register(["./p-24afd2bd.system.js"],(function(t){"use strict";var i,e,n;return{setters:[function(t){i=t.r;e=t.h;n=t.e}],execute:function(){var a=".sc-stencila-input-default-h,stencila-input.sc-stencila-input-default{display:block;font-size:1rem;line-height:1.5rem;line-height:1;position:relative}.inline.sc-stencila-input-default-h,stencila-input.inline.sc-stencila-input-default{display:inline-block}.sc-stencila-input-default-h stencila-icon.sc-stencila-input-default,stencila-input.sc-stencila-input-default stencila-icon.sc-stencila-input-default{color:#6e7591;color:var(--color-neutral-500,#6e7591);left:0;padding-left:.5rem;position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.sc-stencila-input-default-h stencila-icon.sc-stencila-input-default+input.sc-stencila-input-default,stencila-input.sc-stencila-input-default stencila-icon.sc-stencila-input-default+input.sc-stencila-input-default{padding-left:2rem}.sc-stencila-input-default-h input.sc-stencila-input-default,stencila-input.sc-stencila-input-default input.sc-stencila-input-default{background-color:#fff;background-color:var(--color-stock,#fff);border:1px solid #cfd2e1;border-color:var(--color-neutral-100,#cfd2e1);border-radius:.25rem;font-size:1rem;line-height:1.5rem;line-height:1;padding:.25rem .5rem;width:100%}.sc-stencila-input-default-h input.sc-stencila-input-default:active,.sc-stencila-input-default-h input.sc-stencila-input-default:focus,stencila-input.sc-stencila-input-default input.sc-stencila-input-default:active,stencila-input.sc-stencila-input-default input.sc-stencila-input-default:focus{border-color:#2069f2;border-color:var(--color-primary-500,#2069f2);outline:2px solid transparent;outline-offset:2px}";var l=".sc-stencila-input-material-h,stencila-input.sc-stencila-input-material{display:block;font-size:1rem;line-height:1.5rem;line-height:1;position:relative}.inline.sc-stencila-input-material-h,stencila-input.inline.sc-stencila-input-material{display:inline-block}.sc-stencila-input-material-h stencila-icon.sc-stencila-input-material,stencila-input.sc-stencila-input-material stencila-icon.sc-stencila-input-material{color:#6e7591;color:var(--color-neutral-500,#6e7591);left:0;padding-left:.5rem;position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.sc-stencila-input-material-h stencila-icon.sc-stencila-input-material+input.sc-stencila-input-material,stencila-input.sc-stencila-input-material stencila-icon.sc-stencila-input-material+input.sc-stencila-input-material{padding-left:2rem}.sc-stencila-input-material-h input.sc-stencila-input-material,stencila-input.sc-stencila-input-material input.sc-stencila-input-material{border:1px solid #cfd2e1;border-color:var(--color-neutral-100,#cfd2e1);border-radius:.25rem;font-size:1rem;line-height:1.5rem;line-height:1;padding:.5rem;width:100%}.sc-stencila-input-material-h input.sc-stencila-input-material:active,.sc-stencila-input-material-h input.sc-stencila-input-material:focus,stencila-input.sc-stencila-input-material input.sc-stencila-input-material:active,stencila-input.sc-stencila-input-material input.sc-stencila-input-material:focus{border-color:#2069f2;border-color:var(--color-primary-500,#2069f2);outline:2px solid transparent;outline-offset:2px}.sc-stencila-input-material-h input.sc-stencila-input-material:active,.sc-stencila-input-material-h input.sc-stencila-input-material:focus,stencila-input.sc-stencila-input-material input.sc-stencila-input-material:active,stencila-input.sc-stencila-input-material input.sc-stencila-input-material:focus{-webkit-box-shadow:inset 0 0 0 1px var(--color-primary-500);box-shadow:inset 0 0 0 1px var(--color-primary-500)}";var s=t("stencila_input",function(){function t(t){i(this,t);this.autoFocus=false;this.type="text";this.hideLabel=false;this.inline=false;this.required=false;this.value=""}t.prototype.render=function(){var t;var i=this.type==="number"?{type:"text",inputmode:"numeric",pattern:"[0-9]*"}:{type:this.type};var a=this.label===undefined||this.hideLabel?{"aria-label":(t=this.label)!==null&&t!==void 0?t:this.name}:{"aria-labelledby":this.name+"-label"};return e(n,{class:{inline:this.inline}},this.iconStart!==undefined&&e("stencila-icon",{icon:this.iconStart}),e("input",Object.assign({},i,a,{autoFocus:this.autoFocus,inputmode:this.inputmode,name:this.name,placeholder:this.placeholder,required:this.required,value:this.value})))};return t}());s.style={default:a,material:l}}}}));
//# sourceMappingURL=p-fc85a03f.system.entry.js.map