@pontive/pontkit-core 1.11.0 → 1.12.0

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
@@ -682,6 +682,7 @@
682
682
  >
683
683
  `}};Gp([a({type:String})],Js.prototype,"placeholder",2);Js=Gp([p("pont-combo-box-value")],Js);var rf=Object.defineProperty,nf=Object.getOwnPropertyDescriptor,Ya=(e,t,r,o)=>{for(var n=o>1?void 0:o?nf(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&&rf(t,r,n),n};let ai=class extends f{constructor(){super(...arguments),this.orientation="horizontal"}createRenderRoot(){return this}render(){return l`
684
684
  <div
685
+ data-pont-separator
685
686
  data-slot="separator"
686
687
  data-orientation=${this.orientation}
687
688
  role=${this.decorative?"none":"separator"}
@@ -1423,6 +1424,7 @@
1423
1424
  ></pont-button>
1424
1425
  `}};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
1426
  <input
1427
+ data-pont-input
1426
1428
  data-slot="input"
1427
1429
  accept=${this.type==="file"&&this.accept?this.accept:h}
1428
1430
  autocomplete=${this.autocomplete??h}