@pontive/pontkit-core 1.11.0 → 1.11.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1423,6 +1423,7 @@
1423
1423
  ></pont-button>
1424
1424
  `}};tr([a({type:String})],xe.prototype,"variant",2);tr([a({type:String})],xe.prototype,"size",2);tr([a({type:String})],xe.prototype,"type",2);tr([a({type:Boolean})],xe.prototype,"disabled",2);tr([a({type:Boolean})],xe.prototype,"invalid",2);tr([a({type:String})],xe.prototype,"href",2);tr([a({type:String})],xe.prototype,"target",2);tr([a({attribute:!1,type:Function})],xe.prototype,"onClick",2);xe=tr([p("pont-input-group-button")],xe);var fy=Object.defineProperty,vy=Object.getOwnPropertyDescriptor,J=(e,t,r,o)=>{for(var n=o>1?void 0:o?vy(t,r):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(n=(o?s(t,r,n):s(n))||n);return o&&n&&fy(t,r,n),n};let W=class extends f{constructor(){super(...arguments),this.id="",this.type="text",this._onClick=e=>{this.onClick&&this.onClick(e)},this._onInput=e=>{const t=e.target;this.value=t.value,this.onInput&&this.onInput(e)},this._onChange=e=>{const t=e.target;this.value=t.value,this.onChange&&this.onChange(e)},this._onFocus=e=>{this.dispatchEvent(new FocusEvent("focus",{bubbles:!0,composed:!0,relatedTarget:e.relatedTarget})),this.onFocus&&this.onFocus(e)},this._onBlur=e=>{this.dispatchEvent(new FocusEvent("blur",{bubbles:!0,composed:!0,relatedTarget:e.relatedTarget})),this.onBlur&&this.onBlur(e)}}createRenderRoot(){return this}updated(e){e.has("id")&&(this.id&&(this._inputId=this.id),this.removeAttribute("id"))}firstUpdated(){this._inputId=this.id,this.removeAttribute("id")}render(){return l`
1425
1425
  <input
1426
+ data-pont-input
1426
1427
  data-slot="input"
1427
1428
  accept=${this.type==="file"&&this.accept?this.accept:h}
1428
1429
  autocomplete=${this.autocomplete??h}